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

Disassembly:
sub esp, 0x668
mov ecx, dword [0x7870c0]
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 [0x7870c0]
push esi
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f120
movsx eax, byte [esi + 0xff]
push eax
push 0xff
push 0x100
push esi
push 0x8000001e
mov dword [esp + 0x24], 1
call fcn.00669b90
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
push ecx
call fcn.00669ae0
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 0x64f1a3
cmp byte [ebp], 0
je 0x64f1a3
mov eax, dword [0x7870c0]
push 0x100
lea edx, [esp + 0x7c]
push ebp
push edx
call dword [eax + 0xfc]
mov ecx, dword [0x7870c0]
push ebp
call dword [ecx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f1a3
movsx edx, byte [ebp + 0xff]
push edx
push 0xff
push 0x100
push ebp
push 0x8000001e
mov dword [esp + 0x24], 1
call fcn.00669b90
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
call fcn.00669ae0
add esp, 0x18
mov byte [esp + 0x177], 0
mov eax, dword [0x787540]
mov ecx, dword [0x7870c0]
mov ebx, 4
cmp dword [eax + ecx + 0x18], esi
je 0x64f1cb
mov edx, dword [eax + ecx + 0x1c]
mov ebx, 0x8004
cmp edx, esi
je 0x64f1cb
mov ebx, 0x9004
mov eax, dword [eax + ecx + 0x2c]
cmp eax, esi
je 0x64f1e7
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.0064ec70
mov edi, eax
add esp, 0x1c
cmp edi, esi
mov dword [esp + 0x38], edi
jne 0x64f233
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.00655490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x64f26b
push edi
call fcn.006512b0
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 0x64f550
test ah, 0x10
je 0x64f28b
push edi
push esi
call fcn.006602b0
add esp, 8
jmp 0x64f560
push esi
call fcn.00655420
mov ecx, eax
mov edi, 1
add esp, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
jle 0x64f440
mov ecx, dword [esp + 0x67c]
mov eax, dword [0x7870c0]
push 0x100
lea edx, [esp + 0x17c]
push ecx
push edx
call dword [eax + 0xfc]
mov ecx, dword [esp + 0x688]
mov edx, dword [0x7870c0]
push ecx
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f32a
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.00669b90
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
push edx
call fcn.00669ae0
add esp, 0x18
mov byte [esp + 0x277], 0
test ebp, ebp
mov byte [esp + 0x78], 0
je 0x64f3a5
cmp byte [ebp], 0
je 0x64f3a5
mov ecx, dword [0x7870c0]
push 0x100
lea eax, [esp + 0x7c]
push ebp
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x7870c0]
push ebp
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x100
jb 0x64f3a5
movsx eax, byte [ebp + 0xff]
push eax
push 0xff
push 0x100
push ebp
push 0x8000001e
mov dword [esp + 0x2c], 1
call fcn.00669b90
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push ecx
call fcn.00669ae0
add esp, 0x18
mov byte [esp + 0x177], 0
mov edx, dword [0x7870c0]
mov eax, dword [0x787540]
mov eax, dword [eax + edx + 0x2c]
test eax, eax
je 0x64f3cc
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.00655530
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.00655250
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.0064ec70
add esp, 0x2c
mov dword [esp + edi*4 + 0x38], eax
test eax, eax
je 0x64f461
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x64f2a7
mov ecx, eax
xor eax, eax
mov al, byte [esi + 0x23]
test al, 0x60
je 0x64f4b3
test al, 0x40
je 0x64f48a
push 4
lea edx, [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x284]
push 0
push eax
jmp 0x64f49c
dec edi
js 0x64f474
mov ecx, dword [esp + edi*4 + 0x38]
push ecx
call fcn.006512b0
add esp, 4
dec edi
jns 0x64f464
push esi
call fcn.006552e0
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.0064ead0
mov eax, dword [esp + 0x4c]
add esp, 0x14
push eax
call fcn.00652260
add esp, 4
jmp 0x64f4cf
xor edi, edi
test ecx, ecx
jle 0x64f4d3
mov ecx, dword [esp + edi*4 + 0x38]
push ecx
call fcn.00652260
mov eax, dword [esp + 0x14]
add esp, 4
inc edi
cmp edi, eax
jl 0x64f4b9
mov ecx, dword [esp + 0x10]
xor edi, edi
test ecx, ecx
jle 0x64f589
push 5
push edi
push esi
call fcn.00655530
add esp, 0xc
test eax, eax
je 0x64f508
mov edx, dword [esp + edi*4 + 0x38]
push edx
push esi
call fcn.006602b0
add esp, 8
test eax, eax
je 0x64f520
push esi
call fcn.00655250
add esp, 4
mov eax, dword [esp + edi*4 + 0x38]
push eax
call fcn.006512b0
mov eax, dword [esp + 0x14]
add esp, 4
inc edi
cmp edi, eax
jl 0x64f4dd
jmp 0x64f589
mov ebx, dword [esp + 0x10]
cmp edi, ebx
jge 0x64f53a
mov ecx, dword [esp + edi*4 + 0x38]
push ecx
call fcn.006512b0
add esp, 4
inc edi
cmp edi, ebx
jl 0x64f528
push esi
call fcn.006552e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret
push edi
call fcn.00652260
push edi
push esi
call fcn.006602b0
add esp, 0xc
test eax, eax
jne 0x64f580
push esi
call fcn.006552e0
push edi
call fcn.006512b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret
push edi
call fcn.006512b0
add esp, 4
mov eax, dword [0x7870c0]
mov edx, dword [0x787540]
mov ecx, dword [edx + eax + 8]
push ecx
call dword [eax + 0x140]
mov edi, eax
add esp, 4
test edi, edi
je 0x64f53a
lea ebx, [edi + 0x10]
mov dword [edi + 0x50], 0
push edi
mov byte [edi + 0x51], 0x11
push 0x6ddb70
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.006699c0
mov esi, dword [esp + 0x684]
mov edx, dword [0x7870c0]
add esp, 8
push 0x20
push esi
push ebx
call dword [edx + 0xfc]
mov eax, dword [0x7870c0]
push esi
call dword [eax + 0x11c]
add esp, 0x10
cmp eax, 0x20
mov ebx, 1
jb 0x64f63c
movsx ecx, byte [esi + 0x1f]
push ecx
push 0x1f
push 0x20
push esi
push 0x8000001e
mov dword [esp + 0x2c], ebx
call fcn.00669b90
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push edx
call fcn.00669ae0
add esp, 0x18
mov byte [edi + 0x2f], 0
test ebp, ebp
lea eax, [edi + 0x30]
push 0x20
je 0x64f68e
push ebp
push eax
mov eax, dword [0x7870c0]
call dword [eax + 0xfc]
mov ecx, dword [0x7870c0]
push ebp
call dword [ecx + 0x11c]
add esp, 0x10
cmp eax, 0x20
jb 0x64f6ed
movsx edx, byte [ebp + 0x1f]
push edx
push 0x1f
push 0x20
push ebp
push 0x8000001e
mov dword [esp + 0x2c], ebx
call fcn.00669b90
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
jmp 0x64f6e1
mov ecx, dword [0x7870c0]
push 0x787570
push eax
call dword [ecx + 0xfc]
mov edx, dword [0x7870c0]
push 0x787570
call dword [edx + 0x11c]
add esp, 0x10
cmp eax, 0x20
jb 0x64f6ed
movsx eax, byte [0x78758f]
push eax
push 0x1f
push 0x20
push 0x787570
push 0x8000001e
mov dword [esp + 0x2c], ebx
call fcn.00669b90
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push ecx
call fcn.00669ae0
add esp, 0x18
mov byte [edi + 0x4f], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret