Function at 0x450a60
Capabilities:
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50531e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x570074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 1
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x450c31
call fcn.0040cc51
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ca68
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push 0x5326dc
call fcn.0040d264
mov byte [ebp - 4], 4
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00475500
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov esi, str..bat
push esi
call fcn.004d5c34
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004106c3
mov esi, dword [ebp - 0x10]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov eax, 0x527e68
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 6
cmp ebx, 0xffffffff
jne 0x450b3b
mov byte [ebp - 4], 3
push ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x450c25
push esi
lea ecx, [ebp - 0x1c]
call fcn.00451d0b
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00450c6e
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push 0
push ecx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], 0x527e68
test ebx, ebx
je 0x450baa
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x450bac
xor ebx, ebx
lea edx, [edi + 4]
lea ecx, [ebp - 0x14]
call fcn.00474870
mov byte [ebp - 4], 0xc
cmp byte [edi + 8], 0
jne 0x450bd5
push ebx
push dword [ebp - 0x14]
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x450c16
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004d39c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
push eax
mov dword [ebp - 0x64], 0x500
mov dword [ebp - 0x5c], str.runas
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
call fcn.0040cf54
mov byte [ebp - 4], bl
lea ecx, [edi + 4]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], bl
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040cf54
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0040cf54
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret