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

Disassembly:
mov eax, 0x1044
call fcn.00401030
push ebx
push ebp
push esi
push edi
push str.clt.html
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.ntdll.dll__snprintf]
push str.1.1.0.3
push str._html__header__style_bodyfont_family:trebuchet_ms_color:black_background_color:505050_div.copyrightfont_size:10px_color:707070_text_align:center_tablemargin:0px_padding:0px_border_collapse:collapse_border_top:2px_solid_black_border_bottom:2px_solid_black_table.headerwidth:100__border_width:0px_tdpadding:3px_font_size:12px_background_color:f0f0f0_border:1px_solid_black_td.datepadding:0px_border_top:0px_border_left:0px_border_bottom:0px_border_width:0px_td.namebackground_color:b0b0b0td.infobackground_color:e0e0e0td.logocolor:white_font_size:15px_font_weight:900_text_transform:uppercase_letter_spacing:4px_margin:0px_padding:10px_text_align:center_background_color:a00000___style__title_COMODO_Leaktests_result__title___header__body__center__table_width_500__align_center__cellspacing_0___tr__td_class_logo__COMODO_Leaktests_v._s_br___td___tr_
lea eax, [esp + 0x5c]
push 0x1000
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x10
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push str.clt.html
mov dword [esp + 0x30], eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4017bb
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [0x405060], edi
jbe 0x401899
lea esp, [esp]
push 0x3c
lea ecx, [esp + 0x1c]
push 0
push ecx
call sub.ntdll.dll_memset
mov eax, dword [0x405050]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0
push 0x1005
push 0x3ea
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 4
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40188a
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
lea ecx, [edi + 1]
push ecx
push str._tr__td_class_name___u.__s:__s__td___tr__r_n_tr__td_class_info___s__td___tr_
lea edx, [esp + 0x68]
push 0x1000
push edx
call ebp
add esp, 0x1c
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push str.clt.html
mov dword [esp + 0x2c], eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x40188a
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, dword [0x405060]
jb 0x4017d0
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push str.clt.html
mov dword [esp + 0x2c], 0x4b
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4018ea
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x14]
push eax
push ecx
push str.__table__div_class_copyright___C__COMODO_2008__div___center___body___html_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1044
ret