Function at 0x180001730
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 - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x18009a040]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x78], rdx
mov dword [rsp + 0x30], 1
lea rcx, [rbp + 0x818]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rcx], rdi
movabs rax, 0xdc96f139e0b054c8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x5b2944ccfe1fb173
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xf3f79d5589ca3b85
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs r15, 0x5b2944ccfe2f9f46
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rbp - 0x70]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov ebx, edi
mov qword [rbp - 0x30], rbx
mov r14d, 0xf
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], bl
test rax, rax
je 0x180001b37
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x18000185e
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x180001b2d
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov r8d, 0x7d0
lea rdx, [rbp]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rsp + 0x30]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x1800018e4
lea rax, [rdi + rbx]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
cmp r14, 0xf
cmova rax, qword [rbp - 0x40]
add rbx, rax
mov r8d, edi
lea rdx, [rbp]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1800018f9
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.180024140
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], 0
je 0x18000191e
mov r14, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
jmp 0x180001890
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x18008de50]
movdqu xmmword [rbp - 0x10], xmm1
mov eax, 0xa0d
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], 0
movabs rax, 0xf3f79d5589ca55f9
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
movabs rcx, 0x5b2944ccfe2f9f46
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x68], rax
movabs rax, 0xf3f79d5589ca3b85
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800019d0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call fcn.18000df40
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.1800217b0
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, r12
call fcn.1800015b0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180001a49
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001a43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001a43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007c224
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180001a88
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001a82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001a82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007c224
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180001ac7
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001ac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007c224
nop
mov rax, qword [rsp + 0x50]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x818]
mov qword [rcx], rax
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180001b19
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180001b14
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001b26
mov rcx, r8
call fcn.18007c224
mov qword [rsi + 0x10], 0
jmp 0x180001d22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movabs r15, 0x5b2944ccfe2f9f46
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x18008de50]
movdqu xmmword [rbp - 0x10], xmm1
mov eax, 0xa0d
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], 0
movabs rax, 0xf3f79d5589ca55f9
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x68], rax
movabs rax, 0xf3f79d5589ca3b85
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180001bd5
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call fcn.18000df40
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.1800217b0
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, r12
call fcn.1800015b0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180001c4e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001c48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001c48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007c224
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180001c8d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001c87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001c87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007c224
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180001ccc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001cc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001cc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007c224
nop
mov rax, qword [rsp + 0x50]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x818]
mov qword [rcx], rax
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180001d1e
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180001d19
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001d5a
mov rcx, r8
call fcn.18007c224
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.18007bd30
mov rbx, qword [rsp + 0x930]
add rsp, 0x8e0
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