Function at 0x140041760
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x68], 0x30
mov al, 0x7d
mov cl, 0x5f
mov dl, 0x4a
mov r8b, 0x59
mov r9b, 0x5c
movzx r10d, r9b
mov r11b, 0x51
mov bl, 0x1f
mov dil, 5
mov sil, 0x1e
xor r14b, r14b
xor r12d, r12d
xor al, 0x30
mov byte [rsp + 0x69], al
xor cl, 0x30
mov byte [rsp + 0x6a], cl
xor dl, 0x30
mov byte [rsp + 0x6b], dl
xor r8b, 0x30
mov byte [rsp + 0x6c], r8b
xor r9b, 0x30
mov byte [rsp + 0x6d], r9b
xor r10b, 0x30
mov byte [rsp + 0x6e], r10b
xor r11b, 0x30
mov byte [rsp + 0x6f], r11b
xor bl, 0x30
mov byte [rsp + 0x70], bl
xor dil, 0x30
mov byte [rsp + 0x71], dil
xor sil, 0x30
mov byte [rsp + 0x72], sil
xor r14b, 0x30
mov byte [rsp + 0x73], r14b
mov byte [rsp + 0x74], r12b
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [rsp + 0x69]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov ebx, edi
mov qword [rbp - 0x38], rbx
mov esi, 0xf
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], bl
test rax, rax
je 0x140041b9e
mov rdx, r15
cmp qword [r15 + 0x18], rsi
jbe 0x14004187d
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140041b9e
lea r9, [rsp + 0x30]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rsp + 0x30]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x1400418f5
lea rax, [rdi + rbx]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x48]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14004190a
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14004bec0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], 0
je 0x14004192f
mov rsi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
jmp 0x1400418a1
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x50], 0xf
mov eax, 0xa0d
mov word [rbp - 0x68], ax
mov byte [rbp - 0x66], 0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], 2
mov qword [rbp - 0x70], 0xf
mov eax, 0x6e7c
mov word [rsp + 0x78], ax
mov byte [rsp + 0x7a], 0
movups xmmword [rsp + 0x38], xmm0
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea r14, [rbp - 0x48]
mov rsi, qword [rbp - 0x48]
mov r13, qword [rbp - 0x30]
cmp r13, 0xf
cmova r14, rsi
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp - 0x38]
cmp rdi, rbx
ja 0x140041d28
mov qword [rsp + 0x50], 0xf
cmp rdi, 0xf
ja 0x1400419e8
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140041a7f
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140041a20
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004cfbc
mov rcx, rax
test rax, rax
je 0x140041a4b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140041a61
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140041a52
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140041d2e
jmp 0x140041a02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140041a5e
call fcn.14004cfbc
jmp 0x140041a61
mov rax, r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400415f0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140041adb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041ad5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cf44
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140041b1a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041b14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041b14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cf44
nop
cmp r13, 0xf
jbe 0x140041b55
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140041b4c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041b4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14004cf44
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140041b8b
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140041b86
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041b97
mov rcx, r8
call fcn.14004cf44
mov qword [r15 + 0x10], r12
mov rax, rbx
jmp 0x140041ceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], 2
mov qword [rbp - 0x70], 0xf
mov eax, 0xa0d
mov word [rsp + 0x78], ax
mov byte [rsp + 0x7a], 0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x50], 0xf
mov eax, 0x6e7c
mov word [rbp - 0x68], ax
mov byte [rbp - 0x66], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x38], xmm0
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1400415f0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140041c6e
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041c68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041c68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cf44
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140041cae
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ca8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041ca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cf44
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140041ce4
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140041cdf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041d21
mov rcx, r8
call fcn.14004cf44
mov qword [r15 + 0x10], rdi
mov rax, r13
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14004cb30
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140039cc0
nop
call fcn.140039c20
int3