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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x642d2c
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x642574
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x6f67d6]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004b7250
mov eax, dword [esp + 0x10]
test eax, eax
je 0x642500
lea ecx, [eax + 1]
mov edx, dword [esp + 0x7c]
cmp edx, ecx
je 0x6424d1
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
lea eax, [0x6a7260]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0046c600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
cmp ecx, 0xffffffff
je 0x6424c6
mov edx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x642d26
mov ebx, dword [esp + 0x78]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x642c7e
mov ecx, dword [esp + 0x7c]
xor edx, edx
jmp 0x6425a4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x80], eax
lea eax, [edx - 1]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x642529
mov ecx, dword [esp + 0x78]
jmp 0x642534
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x48], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x30], edi
xor edi, edi
jmp 0x6425eb
mov ecx, dword [esp + 0x38]
mov dword [eax + ecx*4], esi
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp ebx, esi
jle 0x6427ce
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], eax
mov eax, 1
mov dword [esp + 0x4c], eax
mov eax, 0x24
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jmp 0x642843
mov edx, dword [esp + 0x28]
cmp edx, 0x400
jge 0x6429ef
mov ebp, dword [esp + 0x38]
mov esi, ebx
sub ebx, ebp
test ebp, ebp
jne 0x642651
mov eax, 0x5d9f7391
mov ecx, edx
imul ebx
sar edx, 8
sar ebx, 0x1f
sub edx, ebx
jmp 0x64265e
mov ebp, ebx
shr ebx, 0x1f
add ebx, ebp
sar ebx, 1
mov ecx, edx
mov edx, ebx
lea ebx, [ecx + 1]
test ebx, ebx
je 0x642c68
mov eax, edx
mov ecx, eax
cmp ebx, 0xffffffff
je 0x642677
cdq
idiv ebx
jmp 0x642679
neg eax
lea edx, [ecx + eax]
xor eax, eax
jmp 0x642bd2
lea ebp, [edx + edx*8]
cmp edx, 0xffffffda
je 0x642c63
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edx
mov ecx, eax
mov eax, esi
cmp ebx, 0xffffffff
je 0x6426a5
cdq
idiv ebx
jmp 0x6426a7
neg eax
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x30], edx
shl ebp, 2
mov edi, dword [esp + 0x40]
add edi, 0x26
mov eax, ebp
cmp edi, 0xffffffff
je 0x6426c7
cdq
idiv edi
jmp 0x6426c9
neg eax
mov edx, eax
mov eax, esi
mov ebp, edx
cmp ebx, 0xffffffff
je 0x6426d9
cdq
idiv ebx
jmp 0x6426db
xor edx, edx
add ebp, ecx
mov esi, dword [esp + 0x30]
cmp esi, 0x10ffff
ja 0x642bdf
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x2c]
cmp edi, ebx
jb 0x642703
mov eax, dword [esp + 0x6c]
jmp 0x642743
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6a7260]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
mov edi, ecx
mov dword [eax + ebx*4 - 4], 0
lea ecx, [edx + 1]
cmp ebx, ecx
jb 0x642c5a
mov dword [esp + 0x2c], edi
mov dword [esp + 0x64], ecx
sub edi, edx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ecx, 2
sar edi, 0x1f
and edi, ecx
add edi, eax
mov ecx, ebx
sub ebx, edx
cmp ecx, edx
jb 0x642c53
mov dword [esp + 0x68], ecx
dec ebx
sub ecx, edx
mov ebp, dword [esp + 0x2c]
sub ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and ebp, edx
lea edx, [ebp + eax]
cmp ecx, ebx
jl 0x6427a2
mov ecx, ebx
cmp edx, edi
je 0x6425c8
mov dword [esp + 0x70], eax
mov dword [esp], edi
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00472150
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x30]
jmp 0x6425c8
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00450f40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [esi + 0x24]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
mov esi, edi
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
je 0x642b4b
jbe 0x642c6d
movzx eax, byte [ebp + esi]
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x64286b
add eax, 0xffffffea
movzx eax, al
mov ecx, 1
jmp 0x642893
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x64287d
movzx eax, cl
mov ecx, 1
jmp 0x642893
add eax, 0xffffff9f
cmp al, 0x19
ja 0x64288f
movzx eax, al
mov ecx, 1
jmp 0x642893
xor ecx, ecx
xor eax, eax
test cl, cl
je 0x642ad7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], esi
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [esp + 0x4c]
mul edx
mov ebp, dword [esp + 0x4c]
imul ecx, ebp
add edx, ecx
mov ecx, ebp
sar ebp, 0x1f
mov dword [esp + 0x64], ebp
mov ebx, dword [esp + 0x3c]
imul ebx, ebp
add edx, ebx
mov ebx, edi
sar edi, 0x1f
mov ebp, 0x7fffffff
sub ebp, ebx
mov esi, 0
sbb esi, edi
cmp esi, edx
sete dl
xchg esi, ebx
setl bl
xchg esi, ebx
cmp eax, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ebp
or edx, esi
test dl, dl
jne 0x642a63
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
mov esi, edx
sub edx, ebp
add ebx, eax
cmp esi, ebp
jg 0x642916
mov edx, 1
jmp 0x642922
lea edi, [ebp + 0x1a]
cmp esi, edi
jl 0x642922
mov edx, 0x1a
mov edi, dword [esp + 0x24]
inc edi
mov ebp, dword [esp + 0x3c]
cmp edx, ebp
jg 0x642622
mov dword [esp + 0x60], ebx
add edx, 0xffffffdc
neg edx
mov dword [esp + 0x44], edx
mov eax, edx
mul ecx
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
imul ebx, ebp
sar ebp, 0x1f
imul ecx, ebp
add edx, ecx
add edx, ebx
test edx, edx
sete dl
setg bl
cmp eax, 0x7fffffff
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x642816
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x6429a4
mov ecx, dword [esp + 0x78]
jmp 0x6429af
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x642a18
mov ecx, dword [esp + 0x78]
jmp 0x642a23
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x642a8c
mov ecx, dword [esp + 0x78]
jmp 0x642a97
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x642b00
mov ecx, dword [esp + 0x78]
jmp 0x642b0b
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x642b74
mov ecx, dword [esp + 0x78]
jmp 0x642b7f
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov ecx, eax
mov eax, 0xea0ea0eb
mov ebp, edx
imul edx
add edx, ebp
sar edx, 5
lea eax, [ecx + 0x24]
cmp edx, 0x1c7
jg 0x642bbf
jmp 0x642683
lea eax, [0x6d0e00]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x642c08
mov ecx, dword [esp + 0x78]
jmp 0x642c13
call fcn.004717c0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6f68e1]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7633d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov eax, edx
call fcn.004718a0
mov eax, ecx
mov ecx, ebx
call fcn.004718a0
call fcn.00435540
call fcn.00435540
mov eax, esi
mov ecx, ebx
call fcn.00471840
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x7c]
cmp esi, ecx
jge 0x642d1d
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x642c95
inc esi
jmp 0x642ccd
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00462550
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
inc edi
cmp edx, edi
jae 0x642c76
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6a7260]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
jmp 0x642c76
mov ecx, edx
mov edx, edi
jmp 0x6425a4
call fcn.00471860
nop
call fcn.004703c0
jmp fcn.00642420