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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b1f4b
sub esp, 0x70
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0046465b
mov dword [esp], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call fcn.0044eeb0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0046465b
lea ecx, [0x7bbe09]
mov dword [esp], ecx
mov dword [esp + 4], 0xf
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00485470
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x10]
call fcn.00464b3e
lea edi, [esp + 0x80]
lea esi, [esp + 0x5c]
call fcn.00464b3e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5b1d3e
mov eax, 0xf
lea ebx, [0x7bbe09]
jmp 0x5b1da7
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0046465b
lea ecx, [0x7bd3b2]
mov dword [esp], ecx
mov dword [esp + 4], 0x11
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0xc], ebx
call fcn.00485470
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x10]
call fcn.00464b3e
lea edi, [esp + 0x80]
lea esi, [esp + 0x5c]
call fcn.00464b3e
mov ecx, dword [esp + 0x3c]
mov eax, 0x11
lea ebx, [0x7bd3b2]
test ecx, ecx
jne 0x5b1f39
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
lea edi, [esp]
lea esi, [esp + 0x80]
call fcn.00464b3e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.00482c10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x38]
cmp ecx, edx
jne 0x5b1e10
mov dword [esp], eax
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402a70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b1ec0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x758c80]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x758c80]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x7d96bc]
mov dword [esp], eax
mov dword [esp + 4], 0x6a
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004d7070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
lea edi, [esp]
lea esi, [esp + 0x80]
call fcn.00464b3e
mov byte [esp + 0x14], 0
call fcn.0048c020
cmp dword [esp + 0x18], 0x802
jl 0x5b1f1f
lea edi, [esp]
lea esi, [esp + 0x80]
call fcn.00464b3e
mov dword [esp + 0x14], 0xffffff9c
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0048bf00
lea edi, [esp + 0x80]
lea esi, [esp + 0x20]
call fcn.00464b3e
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x70
ret
call fcn.00462fa0
jmp fcn.005b1c80