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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64494b
sub esp, 0x74
mov eax, dword [esp + 0x80]
cmp eax, 2
jb 0x644944
lea ecx, [eax - 2]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + ecx]
cmp eax, 2
jne 0x64445e
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [0x7e1d1e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00644220
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
movzx ecx, byte [ebx + ecx]
cmp cl, 0x2d
je 0x6443a6
cmp cl, 0x3d
je 0x6443a6
mov dword [esp], ebp
mov dword [esp + 4], edx
lea eax, [0x7dc209]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.004d9740
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
jbe 0x64493d
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00640ec0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 4], ecx
lea ecx, [0x775b40]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0040e920
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
je 0x644713
mov ecx, dword [esp + 0x20]
cmp ecx, 2
jne 0x6445dc
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], esi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x64459e
mov edx, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00644220
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
jmp 0x64456b
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x64460e
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov edi, ecx
mov ecx, ebx
mov ebx, edi
mov edi, edx
mov edx, esi
mov esi, ebp
mov ebp, edi
jmp 0x64453b
mov ecx, dword [esp + 0x88]
test ecx, ecx
jle 0x644650
mov edi, dword [esp + 0x84]
mov ebx, dword [edi + 4]
mov edx, edi
mov edi, dword [edi]
mov ebp, edi
mov edi, dword [esp + 0x8c]
dec edi
mov esi, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 8
add edi, edx
mov edx, edi
lea edi, [ecx - 1]
mov ecx, ebp
mov ebp, edx
mov edx, esi
mov esi, edi
jmp 0x6445fb
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [0x7e5dbd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00644220
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x24]
cmp eax, 4
jne 0x64492d
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
cmp edx, 0x706c6568
je 0x6448d9
mov edx, dword [esp + 0x78]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x644821
mov eax, dword [esp + 0x20]
cmp eax, 2
jge 0x6447dd
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x644797
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
test edx, edx
jbe 0x644936
movzx edx, byte [ebx]
cmp dl, 0x2d
jne 0x6447c3
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
jmp 0x644768
mov ebx, dword [esp + 0x8c]
dec ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 8
lea edx, [ecx + ebx]
dec eax
mov ecx, ebp
jmp 0x644768
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [0x7e1889]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00644220
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00644310
mov eax, dword [0xbb4ebc]
mov ecx, dword [0xbb4eb8]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x38]
jmp 0x644732
call fcn.00426630
ud2
call fcn.00426630
ud2
call fcn.00426730
ud2
call fcn.0044b4c0
jmp fcn.00644360