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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x606cc2
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00606dd0
mov eax, dword [esp + 4]
test eax, eax
jg 0x6066ad
xor ecx, ecx
xor edx, edx
jmp 0x6066cf
mov dword [esp + 0x54], eax
lea ecx, [0x696a40]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.0044b780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], edx
lea ebx, [0x6bae60]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c360
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.005f6420
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
jne 0x6067f3
test ecx, ecx
jbe 0x606cb8
movzx eax, byte [edx]
cmp al, 0x20
je 0x606742
cmp al, 9
jne 0x6067f3
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00605970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x60678c
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x90
ret
mov dword [esp], 0
lea eax, [0x6dc2d3]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044efe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004091e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ecx
lea ecx, [0x75185c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x48]
jmp 0x606815
mov ebp, eax
mov eax, edx
mov edx, ecx
mov ecx, ebx
mov ebx, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
lea esi, [0x6f1858]
mov dword [esp + 4], esi
call fcn.00605b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x606c95
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x58], ebx
mov ebx, dword [0x8e1040]
mov ebp, dword [0x8e1044]
mov esi, dword [0x8e1048]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004cf520
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
test al, al
je 0x606c26
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00606fc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x606908
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
jmp 0x60680b
mov dword [esp + 0x7c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [0x6cdae0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004ceb00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044f290
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], ecx
lea edx, [0x6bae60]
mov dword [esp], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], esi
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
test ecx, ecx
je 0x6069b5
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x6069db
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x50]
mov esi, ebx
sub ebx, ebp
mov edi, ebx
add ebx, 0xffffff9c
sar ebp, 0x1f
mov edx, dword [esp + 0x50]
sub esi, edx
mov esi, dword [esp + 0x64]
sbb esi, ebp
add edi, 0xffffff9c
adc esi, 0xffffffff
mov ebp, dword [esp + 0x38]
mov edi, ebx
sub ebx, ebp
mov dword [esp + 0x68], ebx
sar ebp, 0x1f
mov ebx, dword [esp + 0x38]
sub edi, ebx
sbb esi, ebp
test esi, esi
jl 0x606bdc
mov dword [esp + 0x64], esi
test ecx, ecx
je 0x606a0b
mov ebp, dword [esp + 0x48]
jmp 0x606ab3
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x606ab3
mov edi, dword [esp + 0x74]
mov dword [edi + 4], ebx
lea ecx, [ebp - 1]
mov dword [esp + 0x44], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x84], ecx
mov ebp, dword [0x90e260]
test ebp, ebp
jne 0x606a48
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
jmp 0x606a51
mov eax, dword [esp + 0x6c]
call fcn.004630d0
lea eax, [0x6bae60]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004103c0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x90e260]
test eax, eax
jne 0x606a9a
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x606aa3
mov eax, dword [esp + 0x74]
call fcn.004630d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
jmp 0x606b96
mov edi, esi
mov esi, dword [esp + 0x34]
lea ebp, [esi + 1]
cmp eax, ebp
jae 0x606aff
lea edx, [0x696a40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.0044b8c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x64]
mov eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], eax
lea ebp, [ecx + esi*8 + 4]
mov dword [ebp], ebx
mov ebx, dword [0x90e260]
lea ebp, [ecx + esi*8]
test ebx, ebx
jne 0x606b2b
mov ebx, dword [esp + 0x6c]
mov dword [ebp], ebx
jmp 0x606b36
mov edi, ebp
mov eax, dword [esp + 0x6c]
call fcn.004630d0
lea eax, [0x6bae60]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004103c0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov eax, dword [0x90e260]
test eax, eax
jne 0x606b82
mov eax, dword [esp + 0x84]
mov dword [edi], eax
jmp 0x606b8e
mov eax, dword [esp + 0x84]
call fcn.004630d0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
test edx, edx
jne 0x606bab
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x60680b
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6d2abe]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ecx
lea ecx, [0x751118]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
mov dword [esp], 0
lea eax, [0x6d87cc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
call fcn.0044efe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004091e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ecx
lea ecx, [0x75185c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], esi
add esp, 0x90
ret
xor eax, eax
mov ecx, eax
call fcn.00463150
nop
call fcn.00461cc0
jmp fcn.00606670