Function at 0x1002e62d
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002e7f3
lea eax, [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1002e6a1
push 0
push 0x832
push 0x22a9
push 0x1972
push 0x1dda
push 0x114c
push 0x11af
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x1002e7ee
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0x208f
mov dword [ebp - 0x80], 0x1000a22c
cmp dword [ebp - 0x38], 0x20c9
jle 0x1002e78f
and dword [ebp - 0x28], 0
jmp 0x1002e6cf
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x523f
jge 0x1002e76f
and dword [ebp - 0x34], 0
jmp 0x1002e6e9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x73d7
jge 0x1002e76a
and dword [ebp - 0x20], 0
jmp 0x1002e6ff
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4367
jge 0x1002e765
and dword [ebp - 0x30], 0
jmp 0x1002e715
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3c5c
jge 0x1002e763
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x9c]
call fcn.1000de7e
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.10013118
push eax
call fcn.100520df
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.1001310e
jmp 0x1002e70e
jmp 0x1002e6f8
jmp 0x1002e6e2
jmp 0x1002e6c8
push 0
push 0x192c
push 0x12f3
push 0
push 0x10b6
push 0xa47
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x1f91
jge 0x1002e7ab
push dword [ebp - 0x80]
call fcn.100520df
pop ecx
jmp 0x1002e7c7
or dword [ebp - 4], 0xffffffff
jmp 0x1002e7d1
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1002e7ee
push 0
push 0
push 0x19b4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x1002e98b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1002e82a
push 0
push 0x2456
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x1002e98b
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x3c], 0x6f02
mov dword [ebp - 0x64], 0x1000a288
cmp dword [ebp - 0x3c], 0x7052
jle 0x1002e919
push 0x659
call dword [sym.imp.USER32.dll_IsWindow]
and dword [ebp - 0x2c], 0
jmp 0x1002e878
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2d61
jge 0x1002e919
and dword [ebp - 0x24], 0
jmp 0x1002e892
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x27db
jge 0x1002e914
and dword [ebp - 0x18], 0
jmp 0x1002e8a8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x484d
jge 0x1002e90f
and dword [ebp - 0x1c], 0
jmp 0x1002e8be
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3748
jge 0x1002e90d
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0xb4]
call fcn.1000de7e
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.10013118
push eax
call fcn.100520df
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.1001310e
jmp 0x1002e8b7
jmp 0x1002e8a1
jmp 0x1002e88b
jmp 0x1002e871
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002e92f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1002e94c
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10013401
mov dword [eax], 2
jmp 0x1002e924
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x6d82
jge 0x1002e965
push dword [ebp - 0x64]
call fcn.100520df
pop ecx
jmp 0x1002e981
or dword [ebp - 4], 0xffffffff
jmp 0x1002e98b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret