Function at 0x644960
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 0x645177
sub esp, 0xac
mov eax, dword [esp + 0xb8]
cmp eax, 5
jge 0x645137
xor ecx, ecx
test cl, cl
jne 0x6450e3
cmp eax, 1
jb 0x645170
mov eax, dword [esp + 0xb4]
movzx ecx, byte [eax]
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], cl
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0x4c]
mov dword [esp + 4], ebx
lea ebx, [0x776f80]
mov dword [esp], ebx
lea ebx, [esp + 0x2b]
mov dword [esp + 8], ebx
call fcn.0040ae10
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [esp + 0xb8]
lea ebx, [edx - 1]
mov dword [esp + 0x30], ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov esi, dword [esp + 0xb4]
add ebx, esi
mov dword [esp + 0x58], ebx
test cl, cl
je 0x644e23
mov dword [esp + 0x5c], eax
cmp edx, 2
jle 0x644c22
movzx ecx, byte [esi + 1]
cmp cl, 0x3d
jne 0x644c22
lea ecx, [esi + 2]
lea ebx, [edx - 2]
mov edx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xbc]
xor esi, esi
xor edi, edi
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x30], ebx
mov ebp, dword [eax + 0x44]
test ebp, ebp
je 0x644b53
mov ebp, dword [esp + 0xb0]
mov edx, dword [ebp + 0x64]
mov ebp, dword [ebp + 0x68]
test edx, edx
je 0x644c11
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [eax + 8]
mov dword [esp + 4], ecx
lea ecx, [0x771de0]
mov dword [esp], ecx
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x40]
mov dword [esp + 4], ecx
lea ecx, [0x771de0]
mov dword [esp], ecx
call fcn.00407630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [0x7ee4ad]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x2b
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.004bc910
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x644bcd
mov edx, dword [esp + 0x64]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xac
ret
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0xb0]
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 + 0x60]
mov ecx, dword [esp + 0x34]
jmp 0x644b81
mov ebp, dword [0xbb4748]
lea edx, [0x8f8fb0]
jmp 0x644a8d
mov ecx, dword [eax + 0x30]
mov edi, dword [eax + 0x2c]
test ecx, ecx
je 0x644c7d
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x4c], eax
mov eax, ecx
mov ecx, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, ebp
mov ebp, esi
mov esi, eax
mov eax, dword [esp + 0x4c]
jmp 0x644a55
cmp edx, 1
jle 0x644cba
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xbc]
mov esi, dword [esp + 0xc0]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x40], esi
mov esi, edx
mov edx, ecx
mov ecx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x68]
jmp 0x644c4c
mov ecx, dword [esp + 0xc0]
test ecx, ecx
jle 0x644d06
mov edx, dword [esp + 0xbc]
mov esi, dword [edx + 4]
mov edi, dword [edx]
mov eax, dword [esp + 0xc4]
dec eax
mov dword [esp + 0x40], eax
neg eax
sar eax, 0x1f
and eax, 8
add edx, eax
lea eax, [ecx - 1]
mov ebx, edi
mov ebp, esi
mov ecx, dword [esp + 0x40]
mov esi, eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
jmp 0x644ca6
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x7720a0]
mov dword [esp + 0x8c], eax
movzx eax, byte [esp + 0x2a]
movzx eax, al
lea ecx, [0xb76960]
add eax, ecx
mov dword [esp + 0x90], eax
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [0x7e9b44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea eax, [esp + 0x8c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.00644220
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xac
ret
movzx eax, byte [esp + 0x2a]
cmp al, 0x68
je 0x645073
mov ecx, dword [esp + 0xb0]
movzx edi, byte [ecx + 5]
xchg edi, eax
test al, al
xchg edi, eax
je 0x644f5b
cmp edx, 2
jle 0x644e58
movzx eax, byte [esi + 1]
cmp al, 0x3d
je 0x644efe
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x644eb1
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xac
ret
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 4]
mov esi, dword [ecx]
test edx, edx
jbe 0x645169
movzx edx, byte [esi]
cmp dl, 0x2d
jne 0x644edd
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xbc]
jmp 0x644e71
mov esi, dword [esp + 0xc4]
dec esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 8
lea edx, [ecx + esi]
dec eax
mov ecx, edi
jmp 0x644e71
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xac
ret
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x7720a0]
mov dword [esp + 0x9c], ecx
movzx eax, al
lea ecx, [0xb76960]
add eax, ecx
mov dword [esp + 0xa0], eax
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [0x7ea27c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.00644220
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xac
ret
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00644310
mov eax, dword [0xbb4ebc]
mov ecx, dword [0xbb4eb8]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xac
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xac
ret
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
lea ecx, [0x7dcc3e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.004021e0
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0xb8]
jmp 0x644992
call fcn.00426630
ud2
call fcn.00426730
ud2
call fcn.0044b4c0
jmp fcn.00644960