Function at 0x10034cb0
Capabilities:
Connect pipe
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
push 0x208
mov dword [ebp - 0xa3c], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push dword [0x10256b30]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [ebp + 8]
cmp edi, 2
jne 0x10034d0a
push str...360DeskAna64.exe
jmp 0x10034d14
cmp edi, 1
jne 0x10034d21
push str...360DeskAna.exe
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call fcn.1001d810
add esp, 4
test eax, eax
jne 0x10034d43
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
xor eax, eax
push ebx
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
call fcn.1021360d
push eax
call fcn.10213601
add esp, 8
lea edi, [ebx + 0x1a]
xor esi, esi
lea ecx, [ecx]
call fcn.10213607
cdq
idiv edi
add edx, 0x61
mov word [ebp + esi*2 - 0x18], dx
inc esi
cmp esi, 8
jl 0x10034d70
push 0x10
xor eax, eax
mov dword [ebp - 0xa28], ebx
push str..pipelspscan
lea ecx, [ebp - 0xa38]
mov dword [ebp - 0xa24], 7
mov word [ebp - 0xa38], ax
call fcn.10008240
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034dc0
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa38]
call fcn.10007e60
cmp edi, 1
jne 0x10034e00
cmp dword [ebp - 0xa24], 8
lea eax, [ebp - 0xa38]
jb 0x10034df9
mov eax, dword [ebp - 0xa38]
mov ecx, 0x20
jmp 0x10034e23
cmp edi, 2
jne 0x10034f1e
cmp dword [ebp - 0xa24], 8
lea eax, [ebp - 0xa38]
jb 0x10034e1e
mov eax, dword [ebp - 0xa38]
mov ecx, 0x40
push eax
push ecx
push str.lspscan
lea eax, [ebp - 0x220]
push eax
push str.__ws___ws__d__ws
lea eax, [ebp - 0xa20]
push 0x400
push eax
call fcn.10008ee0
push 0x44
lea eax, [ebp - 0xa94]
push 0
push eax
call fcn.102134e7
or dword [ebp - 0xa68], 1
xor eax, eax
add esp, 0x28
mov dword [ebp - 0xa50], eax
cmp dword [ebp - 0xa24], 8
mov dword [ebp - 0xa4c], eax
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa44], eax
mov word [ebp - 0xa64], ax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa94], 0x44
jb 0x10034ea1
mov eax, dword [ebp - 0xa38]
push 0
push 0
push 0x400
push 0x400
push 1
push 0
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10034f1e
lea eax, [ebp - 0xa50]
push eax
lea eax, [ebp - 0xa94]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0xa20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1003503e
push 0
push 0
push 1
push 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x10034f63
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov edx, dword [ebp - 0xa24]
cmp edx, 8
jb 0x1003506d
mov ecx, dword [ebp - 0xa38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10035063
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035080
jmp 0x10035063
lea eax, [ebp - 0x18]
mov dword [ebp - 8], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x10034f86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10035052
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10035052
push eax
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xa40], ebx
push eax
push 4
push dword [ebp - 0xa3c]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003501f
mov eax, dword [ebp - 0xa3c]
mov eax, dword [eax]
test eax, eax
je 0x1003501f
imul eax, eax, 0xa94
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1003501f
mov eax, dword [ebp - 0xa3c]
imul eax, dword [eax], 0xa94
push eax
push 0
push ebx
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0xa40]
push 0
push eax
mov eax, dword [ebp - 0xa3c]
imul eax, dword [eax], 0xa94
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1003501f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
push dword [ebp - 0xa4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xa50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10034f20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10034f20
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
jmp 0x10034f1e
push edx
push ecx
call fcn.102134ff
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10200ab0
int3