Function at 0x460840
Capabilities:
Delete file
Download and write a file
Move 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 0x48c606
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.00480a40
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x30], 8
lea edi, [esi + 0x1c]
mov dword [ebp - 0x2024], edi
jb 0x460887
mov ecx, dword [edi]
jmp 0x460889
mov ecx, edi
lea eax, [ebp - 0x201c]
push eax
call fcn.00404d20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x201c]
mov ebx, 1
cmp dword [eax - 4], ebx
jle 0x4608c2
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [ebp - 0x201c]
push edx
call fcn.00404af0
mov eax, dword [ebp - 0x201c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [ebp - 0x201c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00469425
add esp, 8
test eax, eax
js 0x460c11
mov ecx, dword [ebp - 0x201c]
cmp eax, dword [ecx - 8]
jg 0x460c11
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x201c]
xor ecx, ecx
mov word [edx + eax*2], cx
push str..bak
lea eax, [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x2018]
push ecx
call fcn.00409300
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2018]
cmp dword [ecx - 4], ebx
jle 0x460942
mov edx, dword [ecx - 0xc]
push edx
lea eax, [ebp - 0x2018]
push eax
call fcn.00404af0
mov ecx, dword [ebp - 0x2018]
mov ebx, 8
cmp dword [edi + 0x14], ebx
jb 0x460950
mov eax, dword [edi]
jmp 0x460952
mov eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x2018]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00469425
add esp, 8
test eax, eax
js 0x460c11
mov ecx, dword [ebp - 0x2018]
cmp eax, dword [ecx - 8]
jg 0x460c11
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x2018]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [edi + 0x14], ebx
jb 0x46099c
mov eax, dword [edi]
jmp 0x46099e
mov eax, edi
push eax
call fcn.00460470
mov ebx, eax
add esp, 4
mov byte [ebp - 0x2011], 1
cmp ebx, 0xffffffff
jne 0x460a21
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4609da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x201c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460a03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x50], 0
je 0x460a37
mov edi, dword [esi + 0x3c]
call fcn.00460e30
mov ecx, dword [esi + 0x50]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 0x1fff
lea ecx, [ebp - 0x200f]
push 0
push ecx
mov byte [ebp - 0x2010], 0
call fcn.0046ae60
mov ecx, dword [esi + 0x3c]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
lea edx, [ebp - 0x2020]
push edx
push 0x2000
lea eax, [ebp - 0x2010]
push eax
push ecx
call edi
test eax, eax
je 0x460af0
mov ecx, dword [ebp - 0x2020]
test ecx, ecx
je 0x460aec
mov eax, dword [esi + 0x54]
test eax, eax
je 0x460a94
add dword [eax], ecx
adc dword [eax + 4], 0
mov ecx, dword [ebp - 0x2020]
push 0
lea edx, [ebp - 0x2020]
push edx
push ecx
lea eax, [ebp - 0x2010]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x460af9
push 0x1fff
lea ecx, [ebp - 0x200f]
push 0
push ecx
mov byte [ebp - 0x2010], 0
call fcn.0046ae60
mov ecx, dword [esi + 0x3c]
add esp, 0xc
lea edx, [ebp - 0x2020]
push edx
push 0x2000
lea eax, [ebp - 0x2010]
push eax
push ecx
call edi
test eax, eax
jne 0x460a77
jmp 0x460af0
test eax, eax
jne 0x460b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x4c], eax
mov byte [ebp - 0x2011], 0
test ebx, ebx
je 0x460b0b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x2011], 0
je 0x460b75
mov eax, esi
call fcn.00460c20
test eax, eax
je 0x460b75
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2018]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x460b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x201c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460b6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x460a05
or ebx, 0xffffffff
cmp dword [esi + 0x4c], ebx
jne 0x460b83
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x4c], ecx
mov esi, dword [ebp - 0x2024]
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x460b97
mov eax, dword [esi]
jmp 0x460b99
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], edi
jb 0x460ba7
mov esi, dword [esi]
mov eax, dword [ebp - 0x2018]
cmp dword [eax - 4], 1
jle 0x460bc9
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp - 0x2018]
push eax
call fcn.00404af0
mov eax, dword [ebp - 0x2018]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460bf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x201c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x4609f7
push 0x80070057
call fcn.00404c10
int3