Function at 0x41aaf0
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x61462d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50c
mov eax, dword [esp + 0x520]
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x40], ecx
push str.shlwapi
mov dword [eax], edi
mov dword [esp + 0x40], 0x2d0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [esp + 0x52c]
mov ebp, eax
cmp ebp, edi
jne 0x41ab65
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
mov dword [esp + 0x2c], 1
cmp ebp, edi
je 0x41acae
push str.AssocQueryStringW
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41ac99
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x44]
push ecx
push edx
push str.open
push 0x6c7760
push 2
push edi
call eax
cmp eax, edi
jl 0x41ac99
lea eax, [esp + 0x44]
push eax
call fcn.005e519b
add esp, 4
test eax, eax
jbe 0x41ac99
mov ecx, 0x6c5098
test ecx, ecx
je 0x41ac8d
lea edx, [esp + 0x44]
test edx, edx
je 0x41ac8d
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call fcn.0040e5b0
mov ecx, esi
mov dword [esp + 0x524], edi
call fcn.00401070
push 0x6c5098
lea ecx, [esp + 0x24]
call fcn.00402330
mov eax, dword [esp + 0x10]
mov byte [esp + 0x524], 1
cmp eax, edi
jne 0x41ac06
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x28]
push eax
call fcn.005e519b
lea ebx, [eax + edi + 2]
lea eax, [ebx + ebx]
push eax
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x41ac66
lea ecx, [ebx + ebx]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x10]
call fcn.004023b0
push eax
lea ecx, [esp + 0x24]
call fcn.004023b0
push eax
mov eax, dword [esi]
push ebx
push eax
call fcn.005e512b
mov ecx, dword [esi]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x524], 0
call fcn.00401070
lea ecx, [esp + 0x10]
mov dword [esp + 0x524], 0xffffffff
call fcn.00401070
xor edi, edi
mov dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], edi
je 0x41aca6
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, edi
jne 0x41af44
xor ecx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], di
mov eax, dword [0x6f6320]
mov dword [esp + 0x524], 2
cmp eax, edi
jne 0x41acd6
mov eax, 0x6f6324
mov edx, str._stmp_test.html
test edx, edx
je 0x41adb8
cmp eax, edi
je 0x41adb8
push eax
lea ecx, [esp + 0x34]
call fcn.0040e5b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x524], 3
call fcn.00401070
push str._stmp_test.html
lea ecx, [esp + 0x24]
call fcn.00402330
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x524], 4
call fcn.004023b0
push eax
call fcn.005e519b
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x10], edi
je 0x41ad8c
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x30]
call fcn.004023b0
push eax
lea ecx, [esp + 0x24]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x18]
push ebp
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x524], 3
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x524], 2
call fcn.00401070
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
xor edi, edi
cmp ecx, edi
mov eax, ecx
jne 0x41adc2
lea eax, [esp + 0x14]
push edi
push edi
push 2
push edi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41af2a
lea edx, [esp + 0x2c]
push 0
push edx
push 0xd
push str._HTML___HTML_
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41ae08
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableW]
cmp eax, 0x20
jle 0x41af17
lea edx, [esp + 0x44]
push edx
call fcn.005e519b
add esp, 4
test eax, eax
jbe 0x41af17
mov eax, 0x6c5098
test eax, eax
je 0x41af0b
lea ecx, [esp + 0x44]
test ecx, ecx
je 0x41af0b
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
push edx
call fcn.0040e5b0
mov ecx, esi
mov byte [esp + 0x524], 5
call fcn.00401070
push 0x6c5098
lea ecx, [esp + 0x34]
call fcn.00402330
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x20]
mov byte [esp + 0x524], 6
call fcn.004023b0
push eax
call fcn.005e519b
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
mov dword [esi], edi
je 0x41aee9
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x20]
call fcn.004023b0
push eax
lea ecx, [esp + 0x34]
call fcn.004023b0
push eax
mov eax, dword [esi]
push ebp
push eax
call fcn.005e512b
mov ecx, dword [esi]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x524], 5
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x524], 2
call fcn.00401070
mov dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41af23
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x524], 0xffffffff
call fcn.00401070
test ebx, ebx
je 0x41afb5
xor edi, edi
mov eax, dword [esi]
cmp eax, edi
jne 0x41af4d
lea eax, [esi + 4]
push 0x7e
push eax
call fcn.005e569b
add esp, 8
test eax, eax
je 0x41af9b
mov word [esp + 0x314], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x316]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x314]
mov ecx, esi
push edx
stosw word es:[edi], ax
call fcn.004023b0
push eax
call fcn.0044d8c0
add esp, 8
mov ecx, esi
push eax
push 0x6c5098
call fcn.0041afe0
mov ecx, esi
call fcn.004023b0
mov ecx, dword [esp + 0x40]
push eax
call fcn.0041b180
mov ecx, dword [esp + 0x530]
mov dword [ecx], eax
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x518
ret 8