Function at 0x429d60
Capabilities:
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500af6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, 0xf
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
mov esi, dword [ebp + 0x44]
mov ecx, dword [ecx + 0xc]
push ebx
lea eax, [ebp + 0x48]
push eax
push esi
push 0x16
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x42a1cb
push esi
push str.httpQueryInfo_header_data:_s
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0xd
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str.CSyncHttpConn
mov byte [ecx], bl
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
lea edx, [ebp - 0x50]
push esi
push edx
call fcn.00422580
add esp, 0x34
mov byte [ebp - 4], 3
cmp dword [ebp - 0x40], ebx
jne 0x429e97
mov ecx, dword [ebp - 0x14]
push 0x1f
push str.Failed_to_get_file_from_server.
add ecx, 0x18
call fcn.00404e20
push str.failed_to_get_file_name_from_server.
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x40], esp
push 0xd
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str.CSyncHttpConn
mov byte [ecx], bl
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
mov esi, 0x10
add esp, 0x28
cmp dword [ebp - 0x3c], esi
jb 0x429e62
mov eax, dword [ebp - 0x50]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
cmp dword [ebp + 0x1c], esi
jb 0x429e7c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], esi
jb 0x42a22b
mov edx, dword [ebp + 0x24]
push edx
jmp 0x42a223
lea eax, [ebp + 0x24]
push eax
mov ecx, 0x564448
call fcn.00429c20
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.00404af0
push 7
push ebx
push str..tar.gz
lea ecx, [ebp - 0x50]
call fcn.00402860
cmp eax, 0xffffffff
je 0x429f38
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004117b0
push str..tar.gz
push eax
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 4
call fcn.00408880
add esp, 0x18
mov esi, dword [ebp + 0x40]
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00406f30
cmp dword [ebp - 0x20], 0x10
jb 0x429f10
mov eax, dword [ebp - 0x34]
push eax
call fcn.004df8f9
add esp, 4
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 3
jb 0x429feb
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004df8f9
add esp, 4
jmp 0x429feb
push 1
push 0xffffffffffffffff
lea edx, [ebp + 0x44]
push edx
lea ecx, [ebp - 0x50]
mov byte [ebp + 0x44], 0x2e
call fcn.00402910
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x50]
call fcn.004065d0
mov esi, eax
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 6
call fcn.004117b0
push esi
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 7
call fcn.004089d0
add esp, 0x18
mov ecx, dword [ebp + 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.00406f30
mov esi, 0x10
cmp dword [ebp - 0x20], esi
jb 0x429faa
mov edx, dword [ebp - 0x34]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x58], esi
jb 0x429fc4
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x90], esi
jb 0x429fe8
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004df8f9
add esp, 4
mov esi, dword [ebp + 0x40]
cmp dword [esi + 0x14], 0x10
jb 0x429ff3
mov esi, dword [esi]
push 0x507c94
push esi
call fcn.004e081e
add esp, 8
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x42a06e
mov ecx, dword [ebp - 0x14]
push 0x1e
push str.Failed_to_create_download_file
add ecx, 0x18
call fcn.00404e20
push str.create_dl_file_failed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x40], esp
push 0xd
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str.CSyncHttpConn
mov byte [ecx], bl
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
mov esi, 0x10
add esp, 0x28
cmp dword [ebp - 0x3c], esi
jb 0x42a060
mov edx, dword [ebp - 0x50]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
jmp 0x42a200
push 0x19000
call fcn.004cc2d6
add esp, 4
mov esi, eax
lea ecx, [ecx]
push 0x19000
push ebx
push esi
call fcn.004e00a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x19000
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp + 0x44], eax
mov eax, esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42a0b7
sub eax, edi
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00404e20
push 6
push ebx
push str.ERROR:
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00402860
cmp eax, 0xffffffff
jne 0x42a120
cmp dword [ebp - 0x20], 0x10
mov byte [ebp - 4], 3
jb 0x42a0f9
mov edx, dword [ebp - 0x34]
push edx
call fcn.004df8f9
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push edi
push eax
push 1
push esi
call fcn.004e18b7
add esp, 0x10
cmp dword [ebp + 0x44], ebx
je 0x42a144
cmp dword [ebp - 0x10], ebx
je 0x42a144
mov edi, 0xf
jmp 0x42a080
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.00404af0
lea ecx, [ebp - 0x34]
mov dword [ebp + 0x44], ebx
mov byte [ebp - 4], 3
call fcn.004035b0
mov edi, dword [ebp - 0x18]
push esi
call fcn.004e0d1f
push edi
call fcn.004e1599
push edi
call fcn.004e0487
add esp, 0xc
cmp dword [ebp + 0x44], ebx
je 0x42a19b
cmp dword [ebp - 0x10], ebx
jne 0x42a19b
lea ecx, [ebp - 0x50]
call fcn.004035b0
lea ecx, [ebp - 0x88]
call fcn.004035b0
lea ecx, [ebp + 8]
call fcn.004035b0
lea ecx, [ebp + 0x24]
call fcn.004035b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
mov eax, dword [ebp + 0x40]
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x42a1aa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3c], esi
jb 0x42a1c6
mov edx, dword [ebp - 0x50]
push edx
call fcn.004df8f9
add esp, 4
mov edi, 0xf
push str.httpQueryInfo_failed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x40], esp
push 0xd
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str.CSyncHttpConn
mov byte [ecx], bl
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
add esp, 0x28
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jb 0x42a211
mov eax, dword [ebp + 8]
push eax
call fcn.004df8f9
add esp, 4
mov byte [ebp + 8], bl
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], edi
cmp dword [ebp + 0x38], esi
jb 0x42a22b
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.004df8f9
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x44