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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x15c]
cmp eax, dword [ecx + 8]
jbe 0x663f6b
sub esp, 0x1dc
lea eax, [0x6ad8e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
nop
call fcn.00607370
mov eax, dword [esp]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
lea edx, [0x6ae6e0]
mov dword [esp], edx
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x750fb0]
mov dword [eax], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x6635fe
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
jmp 0x663612
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.004630d0
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [0x90e260]
test edx, edx
jne 0x66362f
mov edx, dword [esp + 0x98]
mov dword [eax + 8], edx
jmp 0x663642
lea edi, [eax + 8]
mov edx, eax
mov eax, dword [esp + 0x98]
call fcn.004630d0
mov eax, edx
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x1f0]
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
test ebx, ebx
je 0x663c5f
mov dword [esp + 0x50], ebx
xor esi, esi
jmp 0x663682
mov eax, dword [esp + 0x94]
lea ebp, [eax + 0x20]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x1f0]
mov ebx, dword [esp + 0x50]
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], esi
lea edi, [esp + 0xe0]
mov esi, ebp
call fcn.00463830
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x663cdf
mov dword [esp + 0x94], ebp
mov ecx, dword [esp + 0xf4]
mov esi, dword [esp + 0xf0]
test ecx, ecx
jne 0x66379f
cmp dword [edx + 0x14], 1
jg 0x6636d6
mov ecx, 4
lea esi, [0x6ce2ba]
jmp 0x66379f
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
mov edx, ecx
sar ecx, 0x1f
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], 0xa
call fcn.00478a50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea edx, [0x6ce2ba]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], 4
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
lea eax, [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004cbb70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1f0]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x94]
mov esi, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xfc]
test edx, edx
je 0x663afc
mov dword [esp + 0x48], ecx
mov dword [esp + 0x7c], esi
mov edx, dword [esp + 0xe4]
test edx, edx
jne 0x6637d9
lea edx, [0x6cf414]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], 8
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.00463369
lea edi, [esp + 0x130]
call fcn.00463345
lea ecx, [esp + 0x130]
mov dword [esp + 0xd0], ecx
call fcn.004503a0
mov ecx, dword [esp]
mov dword [esp + 0xcc], ecx
mov ecx, dword [0x8e5ad4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.004c9100
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov esi, dword [0x8e5ad4]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c9100
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ebx
call fcn.004091e0
mov ecx, dword [esp + 8]
lea edx, [0x696a40]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.004091e0
mov ecx, dword [esp + 8]
lea edx, [0x696a40]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
lea ecx, [0x6dbb35]
mov dword [esp], ecx
mov dword [esp + 4], 0x23
lea ebx, [esp + 0xa4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c15b0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], edx
lea ebx, [0x6d3513]
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.00606e80
mov ecx, dword [esp + 8]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
lea ebx, [0x6919c0]
mov dword [esp], ebx
call fcn.0040b800
mov edi, dword [esp + 4]
mov dword [esp + 0x90], edi
mov ecx, dword [esp + 0x40]
mov dword [edi + 4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x663992
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
jmp 0x66399b
mov eax, dword [esp + 0x6c]
call fcn.004630d0
lea eax, [0x6bae60]
mov dword [esp], eax
lea ecx, [esp + 0xc4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
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 0x6639ee
mov eax, dword [esp + 0x90]
mov dword [edi], eax
jmp 0x6639fa
mov eax, dword [esp + 0x90]
call fcn.004630d0
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x3c], ecx
lea edx, [0x6d06b4]
mov dword [esp], edx
mov dword [esp + 4], 0xc
call fcn.00606e80
mov eax, dword [esp + 8]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
lea edx, [0x6919c0]
mov dword [esp], edx
call fcn.0040b800
mov edi, dword [esp + 4]
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0x90e260]
test eax, eax
jne 0x663a6b
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x663a74
mov eax, dword [esp + 0x68]
call fcn.004630d0
lea eax, [0x6bae60]
mov dword [esp], eax
lea ecx, [esp + 0xc4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
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 0x663ac7
mov eax, dword [esp + 0x8c]
mov dword [edi], eax
jmp 0x663ad3
mov eax, dword [esp + 0x8c]
call fcn.004630d0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
lea ecx, [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.00607490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp 0x663b32
mov edx, dword [esp + 0xe0]
mov ebx, dword [esp + 0xe4]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00607a00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x663cbf
mov dword [esp + 0x34], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x70], ecx
lea edx, [0x69e840]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004092e0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0046c3b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test eax, eax
je 0x663bff
mov eax, dword [0x8e688c]
cmp dword [0x8e6888], ecx
je 0x663bc7
mov eax, 1
jmp 0x663bfb
mov dword [esp + 0x80], ebp
mov dword [esp + 0x98], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004037d0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x80]
test al, al
jne 0x663c38
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x663c9f
mov ecx, dword [esp + 0x44]
inc ecx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jg 0x663663
jmp 0x663c58
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x1fc], ebp
add esp, 0x1dc
ret
mov edx, dword [esp + 0x1f0]
mov ecx, dword [edx]
mov dword [esp + 0x88], ecx
lea edi, [esp + 0x100]
xor eax, eax
call fcn.00463364
lea ecx, [0x698b40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 8], ecx
call fcn.0040d490
jmp 0x663d62
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], edx
add esp, 0x1dc
ret
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], ecx
add esp, 0x1dc
ret
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2d
lea ecx, [0x6df344]
mov dword [eax], ecx
mov dword [esp + 0x1f4], 0
lea ecx, [0x751118]
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], eax
add esp, 0x1dc
ret
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx]
mov ebx, dword [eax]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 4]
mov ebp, dword [esp + 0x5c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00607ef0
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.0040d6c0
mov eax, dword [esp + 0x100]
test eax, eax
jne 0x663d26
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00607fc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x663f4b
mov eax, dword [0x8e5a1c]
lea ecx, [0x7524cc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x14], eax
lea eax, [0x750f9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
call fcn.00640010
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x663f2b
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00607280
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x78], ecx
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x38], ebx
lea ebp, [0x6d06b4]
mov dword [esp], ebp
mov dword [esp + 4], 0xc
call fcn.00606e80
lea eax, [0x6bae60]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.004103c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebx, ebp
jae 0x663ecc
mov dword [esp + 0x84], eax
lea eax, [0x696a40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0044b8c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x84]
mov dword [edi + 8], edx
mov edx, dword [0x90e260]
test edx, edx
jne 0x663ec3
mov dword [edi], eax
jmp 0x663ec8
call fcn.004630d0
mov edx, eax
mov eax, edi
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
lea ebx, [edx + ecx*8 + 4]
mov ebp, dword [esp + 0x38]
mov dword [ebx], ebp
mov ebx, dword [0x90e260]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x663ef1
mov eax, dword [esp + 0x64]
mov dword [edi], eax
jmp 0x663efa
mov eax, dword [esp + 0x64]
call fcn.004630d0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x1f8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x1fc], eax
add esp, 0x1dc
ret
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], edx
add esp, 0x1dc
ret
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], edx
add esp, 0x1dc
ret
call fcn.00461cc0
jmp fcn.00663580