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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d2c7a
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.005e91b0
movzx eax, byte [esp + 4]
test al, al
je 0x5d2a51
movzx eax, byte [esp + 0x54]
test al, al
je 0x5d2a56
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.005e94c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
jne 0x5d29e6
nop
mov eax, dword [0x825f7c]
lea ecx, [0x6d04bc]
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.005dd100
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x5d2a39
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 0x5d2ba2
movzx eax, byte [esp + 0x54]
test al, al
je 0x5d2c4e
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.005e94c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
test ecx, ecx
jne 0x5d2af0
nop
mov edx, dword [0x825f7c]
lea ecx, [0x6d04bc]
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.005d2c90
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.005d3c60
movzx eax, byte [esp + 8]
test al, al
jne 0x5d2a56
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x5d2c3a
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.005de880
movzx eax, byte [esp + 4]
test al, al
je 0x5d2a56
jmp 0x5d2c1e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp edx, eax
jge 0x5d2aac
mov dword [esp + 0x24], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.005de880
movzx eax, byte [esp + 4]
test al, al
je 0x5d2b93
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x15]
test cl, cl
jne 0x5d2bf2
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.005e94c0
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 [0x821350]
mov ecx, dword [0x821354]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x40
ret
call fcn.0045df90
jmp fcn.005d2970