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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c65
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x573080]
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 0x4555e3
call fcn.0040d32d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d156
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push 0x5359a4
call fcn.0040d91c
mov byte [ebp - 4], 4
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.004748f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040d635
mov esi, str..bat
push esi
call fcn.004dbc76
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00410f2f
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, 0x52aca8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 6
cmp ebx, 0xffffffff
jne 0x4554ed
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 0x4555d7
push esi
lea ecx, [ebp - 0x1c]
call fcn.004567fe
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0045561e
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.0040d635
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040d635
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], 0x52aca8
test ebx, ebx
je 0x45555c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x45555e
xor ebx, ebx
lea edx, [edi + 4]
lea ecx, [ebp - 0x14]
call fcn.00473b10
mov byte [ebp - 4], 0xc
cmp byte [edi + 8], 0
jne 0x455587
push ebx
push dword [ebp - 0x14]
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4555c8
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004d99d0
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.0040d635
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
call fcn.0040d635
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.0040d635
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0040d635
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret