Function at 0x43ca80
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47db10
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4b42b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x44], eax
or esi, 0xffffffff
mov dword [ebp - 4], 1
cmp byte [edi + 0x24], 0
je 0x43cace
mov byte [ebp - 0x1d], 0
jmp 0x43cf72
cmp byte [edi + 0x25], 0
jne 0x43caf2
push dword [edi + 0x28]
mov byte [edi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 4], 0
je 0x43caee
mov ecx, edi
call fcn.00440370
mov byte [edi + 0x25], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xorps xmm0, xmm0
push 0
push 1
movdqu xmmword [edi + 0x34], xmm0
mov dword [edi + 0x44], 0
push 1
movdqu xmmword [edi + 0x48], xmm0
push 0
mov dword [edi + 0x58], 0
call esi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x58], 0
call esi
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x50]
push str.CRJrBiI8OzIGOz0ZBCw5JxAZPzYHLyg8Hy0FCzktBzc2AiIBPzwCHRwtLygXPQQyGRonNAECAggLHyU1MAoJMysFPyESODkFIw4WASUTJRw8FQEWLyoYNhweGxozCiIXLQYbCyclFQEZPwMxDDccJS8WOAISISsaFigRMTcZEzwfExMePj47Ox0uPDw8LiAbCycoFRorOTwsEzYUJSMWKD8DCBMbMxAzKCclEisaDBQSPR0OLSUQCBA4KjI2GxMjKjkAPycfIggrCCg5KTwOAzcPIgAAAMk
push eax
mov dword [ebp - 0x24], 0
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 4], 2
sar eax, 1
jne 0x43cb68
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
lea ecx, [ebp - 0x24]
call fcn.00411470
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 4
test eax, eax
je 0x43cb9a
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43cba5
xor edx, edx
jmp 0x43cbbf
mov edx, eax
lea esi, [edx + 2]
lea ebx, [ebx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43cbb0
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x24]
call fcn.00424f80
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x28], 0
push str.CRJrBiI8OzIGPRklPBQiLyc3PD8gCg00LQsbGR8XPQUqAAgaGQAcGTM_PzsaIDYRCjgpEgAAACo
push eax
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 4], 5
sar eax, 1
jne 0x43cbfa
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
lea ecx, [ebp - 0x28]
call fcn.00411470
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 7
test eax, eax
je 0x43cc2c
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43cc37
xor edx, edx
jmp 0x43cc4f
mov edx, eax
lea esi, [edx + 2]
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43cc40
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.00424f80
cmp dword [ebp + 0x24], 0
je 0x43cd83
push 0x14
call fcn.004436ef
add esp, 4
mov dword [ebp - 0x18], eax
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x2000
push 0x2000
push 0xff
push 6
push 0x40000001
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 1
call esi
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x2000
push 0x2000
push 0xff
push 6
push 0x40000002
push dword [ebp - 0x28]
call esi
mov dword [edi + 0x30], eax
lea eax, [edi + 0x34]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x43cebc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x217
je 0x43cd2c
cmp esi, 0x3e5
jne 0x43cec4
push dword [ebp + 0x28]
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x43cec4
lea eax, [edi + 0x48]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x43cd49
call eax
jmp 0x43cec2
call eax
mov esi, eax
cmp esi, 0x217
je 0x43ce71
cmp esi, 0x3e5
jne 0x43cec4
push dword [ebp + 0x28]
push dword [edi + 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43ce71
mov esi, eax
jmp 0x43cec4
mov eax, 0x10624dd3
xor esi, esi
imul dword [ebp + 0x28]
mov cl, 0
sar edx, 5
mov eax, edx
mov dword [ebp - 0x34], ecx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], eax
mov al, cl
mov dword [ebp - 0x2c], eax
je 0x43cebc
mov edx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov edi, dword [ebp - 0x30]
test cl, cl
je 0x43cdbd
test al, al
jne 0x43ce1f
jmp 0x43cde6
push 0x3e8
push dword [ebp - 0x24]
call edx
mov ecx, dword [ebp - 0x34]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
cmp byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], ecx
jne 0x43ce03
mov edx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0x3e8
push dword [ebp - 0x28]
call edx
mov ecx, dword [ebp - 0x2c]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x2c], ecx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x2c]
inc esi
mov ecx, dword [ebp - 0x34]
mov edx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
cmp esi, edi
jb 0x43cdb3
mov edi, dword [ebp - 0x38]
test cl, cl
je 0x43cebc
test al, al
je 0x43cebc
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x60000000
push 3
push 0
push 0
push 0x40000000
push dword [ebp - 0x24]
call esi
push 0
push 0x60000000
push 3
push 0
push 0
push SysReAllocString
push dword [ebp - 0x28]
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x2c], eax
cmp eax, 0xffffffff
je 0x43cebc
lea eax, [ebp + 0xc]
mov word [edi + 0x24], 1
push eax
lea ecx, [edi + 8]
call fcn.004368e0
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x40]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], edi
push eax
mov dword [ebp - 0x30], 0x43af30
call fcn.00433920
push eax
mov ecx, edi
call fcn.00436940
cmp dword [ebp - 0x3c], 0
je 0x43ceb6
call fcn.0044843c
mov byte [ebp - 0x1d], 1
jmp 0x43cf2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x43cecd
mov dword [eax], esi
mov eax, dword [edi + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43cee4
push eax
call esi
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x43cef5
push eax
call esi
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x43cf06
push eax
call esi
mov dword [edi + 0x30], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43cf10
push eax
call esi
xorps xmm0, xmm0
mov byte [ebp - 0x1d], 0
movdqu xmmword [edi + 0x34], xmm0
mov dword [edi + 0x44], 0
movdqu xmmword [edi + 0x48], xmm0
mov dword [edi + 0x58], 0
mov edx, dword [ebp - 0x28]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43cf52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43cf72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x43cf90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x43cfaf
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044448b
mov esp, ebp
pop ebp
ret 0x2c