Function at 0x42a9f0
Capabilities:
Check if file exists
Download url
Get file size
Read file on windows
Receive data

Disassembly:
push ebp
sub esp, 0x650
lea ebp, [esp - 4]
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x650], eax
push 0xc
mov eax, 0x4beca6
call fcn.004603b7
mov ebx, 0x206
xor edi, edi
push ebx
lea eax, [ebp + 0x44a]
push edi
push eax
mov esi, ecx
mov word [ebp + 0x448], di
call fcn.0045fa70
push ebx
lea eax, [ebp + 0x3a]
push edi
push eax
mov word [ebp + 0x38], di
call fcn.0045fa70
add esp, 0x18
call fcn.0042d724
cmp dword [esi + 0x58], 8
jb 0x42aa54
mov ecx, dword [esi + 0x44]
jmp 0x42aa57
lea ecx, [esi + 0x44]
push eax
push str.Config
push ecx
lea eax, [ebp + 0x448]
push str._s_s_d.dat
push eax
call fcn.00460936
add esp, 0x14
cmp dword [esi + 0x58], 8
jb 0x42aa7d
mov esi, dword [esi + 0x44]
jmp 0x42aa80
add esi, 0x44
push str.Config
push esi
lea eax, [ebp + 0x38]
push 0x4c582c
push eax
call fcn.00460936
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x448]
push eax
call esi
test eax, eax
jne 0x42ab76
lea eax, [ebp + 0x38]
push str..dat
push eax
call fcn.0042d2a3
push ebx
lea eax, [ebp + 0x242]
push edi
push eax
mov word [ebp + 0x240], di
call fcn.0045fa70
add esp, 0x14
push str.config.znyshurufa.com_smartcloud
lea ecx, [ebp]
call fcn.004010c0
lea eax, [ebp]
push eax
mov dword [ebp - 4], edi
call fcn.0042dd0e
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0042e104
push 0x1869f
push 0x2710
mov byte [ebp - 4], 1
call fcn.0042c3f5
mov ecx, dword [ebp + 0x20]
add esp, 0x14
cmp dword [ebp + 0x34], 8
jae 0x42ab1c
lea ecx, [ebp + 0x20]
push eax
push str.srfconfig.dat
push ecx
lea eax, [ebp + 0x240]
push str.http:___s_common__s__d
push eax
call fcn.00460936
add esp, 0x14
push edi
push edi
lea eax, [ebp + 0x448]
push eax
lea eax, [ebp + 0x240]
push eax
push edi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, edi
je 0x42ab5c
push str.Dowm_Load_Failed___
call fcn.00430a48
pop ecx
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401330
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp]
call fcn.004012b0
lea eax, [ebp + 0x448]
push eax
mov dword [ebp - 0x14], edi
call esi
test eax, eax
je 0x42ac2b
push edi
push 0x80
push 4
push edi
push 1
push closesocket
lea eax, [ebp + 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x42abb6
xor eax, eax
jmp 0x42ac39
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.00442ee2
cmp eax, edi
pop ecx
mov dword [ebp - 0x14], eax
je 0x42abaf
push esi
push edi
push eax
call fcn.0045fa70
add esp, 0xc
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
jbe 0x42ac2b
push str.GUANGSU
xor esi, esi
call fcn.0045f620
pop ecx
xor ecx, ecx
cmp ebx, edi
mov dword [ebp - 0x10], eax
jbe 0x42ac2b
mov eax, dword [ebp - 0x14]
mov dl, byte [esi + str.GUANGSU]
add eax, ecx
xor byte [eax], dl
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x42ac26
xor esi, esi
inc ecx
cmp ecx, ebx
jb 0x42ac11
push str.Get_Server_Config_File_Successed___
call fcn.00430a48
mov eax, dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x650]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0x654
leave
ret