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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x642d6a
sub esp, 0x84
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
jmp 0x6426ad
mov eax, esi
mov edi, edx
mov edx, ebx
mov ebx, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], ecx
test eax, eax
je 0x642ab3
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x8939b0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.0051ff80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test dl, dl
je 0x642a9c
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x44]
lea esi, [ebx + edx]
mov edi, dword [esp + 0x3c]
cmp edi, esi
jb 0x64272c
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
jmp 0x642774
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov edi, edx
mov dword [esp + 0x78], ebp
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x78]
lea ecx, [eax + edx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0045fe60
mov eax, dword [esp + 0x34]
test eax, eax
je 0x64280c
mov ecx, dword [esp + 0x64]
cmp byte [ecx], 0x24
jne 0x642810
mov edx, dword [esp + 0x40]
inc edx
mov ebx, dword [esp + 0x44]
cmp ebx, edx
jb 0x6427b7
mov ebp, dword [esp + 0x78]
jmp 0x6427f5
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x34]
mov byte [edx + ebp - 1], 0x24
dec eax
mov esi, eax
neg eax
sar eax, 0x1f
and eax, 1
add ecx, eax
jmp 0x6426a5
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00642d80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x1c]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test bl, bl
je 0x642a39
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], eax
test edx, edx
jl 0x642a09
mov ebx, edx
shl edx, 1
inc edx
mov ebp, dword [esp + 0xb8]
cmp ebp, edx
jle 0x6429f1
mov edx, dword [esp + 0xb4]
lea esi, [edx + ebx*8]
mov esi, dword [esi]
test esi, esi
jge 0x642882
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
jmp 0x642d5b
mov edi, dword [esp + 0xa0]
test edi, edi
je 0x642932
lea ebx, [edx + ebx*8 + 4]
mov ebx, dword [ebx]
sub ebx, esi
mov edx, dword [esp + 0x40]
lea ebp, [edx + ebx]
mov eax, dword [esp + 0xa8]
sub eax, esi
neg eax
sar eax, 0x1f
and esi, eax
lea eax, [edi + esi]
mov esi, dword [esp + 0x44]
cmp esi, ebp
jae 0x642903
mov dword [esp + 0x44], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov esi, edi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov ecx, dword [esp + 0x78]
add edx, ecx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0045fe60
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
jmp 0x6429d0
lea ebx, [edx + ebx*8 + 4]
mov ebx, dword [ebx]
sub ebx, esi
mov dword [esp + 0x38], ebx
mov edi, dword [esp + 0x40]
lea edx, [edi + ebx]
neg ebx
sar ebx, 0x1f
and ebx, esi
mov esi, dword [esp + 0xac]
add ebx, esi
mov esi, dword [esp + 0x44]
cmp esi, edx
jae 0x6429a1
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov esi, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x78]
lea ecx, [eax + edi]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.0045fe60
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0xb8]
mov ebx, eax
mov esi, ecx
mov edi, edx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xb4]
jmp 0x642d5b
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
jmp 0x642d5b
mov dword [esp + 0x28], esi
mov dword [esp + 0x5c], ebp
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x6c], ebx
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
jmp 0x642b51
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x642a52
mov ecx, eax
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x44]
jmp 0x642a84
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x24
mov esi, dword [esp + 0x34]
mov edx, ecx
mov ebx, edi
mov ebp, eax
mov ecx, dword [esp + 0x64]
jmp 0x6426a5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
lea esi, [ebx + eax]
cmp edx, esi
jae 0x642af3
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
add ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045fe60
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
add esp, 0x84
ret
inc eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
cmp edx, edi
jge 0x642d33
lea eax, [ebx + edx*8]
mov ecx, dword [eax]
cmp dword [eax + 4], esi
je 0x642b6b
xor eax, eax
jmp 0x642b94
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00402870
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
test al, al
je 0x642bcd
mov eax, edx
shl edx, 1
lea ecx, [edx + 1]
mov edx, dword [esp + 0xb8]
cmp edx, ecx
jle 0x642bc1
mov ecx, dword [esp + 0xb4]
lea ebp, [ecx + eax*8]
mov ebp, dword [ebp]
test ebp, ebp
jl 0x642b39
jmp 0x642be2
mov ecx, dword [esp + 0xb4]
jmp 0x642b39
mov eax, edx
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
jmp 0x642b39
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x642c93
lea eax, [ecx + eax*8 + 4]
mov eax, dword [eax]
sub eax, ebp
mov esi, dword [esp + 0x40]
lea edi, [esi + eax]
mov ecx, dword [esp + 0xa8]
sub ecx, ebp
neg ecx
sar ecx, 0x1f
and ebp, ecx
lea ecx, [ebx + ebp]
mov ebp, dword [esp + 0x44]
cmp ebp, edi
jae 0x642c63
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov ebp, ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x78]
lea ebx, [edx + esi]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045fe60
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
jmp 0x642d3f
lea eax, [ecx + eax*8 + 4]
mov eax, dword [eax]
sub eax, ebp
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x40]
lea edi, [esi + eax]
neg eax
sar eax, 0x1f
and eax, ebp
mov ebp, dword [esp + 0xac]
add eax, ebp
mov ebp, dword [esp + 0x44]
cmp ebp, edi
jae 0x642d02
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov ebp, ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
mov ecx, dword [esp + 0x78]
lea edx, [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.0045fe60
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
jmp 0x642d3f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0xb8]
mov ebx, eax
mov esi, ecx
mov edi, edx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xb4]
mov ecx, eax
mov edx, esi
mov ebp, edi
mov esi, dword [esp + 0x24]
jmp 0x6426a5
call fcn.0045e260
jmp fcn.00642660