Function at 0x40199a
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
mov eax, 0x414ed0
call fcn.00414a90
mov eax, 0x205c
call fcn.00414ad0
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
push ebx
push esi
cmp eax, 0x40a
push edi
mov esi, ecx
jne 0x401a4d
mov esi, dword [esi + 0x14]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
test ebx, ebx
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
jle 0x4019f4
mov esi, ebx
mov eax, dword [ebp + 0x10]
add eax, 0x10
push eax
call fcn.0040189a
add dword [ebp - 0x14], eax
pop ecx
lea ecx, [ebp + 0x10]
call fcn.00402952
dec esi
jne 0x4019d9
mov eax, dword [0x425320]
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x2068], eax
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2064]
push eax
rep stosd dword es:[edi], eax
push 0x2d
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x2068]
push eax
call sub.MSVCRT.dll_swprintf
add esp, 0x10
xor esi, esi
push esi
push esi
push 0x34
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x2068]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x401db4
cmp eax, 0x8012
jne 0x401a60
mov ecx, esi
call fcn.00401eb8
jmp 0x401db4
cmp eax, 0x8013
jne 0x401a94
mov eax, dword [0x419068]
mov dword [ebp + 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp + 0x10]
push eax
call fcn.0040123d
pop ecx
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
call fcn.004021ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
jmp 0x401daf
cmp eax, 0x8015
je 0x401aa6
cmp eax, 0x8014
jne 0x401db4
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax]
mov eax, dword [0x419068]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x425320]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x1068], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1064]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1068]
push 0x4190bc
push eax
mov dword [ebp - 4], 1
call esi
push 0
push 0x22
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1068]
push eax
call esi
mov edi, 0x4190b8
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
push 0
push 0x23
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1068]
push eax
call esi
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
push 0
push 0xc
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1068]
push eax
call esi
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
push 0
push 0xa
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1068]
push eax
call esi
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
push 0
push 0xb
call fcn.00405b3d
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1068]
push eax
call esi
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
lea eax, [ebp - 0x1068]
push 0x4190b0
push eax
call esi
lea eax, [ebp - 0x1068]
test eax, eax
je 0x401bb6
lea eax, [ebp - 0x1068]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x1068]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004031bc
lea eax, [ebp - 0x18]
push 0x4190a4
push eax
call fcn.00412732
push 0x41909c
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call sub.MSVCRT.dll__wfopen
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
je 0x401d9c
push eax
push 1
lea eax, [ebp - 0x20]
push 2
push eax
mov dword [ebp - 0x20], 0xfeff
call sub.MSVCRT.dll_fwrite
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [ecx - 8]
add eax, eax
push eax
push 1
push ecx
call sub.MSVCRT.dll_fwrite
mov eax, dword [ebp - 0x10]
add esp, 0x20
test eax, eax
jle 0x401d38
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0x68]
push eax
call fcn.00401dc7
push dword [ebp - 0x28]
and word [ebp - 0x1068], 0
lea eax, [ebp - 0x1068]
mov byte [ebp - 4], 3
push eax
call esi
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
push dword [ebp - 0x24]
lea eax, [ebp - 0x1068]
push eax
call esi
lea eax, [ebp - 0x1068]
push edi
push eax
call esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x1068]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [ebp - 0x1068]
push 1
push eax
call sub.MSVCRT.dll_fwrite
lea eax, [ebp - 0x1068]
and word [ebp - 0x1068], 0
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040e1a6
add esp, 0x20
lea eax, [ebp - 0x1068]
push 0x4190b0
push eax
call esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x1068]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [ebp - 0x1068]
push 1
push eax
call sub.MSVCRT.dll_fwrite
mov ecx, dword [ebx + 8]
mov eax, dword [0x425324]
add esp, 0x10
cmp ecx, eax
je 0x401d01
mov edx, dword [ecx]
cmp edx, eax
je 0x401cfd
mov ecx, edx
jmp 0x401cf3
mov ebx, ecx
jmp 0x401d17
mov eax, dword [ebx + 4]
cmp ebx, dword [eax + 8]
jne 0x401d10
mov ebx, eax
mov eax, dword [eax + 4]
jmp 0x401d04
cmp dword [ebx + 8], eax
je 0x401d17
mov ebx, eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00402f28
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402f28
dec dword [ebp - 0x10]
jne 0x401c2d
push dword [ebp - 0x14]
call sub.MSVCRT.dll_fclose
cmp dword [ebp + 0x10], 0x8015
pop ecx
jne 0x401d87
mov eax, dword [0x419068]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call fcn.00402edf
call fcn.0040f1b2
push dword [ebp - 0x10]
call fcn.004011d0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402f28
jmp 0x401d9c
xor eax, eax
push 5
push eax
push eax
push dword [ebp - 0x18]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402f28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402f28
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10