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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x65a07d
sub esp, 0xf8
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x60]
test ecx, ecx
je 0x659bbd
mov dword [esp], ecx
call fcn.005dba20
mov eax, dword [esp + 4]
jmp 0x659bcf
lea eax, [0x6c6700]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x659c0a
mov ecx, dword [esp + 0x10c]
mov dword [eax + 0x44], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x659bf3
mov ecx, dword [esp + 0x108]
jmp 0x659c07
call fcn.0046c8a0
mov ecx, dword [esp + 0x108]
mov dword [edi], ecx
mov edx, dword [eax + 0x40]
mov dword [edi + 4], edx
mov dword [eax + 0x40], ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xfc]
movzx edx, byte [ecx + 0x24]
test dl, dl
je 0x659c46
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov edx, dword [0x9aef70]
test edx, edx
je 0x659c3f
mov edx, dword [eax + 0x34]
call fcn.0046c890
mov dword [edi], edx
mov dword [eax + 0x34], 0
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x84], edx
nop
lea ebx, [0x6c9260]
mov dword [esp], ebx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov edx, dword [0x9aef70]
test edx, edx
jne 0x659c87
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x78]
jmp 0x659c9c
call fcn.0046c8a0
mov edx, dword [esp + 0x84]
mov dword [edi], edx
mov ebx, dword [esp + 0x78]
mov dword [edi + 4], ebx
mov dword [esp + 0x8c], eax
mov dword [eax + 4], edx
mov dword [eax + 0x2c], ebx
mov byte [eax + 8], 1
lea ecx, [0x69ca60]
mov dword [esp], ecx
call fcn.0040d2a0
mov eax, dword [esp + 4]
lea ecx, [0x60b330]
mov dword [eax], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x659cda
mov ecx, dword [esp + 0x8c]
jmp 0x659cf1
call fcn.0046c8b0
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 8], edx
mov dword [eax + 4], ecx
mov dword [ecx + 0xc], eax
lea eax, [0x68c860]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00405a60
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [ecx + 0x68]
mov ebx, dword [esp + 8]
mov dword [esp + 0x80], ebx
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
setne bl
xchg esi, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x659d46
xor ecx, ecx
jmp 0x659daa
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
lea eax, [0x69ce80]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
lea ecx, [0x65a180]
mov dword [eax], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x659d7b
mov ecx, dword [esp + 0x80]
jmp 0x659d89
call fcn.0046c890
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b0460
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dword [esp + 0x88], ecx
lea eax, [0x6b3660]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
lea ecx, [0x65a090]
mov dword [eax], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x659dfa
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x104]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
jmp 0x659e30
call fcn.0046c8d0
mov ecx, dword [esp + 0x110]
mov dword [edi], ecx
mov edx, dword [esp + 0x8c]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x104]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x88]
mov dword [edi + 0xc], ebp
mov esi, dword [esp + 0x80]
mov dword [edi + 0x10], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov edi, dword [esp + 0x100]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebp
mov dword [eax + 0x18], esi
mov dword [esp], eax
call fcn.004462e0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
lea ecx, [esp + 0xec]
mov dword [esp + 4], ecx
call fcn.004066e0
mov eax, dword [esp + 0xec]
test eax, eax
je 0x659f57
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x6c]
lea ecx, [0x7495a8]
cmp eax, ecx
jne 0x659f04
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
lea edx, [0x9aece0]
mov dword [esp + 8], edx
call fcn.00404cd0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x659ee9
mov eax, dword [esp + 0x6c]
jmp 0x659f04
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004066e0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x659f3e
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x659f3e
mov ecx, dword [edx]
mov dword [esp + 0x74], ecx
lea edi, [esp]
mov ebx, eax
xor eax, eax
call fcn.0046cb19
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
mov ebp, dword [esp + 0x74]
call ebp
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x118], eax
add esp, 0xf8
ret
lea eax, [0x6bed40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [esp + 0xf4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call fcn.005e56d0
lea edi, [esp + 0x90]
lea esi, [esp + 4]
call fcn.0046cf5a
mov eax, dword [0x9aef70]
test eax, eax
je 0x659fbd
lea eax, [0x6bed40]
mov dword [esp], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
lea ecx, [esp + 0x90]
mov dword [esp + 8], ecx
call fcn.00412800
mov edi, dword [esp + 0xf4]
lea esi, [esp + 0x90]
call fcn.0046cf5a
mov eax, dword [esp + 0x110]
test eax, eax
je 0x65a005
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x65a005
mov eax, dword [edx]
lea edi, [esp]
mov esi, dword [esp + 0xf4]
call fcn.0046cf5a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call eax
mov eax, dword [0x9aef70]
test eax, eax
jne 0x65a026
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x8c]
jmp 0x65a051
call fcn.0046c8c0
mov eax, dword [esp + 0xf4]
mov dword [edi], eax
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x30]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0x2c]
mov dword [edi + 0xc], ebx
mov dword [ecx + 0x30], eax
lea eax, [0x74ac8c]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
add esp, 0xf8
ret
call fcn.0046b490
jmp fcn.00659b80