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

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x42c
push 0xffffffffffffffff
push 0x627b08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x434]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x438]
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 0x24], esi
push str.shlwapi.dll
call fcn.00445b00
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x4a511d
push str.AssocQueryStringW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4a510b
mov dword [ebp - 0x20], 0x104
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 0x18]
push ecx
push str.open
push 0x652368
push 2
push ebx
call eax
test eax, eax
jne 0x4a510b
push 0x5c
lea edx, [ebp + 0x18]
push edx
call fcn.005f80fb
add esp, 8
cmp eax, ebx
je 0x4a510b
add eax, 2
push eax
call fcn.004a3b10
add esp, 4
test al, al
je 0x4a510b
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.00406ea0
mov byte [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, ebx
jmp 0x4a510a
call dword [edi - 1]
adc eax, sym.imp.KERNEL32.dll_FreeLibrary
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, ebx
je 0x4a511d
mov al, 1
jmp 0x4a52b5
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 2
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x4a513b
mov eax, 0x70f650
push ebx
push str.temp.htm
push eax
push 0x64ed70
lea ecx, [ebp + 0xc]
call fcn.00402300
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4a5159
lea eax, [ebp + 0x10]
push 0x660218
push eax
call fcn.005fb2bd
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x4a5185
push esi
push 0xd
push 1
push str._HTML__HTML_
call fcn.005fb175
push esi
call fcn.005faf97
add esp, 0x14
push 0x208
push ebx
lea ecx, [ebp + 0x220]
push ecx
call fcn.005f8cb0
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4a51a4
lea eax, [ebp + 0x10]
lea edx, [ebp + 0x220]
push edx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableW]
cmp eax, 0x20
jle 0x4a5214
lea eax, [ebp + 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a51c1
sub eax, edx
sar eax, 1
je 0x4a5214
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.00406ea0
mov byte [ebp - 4], 3
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4a51ec
lea eax, [ebp + 4]
push 1
push ebx
push eax
lea ecx, [ebp + 0x220]
push ecx
push str.open
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.004011f0
jmp 0x4a522b
push 1
push ebx
push ebx
mov eax, dword [ebp - 0x14]
push eax
push 0x64ed4c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4a5235
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x4a52b5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x42c
mov esp, ebp
pop ebp
ret