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

Disassembly:
sub esp, 0x668
mov ecx, dword [0x7870c8]
lea eax, [esp + 0x168]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x678]
push edi
push 0x100
push esi
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x7870c8]
push esi
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f170
movsx eax, byte [esi + 0xff]
push eax
push 0xff
push 0x100
push esi
push 0x8000001e
mov dword [esp + 0x24], 1
call fcn.00669be0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
push ecx
call fcn.00669b30
add esp, 0x18
mov byte [esp + 0x277], 0
mov ebp, dword [esp + 0x680]
xor esi, esi
cmp ebp, esi
mov byte [esp + 0x78], 0
je 0x64f1f3
cmp byte [ebp], 0
je 0x64f1f3
mov eax, dword [0x7870c8]
push 0x100
lea edx, [esp + 0x7c]
push ebp
push edx
call dword [eax + 0xfc]
mov ecx, dword [0x7870c8]
push ebp
call dword [ecx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f1f3
movsx edx, byte [ebp + 0xff]
push edx
push 0xff
push 0x100
push ebp
push 0x8000001e
mov dword [esp + 0x24], 1
call fcn.00669be0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
call fcn.00669b30
add esp, 0x18
mov byte [esp + 0x177], 0
mov eax, dword [0x787548]
mov ecx, dword [0x7870c8]
mov ebx, 4
cmp dword [eax + ecx + 0x18], esi
je 0x64f21b
mov edx, dword [eax + ecx + 0x1c]
mov ebx, 0x8004
cmp edx, esi
je 0x64f21b
mov ebx, 0x9004
mov eax, dword [eax + ecx + 0x2c]
cmp eax, esi
je 0x64f237
push ebx
lea ecx, [esp + 0x7c]
push esi
lea edx, [esp + 0x180]
push ecx
push edx
call eax
add esp, 0x10
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x88]
push ebx
lea edx, [esp + 0x18c]
push ecx
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], esi
call fcn.0064ecc0
mov edi, eax
add esp, 0x1c
cmp edi, esi
mov dword [esp + 0x38], edi
jne 0x64f283
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x668
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.006554e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x64f2bb
push edi
call fcn.00651300
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret
mov eax, dword [esp + 0x24]
test ah, ah
jns 0x64f5a0
test ah, 0x10
je 0x64f2db
push edi
push esi
call fcn.00660300
add esp, 8
jmp 0x64f5b0
push esi
call fcn.00655470
mov ecx, eax
mov edi, 1
add esp, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
jle 0x64f490
mov ecx, dword [esp + 0x67c]
mov eax, dword [0x7870c8]
push 0x100
lea edx, [esp + 0x17c]
push ecx
push edx
call dword [eax + 0xfc]
mov ecx, dword [esp + 0x688]
mov edx, dword [0x7870c8]
push ecx
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f37a
mov eax, dword [esp + 0x67c]
mov dword [esp + 0x30], 1
movsx ecx, byte [eax + 0xff]
push ecx
push 0xff
push 0x100
push eax
push 0x8000001e
call fcn.00669be0
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
push edx
call fcn.00669b30
add esp, 0x18
mov byte [esp + 0x277], 0
test ebp, ebp
mov byte [esp + 0x78], 0
je 0x64f3f5
cmp byte [ebp], 0
je 0x64f3f5
mov ecx, dword [0x7870c8]
push 0x100
lea eax, [esp + 0x7c]
push ebp
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x7870c8]
push ebp
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f3f5
movsx eax, byte [ebp + 0xff]
push eax
push 0xff
push 0x100
push ebp
push 0x8000001e
mov dword [esp + 0x2c], 1
call fcn.00669be0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push ecx
call fcn.00669b30
add esp, 0x18
mov byte [esp + 0x177], 0
mov edx, dword [0x7870c8]
mov eax, dword [0x787548]
mov eax, dword [eax + edx + 0x2c]
test eax, eax
je 0x64f41c
push ebx
lea ecx, [esp + 0x7c]
push edi
lea edx, [esp + 0x180]
push ecx
push edx
call eax
add esp, 0x10
push 5
push edi
push esi
call fcn.00655580
mov eax, dword [esi + 0xc]
push esi
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x14]
xor eax, eax
mov dword [esp + 0x3c], edx
mov ah, byte [esi + 0x23]
mov al, byte [esi + 0x20]
mov dword [esp + 0x34], eax
call fcn.006552a0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x98]
push ebx
lea eax, [esp + 0x19c]
push edx
push eax
call fcn.0064ecc0
add esp, 0x2c
mov dword [esp + edi*4 + 0x38], eax
test eax, eax
je 0x64f4b1
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x64f2f7
mov ecx, eax
xor eax, eax
mov al, byte [esi + 0x23]
test al, 0x60
je 0x64f503
test al, 0x40
je 0x64f4da
push 4
lea edx, [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x284]
push 0
push eax
jmp 0x64f4ec
dec edi
js 0x64f4c4
mov ecx, dword [esp + edi*4 + 0x38]
push ecx
call fcn.00651300
add esp, 4
dec edi
jns 0x64f4b4
push esi
call fcn.00655330
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret
push 8
push ecx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x280]
push ecx
push 0
push edx
call fcn.0064eb20
mov eax, dword [esp + 0x4c]
add esp, 0x14
push eax
call fcn.006522b0
add esp, 4
jmp 0x64f51f
xor edi, edi
test ecx, ecx
jle 0x64f523
mov ecx, dword [esp + edi*4 + 0x38]
push ecx
call fcn.006522b0
mov eax, dword [esp + 0x14]
add esp, 4
inc edi
cmp edi, eax
jl 0x64f509
mov ecx, dword [esp + 0x10]
xor edi, edi
test ecx, ecx
jle 0x64f5d9
push 5
push edi
push esi
call fcn.00655580
add esp, 0xc
test eax, eax
je 0x64f558
mov edx, dword [esp + edi*4 + 0x38]
push edx
push esi
call fcn.00660300
add esp, 8
test eax, eax
je 0x64f570
push esi
call fcn.006552a0
add esp, 4
mov eax, dword [esp + edi*4 + 0x38]
push eax
call fcn.00651300
mov eax, dword [esp + 0x14]
add esp, 4
inc edi
cmp edi, eax
jl 0x64f52d
jmp 0x64f5d9
mov ebx, dword [esp + 0x10]
cmp edi, ebx
jge 0x64f58a
mov ecx, dword [esp + edi*4 + 0x38]
push ecx
call fcn.00651300
add esp, 4
inc edi
cmp edi, ebx
jl 0x64f578
push esi
call fcn.00655330
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret
push edi
call fcn.006522b0
push edi
push esi
call fcn.00660300
add esp, 0xc
test eax, eax
jne 0x64f5d0
push esi
call fcn.00655330
push edi
call fcn.00651300
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret
push edi
call fcn.00651300
add esp, 4
mov eax, dword [0x7870c8]
mov edx, dword [0x787548]
mov ecx, dword [edx + eax + 8]
push ecx
call dword [eax + 0x140]
mov edi, eax
add esp, 4
test edi, edi
je 0x64f58a
lea ebx, [edi + 0x10]
mov dword [edi + 0x50], 0
push edi
mov byte [edi + 0x51], 0x11
push 0x6ddb60
mov dword [edi + 4], 0
mov byte [ebx], 0
mov byte [edi + 0x30], 0
mov dword [edi], esi
mov dword [edi + 0x54], 1
mov byte [edi + 0x50], 1
call fcn.00669a10
mov esi, dword [esp + 0x684]
mov edx, dword [0x7870c8]
add esp, 8
push 0x20
push esi
push ebx
call dword [edx + 0xfc]
mov eax, dword [0x7870c8]
push esi
call dword [eax + 0x11c]
add esp, 0x10
cmp eax, 0x20
mov ebx, 1
jb 0x64f68c
movsx ecx, byte [esi + 0x1f]
push ecx
push 0x1f
push 0x20
push esi
push 0x8000001e
mov dword [esp + 0x2c], ebx
call fcn.00669be0
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push edx
call fcn.00669b30
add esp, 0x18
mov byte [edi + 0x2f], 0
test ebp, ebp
lea eax, [edi + 0x30]
push 0x20
je 0x64f6de
push ebp
push eax
mov eax, dword [0x7870c8]
call dword [eax + 0xfc]
mov ecx, dword [0x7870c8]
push ebp
call dword [ecx + 0x11c]
add esp, 0x10
cmp eax, 0x20
jb 0x64f73d
movsx edx, byte [ebp + 0x1f]
push edx
push 0x1f
push 0x20
push ebp
push 0x8000001e
mov dword [esp + 0x2c], ebx
call fcn.00669be0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
jmp 0x64f731
mov ecx, dword [0x7870c8]
push 0x787578
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x7870c8]
push 0x787578
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x20
jb 0x64f73d
movsx eax, byte [0x787597]
push eax
push 0x1f
push 0x20
push 0x787578
push 0x8000001e
mov dword [esp + 0x2c], ebx
call fcn.00669be0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push ecx
call fcn.00669b30
add esp, 0x18
mov byte [edi + 0x4f], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret