Function at 0x1007c8b0
Capabilities:
Create pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1013f925
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x40
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0
jg 0x1007c993
mov edx, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
mov eax, SysReAllocString
sub eax, edx
cmp eax, 9
jb 0x1007cb7d
cmp dword [ecx + 0x14], 8
jb 0x1007c90b
mov ecx, dword [ecx]
push edx
push ecx
push 9
push 0x10197810
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.1006ece0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 0
cmovae eax, dword [ebp - 0x30]
push 0
push 0
push 0
push 1
push 4
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [edi + 0x24]
mov esi, eax
cmp esi, ecx
je 0x1007c957
test ecx, ecx
jle 0x1007c954
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24], esi
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x1007c993
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007c989
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007c989
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013b151
add esp, 8
call fcn.1005c390
push 0
push 0x101977f0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov esi, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.100512a0
mov dword [ebp - 4], 0
cmp dword [esi], 0
jg 0x1007ca21
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x10196fac
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x1007c9ff
test ecx, ecx
jle 0x1007c9fb
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov ecx, eax
test ecx, ecx
jle 0x1007ca0c
mov dword [esi + 4], 0
jmp 0x1007ca21
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.1004fd90
mov ecx, esi
call fcn.10078270
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x1007ca64
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007ca5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007ca5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013b151
add esp, 8
call fcn.1005c390
mov ecx, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x14], 0
mov edx, dword [eax]
mov ecx, dword [ecx + 4]
movups xmmword [ebp - 0x40], xmm0
cmp edx, 0xffffffff
jne 0x1007ca91
mov esi, 0xc00000c0
jmp 0x1007cb66
mov eax, dword [ebx + 8]
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
push 0x20
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0xc]
push eax
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ecx
push eax
push 0x8005e01c
push edx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1007cacd
xor esi, esi
jmp 0x1007cae1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0xbf4]
test esi, esi
js 0x1007cb66
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x28
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1013b121
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
call fcn.1005c390
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x50]
push ecx
push ecx
lea ecx, [edi + 0xc]
push ecx
push edx
mov ecx, eax
call fcn.10078660
test eax, eax
js 0x1007cb5e
add edi, 4
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x1007cb5e
mov ecx, dword [edi]
mov eax, dword [ebp - 0x3c]
mov edx, dword [edi + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x3c]
call fcn.1007d030
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.100474b0
int3