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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x650ba3
sub esp, 0x8c
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00471d43
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
test edx, edx
je 0x6504a5
mov dword [esp + 0x60], ebx
mov eax, dword [edx + 4]
lea ecx, [0x961478]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x60]
lea eax, [ecx + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xa
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 0xa
call fcn.0047d7d0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x650b7b
mov ecx, dword [esp + 0x90]
cmp byte [ecx + 0x4c], 0x1f
jne 0x6504fc
cmp byte [ecx + 0x4d], 0x8b
jne 0x6504fc
cmp byte [ecx + 0x4e], 8
je 0x65051d
mov eax, dword [0x9604e0]
mov ecx, dword [0x9604e4]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov edx, dword [ecx + 0x50]
movzx ebx, byte [ecx + 0x4f]
mov byte [esp + 0x27], bl
test edx, edx
je 0x650571
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00471d4b
mov dword [esp + 0x44], 0
add edx, 0x7791f700
mov dword [esp + 0x48], edx
adc eax, 0xe
mov dword [esp + 0x4c], eax
mov ecx, dword [0x95f884]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xa8]
lea esi, [esp + 0x40]
call fcn.0047222e
mov ecx, dword [esp + 0x90]
movzx eax, byte [ecx + 0x55]
mov byte [esp + 0xc4], al
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 0xa
mov dword [esp + 8], 0x200
call fcn.0064fca0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
movzx eax, byte [esp + 0x27]
test al, 4
je 0x650814
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
test edx, edx
je 0x6505e2
mov dword [esp + 0x5c], ebx
mov eax, dword [edx + 4]
lea ecx, [0x961488]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 2
call fcn.0047d7d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x650677
mov ecx, dword [esp + 0x20]
cmp dword [0x95fd30], eax
jne 0x650662
mov dword [esp + 0x38], eax
mov dword [esp + 0x74], ecx
mov edx, dword [0x95fd34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004044b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x65065a
mov eax, dword [0x95fd38]
mov ecx, dword [0x95fd3c]
jmp 0x650662
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [0x96cb80]
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov byte [esp + 0x14], 1
call fcn.0064fb90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
movzx eax, word [ecx + 0x4c]
mov dword [esp + 0x3c], eax
lea edx, [0x6e06e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0046ca20
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x84], edx
mov ebx, dword [eax + 0x38]
test ecx, ecx
je 0x650723
mov dword [esp + 0x58], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x961498]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.0047d7d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6507a9
mov ecx, dword [esp + 0x20]
cmp dword [0x95fd30], eax
jne 0x650794
mov dword [esp + 0x70], ecx
mov dword [esp + 0x34], eax
mov edx, dword [0x95fd34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004044b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x65078c
mov eax, dword [0x95fd38]
mov ecx, dword [0x95fd3c]
jmp 0x650794
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [0x96cb80]
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov byte [esp + 0x14], 1
call fcn.0064fb90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
movzx eax, byte [esp + 0x27]
test al, 8
je 0x6508ad
mov dword [esp], ecx
call fcn.00650200
mov eax, dword [esp + 0xc]
test eax, eax
je 0x65088b
mov ecx, dword [esp + 0x10]
cmp dword [0x95fd30], eax
jne 0x650876
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], ecx
mov edx, dword [0x95fd34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004044b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x65086e
mov eax, dword [0x95fd38]
mov ecx, dword [0x95fd3c]
jmp 0x650876
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x90]
test al, 0x10
je 0x650946
mov dword [esp], ecx
call fcn.00650200
mov eax, dword [esp + 0xc]
test eax, eax
je 0x650924
mov ecx, dword [esp + 0x10]
cmp dword [0x95fd30], eax
jne 0x65090f
mov dword [esp + 0x68], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [0x95fd34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004044b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x650907
mov eax, dword [0x95fd38]
mov ecx, dword [0x95fd3c]
jmp 0x65090f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x90]
test al, 2
je 0x650a41
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
test eax, eax
je 0x65097a
mov dword [esp + 0x54], edx
mov eax, dword [eax + 4]
lea ecx, [0x9614a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 2
call fcn.0047d7d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x650a0f
mov ecx, dword [esp + 0x20]
cmp dword [0x95fd30], eax
jne 0x6509fa
mov dword [esp + 0x64], ecx
mov dword [esp + 0x28], eax
mov edx, dword [0x95fd34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004044b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6509f2
mov eax, dword [0x95fd38]
mov ecx, dword [0x95fd3c]
jmp 0x6509fa
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x44]
nop
cmp word [eax + 0x4c], cx
je 0x650a43
mov eax, dword [0x9604e0]
mov ecx, dword [0x9604e4]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
mov eax, ecx
mov dword [eax + 0x44], 0
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x650af5
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x80], edx
test ecx, ecx
je 0x650a8d
mov eax, dword [ecx + 4]
lea ecx, [0x9614d8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x80]
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x650b94
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 0x40]
mov dword [esp + 0x78], eax
mov ecx, dword [ebx + 4]
lea edx, [0x9614c8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409f80
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
jmp 0x650b5e
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
test ecx, ecx
je 0x650b26
mov dword [esp + 0x80], edx
mov eax, dword [ecx + 4]
lea ecx, [0x9614b8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0064f340
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x3c], eax
mov eax, dword [0x98d0b8]
test eax, eax
je 0x650b5b
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0x8c
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x8c
ret
lea eax, [0x6eaf20]
mov dword [esp], eax
call fcn.00409d80
nop
call fcn.004706b0
jmp fcn.00650440