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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x644c78
sub esp, 0x50
lea eax, [0x6fbd60]
mov dword [esp], eax
call fcn.0040cd70
mov edi, dword [esp + 4]
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x58]
test esi, esi
je 0x6448ba
mov eax, dword [0x884700]
test eax, eax
jne 0x644c5d
call fcn.0044a6f6
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x94]
test ecx, ecx
jne 0x644c52
mov dword [eax + 0x94], 0x3a
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x644c49
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x4c], ebx
test edx, edx
jle 0x644c3c
lea ebp, [0x6c8d60]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00437440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [0x884700]
test eax, eax
jne 0x644c27
mov dword [ebx], edx
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jge 0x644a01
mov ebp, dword [ecx + 4]
mov dword [esp + 0x34], ebp
mov esi, dword [ecx]
mov dword [esp + 0x2c], esi
lea edi, [0x6dc8a0]
mov dword [esp], edi
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x6449eb
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x18]
cmp ebp, edx
jae 0x6449e4
mov edx, ebp
shl ebp, 3
lea esi, [0x84a440]
mov dword [ebx + ebp], esi
mov edi, dword [0x884700]
lea esi, [ebx + edx*8 + 4]
test edi, edi
jne 0x6449ce
mov dword [ebx + ebp + 4], eax
mov ebp, dword [esp + 0x48]
add ebp, 8
lea eax, [edx + 1]
mov ebx, ecx
mov ecx, ebp
jmp 0x644939
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
jmp 0x6449bb
call fcn.00424680
ud2
mov dword [esp], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x44]
jmp 0x64498a
mov eax, dword [esp + 0x58]
test eax, eax
je 0x644bfa
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
test edx, edx
je 0x644bfa
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea ebp, [0x6c19c0]
mov dword [esp], ebp
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x644be1
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov edx, dword [0x884700]
lea ebx, [ecx + 0x3c]
test edx, edx
jne 0x644bcc
mov dword [ecx + 0x3c], eax
mov eax, dword [ecx + 0x3c]
lea edx, [0x84af00]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x60], edx
mov edx, dword [0x884700]
lea ebp, [ebx + 0x64]
test edx, edx
jne 0x644bad
mov dword [ebx + 0x64], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x644ba4
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
test eax, eax
jne 0x644b24
lea eax, [0x6fe200]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [0x884700]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x644b0e
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [0x884700]
mov edx, dword [esp + 0x54]
lea ebx, [edx + 0x38]
test eax, eax
jne 0x644afc
mov dword [edx + 0x38], ecx
mov eax, dword [edx + 0x38]
mov dword [esp], eax
call fcn.00644c90
add esp, 0x50
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov edx, dword [esp + 0x54]
jmp 0x644aed
mov dword [esp], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x3c]
jmp 0x644ad9
lea ebp, [0x6dc8a0]
mov dword [esp], ebp
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x644b8e
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea ecx, [0x84a440]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x74], ecx
mov ecx, dword [0x884700]
lea ebx, [edx + 0x78]
test ecx, ecx
jne 0x644b7c
mov dword [edx + 0x78], eax
mov ecx, dword [esp + 0x54]
mov ebx, edx
jmp 0x644ab3
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov edx, dword [esp + 0x28]
jmp 0x644b71
mov dword [esp], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x44]
jmp 0x644b54
xor edx, edx
mov eax, edx
jmp 0x644aa7
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040d5a0
mov eax, dword [esp + 0x58]
test eax, eax
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
jmp 0x644a9b
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x54]
jmp 0x644a71
mov dword [esp], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x40]
jmp 0x644a57
lea ecx, [0x84b200]
mov dword [esp], ecx
lea ecx, [0x884440]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
jmp 0x644a1b
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040d5a0
mov ebx, dword [esp + 0x28]
jmp 0x644933
test ecx, ecx
mov eax, ecx
mov ebx, dword [esp + 0x28]
jmp 0x644a07
xor edx, edx
xor ebx, ebx
jmp 0x6448e7
mov ecx, dword [esp + 0x58]
test ecx, ecx
jmp 0x6448dc
lea eax, [0x6fbd60]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040d6b0
jmp 0x6448ba
call fcn.004486b0
jmp fcn.00644870