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

Disassembly:
push 0xffffffffffffffff
push 0x705790
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x90]
test ebp, ebp
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x18], edx
mov edx, 3
cmove ebp, edx
mov dword [esp + 0x38], 7
xor edx, edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], edx
lea edx, [esp + 0x24]
push ebp
push edx
push eax
push ecx
call fcn.005cffe0
add esp, 0x10
mov dword [esp + 0x1c], 0x2e
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push 1
push dword [0x77db98]
push eax
call fcn.0057f460
mov esi, eax
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.005cd5f0
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5cfc6b
mov eax, dword [eax]
push ecx
push dword [0x77db98]
lea ecx, [esp + 0x2c]
push eax
call fcn.004feaf0
push dword [esp + 0x5c]
mov ebp, eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5cfc9e
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x77db98]
cmp esi, eax
je 0x5cfd07
test esi, esi
je 0x5cfd05
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
push 0
cmovae eax, dword [esp + 0x28]
movzx eax, word [eax + esi*2 - 2]
push eax
call fcn.005ce960
add esp, 8
test al, al
jne 0x5cfd00
mov ecx, dword [esp + 0x14]
cmp ecx, 4
jne 0x5cfcec
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp word [eax + esi*2 - 2], 0x5d
je 0x5cfd00
mov eax, dword [0x77db98]
cmp esi, eax
je 0x5cfd0b
cmp ebp, eax
je 0x5cfd0b
cmp esi, ebp
cmovb esi, eax
jmp 0x5cfd0b
mov eax, dword [0x77db98]
mov esi, eax
mov ecx, dword [esp + 0x14]
test edi, edi
je 0x5cfdb0
cmp ebp, eax
jne 0x5cfd2d
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x5cfd26
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
jmp 0x5cfdab
mov eax, ebp
test ebp, ebp
jne 0x5cfd3e
cmp ecx, 2
mov edx, 1
cmovne eax, edx
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
call fcn.005c93f0
mov byte [esp + 0x70], 1
cmp edi, eax
je 0x5cfd62
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00419170
push dword [esp + 0x5c]
mov byte [esp + 0x74], 0
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5cfd87
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x14], 4
jne 0x5cfdab
cmp dword [edi + 0x14], 8
jb 0x5cfd98
mov eax, dword [edi]
jmp 0x5cfd9a
mov eax, edi
cmp word [eax], 0x5b
jne 0x5cfdab
push 1
push 0
mov ecx, edi
call fcn.00419390
mov eax, dword [0x77db98]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x5cfe23
cmp ebp, eax
jne 0x5cfdc0
xor ecx, ecx
jmp 0x5cfdc3
lea ecx, [ebp + 1]
cmp esi, eax
je 0x5cfdd0
cmp ebp, eax
mov eax, esi
je 0x5cfdd0
sub eax, ebp
dec eax
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
call fcn.005c9820
mov byte [esp + 0x70], 2
cmp edi, eax
je 0x5cfdf5
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00419170
push dword [esp + 0x5c]
mov ebp, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x74], 0
call ebp
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5cfe1c
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x77db98]
jmp 0x5cfe29
mov ebp, dword [sym.imp.MSVCR120.dll_free]
cmp esi, eax
jne 0x5cfe52
test ebx, ebx
je 0x5cfe45
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x5cfe40
mov ebx, dword [ebx]
xor eax, eax
mov word [ebx], ax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5cfea5
mov byte [eax], 0
jmp 0x5cfea5
test ebx, ebx
je 0x5cfe9a
push eax
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
call fcn.005c9820
mov byte [esp + 0x70], 3
cmp ebx, eax
je 0x5cfe7e
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00419170
push dword [esp + 0x5c]
call ebp
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5cfe9a
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5cfea5
mov byte [eax], 1
push dword [esp + 0x3c]
call ebp
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x5cfec1
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x60
ret