Function at 0x683eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x364]
cmp eax, dword [ecx + 8]
jbe 0x6844f8
sub esp, 0x3e4
mov edx, dword [esp + 0x3e8]
mov ebx, dword [edx + 0x2ac]
mov eax, dword [edx + 0x3c]
add ebx, 0xfffffffc
cmp eax, ebx
jbe 0x683ef2
mov ecx, dword [0x95da80]
xor ebx, ebx
jmp 0x683f26
mov ecx, dword [edx + 0x28c]
cmp ecx, eax
jb 0x6844f2
mov ebx, dword [edx + 0x290]
sub ecx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp ecx, 3
jbe 0x6844e8
mov ebp, dword [edx + 0x288]
mov ebx, dword [ebp + ebx]
xor ecx, ecx
test ecx, ecx
jne 0x6844b4
mov ecx, ebx
and ebx, 0xffff
cmp ebx, 0x454e
je 0x684493
cmp ebx, 0x454c
je 0x684472
cmp ebx, 0x584c
je 0x684451
cmp ebx, 0x5a56
je 0x684430
cmp ecx, 0x4550
jne 0x68440f
mov dword [esp + 0x24], eax
mov dword [edx + 0x60], 0x4550
lea esi, [edx + 0x64]
mov dword [esp + 0x3e0], esi
lea edi, [esp + 0x2c]
call fcn.0046910e
lea eax, [0x6ec1c0]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x3e8]
mov dword [esp], ecx
lea edx, [0x6a9620]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3e0]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
lea ebx, [edx + 4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6843f2
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00468bf8
lea edi, [esp + 0x200]
call fcn.00468bf4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ebx, [edx + ecx + 4]
mov ebp, dword [esp + 0x3e8]
mov esi, dword [ebp + 0x2ac]
add esi, 0xfffffffe
add ecx, edx
cmp ebx, esi
jbe 0x68403a
mov ecx, dword [0x95da80]
mov edx, dword [0x95da84]
mov esi, edx
mov edx, ecx
xor ecx, ecx
jmp 0x684076
mov edx, dword [ebp + 0x28c]
cmp edx, ebx
jb 0x6844df
mov esi, dword [ebp + 0x290]
sub edx, ecx
sub esi, ecx
lea ecx, [edx - 4]
lea edx, [esi - 4]
neg edx
sar edx, 0x1f
and edx, ebx
cmp ecx, 1
jbe 0x6844d5
mov ecx, dword [ebp + 0x288]
movzx ecx, word [ecx + edx]
xor edx, edx
xor esi, esi
test edx, edx
jne 0x6843dd
mov dword [esp + 0x20], ebx
cmp cx, 0x10b
je 0x684191
cmp cx, 0x20b
jne 0x684170
lea edi, [esp + 0x2f0]
call fcn.00468bf4
lea ecx, [0x6fc860]
mov dword [esp], ecx
lea edx, [esp + 0x2f0]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3e8]
mov dword [esp], edx
lea ebx, [0x6ab2e0]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x200]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0067b980
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x684153
mov eax, dword [esp + 0x3e8]
mov byte [eax + 0x295], 1
lea ecx, [0x6fc860]
mov dword [esp], ecx
lea edx, [esp + 0x200]
mov dword [esp + 4], edx
call fcn.00409b50
mov eax, dword [esp + 8]
lea ecx, [0x6fc860]
mov edx, dword [esp + 0x3e8]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
je 0x68414b
call fcn.004689a0
mov dword [edi], eax
mov ecx, dword [edx + 0x7c]
mov dword [edi + 4], ecx
mov dword [edx + 0x7c], eax
jmp 0x684249
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da68]
mov ecx, dword [0x95da6c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
lea edi, [esp + 0x120]
lea esi, [esp + 0x40]
call fcn.00468f10
lea eax, [0x6fcbe0]
mov dword [esp], eax
lea ecx, [esp + 0x120]
mov dword [esp + 4], ecx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3e8]
mov dword [esp], ecx
lea edx, [0x6ab2a0]
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6843c0
mov eax, dword [esp + 0x3e8]
mov byte [eax + 0x294], 1
lea ecx, [0x6fcbe0]
mov dword [esp], ecx
lea edx, [esp + 0x40]
mov dword [esp + 4], edx
call fcn.00409b50
mov eax, dword [esp + 8]
lea ecx, [0x6fcbe0]
mov edx, dword [esp + 0x3e8]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
je 0x684246
call fcn.004689a0
mov dword [edi], eax
mov ecx, dword [edx + 0x7c]
mov dword [edi + 4], ecx
mov dword [edx + 0x7c], eax
movzx eax, byte [edx + 0x295]
test al, al
je 0x684263
mov ecx, dword [esp + 0x218]
test ecx, 0xffff
jne 0x68427a
movzx ecx, byte [edx + 0x294]
test cl, cl
je 0x6842b3
mov ebx, dword [esp + 0x5c]
test ebx, 0xffff
je 0x68429b
mov eax, dword [0x95da70]
mov ecx, dword [0x95da74]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
test cl, cl
je 0x6842af
add ebx, dword [esp + 0x78]
cmp ebx, 0x80000000
jae 0x6842ee
test al, al
jmp 0x6842b5
test al, al
jmp 0x6842b5
test al, al
je 0x68439c
mov eax, dword [esp + 0x218]
mov ecx, dword [esp + 0x21c]
mov ebx, dword [esp + 0x238]
add eax, ebx
adc ecx, 0
cmp ecx, 0xffff0800
seta al
sete cl
and ecx, 1
or eax, ecx
test al, al
je 0x68439c
mov eax, dword [edx + 0x278]
mov ecx, dword [edx + 0x274]
inc ecx
mov ebx, dword [edx + 0x270]
cmp eax, ecx
jae 0x684368
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6bd160]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3e8]
mov dword [ebx + 0x278], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x68435a
call fcn.004689a0
mov dword [edi], ecx
mov eax, dword [ebx + 0x270]
mov dword [edi + 4], eax
mov dword [ebx + 0x270], ecx
mov eax, edx
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov dword [edx + 0x274], ecx
lea eax, [ebx + ecx*8 - 4]
mov ebp, dword [0x95da7c]
lea ecx, [ebx + ecx*8 - 8]
mov ebx, dword [0x95da78]
mov dword [eax], ebp
mov eax, dword [0x98d4e0]
test eax, eax
je 0x68439a
call fcn.004689a0
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebx
mov byte [edx + 0x299], 1
mov dword [esp + 0x3ec], 0
mov dword [esp + 0x3f0], 0
add esp, 0x3e4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov dword [esp + 0x3ec], edx
mov dword [esp + 0x3f0], esi
add esp, 0x3e4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da60]
mov ecx, dword [0x95da64]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da58]
mov ecx, dword [0x95da5c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da50]
mov ecx, dword [0x95da54]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da48]
mov ecx, dword [0x95da4c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da40]
mov ecx, dword [0x95da44]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x95da38]
mov ecx, dword [0x95da3c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, 1
call fcn.00468a00
mov eax, ebx
mov ecx, edx
call fcn.00468a70
mov eax, 3
call fcn.00468a00
call fcn.00468a70
nop
call fcn.00467590
jmp fcn.00683eb0