Function at 0x4193fb
Capabilities:
Clear file content
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Timestomp file
Write file on windows

Disassembly:
push 0x414
mov eax, 0x4687ca
call fcn.0045091b
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x408], edi
mov dword [ebp - 0x3dc], ebx
call fcn.00401326
lea esi, [ebp - 0x3f4]
mov dword [ebp - 4], ebx
call fcn.00416d88
test eax, eax
jne 0x419459
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
call fcn.0045099e
ret 0x10
mov eax, dword [edi]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3e4], eax
cmp eax, 0xffffffff
jne 0x4194c9
push str.CreateFile_failed_for
lea ecx, [ebp - 0x3dc]
call fcn.004012e2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x3dc]
push eax
push 2
call fcn.00410886
mov ecx, dword [ebp - 0x3dc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, ebx
jmp 0x419451
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x3f0]
call fcn.00413a25
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 2
call fcn.004012e2
lea edi, [ebp - 0x3f0]
lea ecx, [ebp - 0x3e0]
mov esi, 0x4b26d8
mov byte [ebp - 4], 3
call fcn.00409ce0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x414], eax
call fcn.004191e5
push 0x10000
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], edx
call fcn.0043cacf
pop ecx
mov dword [ebp - 0x3e0], eax
jmp 0x41968b
lea eax, [ebp - 0x3e8]
push eax
push 0x10000
push dword [ebp - 0x3e0]
mov dword [ebp - 0x3e8], ebx
push dword [ebp - 0x3d4]
mov dword [ebp - 0x40c], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41969c
cmp dword [ebp - 0x3e8], ebx
je 0x4196d7
mov eax, dword [0x4b2bec]
mov dword [ebp - 0x3ec], eax
cmp dword [ebp + 0xc], ebx
je 0x419663
cmp eax, ebx
je 0x419663
push ebx
push 1
call fcn.00409590
add esi, dword [ebp - 0x3e8]
push ebx
adc dword [ebp - 0x414], ebx
push 0x64
push dword [ebp - 0x414]
push esi
call fcn.004542a0
push dword [ebp - 0x3fc]
push dword [ebp - 0x400]
push edx
push eax
call fcn.00459260
push 0x3b8
mov dword [ebp - 0x3d8], eax
lea eax, [ebp - 0x3cc]
push ebx
push eax
mov dword [ebp - 0x3d0], ebx
call fcn.0044e740
add esp, 0xc
push dword [ebp - 0x3d8]
mov eax, 0x100
push dword [ebp - 0x3f0]
lea edi, [ebp - 0x3b8]
call fcn.0041b9ad
pop ecx
pop ecx
mov eax, edi
push eax
lea ecx, [ebp - 0x404]
call fcn.004012e2
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x3ec]
lea eax, [ebp - 0x404]
mov ecx, edi
call fcn.00427c79
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x404]
add ecx, 0xfffffff0
call fcn.004017ba
push dword [ebp - 0x3d8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x188]
push ebx
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x3e8]
push dword [ebp - 0x3e0]
push dword [ebp - 0x3e4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4197de
cmp dword [0x4b2798], ebx
je 0x41954d
jmp 0x419822
push str.InternetReadFile_failed:
lea ecx, [ebp - 0x3d8]
call fcn.004012e2
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3d8]
push eax
push 2
call fcn.00410d56
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3d8]
add esp, 0xc
jmp 0x41981a
push dword [ebp - 0x3e4]
mov dword [ebp - 0x3dc], 1
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x4000000b
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3ec], 0x10
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x419778
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x419762
lea eax, [ebp - 0x400]
push eax
push ebx
push eax
push dword [ebp - 0x3e4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4197b6
push str.SetFileTime_failed:
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
mov byte [ebp - 4], 5
jmp 0x41978c
push str.unable_to_convert_st_to_ft
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
mov byte [ebp - 4], 6
jmp 0x41978c
push str.QUERY_LAST_MODIFIED_failed:
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 2
call fcn.00410d56
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push str.Finished_writing_file
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x3d4]
push eax
push 2
mov byte [ebp - 4], 8
call fcn.00410d56
add esp, 0xc
jmp 0x419810
push str.Error_writing_data:
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x408]
lea eax, [ebp - 0x3d4]
push eax
push 2
call fcn.00410886
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp - 0x3e4], ebx
je 0x419836
push dword [ebp - 0x3e4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3e0]
call fcn.0043cada
pop ecx
cmp dword [0x4b2798], ebx
jne 0x419852
cmp dword [ebp - 0x3dc], ebx
jne 0x419895
push str.Operation_canceled_or_data_write_error__cleanup_file__
lea ecx, [ebp - 0x3d8]
call fcn.004012e2
mov esi, dword [ebp - 0x408]
push ebx
push esi
lea eax, [ebp - 0x3d8]
push eax
push 2
mov byte [ebp - 4], 0xb
call fcn.00410886
mov ecx, dword [ebp - 0x3d8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x3f0]
add ecx, 0xfffffff0
call fcn.004017ba
mov ebx, dword [ebp - 0x3dc]
jmp 0x4194b7