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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d57ea
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call fcn.00517b10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5d569b
mov dword [esp + 0x68], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
lea eax, [0x6bf800]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x5d53dc
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5d53c9
mov dword [eax + 0x2bc], ecx
jmp 0x5d5417
lea edi, [eax + 0x2bc]
mov edx, eax
mov eax, ecx
call fcn.00462ed0
mov eax, edx
jmp 0x5d5417
lea eax, [0x6bede0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [0x91eb10]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5d5404
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x2bc], ecx
jmp 0x5d5417
mov edx, dword [esp + 0x6c]
lea edi, [edx + 0x2bc]
mov eax, ecx
call fcn.00462ed0
mov eax, edx
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x5d542b
mov dword [ecx + 4], 0x10000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5d543f
mov dword [ecx + 8], 0x1000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test edx, edx
je 0x5d54c9
mov dword [esp + 0x30], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x69e660]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [0x8f18b0]
mov edx, dword [0x8f18b4]
mov dword [eax + 0xc], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5d5487
mov dword [eax + 8], ecx
jmp 0x5d5495
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00462ed0
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5d54ae
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
jmp 0x5d54be
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00462ed0
mov eax, ecx
mov dword [esp + 0x44], eax
xor ecx, ecx
jmp 0x5d57b9
mov eax, dword [0x8f729c]
mov dword [esp + 0x58], eax
lea ecx, [0x6b2c00]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x73dac0]
mov dword [eax + 0x14], ecx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5d5501
mov edx, dword [esp + 0x58]
mov dword [eax + 0x18], edx
jmp 0x5d5515
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.00462ed0
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x4c], eax
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, dword [0x8f1904]
cmp dword [0x8f1900], ecx
jne 0x5d5560
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
je 0x5d5560
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x28], 1
lea eax, [0x69e6c0]
mov dword [esp], eax
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov dword [esp + 0x54], edi
mov eax, dword [0x91eb10]
test eax, eax
jne 0x5d5588
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x5d5591
mov eax, dword [esp + 0x4c]
call fcn.00462ed0
lea eax, [0x6b3560]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x6e5b80]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5d55bf
mov ecx, dword [esp + 0x54]
mov dword [ecx + 4], eax
jmp 0x5d55cb
mov ecx, dword [esp + 0x54]
lea edi, [ecx + 4]
call fcn.00462ed0
nop
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
lea eax, [0x5d5800]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 2
mov dword [esp + 0x60], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], eax
lea eax, [0x73d958]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005180d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
lea ecx, [0x69e660]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [0x8f18b0]
mov edx, dword [0x8f18b4]
mov dword [eax + 0xc], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5d565a
mov dword [eax + 8], ecx
jmp 0x5d5668
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00462ed0
mov eax, edx
lea ecx, [0x73d930]
mov dword [eax], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5d5683
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
jmp 0x5d5693
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00462ed0
mov eax, ecx
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x5d56f3
nop
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5d56be
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0049c1a0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov dword [esp + 0x2c], ecx
shl ecx, 2
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x48]
test ecx, ecx
jl 0x5d56d8
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5d570d
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x2c0], eax
jmp 0x5d571c
mov ecx, dword [esp + 0x6c]
lea edi, [ecx + 0x2c0]
call fcn.00462ed0
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x28c], edx
mov ebx, dword [esp + 0x38]
mov dword [ecx + 0x290], ebx
mov ebx, dword [0x91eb10]
test ebx, ebx
jne 0x5d5746
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x288], ebx
jmp 0x5d5755
lea edi, [ecx + 0x288]
mov eax, dword [esp + 0x68]
call fcn.00462ed0
mov dword [ecx + 0x2ac], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5d5771
mov eax, dword [esp + 0x74]
mov dword [ecx + 0x2b8], eax
jmp 0x5d5780
lea edi, [ecx + 0x2b8]
mov eax, dword [esp + 0x74]
call fcn.00462ed0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov dword [esp + 0x2c], ecx
shl ecx, 2
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x44]
test ecx, ecx
jl 0x5d579e
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5d57d6
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x2c0], eax
jmp 0x5d571c
mov ecx, dword [esp + 0x6c]
lea edi, [ecx + 0x2c0]
call fcn.00462ed0
jmp 0x5d571c
call fcn.00461ac0
jmp fcn.005d5320