Function at 0x41a1cb
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, 0x46c227
call fcn.00452a2d
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.0041774e
test eax, eax
jne 0x41a229
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
call fcn.00452ab0
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 0x41a299
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.004112e0
mov ecx, dword [ebp - 0x3dc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, ebx
jmp 0x41a221
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x3f0]
call fcn.004013a1
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, 0x4b76d8
mov byte [ebp - 4], 3
call fcn.0040a7e6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x414], eax
call fcn.00419fb5
push 0x10000
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], edx
call main
pop ecx
mov dword [ebp - 0x3e0], eax
jmp 0x41a45b
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 0x41a46c
cmp dword [ebp - 0x3e8], ebx
je 0x41a4a7
mov eax, dword [0x4b7c00]
mov dword [ebp - 0x3ec], eax
cmp dword [ebp + 0xc], ebx
je 0x41a433
cmp eax, ebx
je 0x41a433
push ebx
push 1
call fcn.0040a096
add esi, dword [ebp - 0x3e8]
push ebx
adc dword [ebp - 0x414], ebx
push 0x64
push dword [ebp - 0x414]
push esi
call fcn.004563b0
push dword [ebp - 0x3fc]
push dword [ebp - 0x400]
push edx
push eax
call fcn.0045b370
push 0x3b8
mov dword [ebp - 0x3d8], eax
lea eax, [ebp - 0x3cc]
push ebx
push eax
mov dword [ebp - 0x3d0], ebx
call fcn.004507c0
add esp, 0xc
push dword [ebp - 0x3d8]
mov eax, 0x100
push dword [ebp - 0x3f0]
lea edi, [ebp - 0x3b8]
call fcn.0041c77e
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.00428d0a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x404]
add ecx, 0xfffffff0
call fcn.004017df
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 0x41a5ae
cmp dword [0x4b7798], ebx
je 0x41a31d
jmp 0x41a5f2
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.004117b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3d8]
add esp, 0xc
jmp 0x41a5ea
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 0x41a548
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
test eax, eax
je 0x41a532
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 0x41a586
push str.SetFileTime_failed:
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
mov byte [ebp - 4], 5
jmp 0x41a55c
push str.unable_to_convert_st_to_ft
lea ecx, [ebp - 0x3d4]
call fcn.004012e2
mov byte [ebp - 4], 6
jmp 0x41a55c
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.004117b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
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.004117b0
add esp, 0xc
jmp 0x41a5e0
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.004112e0
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x3e4], ebx
je 0x41a606
push dword [ebp - 0x3e4]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x3e0]
call main
pop ecx
cmp dword [0x4b7798], ebx
jne 0x41a622
cmp dword [ebp - 0x3dc], ebx
jne 0x41a665
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.004112e0
mov ecx, dword [ebp - 0x3d8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
push dword [esi]
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x3f0]
add ecx, 0xfffffff0
call fcn.004017df
mov ebx, dword [ebp - 0x3dc]
jmp 0x41a287