Function at 0x4ad5f0
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 0x645278
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x74d890]
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.00447330
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x4ad70d
push str.AssocQueryStringW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4ad6fb
mov dword [ebp - 0x20], 0x104
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 0x18]
push ecx
push str.open
push 0x671458
push 2
push ebx
call eax
test eax, eax
jne 0x4ad6fb
push 0x5c
lea edx, [ebp + 0x18]
push edx
call fcn.006152e7
add esp, 8
cmp eax, ebx
je 0x4ad6fb
add eax, 2
push eax
call fcn.004ac0b0
add esp, 4
test al, al
je 0x4ad6fb
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.00406f90
mov byte [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4ad6d1
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 0x4ad70d
mov al, 1
jmp 0x4ad8a5
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 [0x752c1c]
cmp eax, ebx
jne 0x4ad72b
mov eax, 0x752c20
push ebx
push str.temp.htm
push eax
push 0x66dde0
lea ecx, [ebp + 0xc]
call fcn.00402320
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4ad749
lea eax, [ebp + 0x10]
push 0x67f6e0
push eax
call fcn.0061849d
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x4ad775
push esi
push 0xd
push 1
push str._HTML__HTML_
call fcn.00618355
push esi
call fcn.00618177
add esp, 0x14
push 0x208
push ebx
lea ecx, [ebp + 0x220]
push ecx
call fcn.00615eb0
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4ad794
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 0x4ad804
lea eax, [ebp + 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4ad7b1
sub eax, edx
sar eax, 1
je 0x4ad804
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.00406f90
mov byte [ebp - 4], 3
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4ad7dc
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 0x4ad81b
push 1
push ebx
push ebx
mov eax, dword [ebp - 0x14]
push eax
push 0x66ddbc
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4ad825
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 0x4ad8a5
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.006157d3
add ebp, 0x42c
mov esp, ebp
pop ebp
ret