Function at 0x420c60
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
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d2b6
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
test byte [ebx + 0x250], 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
je 0x420ccf
push eax
lea ecx, [ebx + 0x124]
call fcn.00420850
add esp, 4
test al, al
je 0x420d10
cmp byte [ebx + 0x240], 0
lea eax, [ebx + 0x130]
jne 0x420ce4
mov eax, dword [ebx + 0x12c]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x420d17
mov dword [ebx + 0x260], 9
xor al, al
jmp 0x420f07
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00401330
mov dword [esp + 0x280], edi
mov ecx, dword [ebx + 0x26c]
call fcn.00411400
cmp byte [esp + 0x140], 0
lea esi, [esp + 0x30]
jne 0x420d46
mov esi, dword [esp + 0x2c]
add esi, 4
lea esp, [esp]
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x420d64
mov al, byte [eax]
test al, al
jne 0x420e0b
mov edx, dword [ebx + 0x26c]
mov eax, dword [esp + 0x28]
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 0x420dd6
add dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebx + 0x264]
test eax, eax
je 0x420dd2
cmp byte [ebp + 0x10], 0
je 0x420dbd
mov ecx, dword [ebp + 0xc]
jmp 0x420dc0
or ecx, 0xffffffff
mov edx, dword [ebx + 0x268]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call eax
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], 0
je 0x420de5
test eax, eax
ja 0x420d50
mov edx, dword [esp + 0x14]
push 1
push edi
mov dword [ebx + 0x25c], edx
call fcn.00413b20
add esp, 8
cmp byte [ebx + 0x240], 0
je 0x420e5d
add ebx, 0x130
jmp 0x420e63
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebx + 0x240], 0
je 0x420e27
add ebx, 0x130
jmp 0x420e2d
mov ebx, dword [ebx + 0x12c]
add ebx, 4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x140], 0
jne 0x420e56
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x420e56
push eax
call fcn.0046b865
add esp, 4
xor al, al
jmp 0x420f07
mov ebx, dword [ebx + 0x12c]
lea ecx, [esp + 0x144]
call fcn.0040f730
lea eax, [ebx + 4]
lea edx, [esp + 0x144]
call fcn.0040f920
push str..exe
lea eax, [esp + 0x148]
call fcn.0040df50
push eax
call fcn.0046c231
add esp, 8
test eax, eax
je 0x420ea7
push 1
push edi
call fcn.00413b70
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 0x420ede
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x420ede
push eax
call fcn.0046b865
add esp, 4
cmp dword [esp + 0x20], 0
setne bl
cmp byte [esp + 0x140], 0
jne 0x420f05
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x420f05
push eax
call fcn.0046b865
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0046b4eb
mov esp, ebp
pop ebp
ret