Function at 0x10012541
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x1001258b
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xf0], eax
push 1
push dword [ebp - 0xf0]
call fcn.10012928
pop ecx
pop ecx
jmp 0x10012917
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100128da
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x1001274d
mov dword [ebp - 0x5c], 0x27d2703d
push 0x6954
push 1
push 0x3f14
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x64]
push 0x322e
push 0x22b4
push 1
call fcn.1000d0e9
add esp, 0x2c
jmp 0x100128d8
mov dword [ebp - 0x24], 0x749d
mov dword [ebp - 0x74], str.quma_cocqmn_xpdsgse_nhr_oerlnfndf_jeurvq_kvlbyoz_kzvjhzat
cmp dword [ebp - 0x24], 0x7547
jle 0x100127f0
and dword [ebp - 0x20], 0
jmp 0x10012775
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x15f8
jge 0x100127e2
and dword [ebp - 0x1c], 0
jmp 0x1001278b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5cbd
jge 0x100127e0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x118]
call fcn.10002dd6
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.100048cd
push eax
call fcn.100476ff
pop ecx
lea ecx, [ebp - 0x118]
call fcn.100048c3
jmp 0x10012784
jmp 0x1001276e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0xc4], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x73db
jge 0x10012810
push dword [ebp - 0x74]
call fcn.100476ff
pop ecx
jmp 0x1001282c
or dword [ebp - 4], 0xffffffff
jmp 0x10012836
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0x9c], 0x4d8f
mov dword [ebp - 0x18], 0
jmp 0x10012864
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1001287a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x100], 0xf585
jmp 0x1001285d
push 0
push 1
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push dword [ebp - 0x94]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x4eed
push dword [ebp - 0xa4]
push dword [ebp - 0xac]
push dword [ebp - 0xb4]
push dword [ebp - 0xbc]
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call fcn.1000f00a
add esp, 0x44
jmp 0x10012917
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10012917
push 0
push 0x30a6
push 0x2023
push 1
push 0x63c3
push 1
push 0x5cb3
push 0x3fd8
push 0x3d1d
push 0x4afd
call fcn.1000e2cc
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret