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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x642518
sub esp, 0x8c
mov eax, dword [esp + 0x94]
test eax, eax
je 0x641fe4
mov ecx, dword [esp + 0x98]
jmp 0x641feb
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + 8]
mov ebx, dword [ebx + 0x10]
mov ebp, dword [esp + 0xa8]
cmp ebp, ebx
jg 0x642009
mov ebx, ebp
mov dword [esp + 0x64], ebx
lea eax, [0x67a020]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x64204e
mov ecx, eax
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x48]
cmp edi, ecx
jl 0x6423c2
mov dword [esp + 0x78], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 2
call fcn.0063e640
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
test ecx, ecx
je 0x6423a7
mov dword [esp + 0x54], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x6421d8
mov ebp, dword [edx]
mov esi, dword [esp + 0x44]
sub ebp, esi
mov edi, dword [esp + 0x4c]
lea eax, [edi + ebp]
mov ecx, dword [esp + 0x9c]
sub ecx, esi
neg ecx
sar ecx, 0x1f
and ecx, esi
add ecx, ebx
mov ebx, dword [esp + 0x50]
cmp ebx, eax
jb 0x642151
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
jmp 0x6421a2
mov dword [esp + 0x60], ebp
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x84], ebp
mov ebx, edx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x84]
lea esi, [edx + edi]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0045fe60
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
jmp 0x64229e
mov ebp, dword [edx]
mov esi, dword [esp + 0x44]
sub ebp, esi
mov dword [esp + 0x60], ebp
mov edi, dword [esp + 0x4c]
lea eax, [edi + ebp]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, esi
mov ecx, dword [esp + 0xa0]
add ebp, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jb 0x64221c
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
jmp 0x642269
mov dword [esp + 0x80], ebp
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x84], ebp
mov ecx, edx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x84]
lea ebx, [edx + edi]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
call fcn.0045fe60
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
cmp dword [ebp + 4], ebx
jg 0x6422b2
mov ebx, dword [ebp]
test ebx, ebx
jne 0x6422f9
mov ebx, dword [esp + 0xac]
mov esi, dword [ebx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov edx, ebx
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x94]
test ebx, ebx
mov ebp, dword [esp + 0x7c]
jmp 0x642302
mov ebx, dword [esp + 0x94]
test ebx, ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], ecx
mov esi, dword [ebp + 4]
mov dword [esp + 0x44], esi
je 0x642351
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, ecx
add eax, ebx
mov dword [esp], eax
mov eax, dword [esp + 0x98]
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00489ca0
mov eax, dword [esp + 0x10]
jmp 0x642380
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebp, dword [esp + 0xa0]
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00489e30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
add eax, ecx
mov edx, dword [esp + 0x7c]
mov edx, dword [edx + 4]
cmp edx, eax
jl 0x642032
lea eax, [ecx + 1]
cmp edx, eax
jl 0x642032
mov eax, edx
jmp 0x642032
mov eax, dword [esp + 0x94]
test eax, eax
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
jmp 0x6423cb
mov eax, dword [esp + 0x94]
test eax, eax
je 0x64246c
mov ecx, dword [esp + 0x98]
sub ecx, esi
mov dword [esp + 0x64], ecx
lea edi, [ebx + ecx]
mov ecx, dword [esp + 0x9c]
sub ecx, esi
neg ecx
sar ecx, 0x1f
and esi, ecx
add eax, esi
cmp edx, edi
jae 0x642437
mov dword [esp + 0x84], eax
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edx
lea ecx, [ebp + ebx]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.0045fe60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
jmp 0x6424fc
mov eax, dword [esp + 0xa4]
sub eax, esi
lea ecx, [ebx + eax]
mov edi, eax
neg eax
sar eax, 0x1f
and esi, eax
mov eax, dword [esp + 0xa0]
add eax, esi
cmp edx, ecx
jae 0x6424d2
mov dword [esp + 0x64], edi
mov dword [esp + 0x80], eax
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], ecx
add ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.0045fe60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0x8c
ret
call fcn.0045e260
jmp fcn.00641fb0