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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f1358
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x40]
mov dword [esp + 4], ebx
lea ebx, [0x6cd080]
mov dword [esp], ebx
lea ebp, [esp + 0x28]
mov dword [esp + 8], ebp
call fcn.00406220
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov eax, dword [eax]
test cl, cl
je 0x5f1218
test eax, eax
je 0x5f1211
mov ecx, dword [eax]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
lea ebp, [0x6d4700]
mov dword [esp], ebp
mov dword [esp + 4], eax
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebp
call fcn.00406ab0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5f120a
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x5f11fd
test eax, eax
jne 0x5f11ec
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x40]
mov dword [esp + 4], edx
lea edx, [0x6cd080]
mov dword [esp], edx
lea edx, [esp + 0x30]
mov dword [esp + 8], edx
call fcn.00406ab0
mov eax, dword [esp + 0x70]
test byte [eax], al
lea ecx, [0x6d62c0]
mov dword [esp], ecx
call fcn.0040e460
mov eax, dword [esp + 4]
lea ecx, [0x5f7070]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [0x9cadb0]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5f11d2
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], eax
add esp, 0x68
ret
mov dword [esp + 0x24], eax
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x24]
jmp 0x5f11c7
lea eax, [0x74f6e4]
mov dword [esp + 0x80], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5f122c
mov eax, dword [eax + 4]
jmp 0x5f122c
xor eax, eax
jmp 0x5f1147
xor ecx, ecx
jmp 0x5f1107
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5f12d2
mov eax, dword [eax + 4]
jmp 0x5f12d2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
lea eax, [0x72e803]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a2c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x6cae00]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040bcf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00426eb0
ud2
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
lea eax, [0x72e202]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a2c70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [0x6cae00]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040bcf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00426eb0
ud2
call fcn.0044ae20
jmp fcn.005f10a0