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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d9235
sub esp, 0x48
movzx eax, byte [esp + 0x4c]
cmp al, 0xe2
ja 0x5d8fbd
cmp al, 0xe1
jne 0x5d8eb3
mov eax, dword [esp + 0x50]
lea ecx, [0x6a2740]
cmp eax, ecx
jne 0x5d8df2
mov ecx, dword [esp + 0x54]
jmp 0x5d8df7
mov ecx, 0
jne 0x5d8e55
mov dword [esp], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
call fcn.0058b8d0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5d915f
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6dd6be]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
cmp al, 0xe2
jne 0x5d9201
mov eax, dword [esp + 0x50]
lea ecx, [0x6a2740]
cmp eax, ecx
jne 0x5d8ed0
mov ecx, dword [esp + 0x54]
jmp 0x5d8ed5
mov ecx, 0
jne 0x5d8f5f
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.0058c180
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5d915f
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6dd6be]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
cmp al, 0xe3
jne 0x5d90b8
mov eax, dword [esp + 0x50]
lea ecx, [0x6bc8a0]
cmp eax, ecx
jne 0x5d8fda
mov ecx, dword [esp + 0x54]
jmp 0x5d8fdf
mov ecx, 0
jne 0x5d905a
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
call fcn.00580220
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x5d915f
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x6d9582]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6de321]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
cmp al, 0xe4
jne 0x5d9201
mov eax, dword [esp + 0x50]
lea ecx, [0x69ab40]
cmp eax, ecx
jne 0x5d90dd
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
jmp 0x5d90f0
mov ecx, dword [esp + 0x54]
mov ebx, 0
mov ebp, 0
mov edx, 0
jne 0x5d91a7
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0058aaa0
movzx eax, byte [esp + 0x34]
test al, al
je 0x5d9173
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x48
ret
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x6da610]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x6df0e4]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6df10a]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
call fcn.0046b490
jmp fcn.005d8db0