Function at 0x10042485
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100424c5
push 1
push 0x5ddf
call fcn.10042763
pop ecx
pop ecx
jmp 0x10042752
mov dword [ebp - 0x30], 0x416
mov dword [ebp - 0x80], 0x1000b8bc
cmp dword [ebp - 0x30], 0x480
jle 0x10042575
and dword [ebp - 0x18], 0
jmp 0x100424ed
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4d70
jge 0x1004256b
and dword [ebp - 0x28], 0
jmp 0x10042503
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xcc6
jge 0x10042566
and dword [ebp - 0x20], 0
jmp 0x10042519
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x24f7
jge 0x10042564
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xa8]
call fcn.1000d7ce
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10011c75
push eax
call fcn.1004d346
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10011c6b
jmp 0x10042512
jmp 0x100424fc
jmp 0x100424e6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x2c1
jge 0x10042591
push dword [ebp - 0x80]
call fcn.1004d346
pop ecx
jmp 0x100425ad
or dword [ebp - 4], 0xffffffff
jmp 0x100425b7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10042727
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x1004260b
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 1
jl 0x10042725
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x34], 0x778b
mov dword [ebp - 0x70], 0x1000b910
cmp dword [ebp - 0x34], 0x7802
jle 0x100426bf
and dword [ebp - 0x24], 0
jmp 0x10042663
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x15da
jge 0x100426bf
and dword [ebp - 0x14], 0
jmp 0x10042679
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2fbf
jge 0x100426bd
and dword [ebp - 0x1c], 0
jmp 0x1004268f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
jge 0x100426bb
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, 0x1060c478
call fcn.10011c95
jmp 0x10042688
jmp 0x10042672
jmp 0x1004265c
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x7747
jge 0x100426dc
mov edx, dword [ebp - 0x70]
mov ecx, 0x1060c478
call fcn.100147fa
jmp 0x100426f8
or dword [ebp - 4], 0xffffffff
jmp 0x10042702
mov eax, dword [ebp - 0x5c]
mov dword [eax], 2
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x90], 0
je 0x10042720
jmp 0x10042600
jmp 0x10042600
jmp 0x10042752
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.10012062
mov dword [eax], 0x837bc752
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret