Function at 0x484cd0
Capabilities:
Create process on windows
Set console window title
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x6554d0]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
push 0x5aee64
mov eax, dword [ebp + 8]
push eax
call fcn.0045df60
add esp, 0xc
test eax, eax
jne 0x484d03
mov dword [ebp - 0x3c], 1
jmp 0x484d0a
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x1c], 0xffffffff
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.004851c0
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0x44
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.0050e710
add esp, 0xc
mov dword [ebp - 0xa8], 0x44
push 0xc
push 0
lea ecx, [ebp - 0x54]
push ecx
call fcn.0050e710
add esp, 0xc
mov dword [ebp - 0x54], 0xc
cmp dword [ebp - 0x34], 0
je 0x484dce
mov edx, dword [ebp + 8]
push edx
call fcn.00513540
add esp, 4
add eax, 1
push eax
call fcn.0051f100
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x484da6
push 0x5aee6c
call fcn.00402630
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x48509d
mov eax, dword [ebp + 8]
add eax, 6
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00513440
add esp, 8
mov dword [ebp - 0x30], 1
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x484ec4
mov dword [ebp - 0x4c], 1
push 1
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00484210
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x484e05
push 0x5aee80
call fcn.00402630
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x48509d
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x484e36
cmp dword [ebp - 0x30], 0
je 0x484e21
mov edx, dword [ebp - 0x20]
push edx
call fcn.0051f0d0
add esp, 4
push str._console_creation_failed_
call fcn.0041dc70
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x48509d
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.004855e0
add esp, 8
test eax, eax
jne 0x484e6d
call dword [sym.imp.KERNEL32.dll_FreeConsole]
cmp dword [ebp - 0x30], 0
je 0x484e65
mov edx, dword [ebp - 0x20]
push edx
call fcn.0051f0d0
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x48509d
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call fcn.00485430
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x28]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x484ec4
push 1
push 0xf060
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004851c0
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x484ef0
push str.w32_system_winvile
call fcn.00402630
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x48509d
cmp dword [ebp - 0x34], 0
jne 0x484eff
mov dword [ebp - 0x40], 1
jmp 0x484f06
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x485057
cmp dword [ebp - 0x44], 0
jne 0x484f9d
mov dword [ebp - 0x38], 0
jmp 0x484f4f
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 5
jge 0x484f9d
mov eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x484f90
push 1
push 0xf060
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x484f9d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x484f46
cmp dword [ebp - 0x34], 0
jne 0x48503a
push 0
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00538e7d
add esp, 0xc
call fcn.004854d0
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x485038
push 0
lea eax, [ebp - 0x48]
push eax
push 0x1c
push str._n_Press_any_key_to_continue_
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x484ff7
push str._dynamic_console_write_failed_
call fcn.0041dc70
add esp, 4
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x485038
lea edx, [ebp - 0x48]
push edx
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
test eax, eax
jne 0x485025
push str._dynamic_console_read_failed_
call fcn.0041dc70
add esp, 4
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x485038
movzx edx, word [ebp - 0x18]
cmp edx, 1
jne 0x485036
cmp dword [ebp - 0x14], 0
je 0x485036
jmp 0x485038
jmp 0x484ff7
jmp 0x485041
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x485064
push str._unable_to_create_Win32_process_
call fcn.0041dc70
add esp, 4
mov edx, dword [ebp - 0x28]
push edx
call fcn.0051f0d0
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0051f0d0
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x48508e
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0051f0d0
add esp, 4
cmp dword [ebp - 0x34], 0
jne 0x48509a
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce40
mov esp, ebp
pop ebp
ret