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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f235a
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00608920
movzx eax, byte [esp + 4]
test al, al
je 0x5f2131
movzx eax, byte [esp + 0x54]
test al, al
je 0x5f2136
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
call fcn.00608c30
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
jne 0x5f20c6
nop
mov eax, dword [0x86c59c]
lea ecx, [0x704200]
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 1
call fcn.005fc830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x5f2119
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
add esp, 0x40
ret
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x40
ret
movzx eax, byte [esp + 0x54]
mov eax, dword [esp + 0x44]
test byte [eax], al
lea ecx, [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.004665d0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0xc]
lea edx, [0x660be0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
call fcn.0040f8e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
xor edx, edx
jmp 0x5f2282
movzx eax, byte [esp + 0x54]
test al, al
je 0x5f232e
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
call fcn.00608c30
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
test ecx, ecx
jne 0x5f21d0
nop
mov edx, dword [0x86c59c]
lea ecx, [0x704200]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
call fcn.005f2370
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.00466970
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004050f0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.005f3340
movzx eax, byte [esp + 8]
test al, al
jne 0x5f2136
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x5f231a
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.005fdfb0
movzx eax, byte [esp + 4]
test al, al
je 0x5f2136
jmp 0x5f22fe
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp edx, eax
jge 0x5f218c
mov dword [esp + 0x24], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.005fdfb0
movzx eax, byte [esp + 4]
test al, al
je 0x5f2273
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x15]
test cl, cl
jne 0x5f22d2
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00608c30
mov eax, dword [esp + 0x30]
mov byte [eax + 0x15], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.00466970
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x40
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x40
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
add esp, 0x40
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00466970
mov eax, dword [0x867880]
mov ecx, dword [0x867884]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x40
ret
call fcn.0045e420
jmp fcn.005f2050