Function at 0x408920
Capabilities:
Delete file
Download and write a file
Move file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b40
call fcn.00412dd0
mov eax, dword [0x42d518]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x49a9fd], 0
push esi
push edi
je 0x408961
push str._Database__Please_wait_for_the_current_list_update
push 0
call fcn.0040c860
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cf20
mov esp, ebp
pop ebp
ret
cmp byte [0x49a9fc], 0
je 0x408989
push str._Database__Please_wait_for_the_current_list_reload
push 0
call fcn.0040c860
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cf20
mov esp, ebp
pop ebp
ret
push 0x428a70
lea eax, [ebp - 0x320]
push 0x4286b7
push eax
mov byte [0x49a9fd], 1
call fcn.00406ba0
mov eax, dword [0x4290e4]
movq xmm0, qword [str..DataInternal.List.part.db]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov al, byte [0x4290e8]
movq qword [ebp - 0x110], xmm0
movq xmm0, qword [0x4290d4]
push 0xe7
mov byte [ebp - 0xf4], al
movq qword [ebp - 0x108], xmm0
movq xmm0, qword [0x4290dc]
lea eax, [ebp - 0xf3]
push 0
push eax
movq qword [ebp - 0x100], xmm0
call fcn.00411d60
movq xmm0, qword [str..DataInternal.List.db]
add esp, 0xc
movq qword [ebp - 0x218], xmm0
movq xmm0, qword [0x4290f4]
push 0xec
movq qword [ebp - 0x210], xmm0
movq xmm0, qword [0x4290fc]
lea eax, [ebp - 0x200]
push 0
push eax
movq qword [ebp - 0x208], xmm0
call fcn.00411d60
xorps xmm0, xmm0
movq qword [ebp - 0x10b40], xmm0
lea eax, [ebp - 0xb20]
mov dword [ebp - 0x10b40], eax
movq qword [ebp - 0x10b38], xmm0
lea eax, [ebp - 0x720]
add esp, 0xc
lea edx, [ebp - 0x10b40]
lea ecx, [ebp - 0x320]
movq qword [ebp - 0x10b30], xmm0
mov dword [ebp - 0x10b28], 0
mov dword [ebp - 0x10b38], eax
mov dword [ebp - 0x10b3c], 0x400
mov dword [ebp - 0x10b34], 0x400
call fcn.00402920
mov edx, dword [ebp - 0x10b28]
lea eax, [ebp - 0x720]
push eax
lea ecx, [ebp - 0xb20]
call fcn.00402670
mov esi, eax
add esp, 4
lea eax, [ebp - 0x110]
test esi, esi
je 0x408b96
push 0x428700
push eax
lea eax, [ebp - 0x10b24]
push eax
call fcn.0040dd09
mov edi, dword [sym.imp.WS2_32.dll_recv]
add esp, 0xc
push 0
push 0xffff
lea eax, [ebp - 0x10b20]
push eax
push esi
call edi
push dword [ebp - 0x10b24]
test eax, eax
jle 0x408b22
push 1
push eax
lea eax, [ebp - 0x10b20]
push eax
call fcn.0040e148
add esp, 0x10
jmp 0x408af3
call fcn.0040e27d
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0040f741
push str._Database__Updated_successfully
push 2
mov byte [0x49a9fd], 0
call fcn.0040c860
add esp, 0xc
call fcn.00408540
push str._ServerInfo__InternalList_loaded_successfully
push 3
call fcn.0040c860
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cf20
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [0x433f80]
mov byte [0x49a9fd], 0
push str._Database__Could_not_update_list__Error:__i_
push 1
call fcn.0040c860
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
call fcn.0040cf20
mov esp, ebp
pop ebp
ret