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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x64fa6168
sub esp, 0xac
mov ebx, dword [esp + 0xb0]
test byte [ebx], al
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ebp, dword [0x6517db24]
mov dword [esp + 0x88], ebp
mov ebp, dword [0x65066080]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ebp, [0x64fa6180]
mov dword [esp + 0xa4], ebp
lea ebp, [esp + 0x88]
mov dword [esp + 0xa8], ebp
xor eax, eax
xor ecx, ecx
mov edx, 0xffffffff
xor ebp, ebp
xor esi, esi
jmp 0x64fa5667
mov edi, dword [esp + 0x4c]
inc edi
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x60]
mov ebx, ecx
mov eax, edi
mov ecx, edx
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x64], ecx
cmp eax, 4
jge 0x64fa5762
jae 0x64fa615d
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebp
lea edi, [0x650665d0]
mov edi, dword [edi + eax*4]
cmp edi, 0x20
sbb esi, esi
mov ecx, edi
mov ebp, 1
shl ebp, cl
and ebp, esi
mov dword [esp + 0x68], ebp
lea ebp, [0x650665e0]
mov ebp, dword [ebp + eax*4]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x64]
shl ebp, cl
and ebp, esi
lea esi, [eax + eax*2]
mov edi, dword [ebx + esi*4 + 8]
mov esi, dword [ebx + esi*4]
mov ecx, ebx
mov ebx, dword [esp + 0x68]
add ebx, ebp
cmp edi, ebx
jb 0x64fa6154
cmp ebp, ebx
ja 0x64fa614b
mov dword [esp + 0x64], ebp
lea ebx, [0x650665f0]
mov ebx, dword [ebx + eax*4]
mov dword [esp + 0x84], ebx
cmp ebx, 0x20
sbb ebx, ebx
sub edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ebp, 3
sar edi, 0x1f
and edi, ebp
lea ebp, [esi + edi]
mov esi, dword [ecx + 0x34]
mov edi, dword [esp + 0x68]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, dword [esp + 0x84]
shr esi, cl
and esi, ebx
and edi, esi
mov ebx, dword [esp + 0x64]
cmp edi, ebx
jne 0x64fa5730
mov ecx, dword [esp + 0x68]
lea edi, [ecx - 1]
and edi, esi
jmp 0x64fa5736
mov ecx, dword [esp + 0x68]
xor edi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], edx
mov esi, edi
xor esi, esi
mov dword [esp + 0x38], esi
xor edi, edi
mov dword [esp + 0x6c], edi
mov esi, dword [esp + 0x50]
mov edi, esi
jmp 0x64fa5a12
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp ecx, 0x400
jae 0x64fa59f5
shl ecx, 7
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.64fa8a10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x64fa5819
mov dword [esp + 0x58], eax
shl ecx, 0xd
mov eax, dword [esp + 0x64]
mov ebx, eax
shl eax, 0x16
mov dword [esp + 0x80], eax
add ecx, eax
mov ebp, dword [esp + 0xa4]
mov dword [esp], ecx
inc ebx
shl ebx, 0x16
sub ebx, ecx
mov dword [esp + 4], ebx
lea edx, [esp + 0xa4]
call ebp
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.64fa5520
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
shl ecx, 0xd
mov ebx, dword [esp + 0x80]
add ecx, ebx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xac
ret
mov edx, dword [esp + 0xb0]
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0x64]
cmp eax, ecx
jae 0x64fa59f0
lea ecx, [edx + eax*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, 0x80000000
je 0x64fa59dd
mov ebx, 0x40000
je 0x64fa59c0
mov ecx, 0x40000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
je 0x64fa59b2
mov edx, 0x40000
mov dword [esp + 0x30], edx
call fcn.64fb3f10
lea eax, [0x650a216f]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.64fb47f0
mov dword [esp + 4], 0
mov dword [esp], 3
call fcn.64fb45f0
lea eax, [0x6509e23b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov eax, dword [esp + 0x64]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.64fb45f0
lea eax, [0x6509e640]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1ed]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1ed]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1eb]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
call fcn.64fb3f80
call fcn.64fb3f10
lea eax, [0x650a28b0]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.64fb4490
call fcn.64fb4130
call fcn.64fb3f80
lea eax, [0x650a1a88]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.64fb29f0
shr edx, 4
and edx, 0x3ffff
jmp 0x64fa5869
mov ebp, edx
shl edx, 0xe
shr ecx, 0x12
or ecx, edx
and ecx, 0x3ffff
test ebp, 0x80000000
mov edx, ebp
jmp 0x64fa5856
mov ebx, ecx
and ebx, 0x3ffff
test edx, 0x80000000
jmp 0x64fa584b
call fcn.64fda100
mov eax, ecx
mov ecx, 0x400
call fcn.64fda110
inc edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], esi
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x50]
cmp edi, ecx
jge 0x64fa5be5
jae 0x64fa6144
lea esi, [ebp + edi*8]
mov ebx, dword [esi + 4]
mov dword [esp + 0x7c], ebx
test ebx, ebx
sete bl
mov esi, dword [esi]
mov dword [esp + 0x78], esi
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ebx, esi
test bl, bl
je 0x64fa5a4d
xor ebx, ebx
mov esi, dword [esp + 0x6c]
jmp 0x64fa5a01
mov dword [esp + 0x54], edi
lea ebx, [0x650665f0]
mov ecx, dword [ebx + eax*4]
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x64]
add ebx, edi
mov dword [esp + 0x60], ebx
shl ebx, cl
and ebp, ebx
mov dword [esp], ebp
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x20
sbb ebx, ebx
mov ebp, 1
shl ebp, cl
and ebp, ebx
shl ebp, 0xd
mov dword [esp + 4], ebp
lea edx, [esp + 0xa4]
call esi
mov eax, dword [esp + 0x7c]
test eax, 0x80000000
je 0x64fa5aaf
mov ebp, dword [esp + 0x78]
mov ebx, 0x40000
jmp 0x64fa5abb
mov ebx, dword [esp + 0x78]
mov ebp, ebx
and ebx, 0x3ffff
mov esi, dword [esp + 0x38]
lea edi, [esi + ebx]
mov ecx, ebx
mov ebx, dword [esp + 0xb4]
cmp ebx, edi
jbe 0x64fa5ba9
test eax, 0x80000000
je 0x64fa5ae1
mov edx, 0x40000
jmp 0x64fa5af9
mov edi, eax
shl eax, 0xe
shr ebp, 0x12
or ebp, eax
and ebp, 0x3ffff
mov eax, edi
mov edx, ebp
mov ebp, dword [esp + 0x78]
cmp ebx, edx
jbe 0x64fa5649
test esi, esi
jne 0x64fa5b0c
test eax, 0x80000000
jmp 0x64fa5b32
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x20
sbb edi, edi
mov edx, ecx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
and ebx, edi
cmp edx, ebx
jae 0x64fa5b84
test eax, 0x80000000
mov ebx, dword [esp + 0xb4]
je 0x64fa5b42
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x20
mov eax, 0x40000
jmp 0x64fa5b51
shr eax, 4
and eax, 0x3ffff
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x54]
lea edi, [esi + 1]
shl edi, cl
and edi, ebp
sub edi, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov eax, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x4c]
jmp 0x64fa5a01
lea eax, [esi + ebx]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0x54]
mov ebx, eax
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
jmp 0x64fa5a01
test esi, esi
jne 0x64fa5bc0
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x54]
shl edx, cl
and edx, eax
jmp 0x64fa5bc4
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
jmp 0x64fa5be9
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0xb4]
cmp ebp, edi
jbe 0x64fa5f3e
test eax, eax
je 0x64fa5f1f
mov edi, dword [esp + 0x48]
test edi, 0x80000000
je 0x64fa5c25
mov dword [esp + 0x98], eax
mov eax, 0x40000
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
jmp 0x64fa5c3d
mov ecx, dword [esp + 0x44]
and ecx, 0x3ffff
test edi, 0x80000000
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x68]
je 0x64fa5c58
mov dword [esp + 0x90], eax
mov eax, 0x40000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
jmp 0x64fa5c7c
shl edi, 0xe
mov ecx, dword [esp + 0x44]
shr ecx, 0x12
or ecx, edi
and ecx, 0x3ffff
mov edi, dword [esp + 0x48]
test edi, 0x80000000
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x68]
je 0x64fa5c85
mov edi, 0x40000
jmp 0x64fa5c8e
shr edi, 4
and edi, 0x3ffff
mov dword [esp + 0x18], edi
call fcn.64fb3f10
lea eax, [0x650a216f]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.64fb47f0
mov eax, dword [esp + 0x4c]
lea ecx, [eax - 1]
mov edx, ecx
sar ecx, 0x1f
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.64fb45f0
lea eax, [0x6509e23b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov eax, dword [esp + 0x40]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.64fb45f0
lea eax, [0x6509e44d]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1ed]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1ed]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.64fb4490
call fcn.64fb4130
call fcn.64fb3f80
call fcn.64fb3f10
lea eax, [0x650a213c]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.64fb47f0
mov eax, dword [esp + 0x4c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 0x74], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.64fb45f0
lea eax, [0x6509f866]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e9a2]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.64fb47f0
mov eax, dword [esp + 0x50]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.64fb45f0
call fcn.64fb4130
call fcn.64fb3f80
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x80], eax
call fcn.64fb3f10
lea eax, [0x650a5390]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.64fb4670
lea eax, [0x6509e774]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.64fb47f0
mov eax, dword [esp + 0x64]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.64fb45f0
call fcn.64fb4130
call fcn.64fb3f80
mov eax, dword [esp + 0x4c]
lea ecx, [0x650665f0]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x84], ecx
lea edx, [0x650665d0]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x70], edx
call fcn.64fb3f10
lea eax, [0x650a6d98]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x650a38fb]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.64fb4490
call fcn.64fb4130
call fcn.64fb3f80
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x68]
xor edx, edx
jmp 0x64fa60af
mov eax, dword [0x65066084]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
add esp, 0xac
ret
mov ecx, dword [esp + 0x88]
lea edx, [0x650665f0]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.64fa5520
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x84]
cmp ecx, 0x20
sbb edx, edx
mov ebx, dword [esp + 0x6c]
shl ebx, 0xd
mov ebp, dword [esp + 0x64]
shl ebp, cl
and edx, ebp
lea ecx, [edx + ebx]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xac
ret
mov dword [esp + 0x2c], ebp
call fcn.64fb3f10
lea eax, [0x650a216f]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.64fb47f0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.64fb45f0
lea eax, [0x6509e23b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + eax]
mov ebx, edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.64fb45f0
lea eax, [0x6509e640]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1ed]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1ed]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.64fb4490
lea eax, [0x6509e1eb]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.64fb47f0
call fcn.64fb3f80
mov eax, dword [esp + 0x5c]
lea edx, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x68]
cmp edx, ecx
jge 0x64fa612e
jae 0x64fa6127
lea ebx, [eax + edx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebp, 0x80000000
je 0x64fa60cc
mov esi, 0x40000
jmp 0x64fa60e0
mov esi, ebx
and ebx, 0x3ffff
test ebp, 0x80000000
mov edi, ebx
mov ebx, esi
mov esi, edi
je 0x64fa60e9
mov ebx, 0x40000
jmp 0x64fa6101
mov edi, ebp
shl ebp, 0xe
shr ebx, 0x12
or ebx, ebp
and ebx, 0x3ffff
test edi, 0x80000000
mov ebp, edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], esi
je 0x64fa6119
mov ebp, 0x40000
jmp 0x64fa5f9f
shr ebp, 4
and ebp, 0x3ffff
jmp 0x64fa5f9f
mov eax, edx
call fcn.64fda100
lea eax, [0x650a1a88]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.64fb29f0
mov eax, edi
call fcn.64fda100
mov eax, ebp
mov ecx, ebx
call fcn.64fda160
mov ecx, ebx
mov edx, edi
call fcn.64fda140
mov ecx, 4
call fcn.64fda100
nop
call fcn.64fd8c20
jmp fcn.64fa55b0