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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x452a2a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x478024]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp + 0x1c], edi
mov dword [ebp], edi
mov dword [ebp + 0x20], 0
mov dword [ebp - 4], 1
or esi, 0xffffffff
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x414b67
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x40]
call fcn.00402720
mov dword [ebp - 4], 7
lea ecx, [ebp + 0x58]
push eax
mov dword [ebp + 0x20], 4
call fcn.00401850
mov dword [ebp - 4], 0xb
mov ebx, 4
mov dword [ebp + 0x20], ebx
and ebx, 0xfffffffb
mov dword [ebp + 0x20], ebx
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x40]
call fcn.00402680
mov byte [ebp - 4], 0x11
lea edx, [ebp + 0x58]
push 0x4678a8
push 0x4678b4
lea ecx, [ebp + 0x28]
call fcn.004029f0
or ebx, 8
mov dword [ebp + 0x1c], eax
add esp, 8
mov dword [ebp + 0x20], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.00402680
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x414975
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x24]
call fcn.00404120
mov byte [ebp - 4], 0x14
and ebx, 0xfffffff7
mov dword [ebp + 0x20], ebx
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x28]
call fcn.00402680
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp + 4], 0x46552c
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 0x18
cmp ebx, 0xffffffff
jne 0x4149e2
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp + 4], 0x46552c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], 0
jmp 0x414b49
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x10], eax
call fcn.00403950
mov ecx, eax
test ecx, ecx
je 0x414bd3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0040bda0
test al, al
jne 0x414a20
push dword [ebp + 0x10]
lea ecx, [ebp + 0x18]
call fcn.00417ad0
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x1c]
mov ecx, edi
push eax
call fcn.00414be0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
push 0
push ecx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0x1b
mov eax, esi
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, esi
mov edx, dword [ebp + 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov dword [ebp + 4], 0x46552c
test ebx, ebx
je 0x414aa4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], 0
lea edx, [edi + 4]
lea ecx, [ebp + 0x14]
call fcn.004109c0
mov byte [ebp - 4], 0x1f
cmp byte [edi + 8], 0
jne 0x414ad2
push 0
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x24]
push 0x467cf4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x414b2b
mov eax, dword [ebp + 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
push eax
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0x500
mov dword [ebp - 0x3c], str.runas
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 0x15
mov eax, esi
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414b49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp + 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414b67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0
mov edx, dword [eax]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414b8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [edi]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x414bb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.00438889
lea esp, [ebp + 0x74]
pop ebp
ret
push 0x80004005
call fcn.00404020
int3