Function at 0x45aa30
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x41c]
sub esp, 0x41c
push 0xffffffffffffffff
push 0x4d732d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x515080]
xor eax, ebp
mov dword [ebp + 0x418], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x4f33a4
mov edx, 0x4f2d5c
lea ecx, [ebp]
call fcn.00407020
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.00423610
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
jbe 0x45aaa1
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004040e0
cmp ebx, 0xffffffff
jne 0x45aad7
or edi, ebx
jmp 0x45acc4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 4
push 0
call fcn.004a1f62
xor ebx, ebx
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x45ab44
cmp word [esi], bx
je 0x45ab44
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jle 0x45ab44
push edi
call fcn.004a1f67
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea esi, [ebp + 0x30]
mov ecx, str._InternetShortcut__r_nURL
mov edx, esi
mov edi, ebx
mov al, 0x5b
sub ecx, edx
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x45ab54
mov byte [esi], al
mov al, byte [ebx]
test al, al
je 0x45abf7
nop word [eax + eax]
lea edi, [edi + 1]
cmp al, 0x61
jl 0x45ab7b
cmp al, 0x7a
jle 0x45abe1
cmp al, 0x41
jl 0x45ab83
cmp al, 0x5a
jle 0x45abe1
cmp al, 0x30
jl 0x45ab8b
cmp al, 0x39
jle 0x45abe1
mov ecx, str.__.____:_______
mov dl, 0x2d
cmp dl, al
je 0x45aba0
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x45ab92
jmp 0x45aba8
sub ecx, str.__.____:_______
jns 0x45abe1
mov dl, al
mov byte [esi], 0x25
sar dl, 4
and al, 0xf
and dl, 0xf
cmp dl, 0xa
sbb cl, cl
and cl, 0xf9
add cl, 0x37
add cl, dl
mov byte [esi + 1], cl
cmp al, 0xa
jae 0x45abd5
add al, 0x30
mov byte [esi + 2], al
mov eax, 3
jmp 0x45abe8
add al, 0x37
mov byte [esi + 2], al
mov eax, 3
jmp 0x45abe8
mov byte [esi], al
mov eax, 1
add esi, eax
mov byte [esi], 0
mov al, byte [edi]
test al, al
jne 0x45ab70
mov edi, dword [ebp - 0x18]
lea eax, [ebp + 0x30]
mov word [esi], 0xa0d
add esi, 2
push 0
mov byte [esi], 0
sub esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
test esi, esi
je 0x45aca2
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.00423610
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 7
jbe 0x45ac44
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x18]
call fcn.004040e0
cmp edi, 0x20
ja 0x45aca2
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.00423610
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
jbe 0x45ac83
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x18]
call fcn.004040e0
xor eax, eax
cmp edi, 0x20
cmova edi, eax
mov byte [ebp - 4], al
push ebx
call fcn.004a1f62
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004040e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x418]
xor ecx, ebp
call fcn.004a1bc0
lea esp, [ebp + 0x41c]
pop ebp
ret