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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61697a
sub esp, 0x74
mov eax, 0
mov dword [esp + 0x70], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x700b0c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004d3950
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x61663a
mov dword [esp + 0x60], ebp
mov dword [esp + 0x3c], edi
test byte [esi], al
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x616990]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], ecx
mov byte [esp + 0x27], 1
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 0x33c]
test ebx, ebx
je 0x6165b5
cmp ebx, 1
je 0x616523
xor esi, esi
xor ebx, ebx
jmp 0x616968
mov dword [esp + 0x5c], esi
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 1
call fcn.006169e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x616583
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
xor edx, edx
jmp 0x61687f
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
lea eax, [0x663f80]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00408ef0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.006169e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x61665f
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
jmp 0x6166e1
mov eax, dword [edi + 0x14]
mov dword [esp], esi
lea edx, [ecx + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0x300
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
inc ecx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jne 0x616734
test eax, eax
jne 0x616734
mov eax, dword [esp + 0x34]
cmp eax, 0x64
jne 0x616691
mov eax, dword [0x8adb70]
mov ecx, dword [0x8adb74]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
test eax, eax
je 0x616785
mov esi, dword [0x8adb64]
cmp dword [0x8adb60], eax
je 0x61674d
mov esi, 1
jmp 0x616787
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.004033f0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x38]
jmp 0x616787
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x61680c
test ebp, ebp
jne 0x616798
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x6167d6
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x701048]
mov dword [esp + 0x84], eax
lea eax, [0x7004e8]
mov dword [esp + 0x88], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov eax, dword [eax + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408df0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x701048]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov edi, dword [esp + 0x28]
lea edx, [edi + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
cmp edx, 7
jge 0x616952
mov dword [esp + 0x28], edx
lea eax, [0x663f80]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00408ef0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
call fcn.006169e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
test edx, edx
jne 0x616920
test esi, esi
je 0x616864
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.00619bc0
jmp 0x616864
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, ebx
mov ebx, dword [esp + 0x50]
mov ebp, ebx
mov ebx, esi
jmp 0x61665f
call fcn.0045dba0
jmp fcn.00616420