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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510e04
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x57c080]
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 0x4555bf
call fcn.0040d32d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d156
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push 0x53eb64
call fcn.0040d91c
mov byte [ebp - 4], 4
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00479950
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.004e0c46
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, 0x533e68
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 6
cmp ebx, 0xffffffff
jne 0x4554c9
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 0x4555b3
push esi
lea ecx, [ebp - 0x1c]
call fcn.004567d9
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004555fa
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], 0x533e68
test ebx, ebx
je 0x455538
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x45553a
xor ebx, ebx
lea edx, [edi + 4]
lea ecx, [ebp - 0x14]
call fcn.00478b70
mov byte [ebp - 4], 0xc
cmp byte [edi + 8], 0
jne 0x455563
push ebx
push dword [ebp - 0x14]
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4555a4
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004de9a0
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