Function at 0x40be3a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf48
push ebx
push edi
xor ebx, ebx
push ebx
push 0x8000000
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 0xc]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40be84
push 0x30
push str.Proxy_Checker_Pro_v7
push str.File_opening_error
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40c051
push esi
lea ecx, [edi + 0x134]
call fcn.0040a615
mov dword [ebp + 8], eax
lea eax, [ebp - 0xf48]
push str._IP_Address___Port___Hostname___Status___Response_Time__ms___Ping_From_Host__ms___Speed__bps___Country___Address___Description___Last_test_time___Last_test_date___Type_index___Flags___Error___Country__r_n
push eax
call fcn.00428660
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf48]
push eax
call fcn.004279a0
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0xf48]
push eax
push dword [ebp - 4]
call esi
cmp dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
jbe 0x40c047
lea eax, [ebp - 0x348]
push eax
push dword [ebp + 0xc]
lea ecx, [edi + 0x134]
call fcn.0040aae6
test byte [ebp - 0x31], 0x80
jne 0x40befb
cmp dword [ebp + 0x10], ebx
jne 0x40c038
and byte [ebp - 0x31], 0x7f
lea eax, [ebp - 0x232]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00428660
lea eax, [ebp - 0x132]
push eax
lea eax, [ebp - 0x548]
push eax
call fcn.00428660
lea eax, [ebp - 0x548]
push eax
call fcn.0040be17
lea eax, [ebp - 0x448]
push eax
call fcn.0040be17
add esp, 0x18
push dword [ebp - 0x344]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push dword [ebp - 0x30]
mov dword [ebp - 8], eax
xor eax, eax
mov al, byte [ebp - 0x31]
push ebx
and eax, 0xffffff1f
push eax
push dword [ebp - 0x32]
lea eax, [ebp - 0x648]
push eax
call fcn.00419df7
add esp, 0x14
push dword [ebp - 0x334]
lea eax, [ebp - 0x748]
push eax
lea ecx, [edi + 0x12c]
call fcn.00401c2d
movzx eax, word [ebp - 0x334]
push eax
push dword [ebp - 0x348]
movzx eax, byte [ebp - 0x31]
push eax
movzx eax, byte [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x26]
push eax
lea eax, [ebp - 0x548]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x748]
push eax
push dword [ebp - 0x338]
mov eax, dword [ebp - 0x33c]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
push ecx
push eax
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x332]
push eax
movzx eax, word [ebp - 0x340]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xf48]
push str.__s___d___s____s___d__d__d___s____s____s____02d:_02d:_02d____02d._02d._04d___d__d__d__d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x58
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf48]
push eax
call fcn.004279a0
pop ecx
push eax
lea eax, [ebp - 0xf48]
push eax
push dword [ebp - 4]
call esi
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jb 0x40bed7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
leave
ret 0xc