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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x178]
cmp eax, dword [ecx + 8]
jbe 0x64c254
sub esp, 0x1f8
mov ecx, dword [esp + 0x1fc]
jmp 0x64b991
mov dword [eax + 0x18], ecx
mov ecx, eax
mov edx, dword [ecx + 0x18]
mov esi, dword [ecx + 0x14]
test edx, edx
je 0x64bad3
lea edi, [esp + 0x128]
call fcn.0046647e
lea edi, [esp + 0x9c]
lea esi, [esp + 0x144]
call fcn.004664ce
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
test edx, 0x80000000
je 0x64b9f8
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
mov ebp, ebx
shl ebx, 1
mov eax, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
shr eax, 0x1f
add ebx, 0xd7b17f80
adc eax, 0xd
jmp 0x64ba08
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov ebp, ecx
test eax, eax
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x64ba27
test ebp, 0x3fffffff
jne 0x64ba27
mov ecx, 1
jmp 0x64ba66
lea edi, [esp]
lea esi, [esp + 0x220]
call fcn.004664ce
lea edi, [esp + 0x14]
lea esi, [esp + 0x144]
call fcn.004664ce
call fcn.004853a0
cmp dword [esp + 0x28], 0x3b9aca00
setb al
mov ecx, dword [esp + 0x2c]
test ecx, ecx
setl cl
sete dl
and eax, edx
or ecx, eax
test cl, cl
jne 0x64bacc
mov edx, dword [esp + 0x1fc]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
mov esi, dword [edx + 0x1c]
cmp ebx, 1
jb 0x64c247
lea eax, [0x6c3c00]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
lea ecx, [esi - 1]
neg ecx
sar ecx, 0x1f
and ecx, 0x34
add ecx, ebp
mov dword [esp + 0xc], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x10], ecx
call fcn.00411700
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1fc]
mov edx, dword [eax + 0x1c]
cmp edx, ecx
jae 0x64b98c
jmp 0x64c242
mov ecx, dword [esp + 0x1fc]
mov eax, dword [ecx + 0x20]
test eax, eax
jle 0x64bb09
mov dword [ecx + 0x20], 0
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], eax
mov byte [esp + 0x250], 1
add esp, 0x1f8
ret
mov ecx, dword [esp + 0x1fc]
mov eax, dword [esp + 0x240]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004efce0
movzx eax, byte [esp + 0x20]
lea edi, [esp + 0x58]
lea esi, [esp + 8]
call fcn.004664c4
lea edi, [esp + 0x40]
lea esi, [esp + 0x58]
call fcn.004664c4
test al, al
je 0x64bd4b
movzx edx, byte [esp + 0x40]
test dl, dl
jne 0x64bcb6
movzx ecx, byte [esp + 0x4c]
test cl, cl
jne 0x64bbc9
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x200]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x204]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x240]
mov dword [esp + 0x74], edx
lea ebx, [0x6b5b60]
mov dword [esp], ebx
lea ebp, [esp + 0x80]
mov dword [esp + 4], ebp
call fcn.004095e0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x64bbc9
mov dword [esp], eax
lea eax, [0x7856b0]
mov dword [esp + 4], eax
call fcn.004ec260
lea edi, [esp + 0x15c]
xor eax, eax
call fcn.00465fe3
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
lea edi, [esp + 0x164]
lea esi, [esp + 0x220]
call fcn.004664ce
mov ecx, dword [esp + 0x1fc]
mov edx, dword [ecx + 0x18]
inc edx
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x1c]
cmp ebp, edx
jae 0x64bc6f
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6c3c00]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1fc]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x64bc5c
mov dword [ebx + 0x14], eax
jmp 0x64bc64
lea edi, [ebx + 0x14]
call fcn.00465d80
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0x1fc]
mov dword [ecx + 0x18], edx
imul eax, edx, 0x34
lea edi, [eax + ebx - 0x34]
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x64bc94
lea esi, [esp + 0x15c]
call fcn.0046647e
jmp 0x64bb02
lea eax, [0x6c3c00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x15c]
mov dword [esp + 8], eax
call fcn.004115f0
jmp 0x64bb02
cmp dl, 1
je 0x64bcd9
cmp dl, 2
jne 0x64bb02
mov edx, dword [esp + 0x1fc]
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x3c], ebx
xor eax, eax
jmp 0x64c12b
mov eax, dword [esp + 0x1fc]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
test ecx, ecx
je 0x64bd26
imul ecx, ecx, 0x34
lea edi, [ecx + eax - 0x18]
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x64bd09
lea esi, [esp + 0x220]
call fcn.004664ce
jmp 0x64bd26
lea eax, [0x6e8fe0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x220]
mov dword [esp + 8], eax
call fcn.004115f0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], ecx
mov byte [esp + 0x250], 1
add esp, 0x1f8
ret
lea edi, [esp + 0x110]
xor eax, eax
call fcn.00465fea
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x110], ecx
mov edx, dword [esp + 0x204]
mov dword [esp + 0x114], edx
lea ebx, [0x6edee7]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], 3
lea edi, [esp + 0xf8]
call fcn.00465fea
mov ecx, dword [esp + 0x200]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
lea ebp, [0x6ee414]
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], 5
lea edi, [esp + 0xe0]
call fcn.00465fea
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
lea ebp, [0x7856d8]
mov dword [esp + 0xe0], ebp
lea ebp, [esp + 0x78]
mov dword [esp + 0xe4], ebp
lea edi, [esp + 0xc8]
lea esi, [esp + 0x110]
call fcn.004664c4
lea ecx, [0x78569c]
mov dword [esp + 0xe8], ecx
lea ebp, [esp + 0xc8]
mov dword [esp + 0xec], ebp
lea edi, [esp + 0xb0]
lea esi, [esp + 0xf8]
call fcn.004664c4
lea ecx, [0x78569c]
mov dword [esp + 0xf0], ecx
lea ebp, [esp + 0xb0]
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp + 0x240]
mov dword [esp], ebp
lea ebp, [esp + 0xe0]
mov dword [esp + 4], ebp
mov dword [esp + 8], 3
mov dword [esp + 0xc], 3
call fcn.004e8850
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, ebx
mov ebx, dword [esp + 0x14]
test cl, cl
je 0x64c0ff
test edx, edx
je 0x64c09c
lea ecx, [0x7856c4]
cmp ebp, ecx
jne 0x64bef9
movzx edx, byte [eax]
test dl, dl
je 0x64bee4
mov edx, dword [esp + 0x1fc]
mov dword [edx + 0x28], 0
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x64bed8
mov dword [edx + 0x24], 0
jmp 0x64beeb
lea edi, [edx + 0x24]
xor eax, eax
call fcn.00465d80
jmp 0x64beeb
mov edx, dword [esp + 0x1fc]
mov ecx, edx
mov ebx, dword [esp + 0x200]
jmp 0x64bd4b
lea edx, [0x785688]
cmp ebp, edx
jne 0x64c089
mov ebp, dword [ebx + 4]
movzx edx, byte [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x38], ecx
mov eax, dword [ebx]
mov ebx, dword [esp + 0x240]
test ebx, ebx
je 0x64bfbc
lea edi, [esp + 0x190]
mov esi, eax
xor eax, eax
call fcn.00465fd6
mov ecx, dword [ebx + 0xd8]
mov ebx, dword [ebx + 0xd4]
test ecx, ecx
je 0x64bf5b
lea ecx, [ebx + 8]
lea edi, [esp + 0x190]
mov eax, esi
mov esi, ecx
call fcn.004663fc
jmp 0x64bf5d
mov eax, esi
mov ecx, dword [esp + 0x19c]
mov ebx, dword [esp + 0x1a0]
mov esi, ebx
mov ebx, dword [esp + 0x200]
cmp ebx, ecx
je 0x64bf7c
xor ecx, ecx
jmp 0x64bfc5
mov dword [esp + 0x70], eax
mov byte [esp + 0x33], dl
mov dword [esp + 0x3c], ebp
mov dword [esp], ecx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x204]
mov dword [esp + 8], eax
call fcn.00403860
movzx eax, byte [esp + 0xc]
movzx edx, byte [esp + 0x33]
mov ebx, dword [esp + 0x200]
mov ebp, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x70]
jmp 0x64bfc5
mov ebx, dword [esp + 0x200]
xor ecx, ecx
test cl, cl
je 0x64c07d
cmp ebp, 3
jne 0x64bfdf
cmp word [eax], 0x8fe2
jne 0x64bfdf
cmp byte [eax + 2], 0x8e
je 0x64bffe
cmp ebp, 5
jne 0x64bff2
cmp dword [eax], 0x63617053
jne 0x64bff2
cmp byte [eax + 4], 0x65
je 0x64bffe
mov ecx, dword [esp + 0x1fc]
jmp 0x64bd4b
test dl, dl
jne 0x64c02b
mov ecx, dword [esp + 0x1fc]
mov dword [ecx + 0x28], ebp
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x64c01e
mov dword [ecx + 0x24], eax
jmp 0x64bd4b
lea edi, [ecx + 0x24]
call fcn.00465d80
jmp 0x64bd4b
cmp dl, 1
jne 0x64c071
mov ecx, dword [esp + 0x1fc]
mov edx, dword [ecx + 0x28]
mov esi, ebx
mov ebx, dword [ecx + 0x24]
cmp edx, ebp
jne 0x64c06a
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402a80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x64c0af
mov ecx, dword [esp + 0x1fc]
mov esi, dword [esp + 0x200]
mov ebx, esi
jmp 0x64bd4b
mov ecx, dword [esp + 0x1fc]
jmp 0x64bd4b
mov ecx, dword [esp + 0x1fc]
jmp 0x64bd4b
mov ecx, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x200]
jmp 0x64bd4b
mov ecx, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x200]
jmp 0x64bd4b
mov ecx, dword [esp + 0x1fc]
mov dword [ecx + 0x28], 0
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x64c0d0
mov dword [ecx + 0x24], 0
jmp 0x64c0da
lea edi, [ecx + 0x24]
xor eax, eax
call fcn.00465d80
mov eax, dword [esp + 0x38]
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], 1
mov byte [esp + 0x250], 1
add esp, 0x1f8
ret
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 0
mov byte [esp + 0x250], 0
add esp, 0x1f8
ret
inc eax
mov ebx, dword [esp + 0x3c]
mov edx, ebp
cmp eax, ebx
jge 0x64bb02
mov ecx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
cmp eax, ecx
jae 0x64c23d
imul ebx, eax, 0x34
mov byte [ebp + ebx + 0x30], 1
mov ebp, dword [edx + 0x18]
mov esi, edx
mov edx, dword [edx + 0x14]
cmp eax, ebp
jae 0x64c236
lea edx, [ebx + edx + 0x1c]
lea edi, [esp + 0x88]
mov ebp, esi
mov esi, edx
call fcn.004664ce
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
test edx, 0x80000000
je 0x64c1a7
shl edx, 1
mov esi, ecx
shr ecx, 0x1f
or edx, ecx
mov ecx, esi
shl esi, 1
mov edi, edx
shl edx, 1
shr esi, 0x1f
or esi, edx
shr edi, 0x1f
add esi, 0xd7b17f80
adc edi, 0xd
jmp 0x64c1b5
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
test esi, esi
sete dl
test edi, edi
mov esi, ebx
sete bl
and ebx, edx
test bl, bl
je 0x64c124
test ecx, 0x3fffffff
jne 0x64c124
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
cmp eax, ecx
jae 0x64c231
lea edi, [esi + edx + 0x1c]
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x64c200
lea esi, [esp + 0x220]
call fcn.004664ce
jmp 0x64c124
mov dword [esp + 0x34], eax
lea eax, [0x6e8fe0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x220]
mov dword [esp + 8], eax
call fcn.004115f0
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x1fc]
jmp 0x64c124
call fcn.00465e00
mov ecx, ebp
call fcn.00465e00
call fcn.00465e00
call fcn.00465e40
mov eax, 1
xor ecx, ecx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.0064b960