Function at 0x14000f250
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov rax, qword [0x140036028]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor edi, edi
cmp qword [0x140036930], rdi
je 0x140003030
mov qword [r11 + 8], rbx
lea rcx, str.Installer
mov qword [r11 + 0x10], rbp
xor r9d, r9d
mov qword [r11 + 0x18], rsi
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x18], r15
mov esi, edi
mov dword [rsp + 0x70], edi
mov ebp, edi
mov dword [rsp + 0x20], edi
mov ebx, edi
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
je 0x140002e39
mov r8d, 0x1bb
lea rdx, str.n3xxd_installer.articincorporation.repl.co
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
test rax, rax
je 0x140002e39
mov dword [rsp + 0x30], 0x800000
lea r8, str._service
mov qword [rsp + 0x28], rdi
lea rdx, [0x14002e758]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x140002e39
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, eax
test eax, eax
je 0x140002e39
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov edi, eax
test eax, eax
jne 0x140002f14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x40], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], 0xa
lea rcx, [rsp + 0x78]
movabs rax, 0x2000000000000000
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, str.Error:_0
movaps xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140005cc0
cmp qword [rsp + 0x90], 0x10
lea rdx, [rsp + 0x78]
mov r9d, 0x10
cmovae rdx, qword [rsp + 0x78]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140002f0c
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f07
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f830
test edi, edi
je 0x140002fef
add ebp, 0x1000
mov rcx, rbx
mov edx, ebp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
test rax, rax
je 0x140002f55
mov edx, dword [rsp + 0x70]
lea r9, [rsp + 0x70]
add rdx, rax
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140002f6d
lea rdx, str.Failed_to_read_data
jmp 0x140002f5c
lea rdx, str.Failed_to_allocate_data
mov r9d, 0x10
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [rsp + 0x70], 0
ja 0x140002f14
test rbx, rbx
je 0x140002fef
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140002f80
mov rax, qword [0x140036958]
mov qword [rsp + 0xa8], r14
cmp rdi, rax
ja 0x140002fcc
cmp rax, 0x10
mov qword [0x140036950], rdi
lea r14, [0x140036940]
mov r8, rdi
cmovae r14, qword [0x140036940]
mov rdx, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rdi], 0
jmp 0x140002fde
mov r9, rbx
lea rcx, [0x140036940]
mov rdx, rdi
call fcn.140004de0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0xa8]
test rsi, rsi
je 0x140002ffd
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r15, r15
je 0x14000300b
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.140003050
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14000f3d0
add rsp, 0xb0
pop rdi
ret
jmp 0x140002d40