Function at 0x1002d9bc
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100820a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d9f8
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetPropA]
jmp 0x1002dc6a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x70], 4
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 4
lea ecx, [ebp - 0x21]
call fcn.1000bbe3
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100195a3
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x8c]
call fcn.10019552
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x80]
call fcn.100194f6
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x20], 0
jmp 0x1002da83
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1002da9c
push dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
call fcn.10019594
mov dword [eax], 6
jmp 0x1002da7c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1002dab8
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x1002dab8
mov dword [ebp - 0x48], 1
jmp 0x1002dabc
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 3
lea ecx, [ebp - 0x8c]
call fcn.10019594
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x80]
call fcn.10019594
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov dword [ebp - 0x40], 0x28ea3888
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x76c4
push 0
call fcn.1002bf6b
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10019578
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10019578
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x5c], 0x657e3b6f
mov dword [ebp - 0x4c], 0x7d96711d
mov dword [ebp - 0x54], 0x54668dac
mov dword [ebp - 0x60], 6
mov dword [ebp - 0x50], 0x930509b9
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x29d0
call fcn.100301c8
add esp, 0x20
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002dbb1
push 0x474b
push 1
push 0x23f0
call fcn.1002be3f
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jbe 0x1002dc6a
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x1c], 0
jmp 0x1002dbe7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002dbfd
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xa0], 0xe7937d8e
jmp 0x1002dbe0
mov dword [ebp - 0x18], 0
jmp 0x1002dc0d
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe5
je 0x1002dc3b
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002dc29
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xa0], 0
jmp 0x1002dc06
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jbe 0x1002dc6a
push 0x5e33
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
call fcn.100300c6
add esp, 0x14
jmp 0x1002dc46
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret