Function at 0x4bdf20
Capabilities:
Copy file
Delete file
Download and write a file
Get file size
Move file
Query remote server for available data
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 0x55e558
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0xc]
lea ebx, [edi + 0xc]
test ecx, ecx
je 0x4bdf64
push dword [edi + 0x18]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push 1
call dword [eax + 0xc]
cmp byte [ebx + 5], 0
jne 0x4be4f7
mov ecx, dword [ebx]
test ecx, ecx
je 0x4bdf83
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4be4f7
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test eax, eax
je 0x4bdfb6
cmp eax, esi
jne 0x4bdfb6
mov ecx, dword [ebx]
test ecx, ecx
je 0x4bdfa0
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi + 0x1c]
xor dl, dl
push 0
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00492340
mov edi, eax
add esp, 4
test edi, edi
je 0x4bdff6
mov ecx, dword [ebx]
test ecx, ecx
je 0x4bdfe0
mov edx, dword [ecx]
push 0
push edi
push 0
call dword [edx + 0x24]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [ebp - 0x40], 0xc
cmp eax, esi
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x38], eax
sbb edi, edi
neg edi
add edi, 2
call fcn.004cdfb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x80], 0
je 0x4be058
test esi, esi
jne 0x4be058
sub esp, 8
lea ecx, [ebp - 0x70]
push 0x58f70c
call fcn.004ce1a0
sub esp, 8
lea ecx, [ebp - 0x70]
push str.S_1_5_18
call fcn.004ce1a0
lea ecx, [ebp - 0x70]
call fcn.004ce5f0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x4be072
push dword [ecx - 0xc]
mov ecx, eax
call fcn.00408c30
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0
xor edx, edx
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x3c], edx
push 0x80
push edi
cmove eax, edx
push eax
push edx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
je 0x4be0ae
test esi, esi
je 0x4be0ae
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004ce050
mov dword [ebp - 0x34], 0x57cb58
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 1
cmp edi, 0xffffffff
jne 0x4be115
cmp byte [ebx + 5], 0
jne 0x4be10b
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be0ea
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4be10b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
mov edi, eax
test ecx, ecx
je 0x4be4be
mov eax, dword [ecx]
push 0
push edi
push 0
call dword [eax + 0x24]
jmp 0x4be4be
mov edi, 0xe0000008
jmp 0x4be4be
mov ecx, dword [ebx]
test esi, esi
je 0x4be122
test ecx, ecx
je 0x4be12d
push esi
jmp 0x4be128
test ecx, ecx
je 0x4be12d
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
push 0xc800
call fcn.004affb0
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
lea edx, [eax + 0x38]
mov dword [ebp + 0x14], edx
push dword [eax + 0x68]
mov edi, dword [eax + 4]
mov byte [edx], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0x10]
push 0
push 0
mov byte [eax + 0x41], 0
mov dword [eax + 0x34], 8
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x4be262
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x4be270
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
jne 0x4be1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4be1e0
push edi
mov ecx, ebx
call fcn.004cdf60
cmp byte [ebx + 5], 0
jne 0x4be1f9
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be1cd
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4be1f9
mov eax, dword [ebp - 0x10]
push 0xa
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi], 0
je 0x4be1a1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x30], 0
mov edi, dword [eax + 0x2c]
je 0x4be270
test edi, edi
jle 0x4be26e
mov dword [ebp - 0x24], edi
jmp 0x4be26e
mov edi, 0xe0000008
mov dword [ebp - 0x18], 0
cmp edi, 0x2ee2
je 0x4be229
cmp edi, 0x2efe
je 0x4be229
cmp edi, 0x2eff
je 0x4be229
cmp edi, 0x2f83
jne 0x4be492
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x88], 0
je 0x4be492
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.004beb80
mov edi, eax
test edi, edi
jne 0x4be492
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x4be151
mov eax, dword [ebp - 0x10]
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
mov dword [ebp - 0x18], 0
test edi, edi
jne 0x4be205
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4be3b9
cmp eax, 0xc800
mov ecx, 0xc800
cmova eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x68]
mov edi, dword [eax + 4]
mov byte [eax + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x41], 0
mov dword [eax + 0x34], 3
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4be340
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x4be34e
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
jne 0x4be321
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4be321
push edi
mov ecx, ebx
call fcn.004cdf60
cmp byte [ebx + 5], 0
jne 0x4be336
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be30e
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4be336
mov eax, dword [ebp - 0x10]
push 0xa
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi], 0
je 0x4be2e2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x30], 0
mov edi, dword [eax + 0x2c]
je 0x4be34e
test edi, edi
jle 0x4be34c
mov dword [ebp - 0x18], edi
jmp 0x4be34c
mov edi, 0xe0000008
jmp 0x4be205
mov eax, dword [ebp - 0x10]
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
test edi, edi
jne 0x4be205
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4be3b9
push edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be46d
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be383
mov eax, dword [ecx]
push dword [ebp - 0x2c]
call dword [eax + 0x18]
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004cdf60
cmp byte [ebx + 5], 0
jne 0x4be403
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
lea edx, [eax + 0x38]
test ecx, ecx
je 0x4be151
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4be403
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x4be151
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp - 0x14]
jbe 0x4be42b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [ebp + 0x10]
jae 0x4be42b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x88], 0
je 0x4be40d
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
mov ecx, eax
push edi
push dword [ebp + 8]
call fcn.004beb80
mov edi, eax
test edi, edi
jne 0x4be492
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x4be151
mov edi, 0xe0000008
jmp 0x4be4aa
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be421
mov eax, dword [ecx]
push 0
push 0xe000000f
push 0
call dword [eax + 0x24]
mov edi, 0xe000000f
jmp 0x4be4aa
test edi, edi
je 0x4be43e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x10]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4be47f
push eax
push dword [edi + 0x18]
mov edi, dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4be477
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x4be49a
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be48e
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x14]
xor edi, edi
jmp 0x4be4aa
cmp edi, 0xe0000008
je 0x4be4aa
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be4aa
mov eax, dword [ecx]
push 0
push edi
push 0
call dword [eax + 0x24]
mov byte [ebp - 4], 1
push esi
call fcn.0051e384
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0x57cb58
test eax, eax
je 0x4be4e1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0xe0000008
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10