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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d843d
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0049a6a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x5d830b
mov dword [esp + 0x6c], ebx
nop
mov dword [esp], ebx
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.0051afe0
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 0x5d82cb
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], ebx
lea eax, [0x6923e0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x5d800c
mov edx, dword [0x8e4520]
test edx, edx
jne 0x5d7ff9
mov dword [eax + 0x2bc], ecx
jmp 0x5d8047
lea edi, [eax + 0x2bc]
mov edx, eax
mov eax, ecx
call fcn.00462a70
mov eax, edx
jmp 0x5d8047
lea eax, [0x691280]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [0x8e4520]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5d8034
mov eax, dword [esp + 0x70]
mov dword [eax + 0x2bc], ecx
jmp 0x5d8047
mov edx, dword [esp + 0x70]
lea edi, [edx + 0x2bc]
mov eax, ecx
call fcn.00462a70
mov eax, edx
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x5d805b
mov dword [ecx + 4], 0x10000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5d806f
mov dword [ecx + 8], 0x1000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test edx, edx
je 0x5d80f9
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], ecx
lea eax, [0x672ea0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [0x8b6a90]
mov edx, dword [0x8b6a94]
mov dword [eax + 0xc], edx
mov edx, dword [0x8e4520]
test edx, edx
jne 0x5d80b7
mov dword [eax + 8], ecx
jmp 0x5d80c5
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00462a70
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x8e4520]
test ecx, ecx
jne 0x5d80de
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
jmp 0x5d80ee
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00462a70
mov eax, ecx
mov dword [esp + 0x44], eax
xor ecx, ecx
jmp 0x5d840c
mov eax, dword [0x8bc164]
mov dword [esp + 0x60], eax
lea ecx, [0x685c80]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x70ac6c]
mov dword [eax + 0x14], ecx
mov edx, dword [0x8e4520]
test edx, edx
jne 0x5d8131
mov edx, dword [esp + 0x60]
mov dword [eax + 0x18], edx
jmp 0x5d8145
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.00462a70
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 [0x8b6ae4]
cmp dword [0x8b6ae0], ecx
jne 0x5d8190
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 0x5d8190
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x28], 1
lea eax, [0x672f00]
mov dword [esp], eax
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov dword [esp + 0x5c], edi
mov eax, dword [0x8e4520]
test eax, eax
jne 0x5d81b8
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x5d81c1
mov eax, dword [esp + 0x4c]
call fcn.00462a70
lea eax, [0x6865e0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x6b71a0]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x8e4520]
test ecx, ecx
jne 0x5d81ef
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
jmp 0x5d81fb
mov ecx, dword [esp + 0x5c]
lea edi, [ecx + 4]
call fcn.00462a70
nop
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
lea eax, [0x5d8450]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 2
mov dword [esp + 0x54], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x54], eax
lea eax, [0x70ab04]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0051b5a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
lea ecx, [0x672ea0]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [0x8b6a90]
mov edx, dword [0x8b6a94]
mov dword [eax + 0xc], edx
mov edx, dword [0x8e4520]
test edx, edx
jne 0x5d828a
mov dword [eax + 8], ecx
jmp 0x5d8298
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.00462a70
mov eax, edx
lea ecx, [0x70aadc]
mov dword [eax], ecx
mov ecx, dword [0x8e4520]
test ecx, ecx
jne 0x5d82b3
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
jmp 0x5d82c3
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00462a70
mov eax, ecx
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x5d8343
nop
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5d82ee
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0049b550
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
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 0x5d8328
mov ecx, dword [0x8e4520]
test ecx, ecx
jne 0x5d835d
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x2c0], eax
jmp 0x5d836c
mov ecx, dword [esp + 0x70]
lea edi, [ecx + 0x2c0]
call fcn.00462a70
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x28c], edx
mov ebx, dword [esp + 0x38]
mov dword [ecx + 0x290], ebx
mov ebx, dword [0x8e4520]
test ebx, ebx
jne 0x5d8396
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x288], ebx
jmp 0x5d83a5
lea edi, [ecx + 0x288]
mov eax, dword [esp + 0x68]
call fcn.00462a70
mov dword [ecx + 0x2ac], edx
mov edx, dword [0x8e4520]
test edx, edx
jne 0x5d83c1
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x2b8], eax
jmp 0x5d83d0
lea edi, [ecx + 0x2b8]
mov eax, dword [esp + 0x6c]
call fcn.00462a70
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
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 0x5d83f1
mov ecx, dword [0x8e4520]
test ecx, ecx
jne 0x5d8429
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x2c0], eax
jmp 0x5d836c
mov ecx, dword [esp + 0x70]
lea edi, [ecx + 0x2c0]
call fcn.00462a70
jmp 0x5d836c
call fcn.00461660
jmp fcn.005d7f10