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

Disassembly:
push ebp
lea ebp, [esp - 0x434]
sub esp, 0x434
push 0xffffffffffffffff
push 0x4cc05d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x509074]
xor eax, ebp
mov dword [ebp + 0x430], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x4e66d0
mov edx, 0x4e6084
lea ecx, [ebp + 0x30]
call fcn.00406a70
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x30]
call fcn.00421c60
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x454711
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.00403e10
cmp ebx, 0xffffffff
jne 0x454747
or edi, ebx
jmp 0x454932
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 4
push 0
call fcn.00496f3e
xor ebx, ebx
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x4547b7
cmp word [esi], bx
je 0x4547b7
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xfde9
call ebx
mov edi, eax
test edi, edi
jle 0x4547b5
push edi
call fcn.00496f43
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov ebx, dword [ebp - 0x10]
jmp 0x4547b7
xor ebx, ebx
lea esi, [ebp + 0x48]
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 0x4547c7
mov byte [esi], al
mov al, byte [ebx]
test al, al
je 0x454867
nop dword [eax]
lea edi, [edi + 1]
cmp al, 0x61
jl 0x4547eb
cmp al, 0x7a
jle 0x454851
cmp al, 0x41
jl 0x4547f3
cmp al, 0x5a
jle 0x454851
cmp al, 0x30
jl 0x4547fb
cmp al, 0x39
jle 0x454851
mov ecx, str.__.____:_______
mov dl, 0x2d
cmp dl, al
je 0x454810
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x454802
jmp 0x454818
sub ecx, str.__.____:_______
jns 0x454851
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 0x454845
add al, 0x30
mov byte [esi + 2], al
mov eax, 3
jmp 0x454858
add al, 0x37
mov byte [esi + 2], al
mov eax, 3
jmp 0x454858
mov byte [esi], al
mov eax, 1
add esi, eax
mov byte [esi], 0
mov al, byte [edi]
test al, al
jne 0x4547e0
mov edi, dword [ebp - 0x18]
lea eax, [ebp + 0x48]
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 + 0x48]
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 0x454910
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x30]
call fcn.00421c60
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4548b4
mov eax, dword [eax]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 5
push 0
push 0
push eax
push str.open
push 0
call esi
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.00403e10
cmp edi, 0x20
ja 0x454910
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x30]
call fcn.00421c60
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x4548f5
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push 0
push 0
call esi
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x18]
call fcn.00403e10
xor eax, eax
cmp edi, 0x20
cmova edi, eax
mov byte [ebp - 4], al
push ebx
call fcn.00496f3e
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.00403e10
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 + 0x430]
xor ecx, ebp
call fcn.00496b9e
lea esp, [ebp + 0x434]
pop ebp
ret