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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61643c
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x80]
test byte [eax], al
lea ecx, [eax + 0x28]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.00466530
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x616450]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x80]
add eax, 0x30
mov dword [esp + 0x38], eax
mov dword [esp], eax
call fcn.004637d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x680860]
cmp eax, edx
je 0x616258
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
call fcn.0040f670
movzx eax, byte [esp + 0x14]
test al, al
jne 0x6163c2
call fcn.0040ba40
mov eax, dword [esp]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0045f764
lea eax, [0x680860]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.0040cb60
jmp 0x6162ce
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.0040cd90
mov eax, dword [esp + 0x48]
test eax, eax
je 0x616335
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
lea ebp, [0x680860]
mov dword [esp], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0040f9d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x616327
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
jmp 0x6162c2
lea edi, [eax + 4]
mov eax, dword [esp + 0x2c]
call fcn.0045f670
jmp 0x6162c2
lea eax, [0x680860]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc], edx
call fcn.0040f9d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x616384
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
jmp 0x616393
lea edi, [eax + 4]
mov eax, dword [esp + 0x90]
call fcn.0045f670
mov eax, dword [esp + 0x38]
mov dword [esp], eax
lea eax, [0x680860]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.00463860
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
add esp, 0x7c
ret
mov dword [esp], 0
lea eax, [0x6b848c]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
lea eax, [0x6bc33c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x13
call fcn.0044b070
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408970
mov eax, dword [esp + 8]
lea ecx, [0x67e720]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433690
nop
call fcn.00432c40
add esp, 0x7c
ret
call fcn.0045e260
jmp fcn.006161c0