Function at 0x140006d90
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x498]
sub rsp, 0x598
mov rdi, r8
xor r13d, r13d
lea rcx, [rbp + 0x380]
mov qword [rbp - 0x58], rcx
lea rcx, [rbp + 0x380]
call fcn.1400092d0
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.1400092d0
nop
mov rcx, qword [rbp + 0x520]
mov qword [rsp + 0x20], rcx
mov r12, qword [rbp + 0x510]
mov r9, r12
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140002ad0
nop
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x30]
call fcn.14000c000
nop
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae r8, qword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea rcx, str.WinInetGet_CppRequests
cmp qword [rbp + 0x40], r9
jbe 0x140006e52
lea edx, [r13 + 3]
jmp 0x140006e57
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x128]
call fcn.14000c000
nop
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rdx, qword [rbp + 0x128]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
movzx r8d, word [rbp + 0x338]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r14, rax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
mov rdi, qword [rbp + 0x350]
lea rsi, [rbp + 0x340]
cmp qword [rbp + 0x358], 0x10
cmovae rsi, qword [rbp + 0x340]
mov ebx, 0xf
movabs r15, 0x7fffffffffffffff
cmp rdi, 0x10
jae 0x140006f0a
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x68], rbx
jmp 0x140006f82
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
cmova rbx, r15
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006f57
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400081b2
mov rcx, rax
call fcn.14001232c
mov rcx, rax
test rax, rax
je 0x140006f50
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140006f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140006f63
call fcn.14001232c
jmp 0x140006f66
mov rax, r13
mov qword [rbp + 0x50], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x68], rbx
mov ebx, 0xf
mov qword [rbp + 0x60], rdi
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x1d0]
call fcn.14000c6f0
nop
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.14000c000
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x140006feb
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006fe6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp + 0x1e0], r13
mov qword [rbp + 0x1e8], rbx
mov byte [rbp + 0x1d0], 0
lea rbx, [rbp + 0x108]
cmp qword [rbp + 0x120], 8
cmovae rbx, qword [rbp + 0x108]
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0xe8]
call fcn.14000c000
nop
lea r8, [rbp + 0xe8]
cmp qword [rbp + 0x100], 8
cmovae r8, qword [rbp + 0xe8]
mov qword [rsp + 0x38], r13
mov eax, dword [rbp + 0x500]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, str.HTTP_1.1
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rcx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400081b8
mov eax, dword [rbp + 0x2f0]
mov dword [rbp - 0x80], eax
mov r9d, 4
lea r8, [rbp - 0x80]
lea edx, [r9 - 2]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r8d, 0xf
mov qword [rbp + 0xc0], r8
mov byte [rbp + 0xa8], 0
mov edi, 6
mov qword [rbp + 0xb8], rdi
mov eax, dword [str.Cookie]
mov dword [rbp + 0xa8], eax
movzx eax, word [0x140017f2c]
mov word [rbp + 0xac], ax
mov byte [rbp + 0xae], 0
mov r13, qword [r12]
mov rbx, qword [r13 + 8]
mov rsi, r13
mov r14, qword [rbp + 0xa8]
cmp byte [rbx + 0x19], 0
jne 0x14000715a
mov r12d, edi
mov qword [rbp + 0x250], rdi
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0x10
jb 0x140007116
mov rcx, qword [rbx + 0x20]
mov rdi, qword [rbx + 0x30]
mov r8, rdi
cmp r12, rdi
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000719e
sets al
test al, al
jne 0x1400071a3
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140007100
mov r12, qword [rbp + 0x510]
mov edi, 6
movabs r15, 0x7fffffffffffffff
lea r8d, [rdi + 9]
cmp byte [rsi + 0x19], 0
jne 0x1400071ae
lea rdx, [rsi + 0x20]
cmp qword [rsi + 0x38], 0x10
jb 0x14000716f
mov rdx, qword [rsi + 0x20]
lea rcx, [rbp + 0xa8]
cmp r8, 0x10
cmovae rcx, r14
mov rbx, qword [rsi + 0x30]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400071a9
sets al
test al, al
jne 0x1400071ae
jmp 0x1400071b1
cmp rdi, r12
jae 0x140007134
mov rbx, qword [rbx + 0x10]
jmp 0x14000713a
cmp rdi, rbx
jae 0x1400071b1
mov rsi, r13
mov edi, 0xf
cmp rsi, qword [r12]
je 0x140007287
lea r8, [rsi + 0x40]
mov rcx, qword [r8 + 0x10]
mov rax, r15
sub rax, rcx
cmp rax, 1
jb 0x14000822d
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400071e5
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x1400162f4]
movzx edx, byte [rbp + 0x4f8]
lea rcx, [rbp + 0x190]
call fcn.14000b2f0
nop
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0x10
cmovae rdx, qword [rbp + 0x190]
mov r8, qword [rbp + 0x1a0]
mov r13, qword [rbp + 0x518]
mov rcx, r13
call fcn.140009a90
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x14000728e
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007280
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
jmp 0x14000728e
mov r13, qword [rbp + 0x518]
mov r12, 0xffffffffffffffff
cmp qword [r13 + 0x10], 0
jbe 0x1400079b6
mov r14d, 0xf
mov qword [rbp + 0x168], r14
mov word [rbp + 0x150], 0
mov qword [rbp + 0x160], 1
movzx eax, byte [0x1400162f4]
mov byte [rbp + 0x150], al
lea r8, [rbp + 0x150]
mov rdx, r13
lea rcx, [rbp + 0x90]
call fcn.14000c290
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x140007329
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007324
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov rcx, qword [rbp + 0x90]
mov qword [rsp + 0x50], rcx
mov rsi, qword [rbp + 0x98]
mov qword [rbp - 0x48], rsi
cmp rcx, rsi
je 0x14000790b
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rsi, qword [rcx + 0x10]
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000736d
mov rbx, qword [rcx]
cmp rsi, 0x10
jae 0x140007385
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm0
mov rdi, r14
mov qword [rsp + 0x78], r14
jmp 0x1400073f2
mov rdi, rsi
or rdi, 0xf
cmp rdi, r15
cmova rdi, r15
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400073cf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008233
mov rcx, rax
call fcn.14001232c
mov rcx, rax
test rax, rax
je 0x1400078ef
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400073d9
test rcx, rcx
je 0x1400073d9
call fcn.14001232c
mov qword [rsp + 0x60], rax
lea r8, [rsi + 1]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rsi
lea r15, [rsp + 0x60]
cmp rdi, 0x10
setae r13b
mov r14, qword [rsp + 0x60]
cmovae r15, r14
cmp rsi, 1
jb 0x14000746b
lea r12, [r15 + rsi]
mov r8, rsi
mov edx, 0x3d
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140007464
nop
cmp byte [rbx], 0x3d
jne 0x140007439
xor eax, eax
jmp 0x14000743e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400074dd
inc rbx
mov r8, r12
sub r8, rbx
mov edx, 0x3d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140007430
mov r12, 0xffffffffffffffff
mov rbx, r12
cmp ebx, 0xffffffff
jne 0x1400074e9
test r13b, r13b
je 0x1400074a9
lea rdx, [rdi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400074a1
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078cc
mov rcx, r14
call fcn.140012368
mov r14d, 0xf
mov rcx, qword [rsp + 0x50]
add rcx, 0x20
mov qword [rsp + 0x50], rcx
mov r12, 0xffffffffffffffff
cmp rcx, qword [rbp - 0x48]
je 0x1400078f6
movabs r15, 0x7fffffffffffffff
jmp 0x140007350
sub rbx, r15
mov r12, 0xffffffffffffffff
jmp 0x14000746e
xor r15d, r15d
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], 0xf
mov byte [rbp + 0x1f0], r15b
movsxd r8, ebx
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x60]
test r13b, r13b
cmovne rdx, r14
lea rcx, [rbp + 0x1f0]
call fcn.140009920
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x210]
call fcn.14000c6f0
nop
movsxd rcx, ebx
inc rcx
mov qword [rbp], r15
mov ebx, 0xf
mov qword [rbp + 8], rbx
mov byte [rbp - 0x10], r15b
mov rax, qword [rsp + 0x70]
cmp rax, rcx
jb 0x140008251
sub rax, rcx
mov rdi, r12
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
lea r14, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r14, qword [rsp + 0x60]
add r14, rcx
cmp rdi, rbx
ja 0x1400075a4
mov qword [rbp], rdi
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rdi - 0x10], r15b
jmp 0x140007651
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14000824b
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x1400075d6
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400075fd
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000761c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008239
mov rcx, rax
call fcn.14001232c
test rax, rax
je 0x1400078d3
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000762e
test rcx, rcx
je 0x14000762b
call fcn.14001232c
mov rsi, rax
jmp 0x14000762e
mov rsi, r15
mov qword [rbp], rdi
mov qword [rbp + 8], rbx
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
mov qword [rbp - 0x10], rsi
mov ebx, 0xf
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xc8]
call fcn.14000c6f0
nop
mov rsi, qword [rbp + 0x2e0]
mov r14, qword [rbp + 0x2a0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, r14
jb 0x140008245
lea r12, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 0x10
cmovae r12, qword [rbp + 0x2d0]
lea r13, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae r13, qword [rbp + 0x290]
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
lea r15, [r14 + rsi]
lea rdi, [rbp + 0x10]
cmp r15, 0xf
jbe 0x140007747
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400076ec
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140007713
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140007732
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000823f
mov rcx, rax
call fcn.14001232c
test rax, rax
je 0x1400078da
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140007743
test rcx, rcx
je 0x14000773e
call fcn.14001232c
jmp 0x140007740
xor eax, eax
mov rdi, rax
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], rbx
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rsi]
mov r8, r14
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae rdx, qword [rbp + 0x210]
lea r8, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae r8, qword [rbp + 0xc8]
call qword [sym.imp.WININET.dll_InternetSetCookieA]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400077ef
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078da
call fcn.140012368
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x140007830
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000782b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078e1
call fcn.140012368
xor eax, eax
mov qword [rbp + 0xd8], rax
mov r14d, 0xf
mov qword [rbp + 0xe0], r14
mov byte [rbp + 0xc8], al
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x14000788a
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078e8
call fcn.140012368
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400074af
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078ef
call fcn.140012368
jmp 0x1400074af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rsi, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
mov r13, qword [rbp + 0x518]
test rcx, rcx
je 0x1400079b1
cmp rcx, rsi
je 0x140007976
lea rbx, [rcx + 0x18]
nop dword [rax]
mov rdx, qword [rbx]
cmp rdx, 0x10
jb 0x140007956
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x140007951
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079a5
mov rcx, r8
call fcn.140012368
xor eax, eax
mov qword [rbx - 8], rax
mov qword [rbx], r14
mov byte [rbx - 0x18], al
add rbx, 0x20
lea rax, [rbx - 0x18]
cmp rax, rsi
jne 0x140007920
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov edi, 0xf
mov rbx, qword [rbp + 0x508]
mov rdx, rbx
lea rcx, [rbp + 0x270]
call fcn.140003bd0
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x270]
call fcn.1400040a0
nop
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.14000c000
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x140007a31
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007a2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
xor esi, esi
mov qword [rbp + 0x240], rsi
mov qword [rbp + 0x248], rdi
mov byte [rbp + 0x230], sil
mov dword [rbp - 0x7c], 4
lea r9, [rbp - 0x7c]
lea r8, [rsp + 0x48]
lea edx, [rsi + 0x1f]
mov r14, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [rsp + 0x48], 0x180
lea r9d, [rsi + 4]
lea r8, [rsp + 0x48]
lea edx, [rsi + 0x1f]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9, qword [rbx + 0x20]
mov rax, qword [rbx + 0x28]
sub rax, r9
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp + 0x80]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140008257
mov dword [rbp + 0x4f8], 0x800
mov ecx, 0x802
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4f8]
mov r8, rax
mov ebx, 0x16
mov edx, ebx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x140007b48
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400082cc
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rbp + 0x4f8]
add ecx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4f8]
mov r8, rax
mov edx, ebx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140007b00
mov eax, dword [rbp + 0x4f8]
mov byte [rax + rdi], 0x30
mov eax, dword [rbp + 0x4f8]
inc eax
mov byte [rax + rdi], 0x30
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov rdx, r12
inc rdx
cmp word [rdi + rdx*2], si
jne 0x140007b71
lea rcx, [rbp - 0x78]
cmp rdx, 7
ja 0x140007b9e
mov qword [rbp - 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx - 0x78], si
jmp 0x140007ba7
mov r9, rdi
call fcn.14000a860
nop
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x38
call fcn.14001232c
mov qword [rbp - 0x50], rax
mov rcx, rax
call fcn.140004770
mov r15, rax
mov qword [rbp - 0x50], rax
mov ecx, 0x18
call fcn.14001232c
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_class_requests::BinaryData_.0
mov qword [rsi], rax
mov qword [rsi + 0x10], r15
mov qword [rbp + 0x258], r15
mov qword [rbp + 0x260], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x4c]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140007c9f
nop word [rax + rax]
mov ecx, dword [rsp + 0x4c]
inc ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x4c]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140008341
movsxd rax, dword [rsp + 0x50]
test eax, eax
je 0x140007dd5
lea rcx, [r15 + 0x20]
lea r9, [rbx + rax]
mov r8, rbx
mov rdx, qword [rcx + 8]
call fcn.14000b490
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x4c]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x140007c30
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov r8, r12
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140007ce0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140009920
nop
lea rdx, [0x140018010]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdi, qword [rbp - 0x78]
mov rax, qword [rbp - 0x68]
lea rbx, [rax*2 + 1]
mov rcx, rbx
call fcn.140012720
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
xor edi, edi
mov qword [rbp + 0x1c0], rdi
mov qword [rbp + 0x1c8], 0xf
mov byte [rbp + 0x1b0], dil
mov r8, r12
inc r8
cmp byte [r14 + r8], dil
jne 0x140007d65
mov rdx, r14
lea rcx, [rbp + 0x1b0]
call fcn.140009920
mov rcx, r14
call fcn.140012368
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140007de8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007de3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007de3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140007c9f
call fcn.140012368
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x360]
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
lock inc dword [rsi + 8]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], rsi
mov rcx, qword [rbp + 0x2e0]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
mov rdx, qword [rbp + 0x2a0]
cmp rax, rdx
jb 0x1400081ac
lea r9, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 0x10
cmovae r9, qword [rbp + 0x2d0]
lea rax, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae rax, qword [rbp + 0x290]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x2d0]
movzx edx, byte [rbp + 0x4f8]
lea rcx, [rbp + 0x360]
call fcn.14000b2f0
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x3a0]
call fcn.1400092d0
nop
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x360]
mov rdx, rax
mov rbx, qword [rbp + 0x4e0]
mov rcx, rbx
call fcn.1400015d0
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 0x10
jb 0x140007f12
inc rdx
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
nop
mov eax, r12d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140007f3e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
nop
lock xadd dword [rsi + 0xc], r12d
cmp r12d, 1
jne 0x140007f3e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140007f81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140007fd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0x100]
cmp rdx, 8
jb 0x140008036
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008031
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008031
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], 7
mov word [rbp + 0xe8], di
mov rdx, qword [rbp + 0x120]
cmp rdx, 8
jb 0x140008098
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008093
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], 7
mov word [rbp + 0x108], di
mov rdx, qword [rbp + 0x140]
cmp rdx, 8
jb 0x1400080fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400080f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], 7
mov word [rbp + 0x128], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x140008156
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012368
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
lea rcx, [rbp + 0x270]
call fcn.1400044a0
nop
mov rcx, qword [rbp + 0x4e8]
call fcn.1400091e0
nop
mov rcx, qword [rbp + 0x4f0]
call fcn.1400091e0
nop
mov rcx, r13
call fcn.1400091e0
mov rax, rbx
add rsp, 0x598
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400012a0
nop
call fcn.140001200
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x3c0]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rbp + 0x170]
call fcn.140005ae0
nop
lea rcx, [rbp + 0x170]
call fcn.1400091d0
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.HttpOpenRequest_failed_error___d___s__n
mov edx, 0xc8
lea rcx, [rbp + 0x3c0]
call fcn.1400010a0
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x58], rax
lea rdx, [0x14001ada0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400012a0
nop
call fcn.140001200
nop
call fcn.140001200
nop
call fcn.140001200
int3
call fcn.1400012a0
nop
call fcn.1400012a0
int3
call fcn.140009da0
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x3c0]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rbp + 0x170]
call fcn.140005ae0
nop
lea rcx, [rbp + 0x170]
call fcn.1400091d0
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.HttpSendRequest_failed_error___d___s__n
mov edx, 0xc8
lea rcx, [rbp + 0x3c0]
call fcn.1400010a0
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x40], rax
lea rdx, [0x14001ada0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x3c0]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rbp + 0x170]
call fcn.140005ae0
nop
lea rcx, [rbp + 0x170]
call fcn.1400091d0
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.HttpQueryInfo_failed_error___d___s__n
mov edx, 0xc8
lea rcx, [rbp + 0x3c0]
call fcn.1400010a0
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x40], rax
lea rdx, [0x14001ada0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x3c0]
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8, str.InternetReadFile_failed__error___d__0x_x__n
mov edx, 0xc8
lea rcx, [rbp + 0x3c0]
call fcn.1400010a0
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x40], rax
lea rdx, [0x14001ada0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3