Function at 0x4af020
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 0x647db8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x74f8a0]
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.00447490
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x4af13d
push str.AssocQueryStringW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4af12b
mov dword [ebp - 0x20], 0x104
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 0x18]
push ecx
push str.open
push 0x673460
push 2
push ebx
call eax
test eax, eax
jne 0x4af12b
push 0x5c
lea edx, [ebp + 0x18]
push edx
call fcn.00617b92
add esp, 8
cmp eax, ebx
je 0x4af12b
add eax, 2
push eax
call fcn.004adae0
add esp, 4
test al, al
je 0x4af12b
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.00406fc0
mov byte [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4af101
lea eax, [ebp + 4]
push 1
push ebx
push eax
lea ecx, [ebp + 0x18]
push ecx
push str.open
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 1
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00401210
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, ebx
je 0x4af13d
mov al, 1
jmp 0x4af2d5
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 [0x754c3c]
cmp eax, ebx
jne 0x4af15b
mov eax, 0x754c40
push ebx
push str.temp.htm
push eax
push 0x66fde0
lea ecx, [ebp + 0xc]
call fcn.00402320
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4af179
lea eax, [ebp + 0x10]
push 0x681748
push eax
call fcn.0061ad4d
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x4af1a5
push esi
push 0xd
push 1
push str._HTML__HTML_
call fcn.0061ac05
push esi
call fcn.0061aa27
add esp, 0x14
push 0x208
push ebx
lea ecx, [ebp + 0x220]
push ecx
call fcn.00618760
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4af1c4
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 0x4af234
lea eax, [ebp + 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4af1e1
sub eax, edx
sar eax, 1
je 0x4af234
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.00406fc0
mov byte [ebp - 4], 3
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4af20c
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.00401210
jmp 0x4af24b
push 1
push ebx
push ebx
mov eax, dword [ebp - 0x14]
push eax
push 0x66fdbc
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4af255
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x4af2d5
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.0061807e
add ebp, 0x42c
mov esp, ebp
pop ebp
ret