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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d2b7a
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.005e90b0
movzx eax, byte [esp + 4]
test al, al
je 0x5d2951
movzx eax, byte [esp + 0x54]
test al, al
je 0x5d2956
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.005e93c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
jne 0x5d28e6
nop
mov eax, dword [0x826f1c]
lea ecx, [0x6d0660]
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.005dd000
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x5d2939
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.00470550
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0xc]
lea edx, [0x635c40]
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.0040f950
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 0x5d2aa2
movzx eax, byte [esp + 0x54]
test al, al
je 0x5d2b4e
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.005e93c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
test ecx, ecx
jne 0x5d29f0
nop
mov edx, dword [0x826f1c]
lea ecx, [0x6d0660]
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.005d2b90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.004708f0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00405160
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.005d3b60
movzx eax, byte [esp + 8]
test al, al
jne 0x5d2956
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x5d2b3a
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.005de780
movzx eax, byte [esp + 4]
test al, al
je 0x5d2956
jmp 0x5d2b1e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp edx, eax
jge 0x5d29ac
mov dword [esp + 0x24], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.005de780
movzx eax, byte [esp + 4]
test al, al
je 0x5d2a93
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x15]
test cl, cl
jne 0x5d2af2
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.005e93c0
mov eax, dword [esp + 0x30]
mov byte [eax + 0x15], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.004708f0
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.004708f0
mov eax, dword [0x8222f0]
mov ecx, dword [0x8222f4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x40
ret
call fcn.0045df90
jmp fcn.005d2870