Function at 0x1400104b0
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 [0x1400d51c0]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r13, rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x38], 1
xor edx, edx
mov cl, 0x4d
call fcn.140004410
movzx r12d, al
mov edx, 1
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.140004410
movzx r15d, al
mov edx, 2
mov cl, 0x7a
call fcn.140004410
movzx r14d, al
mov edx, 3
mov cl, 0x69
call fcn.140004410
movzx esi, al
mov edx, 4
mov cl, 0x6c
call fcn.140004410
movzx edi, al
mov edx, 5
call fcn.140004410
movzx ebx, al
mov edx, 6
mov cl, 0x61
call fcn.140004410
movzx r11d, al
mov edx, 7
mov cl, 0x2f
call fcn.140004410
movzx r10d, al
mov edx, 8
mov cl, 0x35
call fcn.140004410
movzx r9d, al
mov edx, 9
mov cl, reloc.WLDAP32.dll_Ordinal_46
call fcn.140004410
movzx r8d, al
mov edx, 0xa
mov cl, 0x30
call fcn.140004410
xor ecx, ecx
xor r12b, 0x13
mov byte [rsp + 0x70], r12b
xor r15b, 0x14
mov byte [rsp + 0x71], r15b
xor r14b, 0x15
mov byte [rsp + 0x72], r14b
xor sil, 0x16
mov byte [rsp + 0x73], sil
xor dil, 0x17
mov byte [rsp + 0x74], dil
xor bl, 0x18
mov byte [rsp + 0x75], bl
xor r11b, 0x19
mov byte [rsp + 0x76], r11b
xor r10b, 0x1a
mov byte [rsp + 0x77], r10b
xor r9b, 0x1b
mov byte [rsp + 0x78], r9b
xor r8b, 0x1c
mov byte [rsp + 0x79], r8b
xor al, 0x1d
mov byte [rsp + 0x7a], al
mov byte [rsp + 0x7b], cl
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov edi, esi
mov qword [rbp - 0x70], rsi
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x80], sil
test rax, rax
je 0x140010919
mov rdx, r13
cmp qword [r13 + 0x18], r14
jbe 0x140010652
mov rdx, qword [r13]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x140010919
movzx ebx, byte [rsp + 0x34]
nop dword [rax + rax]
lea r9, [rsp + 0x38]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rsp + 0x38]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x1400106d4
lea rax, [rdi + rsi]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp r14, 0xf
cmova rax, qword [rbp - 0x80]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x20]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1400106ed
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140017210
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x38], 0
je 0x140010712
mov r14, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
jmp 0x140010680
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov cl, reloc.WS2_32.dll_listen
call fcn.140004410
movzx r8d, al
mov edx, 1
mov cl, 0xa
call fcn.140004410
xor ecx, ecx
xor r8b, 0x13
mov byte [rsp + 0x30], r8b
xor al, 0x14
mov byte [rsp + 0x31], al
mov byte [rsp + 0x32], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], cl
jne 0x140010770
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.1400173a0
nop
xor edx, edx
mov cl, 0x7c
call fcn.140004410
movzx r8d, al
mov edx, 1
mov cl, WSAGetLastError
call fcn.140004410
xor ecx, ecx
xor r8b, 0x13
mov byte [rsp + 0x30], r8b
xor al, 0x14
mov byte [rsp + 0x31], al
mov byte [rsp + 0x32], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], cl
jne 0x1400107d0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400173a0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140015500
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x60]
mov rdx, rax
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140010370
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140010850
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001084a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001084a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001088f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010889
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010889
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400108ce
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400108c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400108c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0xf
jbe 0x140010905
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x140010900
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010912
mov rcx, r8
call fcn.1400a73e4
mov qword [r13 + 0x10], 0
jmp 0x140010b09
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]
xor edx, edx
mov cl, reloc.WS2_32.dll_listen
call fcn.140004410
movzx r8d, al
mov edx, 1
mov cl, 0xa
call fcn.140004410
xor ecx, ecx
xor r8b, 0x13
mov byte [rsp + 0x30], r8b
xor al, 0x14
mov byte [rsp + 0x31], al
mov byte [rsp + 0x32], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], cl
jne 0x140010970
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400173a0
nop
xor edx, edx
mov cl, 0x7c
call fcn.140004410
movzx r8d, al
mov edx, 1
mov cl, WSAGetLastError
call fcn.140004410
xor ecx, ecx
xor r8b, 0x13
mov byte [rsp + 0x30], r8b
xor al, 0x14
mov byte [rsp + 0x31], al
mov byte [rsp + 0x32], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], cl
jne 0x1400109d0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.1400173a0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140015500
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x40]
mov rdx, rax
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140010370
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140010a50
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010a4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010a4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140010a8f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010a89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010a89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140010ace
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010ac8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a73e4
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0xf
jbe 0x140010b05
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x140010b00
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010b43
mov rcx, r8
call fcn.1400a73e4
mov qword [r13 + 0x10], rsi
mov rax, rbx
mov byte [r13], 0
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400a7070
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]
int3