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

Disassembly:
push 0xffffffffffffffff
push 0x70cbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
push dword [esp + 0x80]
mov dword [esp + 0x20], eax
push eax
mov esi, dword [eax]
lea eax, [esp + 0x50]
push eax
call fcn.00617cd0
add esp, 0xc
cmp dword [esp + 0x58], 0
mov ebp, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x74], 0
jne 0x617e00
mov edi, 0xc
jmp 0x618065
mov eax, dword [esp + 0x84]
xor edi, edi
mov ebx, dword [esp + 0x88]
and eax, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
jmp 0x617e20
test eax, eax
je 0x617ede
test bl, 1
je 0x617e83
push 1
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.005f4f20
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.005c8550
push dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x78], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x617e74
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x618056
mov edi, dword [esp + 0x18]
test bl, 2
je 0x617ede
push 1
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.005f5120
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 2
call fcn.005c8550
push dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x78], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x617ecf
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x618056
mov edi, dword [esp + 0x18]
test byte [esp + 0x84], 2
je 0x618018
test bl, 1
je 0x617f47
push 2
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.005f4f20
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 3
call fcn.005c8550
push dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x78], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x617f38
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x618056
mov edi, dword [esp + 0x18]
test bl, 2
je 0x618018
push 2
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.005f5120
add esp, 0xc
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
mov edi, dword [esp + 0x28]
cmp edx, 8
mov eax, dword [esp + 0x38]
cmovae ecx, edi
mov byte [esp + 0x74], 4
add eax, eax
mov dword [esp + 0x20], eax
cmp word [ecx + eax - 2], 0x2e
sete al
mov byte [esp + 0x17], al
test al, al
je 0x617fc3
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
cmp edx, 8
cmovae eax, edi
add ecx, 0xfffffffe
add eax, ecx
cmp edx, 8
lea ecx, [esp + 0x28]
cmovae ecx, edi
test eax, eax
je 0x617fb7
sub eax, ecx
sar eax, 1
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00419390
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.005c8550
test eax, eax
jne 0x617ff7
cmp byte [esp + 0x17], al
je 0x61803a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
cmp word [eax], 0x2e
je 0x618037
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0
call fcn.00418210
jmp 0x618018
push dword [esp + 0x40]
mov byte [esp + 0x78], 0
call ebp
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x618018
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x18]
push eax
call fcn.005f7700
mov edi, dword [esp + 0x1c]
add esp, 4
cmp edi, 0xc
jge 0x61805d
mov eax, dword [esp + 0x24]
jmp 0x617e20
add dword [ecx], 2
push dword [esp + 0x40]
call ebp
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x618056
push dword [esp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x18]
cmp edi, 0xc
jne 0x618065
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
push dword [esp + 0x60]
call ebp
add esp, 4
cmp dword [esp + 0x5c], 8
jb 0x618081
push dword [esp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x64
ret