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

Disassembly:
push 0xffffffffffffffff
push 0x70cc18
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 eax, dword [esp + 0x78]
push dword [esp + 0x7c]
mov dword [esp + 0x24], eax
push eax
mov esi, dword [eax]
lea eax, [esp + 0x4c]
push eax
call fcn.00617cd0
add esp, 0xc
cmp dword [esp + 0x54], 0
mov ebp, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x70], 0
jne 0x6182bd
mov edi, 7
jmp 0x61847c
mov eax, dword [esp + 0x80]
xor edi, edi
mov ebx, dword [esp + 0x84]
and eax, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x618396
test bl, 1
je 0x61833b
push 1
lea eax, [esp + 0x28]
push edi
push eax
call fcn.005f5020
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 1
call fcn.005c8550
push dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x74], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x61832c
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x61846d
mov edi, dword [esp + 0x18]
test bl, 2
je 0x618396
push 1
lea eax, [esp + 0x28]
push edi
push eax
call fcn.005f5ad0
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 2
call fcn.005c8550
push dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x74], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x618387
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x61846d
mov edi, dword [esp + 0x18]
test byte [esp + 0x80], 2
je 0x61844e
test bl, 1
je 0x6183fb
push 2
lea eax, [esp + 0x28]
push edi
push eax
call fcn.005f5020
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 3
call fcn.005c8550
push dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x74], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x6183f0
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x61846d
mov edi, dword [esp + 0x18]
test bl, 2
je 0x61844e
push 2
lea eax, [esp + 0x28]
push edi
push eax
call fcn.005f5ad0
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 4
call fcn.005c8550
push dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x74], 0
sete byte [esp + 0x1b]
call ebp
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x618447
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x61846d
lea eax, [esp + 0x18]
push eax
call fcn.005f7750
mov edi, dword [esp + 0x1c]
add esp, 4
cmp edi, 7
jge 0x618474
mov eax, dword [esp + 0x1c]
jmp 0x6182d8
mov edi, dword [esp + 0x18]
cmp edi, 7
jne 0x61847c
mov eax, dword [esp + 0x20]
mov dword [eax], esi
push dword [esp + 0x5c]
call ebp
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x618498
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
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