Function at 0x411ce0
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, 0x10b44
call fcn.0045f3c0
mov eax, dword [0x476018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4feb2d], 0
push ebx
push esi
push edi
je 0x411d23
push str._Database__Please_wait_for_the_current_list_update
push 0
call fcn.00417be0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418a8f
mov esp, ebp
pop ebp
ret
cmp byte [0x4feb2c], 0
je 0x411d4c
push str._Database__Please_wait_for_the_current_list_reload
push 0
call fcn.00417be0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418a8f
mov esp, ebp
pop ebp
ret
push str.PREMIUM
push 0x46d773
lea edx, [ebp - 0x320]
mov byte [0x4feb2d], 1
call fcn.0040e250
mov ecx, 7
mov esi, str..DataInternal.List.part.db
lea edi, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
push 0xe7
lea eax, [ebp - 0x1fb]
push 0
push eax
movsb byte es:[edi], byte [esi]
call sub.MSVCR100.dll_memset
mov ecx, dword [str..DataInternal.List.db]
mov edx, dword [0x46f924]
mov eax, dword [0x46f928]
add esp, 0x14
mov dword [ebp - 0x110], ecx
mov ecx, dword [0x46f92c]
push 0xec
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x10c], edx
mov edx, dword [0x46f930]
mov dword [ebp - 0x108], eax
mov eax, dword [0x46f934]
lea ecx, [ebp - 0xf8]
push 0
push ecx
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xfc], eax
call sub.MSVCR100.dll_memset
xor eax, eax
mov dword [ebp - 0x10b40], eax
mov dword [ebp - 0x10b3c], eax
mov dword [ebp - 0x10b38], eax
mov dword [ebp - 0x10b34], eax
mov dword [ebp - 0x10b30], eax
mov dword [ebp - 0x10b2c], eax
mov dword [ebp - 0x10b28], eax
lea eax, [ebp - 0x720]
mov dword [ebp - 0x10b38], eax
mov eax, 0x400
lea ecx, [ebp - 0x320]
add esp, 0xc
lea edx, [ebp - 0xb20]
push ecx
lea esi, [ebp - 0x10b40]
mov dword [ebp - 0x10b40], edx
mov dword [ebp - 0x10b3c], eax
mov dword [ebp - 0x10b34], eax
call fcn.004087c0
mov edx, dword [ebp - 0x10b28]
add esp, 4
push edx
lea edx, [ebp - 0x720]
lea ecx, [ebp - 0xb20]
call fcn.00408510
mov esi, eax
add esp, 4
test esi, esi
je 0x411f5b
push 0x46d794
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10b24]
push ecx
call dword [sym.imp.MSVCR100.dll_fopen_s]
mov ebx, dword [sym.imp.MSVCR100.dll_fwrite]
mov edi, dword [sym.imp.WS2_32.dll_recv]
add esp, 0xc
jmp 0x411eb0
push 0
push 0xffff
lea edx, [ebp - 0x10b20]
push edx
push esi
call edi
test eax, eax
jle 0x411edd
mov ecx, dword [ebp - 0x10b24]
push ecx
push 1
push eax
lea edx, [ebp - 0x10b20]
push edx
call ebx
add esp, 0x10
jmp 0x411eb0
mov eax, dword [ebp - 0x10b24]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR100.dll_rename]
push str._Database__Updated_successfully
push 2
mov byte [0x4feb2d], 0
call fcn.00417be0
add esp, 0x10
call fcn.00411820
push 0x46fd28
push 3
call fcn.00417be0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418a8f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x47ac48]
push edx
push str._Database__Could_not_update_list__Error:__i_
push 1
mov byte [0x4feb2d], 0
call fcn.00417be0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a8f
mov esp, ebp
pop ebp
ret