Function at 0x1400043c0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rbp + 0x540], rax
mov r13, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x140004411
mov r14, qword [rcx]
mov rdi, r14
add r14, qword [rcx + 0x10]
jmp 0x140004418
mov r14, qword [rcx + 0x10]
add r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xor ebx, ebx
mov esi, 7
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rsi
cmp rdi, r14
jne 0x14000443c
mov word [rbp + 8], bx
jmp 0x14000453d
sub r14, rdi
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x14000656e
cmp r14, rsi
jbe 0x140004501
mov rsi, r14
or rsi, 7
cmp rsi, rax
jbe 0x14000447a
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400044a9
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006568
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400044e0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006568
mov rcx, rax
call fcn.14000fab0
mov rcx, rax
test rax, rax
je 0x14000652c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rsi
jmp 0x140004505
test rcx, rcx
je 0x1400044f4
call fcn.14000fab0
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rsi
jmp 0x140004505
mov rax, rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x20], rsi
jmp 0x140004505
mov rax, qword [rbp + 8]
lea r8, [rbp + 8]
cmp rsi, 7
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140004534
nop dword [rax]
movsx eax, byte [rdi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 1]
sub rdx, 1
jne 0x140004520
mov qword [rbp + 0x18], r14
mov word [r8 + r14*2], bx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
mov qword [rsp + 0x70], rax
call fcn.1400042c0
movsx r14d, al
call fcn.1400042b0
movsx r15d, al
mov edi, r15d
imul edi, r14d
call fcn.1400042f0
movsx esi, al
imul ecx, edi, 7
movsx eax, byte [0x140017004]
add ecx, esi
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x14000482a
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, rbx
test r12, r12
sete al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x48], xmm1
lea r12d, [rsi + rdi*4]
movsx eax, byte [0x140017004]
add eax, r12d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x14000464c
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x14000464c
mov r9d, 8
jmp 0x1400046ab
lea eax, [rdi + rdi*4]
lea r9d, [rsi + rax*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400046a6
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x48]
cvttsd2si r9d, xmm0
jmp 0x1400046ab
mov r9d, dword [rsp + 0x40]
movsx eax, byte [0x140017004]
add eax, esi
lea eax, [rax + rdi*2]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r9d
test eax, eax
je 0x140004825
lea rdx, str.Error:_Unable_to_initialize_WinHTTP.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea ecx, [rdi + rsi]
movsx eax, byte [0x140017004]
lea ecx, [rcx + rdi*2]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x48], xmm1
movsx eax, byte [0x140017004]
add eax, r12d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400047b1
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064f5
call fcn.1400042f0
movsx edx, al
mov ecx, r14d
imul ecx, r15d
lea eax, [rcx + rcx*4]
lea r9d, [rdx + rax*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004819
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x48]
cvttsd2si eax, xmm0
jmp 0x14000481d
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064f5
mov r12, qword [rsp + 0x70]
mov dword [rbp - 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x140]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], 0x100
lea rax, [rbp + 0x340]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0x100
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea edi, [rcx + rdx*4]
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004bd5
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
mov rcx, rbx
test eax, eax
sete cl
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x48], xmm1
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004995
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140004995
mov r10d, 8
jmp 0x140004a0f
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004a0a
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x48]
cvttsd2si r10d, xmm0
jmp 0x140004a0f
mov r10d, dword [rsp + 0x40]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*8]
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r10d
test eax, eax
je 0x140004bd5
lea rdx, str.Error:_Unable_to_parse_URL.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x48], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004b77
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064f5
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004bc9
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x48]
cvttsd2si eax, xmm0
jmp 0x140004bcd
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064f5
xor r9d, r9d
movzx r8d, word [rbp - 0x4c]
lea rdx, [rbp + 0x140]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
mov qword [rsp + 0x78], rax
call fcn.1400042c0
movsx r9d, al
call fcn.1400042b0
movsx ecx, al
imul r9d, ecx
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004f56
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, rbx
test r14, r14
sete al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x48], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004cf6
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140004cf6
mov r9d, 8
jmp 0x140004d70
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004d6b
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x48]
cvttsd2si r9d, xmm0
jmp 0x140004d70
mov r9d, dword [rsp + 0x40]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*2]
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*2]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r9d
test eax, eax
je 0x140004f56
lea rdx, str.Error:_Unable_to_connect_to_server.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
imul r9d, edx, 7
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x48], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004ed6
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064f5
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140004f4a
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x48]
cvttsd2si eax, xmm0
jmp 0x140004f4e
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064f5
mov eax, ebx
mov ecx, 0x800000
cmp dword [rbp - 0x5c], 2
cmove eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0x340]
lea rdx, [0x140011920]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov qword [rsp + 0x48], rax
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*8]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400052f9
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, rbx
test rsi, rsi
sete al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005093
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140005093
mov r10d, 8
jmp 0x14000510d
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005108
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si r10d, xmm0
jmp 0x14000510d
mov r10d, dword [rsp + 0x40]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*2]
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r10d
test eax, eax
je 0x1400052f9
lea rdx, str.Error:_Unable_to_open_request.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005279
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064f5
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400052ed
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si eax, xmm0
jmp 0x1400052f1
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064f5
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*8]
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005665
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, rbx
test eax, eax
sete cl
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005419
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140005419
mov r9d, 8
jmp 0x140005493
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x14000548e
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si r9d, xmm0
jmp 0x140005493
mov r9d, dword [rsp + 0x40]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea edi, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r9d
test eax, eax
je 0x140005665
lea rdx, str.Error:_Unable_to_send_request.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.1400042c0
movsx r9d, al
call fcn.1400042b0
movsx ecx, al
imul r9d, ecx
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005609
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064f5
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005659
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si eax, xmm0
jmp 0x14000565d
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064f5
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*2]
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*2]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400059e0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rbx
test eax, eax
sete cl
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005771
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140005771
mov r10d, 8
jmp 0x1400057eb
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400057e6
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si r10d, xmm0
jmp 0x1400057eb
mov r10d, dword [rsp + 0x40]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
imul r9d, edx, 7
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r10d
test eax, eax
je 0x1400059e0
lea rdx, str.Error:_Unable_to_receive_response.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*8]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005960
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064f5
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400059d4
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si eax, xmm0
jmp 0x1400059d8
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064f5
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
cmp qword [r13 + 0x18], 0xf
jbe 0x1400059fc
mov r13, qword [r13]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
mov rdx, r13
lea rcx, [rbp + 0x30]
call fcn.1400018b0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*2]
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005db7
mov rax, rbx
cmp qword [rbp + 0xb8], 0
sete al
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005b48
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140005b48
mov r9d, 8
jmp 0x140005bc2
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005bbd
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si r9d, xmm0
jmp 0x140005bc2
mov r9d, dword [rsp + 0x40]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r9d
test eax, eax
je 0x140005db7
lea rdx, str.Error:_Unable_to_open_file_for_writing.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea r9d, [rdx + rdx*4]
call fcn.1400042f0
movsx eax, al
add eax, r9d
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*4]
movsx ecx, byte [0x140017004]
add eax, ecx
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005d37
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
jne 0x1400064ae
call fcn.1400042c0
movsx edx, al
call fcn.1400042b0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea r9d, [rcx + rdx*2]
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005dab
movsx eax, byte [0x140017004]
add eax, r9d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si eax, xmm0
jmp 0x140005daf
mov eax, dword [rsp + 0x40]
cmp ebx, eax
jl 0x1400064ae
mov dword [rbp], ebx
call fcn.1400042b0
movsx edx, al
call fcn.1400042c0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx eax, al
add eax, edx
mov dword [rsp + 0x58], eax
call fcn.1400042b0
movsx edx, al
call fcn.1400042c0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea eax, [rcx + rdx*8]
mov dword [rsp + 0x68], eax
call fcn.1400042b0
movsx edx, al
call fcn.1400042c0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*2]
call fcn.1400042f0
movsx eax, al
add eax, edx
mov dword [rsp + 0x6c], eax
call fcn.1400042b0
movsx edx, al
call fcn.1400042c0
movsx ecx, al
imul edx, ecx
call fcn.1400042f0
movsx ecx, al
lea r12d, [rcx + rdx*4]
call fcn.1400042b0
movsx edx, al
call fcn.1400042c0
movsx ecx, al
imul edx, ecx
lea edx, [rdx + rdx*4]
call fcn.1400042f0
movsx ecx, al
lea edi, [rcx + rdx*2]
call fcn.1400042b0
movsx edx, al
call fcn.1400042c0
movsx ecx, al
imul edx, ecx
mov dword [rsp + 0x64], edx
call fcn.1400042f0
movsx eax, al
mov dword [rsp + 0x60], eax
lea eax, [rax + rdx*8]
add eax, edx
mov dword [rsp + 0x40], eax
mov r14d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x40]
nop dword [rax]
mov dword [rbp - 0x80], ebx
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005fed
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov rcx, rbx
test eax, eax
sete cl
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [0x140017004]
add eax, r12d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005f73
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140005f73
mov r15d, 8
jmp 0x140005fc2
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140005fc2
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si r15d, xmm0
movsx eax, byte [0x140017004]
add eax, dword [rsp + 0x58]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r15d
test eax, eax
jne 0x1400063ea
mov ecx, dword [rbp - 0x80]
inc ecx
call fcn.14000faf4
mov rsi, rax
movsx eax, byte [0x140017004]
add eax, dword [rsp + 0x58]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140006149
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, rbx
test rsi, rsi
sete al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [0x140017004]
add eax, r12d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400060c2
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x1400060c2
mov dword [rsp + 0x5c], 8
jmp 0x140006114
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140006114
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si eax, xmm0
mov dword [rsp + 0x5c], eax
movsx ecx, byte [0x140017004]
mov eax, dword [rsp + 0x60]
add eax, ecx
mov ecx, dword [rsp + 0x64]
lea eax, [rax + rcx*2]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, dword [rsp + 0x5c]
test eax, eax
jne 0x14000640f
mov r8d, dword [rbp - 0x80]
inc r8d
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
movsx eax, byte [0x140017004]
add eax, dword [rsp + 0x68]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400062af
lea r9, [rbp]
mov r8d, dword [rbp - 0x80]
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov rcx, rbx
test eax, eax
sete cl
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [0x140017004]
add eax, r12d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140006235
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x140006235
mov r13d, 8
jmp 0x140006284
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x140006284
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si r13d, xmm0
movsx eax, byte [0x140017004]
add eax, dword [rsp + 0x6c]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r13d
test eax, eax
jne 0x140006434
mov r8d, dword [rbp]
mov rdx, rsi
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, rsi
call fcn.14000faec
movsx eax, byte [0x140017002]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x140017001]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, rbx
cmp dword [rbp - 0x80], 0
seta al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x50], xmm1
movsx eax, byte [0x140017004]
add eax, r12d
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x14000636a
call fcn.1400042d0
movsx edx, al
movsx eax, byte [0x140017340]
imul edx, eax
lea r8d, [rdx + rdx*2]
call fcn.140004300
movsx ecx, al
sub r8d, ecx
call fcn.1400042e0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [0x140017001]
add ecx, r8d
je 0x14000636a
mov r14d, 8
jmp 0x1400063b9
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
cmp eax, ecx
je 0x1400063b9
movsx eax, byte [0x140017004]
add eax, edi
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x50]
cvttsd2si r14d, xmm0
movsx eax, byte [0x140017004]
add eax, dword [rsp + 0x40]
movsx ecx, byte [0x140017003]
xor edx, edx
div ecx
movsx ecx, byte [section..data]
sub eax, ecx
imul eax, r14d
test eax, eax
je 0x14000645f
mov rsi, qword [rsp + 0x48]
jmp 0x140005ea0
lea rdx, str.Error:_Unable_to_query_data_availability.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140006464
lea rdx, str.Error:_Out_of_memory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14000645f
lea rdx, str.Error:_Unable_to_read_data.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001010
lea rdx, [0x140001760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call fcn.14000faec
mov rsi, qword [rsp + 0x48]
lea rcx, [rbp + 0x38]
call fcn.140004310
test rax, rax
jne 0x14000648e
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.140001c20
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140006538
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006533
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006533
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000faec
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.14000fc10
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400041c0
int3
call fcn.140004290
int3