Function at 0x41d27e
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5401
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 + 0x10]
test eax, eax
je 0x41d2cf
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
push 0x37a7
push 1
push 1
push dword [ebp - 0x64]
push 0x51a5
call fcn.0041d5aa
add esp, 0x14
jmp 0x41d599
lea eax, [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x3c], 0x2a4a
mov dword [ebp - 0x4c], str.fdb_nyigi_tnmfcc_ovfdhaa
cmp dword [ebp - 0x3c], 0x2c33
jle 0x41d382
and dword [ebp - 0x1c], 0
jmp 0x41d30c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6008
jge 0x41d378
and dword [ebp - 0x20], 0
jmp 0x41d322
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6a46
jge 0x41d376
and dword [ebp - 0x18], 0
jmp 0x41d338
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3b1a
jge 0x41d374
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, edx
sar eax, cl
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0xade298
call fcn.0040b052
jmp 0x41d331
jmp 0x41d31b
jmp 0x41d305
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
lea eax, [ebp + 0x20]
mov dword [ebp - 0xa4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x2894
jge 0x41d3a5
mov edx, dword [ebp - 0x4c]
mov ecx, 0xade298
call fcn.0040d8d7
jmp 0x41d3c1
or dword [ebp - 4], 0xffffffff
jmp 0x41d3cb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x41d561
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x41d499
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x41d477
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 0x41d494
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.0040b367
mov dword [eax], 1
jmp 0x41d46c
jmp 0x41d55f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 1
jne 0x41d4d9
mov dword [ebp - 0x2c], 1
jmp 0x41d4dd
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [eax], 0
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
jl 0x41d4fc
mov eax, 0x7509
test eax, eax
je 0x41d4fc
mov dword [ebp - 0x34], 1
jmp 0x41d500
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
je 0x41d518
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x41d518
and dword [ebp - 0x30], 0
jmp 0x41d51f
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jle 0x41d539
mov eax, 0xac3d6c1d
test eax, eax
je 0x41d539
mov dword [ebp - 0x38], 1
jmp 0x41d53d
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
cmp eax, 7
jb 0x41d553
mov dword [ebp - 0x40], 1
jmp 0x41d557
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x41d599
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x98]
push 0x184c
push 0x6cc4
push 0
push dword [ebp - 0xa0]
call fcn.0040ee1a
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret