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

Disassembly:
push 0xffffffffffffffff
push 0x49e663
mov eax, dword fs:[0]
push eax
sub esp, 0x718
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x714], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x72c]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
push 0x208
xor ebx, ebx
lea eax, [esp + 0x524]
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 + 0x520]
push eax
mov dword [esp + 0x28], 0x58
mov dword [esp + 0x34], 0x4a7b60
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], 0x4a7b74
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x472b02
mov ecx, dword [0x4ce30c]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx + 0xc]
add ecx, 0x550
call eax
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x472b02
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
lea ecx, [esp + 0x538]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x472b02
push ebx
lea edx, [esp + 0x24]
push edx
push 2
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x2c], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x472ad5
xor ebp, ebp
cmp esi, ebx
jle 0x472ad5
mov ecx, dword [0x4ce30c]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx]
add ecx, 0x550
push ebp
call eax
cmp eax, ebx
je 0x472a23
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 + 0x418]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
mov dword [esp + 0x738], ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x310]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 2
mov ecx, esi
mov byte [esp + 0x738], 1
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x208]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 3
mov ecx, esi
mov byte [esp + 0x738], 2
call edx
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 4
mov ecx, esi
mov byte [esp + 0x738], 3
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x49c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 5
mov ecx, esi
mov byte [esp + 0x738], 4
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x28c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov byte [esp + 0x734], 5
push 6
mov edx, dword [eax]
mov ecx, esi
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 7
mov ecx, esi
mov byte [esp + 0x738], 6
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x184]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 8
mov ecx, esi
mov byte [esp + 0x738], 7
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x394]
push ecx
mov ecx, eax
call edx
push 0x208
push ebx
push 0x4ce7a8
mov byte [esp + 0x740], 8
call fcn.00487630
add esp, 0xc
lea ecx, [esp + 0x394]
call fcn.00402010
push eax
lea ecx, [esp + 0x188]
call fcn.00402010
push eax
lea ecx, [esp + 0x84]
call fcn.00402010
push eax
lea ecx, [esp + 0x298]
call fcn.00402010
push eax
lea ecx, [esp + 0x4ac]
call fcn.00402010
push eax
lea ecx, [esp + 0x114]
call fcn.00402010
push eax
lea ecx, [esp + 0x220]
call fcn.00402010
push eax
lea ecx, [esp + 0x32c]
call fcn.00402010
push eax
lea ecx, [esp + 0x438]
call fcn.00402010
push eax
push str._s_t_s_t_s_t_s_t_s_t_s_t_s_t_s_t_s_r_n
push 0x208
push 0x4ce7a8
call fcn.00466960
mov eax, 0x4ce7a8
add esp, 0x30
lea ecx, [eax + 2]
jmp 0x472940
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x472940
sub eax, ecx
push ebx
sar eax, 1
lea ecx, [esp + 0x24]
push ecx
add eax, eax
push eax
push 0x4ce7a8
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x734], 7
lea ecx, [esp + 0x394]
test eax, eax
je 0x472a31
call fcn.00401fd0
lea ecx, [esp + 0x184]
mov byte [esp + 0x734], 6
call fcn.00401fd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x734], 5
call fcn.00401fd0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x734], 4
call fcn.00401fd0
lea ecx, [esp + 0x49c]
mov byte [esp + 0x734], 3
call fcn.00401fd0
lea ecx, [esp + 0x100]
mov byte [esp + 0x734], 2
call fcn.00401fd0
lea ecx, [esp + 0x208]
mov byte [esp + 0x734], 1
call fcn.00401fd0
lea ecx, [esp + 0x310]
mov byte [esp + 0x734], bl
call fcn.00401fd0
lea ecx, [esp + 0x418]
mov dword [esp + 0x734], 0xffffffff
call fcn.00401fd0
mov esi, dword [esp + 0x14]
inc ebp
cmp ebp, esi
jl 0x472732
jmp 0x472ad5
call fcn.00401fd0
lea ecx, [esp + 0x184]
mov byte [esp + 0x734], 6
call fcn.00401fd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x734], 5
call fcn.00401fd0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x734], 4
call fcn.00401fd0
lea ecx, [esp + 0x49c]
mov byte [esp + 0x734], 3
call fcn.00401fd0
lea ecx, [esp + 0x100]
mov byte [esp + 0x734], 2
call fcn.00401fd0
lea ecx, [esp + 0x208]
mov byte [esp + 0x734], 1
call fcn.00401fd0
lea ecx, [esp + 0x310]
mov byte [esp + 0x734], bl
call fcn.00401fd0
lea ecx, [esp + 0x418]
mov dword [esp + 0x734], 0xffffffff
call fcn.00401fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
push ebx
push ebx
lea edx, [esp + 0x52c]
push edx
push 0x4a7bb8
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x1c]
push 0x4a7bc4
call fcn.004720f0
mov eax, 1
mov ecx, dword [esp + 0x72c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x714]
xor ecx, esp
call fcn.00486dc0
add esp, 0x724
ret