Function at 0x42deb0
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 0xffffffffffffffff
push 0x5108f6
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x284]
xor ebx, ebx
test byte [ebp + 0x250], 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
je 0x42df14
lea ecx, [ebp + 0x124]
call fcn.0042dae0
test al, al
je 0x42df54
lea eax, [ebp + 0x130]
cmp byte [ebp + 0x240], bl
jne 0x42df28
mov eax, dword [ebp + 0x12c]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x42df5b
mov dword [ebp + 0x260], 9
xor al, al
jmp 0x42e14a
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00411b50
mov dword [esp + 0x27c], edi
mov ecx, dword [ebp + 0x26c]
call fcn.00411c60
cmp byte [esp + 0x140], 0
lea esi, [esp + 0x30]
jne 0x42df8a
mov esi, dword [esp + 0x2c]
add esi, 4
lea ecx, [ecx]
mov eax, dword [ebp + 0x270]
test eax, eax
je 0x42dfa4
mov al, byte [eax]
test al, al
jne 0x42e04e
mov edx, dword [ebp + 0x26c]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x42e018
push 0
lea ecx, [esp + 0x2c]
push ecx
push eax
push esi
push edi
add ebx, eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0x264]
test eax, eax
je 0x42e014
cmp byte [esp + 0x28c], 0
je 0x42e003
mov ecx, dword [esp + 0x288]
jmp 0x42e006
or ecx, 0xffffffff
mov edx, dword [ebp + 0x268]
push edx
push ecx
push ebx
call eax
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], 0
je 0x42e027
test eax, eax
ja 0x42df90
push 0x10000000
push 1
push edi
mov dword [ebp + 0x25c], ebx
call fcn.00424180
add esp, 0xc
cmp byte [ebp + 0x240], 0
je 0x42e0a0
add ebp, 0x130
jmp 0x42e0a6
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x240], 0
je 0x42e06a
add ebp, 0x130
jmp 0x42e070
mov ebp, dword [ebp + 0x12c]
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x140], 0
jne 0x42e099
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x42e099
push eax
call fcn.004ed7b6
add esp, 4
xor al, al
jmp 0x42e14a
mov ebp, dword [ebp + 0x12c]
lea ecx, [esp + 0x144]
call fcn.004174b0
lea eax, [ebp + 4]
lea edx, [esp + 0x144]
call fcn.00417710
push str..exe
lea ecx, [esp + 0x148]
call fcn.0041faa0
push eax
call fcn.004ecf82
add esp, 8
test eax, eax
je 0x42e0ea
push 1
push edi
call fcn.004241d0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x260], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x42e121
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
je 0x42e121
push eax
call fcn.004ed7b6
add esp, 4
cmp dword [esp + 0x20], 0
setne bl
cmp byte [esp + 0x140], 0
jne 0x42e148
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x42e148
push eax
call fcn.004ed7b6
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004ecddb
add esp, 0x26c
ret