Function at 0x140010c60
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 [0x140043040]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov r12, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x10], 1
movabs rdi, 0xddb5eb7f7337835d
mov qword [rbp - 0x10], rdi
movabs r13, 0x83e8b87afdb8cf06
mov qword [rbp - 8], r13
movabs rax, 0xf2d487131a4dec10
mov qword [rbp - 0x20], rax
movabs rax, 0x83e8b87afd88e133
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x30], xmm0
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rbp - 0x30]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov ebx, esi
mov qword [rbp - 0x48], rbx
mov esi, 0xf
mov qword [rbp - 0x40], rsi
mov byte [rbp - 0x58], bl
test rax, rax
je 0x140011105
mov rdx, r12
cmp qword [r12 + 0x18], rsi
jbe 0x140010d3f
mov rdx, qword [r12]
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140011108
nop word [rax + rax]
lea r9, [rbp - 0x10]
mov r8d, 0x7d0
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x10]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140010dc2
lea rax, [rbx + rdi]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x58]
add rbx, rax
mov r8d, edi
lea rdx, [rbp]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r12b
jmp 0x140010dd7
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.14002e510
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp]
call fcn.1400372c4
cmp dword [rbp - 0x10], r12d
je 0x140010dfb
mov rsi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
jmp 0x140010d70
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movabs rdi, 0xddb5eb7f7337835d
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r13
movabs rax, 0xddb5eb7f73378950
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r13
movaps xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x140010e60
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002e6c0
nop
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r13
movabs rax, 0xddb5eb7f7337ed21
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r13
movaps xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140010eb5
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.14002c200
mov r14, rax
mov qword [rbp - 0x20], rax
mov rbx, r12
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
lea rsi, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140010f11
mov r13, qword [r14]
cmp rdi, rax
ja 0x140010f83
sub rax, rdi
cmp rbx, rax
ja 0x140010f83
test rdi, rdi
je 0x140010ff7
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140010f83
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140010ff4
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140010f50
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x70]
movups xmmword [rbx], xmm0
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rax, qword [rsp + 0x48]
cmp rax, 0xf
jbe 0x140011036
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011030
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011030
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x140010f83
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.14002c820
add rbx, qword [rsp + 0x60]
jmp 0x140010eec
call fcn.1400364ec
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140011077
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011071
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400364ec
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400110b6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400110b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400110b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400364ec
nop
mov r12, qword [rsp + 0x78]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x1400110f3
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1400110ee
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400110fe
mov rcx, r8
call fcn.1400364ec
xor esi, esi
mov byte [r12], sil
jmp 0x1400113f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor r12d, r12d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r13
movabs rax, 0xddb5eb7f73378950
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r13
movaps xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140011160
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
nop
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r13
movabs rax, 0xddb5eb7f7337ed21
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r13
movaps xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400111b6
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002e6c0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.14002c200
mov r14, rax
mov qword [rbp - 0x20], rax
mov rbx, r12
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
lea rsi, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140011212
mov r13, qword [r14]
cmp rdi, rax
ja 0x140011283
sub rax, rdi
cmp rbx, rax
ja 0x140011283
test rdi, rdi
je 0x1400112f6
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140011283
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400112f3
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140011250
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x70]
movups xmmword [rbx], xmm0
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 0xf
mov byte [r14], sil
mov rax, qword [rsp + 0x68]
cmp rax, 0xf
jbe 0x140011335
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001132f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001132f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x140011283
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.14002c820
add rbx, qword [rsp + 0x40]
jmp 0x1400111ed
call fcn.1400364ec
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140011376
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011370
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011370
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400364ec
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400113b5
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400113af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400113af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400364ec
nop
mov r12, qword [rsp + 0x78]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x1400113f2
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1400113ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011432
mov rcx, r8
call fcn.1400364ec
mov byte [r12], 0
mov rax, rbx
mov qword [r12 + 0x18], 0xf
mov qword [r12 + 0x10], rsi
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140036250
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