Function at 0x1003faaa
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006731d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x1003ffac
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x50], 0x7a44
mov dword [ebp - 0x8c], 0x1000b108
cmp dword [ebp - 0x50], 0x7c6a
jle 0x1003fbc0
and dword [ebp - 0x18], 0
jmp 0x1003fb68
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x74f7
jge 0x1003fbb6
and dword [ebp - 0x28], 0
jmp 0x1003fb7e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2056
jge 0x1003fbb4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003fb77
jmp 0x1003fb61
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0x7765
jge 0x1003fbe6
mov edx, dword [ebp - 0x8c]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003fc02
or dword [ebp - 4], 0xffffffff
jmp 0x1003fc0c
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x1003fc8d
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x38], eax
push 4
push 0x2000
mov eax, dword [ebp - 0x34]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x34]
push dword [eax + 0x34]
push 0x362
push 0x32c
call fcn.1001288a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x1003fc88
push 4
push 0x2000
mov eax, dword [ebp - 0x34]
push dword [eax + 0x50]
push 0
push 0x362
push 0x32c
call fcn.1001288a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
jmp 0x1003ffaa
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], 0x245e
mov dword [ebp - 0xe4], 0x1000b15c
cmp dword [ebp - 0x48], 0x26ea
jle 0x1003fd71
and dword [ebp - 0x20], 0
jmp 0x1003fce2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5eee
jge 0x1003fd71
and dword [ebp - 0x14], 0
jmp 0x1003fcfc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5d29
jge 0x1003fd6c
and dword [ebp - 0x1c], 0
jmp 0x1003fd12
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1d19
jge 0x1003fd6a
and dword [ebp - 0x24], 0
jmp 0x1003fd28
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2312
jge 0x1003fd68
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sar eax, cl
mov ecx, dword [ebp - 0x1c]
sar eax, cl
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
push dword [ebp - 0x104]
push dword [ebp - 0x108]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003fd21
jmp 0x1003fd0b
jmp 0x1003fcf5
jmp 0x1003fcdb
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x48], 0x20f1
jge 0x1003fd97
mov edx, dword [ebp - 0xe4]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003fdb3
or dword [ebp - 4], 0xffffffff
jmp 0x1003fdbd
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd0], eax
push 0
mov ecx, dword [ebp - 0x40]
call fcn.10013375
cmp dword [eax], 0xfffffff8
jae 0x1003fe86
mov dword [ebp - 0x60], 1
jmp 0x1003fe8a
and dword [ebp - 0x60], 0
push 1
mov ecx, dword [ebp - 0x40]
call fcn.10013375
mov eax, dword [eax]
cmp eax, dword [ebp - 0x60]
jge 0x1003fea4
mov dword [ebp - 0x5c], 1
jmp 0x1003fea8
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xa8]
mov dword [eax], 0x7bde5156
mov eax, 0x7bde5156
test eax, eax
je 0x1003fece
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x1003fece
mov dword [ebp - 0x30], 1
jmp 0x1003fed2
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 0xb0]
call fcn.10013375
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x40]
call fcn.10013375
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jg 0x1003fefe
mov dword [ebp - 0x58], 1
jmp 0x1003ff02
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x54]
imul ecx, dword [ebp - 0x58], 0xffffffff
cmp ecx, dword [eax]
jl 0x1003ff16
mov dword [ebp - 0x3c], 1
jmp 0x1003ff1a
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ecx]
cmp edx, dword [eax]
jne 0x1003ff45
mov eax, dword [ebp - 0xc0]
cmp dword [eax], 0
jne 0x1003ff45
and dword [ebp - 0x4c], 0
jmp 0x1003ff4c
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov dword [eax], 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x5c]
sub ecx, 8
cmp ecx, dword [eax]
jne 0x1003ff76
mov dword [ebp - 0x64], 1
jmp 0x1003ff7a
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jle 0x1003ff90
mov dword [ebp - 0x44], 1
jmp 0x1003ff94
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x1003ffde
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf0], eax
push 0x5f01
push 0x342a
push 0
push dword [ebp - 0xe8]
push dword [ebp - 0xf0]
call fcn.10043c8a
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