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

Disassembly:
push 0xffffffffffffffff
push 0x49e786
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
push 0x208
xor ebx, ebx
lea eax, [esp + 0x188]
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 + 0x184]
push eax
mov dword [esp + 0x28], 0x58
mov dword [esp + 0x34], str..txt
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], 0x4a7c7c
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x473624
mov ecx, dword [0x4ce308]
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 0x473624
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
lea ecx, [esp + 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x473624
push ebx
lea edx, [esp + 0x20]
push edx
push 2
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x34], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4735f7
xor ebp, ebp
cmp esi, ebx
jle 0x4735f7
mov ecx, dword [0x4ce308]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx]
add ecx, 0x550
push ebp
call eax
cmp eax, ebx
je 0x4735d3
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 + 0x7c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
mov dword [esp + 0x39c], ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x100]
push ecx
mov ecx, eax
call edx
push 0x208
push ebx
push 0x4cf1d0
mov byte [esp + 0x3a4], 1
call fcn.00487630
add esp, 0xc
lea ecx, [esp + 0x100]
call fcn.00402010
push eax
lea ecx, [esp + 0x80]
call fcn.00402010
push eax
push str._s_t_s_r_n
push 0x208
push 0x4cf1d0
call fcn.00466960
mov eax, 0x4cf1d0
add esp, 0x14
lea edx, [eax + 2]
jmp 0x473580
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x473580
sub eax, edx
push ebx
sar eax, 1
lea ecx, [esp + 0x20]
push ecx
add eax, eax
push eax
push 0x4cf1d0
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x398], bl
lea ecx, [esp + 0x100]
test eax, eax
je 0x4735de
call fcn.00401fd0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x398], 0xffffffff
call fcn.00401fd0
mov esi, dword [esp + 0x18]
inc ebp
cmp ebp, esi
jl 0x4734c2
jmp 0x4735f7
call fcn.00401fd0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x398], 0xffffffff
call fcn.00401fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
push ebx
push ebx
lea edx, [esp + 0x190]
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x14]
push 0x4a7ca0
call fcn.004720f0
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.00486dc0
add esp, 0x388
ret