Function at 0x42f830
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 0x4afec5
mov eax, dword fs:[0]
push eax
mov eax, 0x2154
call fcn.00481910
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2150], ecx
lea ecx, [ebp - 0x130]
call fcn.00427030
mov dword [ebp - 4], 0
push 0x4bb014
lea ecx, [ebp - 0x128]
call fcn.00431200
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2150]
cmp dword [eax + 0x60], 0
je 0x42f8ea
mov ecx, dword [ebp - 0x2150]
mov edx, dword [ecx + 0x3c]
push edx
lea eax, [ebp - 0x2144]
push eax
mov ecx, dword [ebp - 0x2150]
call fcn.004307b0
mov dword [ebp - 0x2154], eax
mov ecx, dword [ebp - 0x2154]
mov dword [ebp - 0x2158], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2158]
push edx
lea ecx, [ebp - 0x130]
call fcn.00431300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2144]
call fcn.00427070
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x2150]
add ecx, 0x1c
call fcn.004081f0
push eax
lea ecx, [ebp - 0x2148]
push ecx
call fcn.00431640
add esp, 0xc
mov dword [ebp - 0x215c], eax
mov edx, dword [ebp - 0x215c]
mov dword [ebp - 0x2160], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2160]
push eax
lea ecx, [ebp - 0x128]
call fcn.00431300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2148]
call fcn.00427070
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.00481a70
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00430ed0
push eax
call fcn.00430d60
add esp, 4
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x129], 1
cmp dword [ebp - 0x118], 0xffffffff
jne 0x42f9c0
mov byte [ebp - 0x2149], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00427070
mov al, byte [ebp - 0x2149]
jmp 0x42fbdc
mov edx, dword [ebp - 0x2150]
cmp dword [edx + 0x54], 0
je 0x42f9ef
mov eax, dword [ebp - 0x2150]
mov ecx, dword [eax + 0x3c]
push ecx
mov ecx, dword [ebp - 0x2150]
call fcn.004306d0
mov ecx, dword [ebp - 0x2150]
mov ecx, dword [ecx + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x2140], 0x2000
mov byte [ebp - 0x213c], 0
push 0x1fff
push 0
lea edx, [ebp - 0x213b]
push edx
call fcn.00481a70
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2000
lea ecx, [ebp - 0x213c]
push ecx
mov edx, dword [ebp - 0x2150]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x42fb06
cmp dword [ebp - 0x138], 0
je 0x42fb06
mov ecx, dword [ebp - 0x2150]
cmp dword [ecx + 0x58], 0
je 0x42fad3
mov edx, dword [ebp - 0x2150]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x138]
xor edx, edx
add ecx, dword [eax]
adc edx, dword [eax + 4]
mov eax, dword [ebp - 0x2150]
mov eax, dword [eax + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2150]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx]
add eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x2150]
mov edx, dword [ecx + 0x50]
mov dword [edx], eax
mov eax, dword [ebp - 0x2150]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx]
mov dword [ebp - 0x124], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x120], eax
push 0
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x138]
push edx
lea eax, [ebp - 0x213c]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42fb04
mov byte [ebp - 0x129], 0
jmp 0x42fb34
jmp 0x42fb27
cmp dword [ebp - 0x134], 0
jne 0x42fb25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x2150]
mov dword [edx + 0x4c], eax
mov byte [ebp - 0x129], 0
jmp 0x42fb34
mov eax, 1
test eax, eax
jne 0x42fa03
movzx ecx, byte [ebp - 0x129]
test ecx, ecx
je 0x42fb4e
mov ecx, dword [ebp - 0x2150]
call fcn.0042fc00
test eax, eax
jne 0x42fbae
mov edx, dword [ebp - 0x2150]
cmp dword [edx + 0x4c], 0xffffffff
jne 0x42fb6c
mov eax, dword [ebp - 0x2150]
mov ecx, dword [ebp - 0x2150]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x4c], edx
lea ecx, [ebp - 0x128]
call fcn.00430ed0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x214a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00427070
mov al, byte [ebp - 0x214a]
jmp 0x42fbdc
mov byte [ebp - 0x214b], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00427070
mov al, byte [ebp - 0x214b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret