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

Disassembly:
push 0xffffffffffffffff
push 0x49e701
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x3fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x414]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
push 0x208
xor ebx, ebx
lea eax, [esp + 0x20c]
push ebx
push eax
call fcn.00487630
push 0x58
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.00487630
add esp, 0x18
lea eax, [esp + 0x24]
lea edx, [esp + 0x208]
push eax
mov dword [esp + 0x28], 0x58
mov dword [esp + 0x34], 0x4a7bf8
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x208
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], 0x806
mov dword [esp + 0x64], 0x4a7c0c
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x47317b
mov ecx, dword [0x4ce310]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx + 0xc]
add ecx, 0x550
call eax
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
jle 0x47317b
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47317b
push ebx
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0x30], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x47314e
xor ebp, ebp
cmp esi, ebx
jle 0x47314e
mov ecx, dword [0x4ce310]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx]
add ecx, 0x550
push ebp
call eax
cmp eax, ebx
je 0x473117
mov edx, dword [eax + 0x550]
lea esi, [eax + 0x550]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x100]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
mov dword [esp + 0x420], ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 2
mov ecx, esi
mov byte [esp + 0x420], 1
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x184]
push ecx
mov ecx, eax
call edx
push 0x208
push ebx
push 0x4cedc0
mov byte [esp + 0x428], 2
call fcn.00487630
add esp, 0xc
lea ecx, [esp + 0x184]
call fcn.00402010
push eax
lea ecx, [esp + 0x80]
call fcn.00402010
push eax
lea ecx, [esp + 0x108]
call fcn.00402010
push eax
push str._s_t_s___s_r_n
push 0x208
push 0x4cedc0
call fcn.00466960
mov eax, 0x4cedc0
add esp, 0x18
lea ecx, [eax + 2]
jmp 0x4730b0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4730b0
sub eax, ecx
push ebx
sar eax, 1
lea ecx, [esp + 0x18]
push ecx
add eax, eax
push eax
push 0x4cedc0
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x41c], 1
lea ecx, [esp + 0x184]
test eax, eax
je 0x473122
call fcn.00401fd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x41c], bl
call fcn.00401fd0
lea ecx, [esp + 0x100]
mov dword [esp + 0x41c], 0xffffffff
call fcn.00401fd0
mov esi, dword [esp + 0x18]
inc ebp
cmp ebp, esi
jl 0x472fc2
jmp 0x47314e
call fcn.00401fd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x41c], bl
call fcn.00401fd0
lea ecx, [esp + 0x100]
mov dword [esp + 0x41c], 0xffffffff
call fcn.00401fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
push ebx
push ebx
lea edx, [esp + 0x214]
push edx
push 0x4a7c2c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20]
push 0x4a7c38
call fcn.004720f0
mov eax, 1
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3fc]
xor ecx, esp
call fcn.00486dc0
add esp, 0x40c
ret