Function at 0x41a950
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov dword [ebp - 0x40], 0x8b24
mov dword [ebp - 0x64], 0xa3ad
mov dword [ebp - 0x20], 0x180ab
mov dword [ebp - 0x54], 0x13b80
mov dword [ebp - 0x74], 0x3e00
mov dword [ebp - 8], 0x47f8
mov dword [ebp - 0x1c], 0xebac
mov dword [ebp - 4], 0x9e06
mov dword [ebp - 0x80], 0x10442
mov dword [ebp - 0xa0], 0x15fec
mov dword [ebp - 0x14], 0x1328f
mov dword [ebp - 0x28], 0x3270
mov dword [ebp - 0x38], 0x12653
mov dword [ebp - 0x10], 0x81f4
mov dword [ebp - 0xc], 0xa547
mov dword [ebp - 0x58], 0x26aa
mov dword [ebp - 0x9c], 0x1817d
mov dword [ebp - 0x98], 0x2c42
mov dword [ebp - 0x3c], 0xe5b3
mov dword [ebp - 0x70], 0x3d44
mov dword [ebp - 0x30], 0x36a7
mov dword [ebp - 0x18], 0x8654
mov dword [ebp - 0x6c], 0x9b02
mov dword [ebp - 0x44], 0xaded
mov dword [ebp - 0x94], 0x6a9b
mov dword [ebp - 0x24], 0
jmp 0x41aa26
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x74]
sub ecx, 0x3dff
cmp dword [ebp - 0x24], ecx
jge 0x41aad6
mov edx, dword [ebp - 8]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0x7c]
jge 0x41aa5e
mov dword [ebp - 0x48], 1
jmp 0x41aa65
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jge 0x41aa76
mov dword [ebp - 0x4c], 1
jmp 0x41aa7d
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 4]
jge 0x41aa8e
mov dword [ebp - 0x50], 1
jmp 0x41aa95
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x48]
and edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x50]
or edx, eax
je 0x41aad1
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x1c]
jne 0x41aad1
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x1c]
jne 0x41aad1
push 0x6c89
push 0x5cb7
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
add esp, 8
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x41aa1d
mov dword [ebp - 0x2c], 0
jmp 0x41aae8
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
sub edx, 0xa546
cmp dword [ebp - 0x2c], edx
jge 0x41ab2a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x88]
jge 0x41ab28
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x41aadf
mov edx, dword [ebp - 0x10]
add edx, 0x18de
push edx
mov eax, dword [ebp - 0x70]
add eax, 0xb01a
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xff5c
push ecx
mov edx, dword [ebp - 0x54]
add edx, 0x204a
push edx
mov eax, dword [ebp - 8]
add eax, 0xee79
push eax
mov ecx, dword [ebp + 0x18]
sub ecx, 0x6203
push ecx
mov edx, dword [ebp + 0x10]
sub edx, 0x47d4
push edx
call fcn.00404b80
add esp, 0x1c
mov dword [ebp - 0x34], 0
jmp 0x41ab88
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x36a6
cmp dword [ebp - 0x34], ecx
jge 0x41acd0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + 8]
je 0x41accb
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp + 0xc]
jne 0x41accb
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x20]
jne 0x41accb
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x1c]
jne 0x41accb
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x3c]
jne 0x41accb
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x41accb
push 0x104df
push 0x16765
push 0xde86
push 0x12e91
push 0xcd84
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
add esp, 0x14
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x6c]
jge 0x41ac27
mov dword [ebp - 0x5c], 1
jmp 0x41ac2e
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x8c]
cmp edx, dword [ebp - 0x90]
jge 0x41ac60
mov dword [ebp - 0x60], 1
jmp 0x41ac67
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x64]
xor eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x60]
je 0x41aca9
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x3c]
jne 0x41aca9
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp + 0x18]
jne 0x41aca9
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x44]
jne 0x41aca9
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x3c]
jne 0x41aca9
mov edx, dword [ebp - 0x98]
cmp edx, dword [ebp - 0x40]
jne 0x41aca9
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
push 0x15ef9
push 0x410d
push 0x6d47
push 0x13b1a
push 0x67be
call dword [sym.imp.KERNEL32.dll_WriteTapemark]
add esp, 0x14
jmp 0x41ab7f
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
jge 0x41ace1
mov dword [ebp - 0x68], 1
jmp 0x41ace8
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x64]
and eax, dword [ebp - 0x68]
je 0x41ad6b
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x6c]
jne 0x41ad6b
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x70]
jne 0x41ad6b
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x9c]
jne 0x41ad6b
push 0x67d8
push 0x9747
push 0xc536
push 0x17fc1
push 0x40b5
push 0x2f45
push 0x6965
push 0x7122
call dword [sym.imp.KERNEL32.dll_Heap32ListNext]
add esp, 0x20
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
je 0x41ad6b
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov esp, ebp
pop ebp
ret