Function at 0x180050a90
Capabilities:
Connect to http server
Create http request
Create thread
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x9a8]
sub rsp, 0xa70
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x18006a040]
xor rax, rsp
mov qword [rbp + 0x940], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x10], rdx
mov dword [rsp + 0x40], 1
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
lea ecx, [r15 + 0x60]
call fcn.180055fbc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rbp], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
lea ecx, [r15 + 0x60]
call fcn.180055fbc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rbx, [rdi + 0x20]
mov qword [rbp], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
lea ecx, [r15 + 0x60]
call fcn.180055fbc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], r15
mov qword [rdi + 0x48], 0xf
mov byte [rdi + 0x30], r15b
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], r15
mov qword [rdi + 0x68], 0xf
mov byte [rdi + 0x50], r15b
movups xmmword [rdi + 0x70], xmm0
mov qword [rdi + 0x80], r15
mov qword [rdi + 0x88], 0xf
mov byte [rdi + 0x70], r15b
movups xmmword [rdi + 0x90], xmm0
mov qword [rdi + 0xa0], r15
mov qword [rdi + 0xa8], 0xf
mov byte [rdi + 0x90], r15b
movups xmmword [rdi + 0xb0], xmm0
mov qword [rdi + 0xc0], r15
mov qword [rdi + 0xc8], 0xf
mov byte [rdi + 0xb0], r15b
mov r14d, 1
mov dword [rsp + 0x40], r14d
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x180050c06
mov rcx, qword [rcx]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 0x468], rax
test rax, rax
jne 0x180050c4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054a10
nop
mov rcx, rsi
jmp 0x180051d5b
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f8], xmm0
mov qword [rbp + 0x308], r15
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], 0
movups xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
movups xmmword [rbp + 0x368], xmm0
mov qword [rbp + 0x378], r15
mov qword [rbp + 0x380], 0xf
mov byte [rbp + 0x368], 0
movups xmmword [rbp + 0x428], xmm0
mov qword [rbp + 0x438], r15
mov qword [rbp + 0x440], r15
xor r8d, r8d
lea rdx, [0x18005da7b]
lea rcx, [rbp + 0x428]
call fcn.180009c60
nop
lea rax, [rsi + 0x110]
lea rcx, [rbp + 0x2f8]
cmp rcx, rax
je 0x180050d49
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180050cfc
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rax, qword [rbp + 0x310]
cmp rsi, rax
ja 0x180050d3a
lea rbx, [rbp + 0x2f8]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x2f8]
mov qword [rbp + 0x308], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x180050d49
mov rdx, rsi
lea rcx, [rbp + 0x2f8]
call fcn.180009ec0
lea rbx, [rbp + 0x2f8]
mov r12, qword [rbp + 0x2f8]
mov r13, qword [rbp + 0x310]
cmp r13, 0xf
cmova rbx, r12
mov rsi, qword [rbp + 0x308]
cmp rsi, 3
jb 0x180050dca
lea r15, [rbx + rsi]
lea r8, [r15 - 2]
sub r8, rbx
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180050dca
cmp byte [rax], 0x3a
jne 0x180050da5
cmp byte [rax + 1], 0x2f
jne 0x180050da5
cmp byte [rax + 2], 0x2f
jne 0x180050da5
xor ecx, ecx
jmp 0x180050daa
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180050e17
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180050d90
mov rax, qword [rbp + 0x380]
cmp rax, 5
jb 0x180051080
lea rbx, [rbp + 0x368]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x368]
mov qword [rbp + 0x378], 5
mov r8d, 5
lea rdx, str.https
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
jmp 0x180051098
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x180050dca
lea rbx, [rbp + 0x2f8]
cmp r13, 0xf
cmova rbx, r12
cmp rsi, 1
jb 0x180050e81
lea r14, [rsi + rbx]
mov r8, rsi
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180050e81
nop
cmp byte [rax], 0x3a
jne 0x180050e59
xor ecx, ecx
jmp 0x180050e5e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180050f85
inc rax
mov r8, r14
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180050e50
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3d8], xmm1
cmp rsi, rax
cmovb rax, rsi
lea rdx, [rbp + 0x2f8]
cmp r13, 0xf
cmova rdx, r12
mov r8, rax
lea rcx, [rbp + 0x3c8]
call fcn.180009c60
mov dword [rsp + 0x40], 0x101
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180050f0b
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050f06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005154b
call fcn.1800560c8
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rbp + 0x368], xmm0
movups xmm1, xmmword [rbp + 0x3d8]
movups xmmword [rbp + 0x378], xmm1
lea rsi, [rbp + 0x2f8]
mov r15, qword [rbp + 0x2f8]
mov r12, qword [rbp + 0x310]
cmp r12, 0xf
cmova rsi, r15
mov rbx, qword [rbp + 0x308]
cmp rbx, 3
jb 0x180050fb6
lea r14, [rbx + rsi]
lea r8, [r14 - 2]
sub r8, rsi
mov edx, 0x3a
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180050fb6
nop
cmp byte [rax], 0x3a
jne 0x180050f8d
cmp byte [rax + 1], 0x2f
jne 0x180050f8d
cmp byte [rax + 2], 0x2f
jne 0x180050f8d
xor ecx, ecx
jmp 0x180050f92
sub rax, rbx
jmp 0x180050e88
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180051078
inc rax
lea r8, [r14 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180050f70
mov rax, 0xffffffffffffffff
lea rcx, [rax + 3]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3d8], xmm1
cmp rbx, rcx
jb 0x180053efa
sub rbx, rcx
mov r8, 0xffffffffffffffff
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x2f8]
cmp r12, 0xf
cmova rdx, r15
add rdx, rcx
lea rcx, [rbp + 0x3c8]
call fcn.180009c60
mov r14d, 0x301
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x18005105a
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051055
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005154b
call fcn.1800560c8
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rbp + 0x2f8], xmm0
movups xmm1, xmmword [rbp + 0x3d8]
movups xmmword [rbp + 0x308], xmm1
jmp 0x180051098
sub rax, rsi
jmp 0x180050fbd
lea r9, str.https
mov edx, 5
lea rcx, [rbp + 0x368]
call fcn.180009ec0
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
mov rbx, qword [rbp + 0x378]
cmp rbx, 5
jne 0x1800510db
mov r8, rbx
lea rdx, str.https
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800510db
mov dword [rbp + 0x2f0], 0x1bb
jmp 0x18005111f
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
cmp rbx, 4
jne 0x180053d63
mov r8, rbx
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053d63
mov eax, 0x50
mov word [rbp + 0x2f0], ax
lea r15, [rbp + 0x2f8]
mov r13, qword [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r15, r13
mov rsi, qword [rbp + 0x308]
cmp rsi, 1
jb 0x180051198
lea r12, [r15 + rsi]
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180051198
nop
cmp byte [rax], 0x2f
jne 0x180051169
xor ecx, ecx
jmp 0x18005116e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x18005118f
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180051160
jmp 0x180051198
sub rax, r15
cmp rax, 0xffffffffffffffff
jne 0x180051214
lea r15, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r15, r13
cmp rsi, 1
jb 0x18005157a
lea r12, [r15 + rsi]
mov r8, r12
sub r8, r15
mov edx, 0x3f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x18005157a
cmp byte [rax], 0x3f
jne 0x1800511de
xor ecx, ecx
jmp 0x1800511e3
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180051207
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x3f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1800511d5
jmp 0x18005157a
sub rax, r15
cmp rax, 0xffffffffffffffff
je 0x18005157a
lea rax, [rbp + 0x2f8]
mov rcx, qword [rbp + 0x310]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rsi + rax - 1], 0x3f
je 0x1800514ce
lea rax, [rbp + 0x2f8]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rax + rsi - 1], 0x2f
je 0x1800514ce
lea rdx, [0x18005fc10]
lea rcx, [rbp + 0x2f8]
call fcn.180054950
lea rcx, [rbp + 0x2f8]
cmp rax, 0xffffffffffffffff
je 0x1800512bc
lea rdx, [0x18005fc10]
call fcn.180054950
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180054a90
lea rcx, [rbp + 0x320]
call fcn.1800080d0
lea rdx, [0x18005fc10]
jmp 0x180051307
lea rdx, [0x18005fb8c]
call fcn.180054950
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180054a90
lea rcx, [rbp + 0x320]
call fcn.1800080d0
lea rdx, [0x18005fb8c]
lea rcx, [rbp + 0x2f8]
call fcn.180054950
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x2f8]
call fcn.180054a90
lea rcx, [rbp + 0x320]
call fcn.1800080d0
lea rdx, [0x18005fc10]
lea rcx, [rbp + 0x388]
call fcn.180054850
lea rcx, [rbp + 0x388]
cmp rax, 0xffffffffffffffff
je 0x18005140e
lea rdx, [0x18005fc10]
call fcn.180054850
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.1800547f0
lea rdx, [0x18005fba0]
mov rcx, rax
call fcn.180054950
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.1800080d0
cmp rbx, 0xffffffffffffffff
je 0x180051573
lea rdx, [0x18005fc10]
lea rcx, [rbp + 0x388]
call fcn.180054850
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180054a90
lea rcx, [rbp + 0x320]
call fcn.1800080d0
jmp 0x180051573
lea rdx, [0x18005fb8c]
call fcn.180054850
cmp rax, 0xffffffffffffffff
je 0x180051573
lea rdx, [0x18005fb8c]
lea rcx, [rbp + 0x388]
call fcn.180054850
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.1800547f0
lea rdx, [0x18005fba0]
mov rcx, rax
call fcn.180054950
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.1800080d0
cmp rbx, 0xffffffffffffffff
je 0x180051573
lea rdx, [0x18005fb8c]
lea rcx, [rbp + 0x388]
call fcn.180054850
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180054a90
lea rcx, [rbp + 0x320]
call fcn.1800080d0
jmp 0x180051573
lea r8, [rsi - 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3d8], xmm1
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp + 0x2f8]
cmp rcx, 0xf
cmova rdx, r13
lea rcx, [rbp + 0x3c8]
call fcn.180009c60
bts r14d, 0xa
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180051557
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rbp + 0x2f8], xmm0
movups xmm1, xmmword [rbp + 0x3d8]
movups xmmword [rbp + 0x308], xmm1
mov rbx, qword [rbp + 0x378]
mov r13, qword [rsp + 0x48]
lea rsi, [r13 + 0x30]
mov rcx, rsi
mov r12, qword [rsi + 0x18]
cmp r12, 0xf
jbe 0x180051593
mov rcx, qword [rsi]
mov r15, qword [rsi + 0x10]
test r15, r15
jne 0x1800515af
mov r8, r15
lea rdx, [0x18005da7b]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800515d1
cmp r12, 0xf
jbe 0x1800515b8
mov rsi, qword [rsi]
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x388]
call fcn.1800090b0
mov rbx, qword [rbp + 0x378]
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 3
jb 0x180053f00
lea r9, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova r9, qword [rbp + 0x368]
mov qword [rsp + 0x30], 3
lea rax, [0x18005fbc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rbp + 0x3c8]
call fcn.180055790
bts r14d, 7
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova rdx, qword [rbp + 0x2f8]
mov r8, qword [rbp + 0x308]
lea rcx, [rbp + 0x3c8]
call fcn.1800090b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x4b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x4c0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x4b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x4c0], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
or r14d, 0x40
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x388]
cmp qword [rbp + 0x3a0], 0xf
cmova rdx, qword [rbp + 0x388]
mov r8, qword [rbp + 0x398]
lea rcx, [rbp + 0x4b0]
call fcn.1800090b0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x30], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm7
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
or r14d, 0x20
mov dword [rsp + 0x40], r14d
lea rbx, [rdi + 0x30]
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x18005174f
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180051732
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005172d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180051781
mov rcx, r8
call fcn.1800560c8
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov edx, 0xf
mov byte [rbp - 0x30], 0
jmp 0x180051753
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18005178e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
nop
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0xf
jbe 0x1800517d2
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800517cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800517cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
movdqa xmm0, xmmword [0x180060490]
movdqu xmmword [rbp + 0x4c0], xmm0
mov byte [rbp + 0x4b0], 0
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x18005182d
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
lea rbx, [r13 + 0x90]
mov rcx, rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x180051844
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 2
jne 0x1800518ca
lea rdx, [0x18005fc14]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800518ca
lea rax, [rbp + 0x428]
cmp rbx, rax
je 0x1800518ca
lea r9, [rbp + 0x428]
mov rsi, qword [rbp + 0x428]
mov r15, qword [rbp + 0x440]
cmp r15, 0xf
cmova r9, rsi
mov r12, qword [rbp + 0x438]
cmp r12, r13
ja 0x1800518bc
mov r13, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800518a0
mov r13, qword [rbx]
mov qword [rbx + 0x10], r12
mov r8, r12
mov rdx, r9
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov byte [r12 + r13], 0
xor r12d, r12d
jmp 0x1800518d8
mov rdx, r12
mov rcx, rbx
call fcn.180009ec0
xor r12d, r12d
mov rsi, qword [rbp + 0x428]
mov r15, qword [rbp + 0x440]
cmp dword [0x18006c460], 0
jne 0x18005192e
lea rdx, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova rdx, qword [rbp + 0x2f8]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, dword [rbp + 0x2f0]
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
jmp 0x180051be7
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x320], xmm0
movups xmmword [rbp + 0x330], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x340], xmm1
xor r8d, r8d
lea rdx, [0x18005da7b]
lea rcx, [rbp + 0x330]
call fcn.180009c60
mov word [rbp + 0x350], r12w
mov dword [rbp + 0x354], r12d
mov r13, qword [rbp + 0x468]
mov qword [rbp + 0x320], r13
lea r9, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r9, qword [rbp + 0x2f8]
mov r12, qword [rbp + 0x308]
mov rax, qword [rbp + 0x348]
cmp r12, rax
ja 0x1800519d7
lea rbx, [rbp + 0x330]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x330]
mov qword [rbp + 0x340], r12
mov r8, r12
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r12], 0
jmp 0x1800519e6
mov rdx, r12
lea rcx, [rbp + 0x330]
call fcn.180009ec0
mov eax, dword [rbp + 0x2f0]
mov word [rbp + 0x350], ax
mov dword [rbp + 0x354], 3
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x320]
lea r8, [0x180053fc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180051ae6
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x24
jb 0x180051a61
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x24
lea r8d, [r12 + 0x24]
lea rdx, str.Could_not_create_thread_for_timeout.
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x24], r12b
jmp 0x180051a73
lea r9, str.Could_not_create_thread_for_timeout.
mov edx, 0x24
call fcn.180009ec0
nop
lea rcx, [rbp + 0x320]
call fcn.180053f50
nop
cmp r15, 0xf
jbe 0x180051abb
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180051ab2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051ab2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800560c8
nop
lea rcx, [rbp + 0x368]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x388]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x2f8]
call fcn.1800080d0
jmp 0x180051d56
mov edx, dword [0x18006c460]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180051b8a
lea rdx, str.Can_not_connect_to_server_in
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800052c0
mov rcx, rax
mov edx, dword [0x18006c460]
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, str._milliseconds
call fcn.1800052c0
mov rcx, rax
lea rdx, [0x180005490]
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, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, str.InternetConnect_Thread_has_exited
lea rcx, [rdi + 0xb0]
call fcn.180054a10
nop
lea rcx, [rbp + 0x320]
call fcn.180053f50
nop
lea rcx, [rbp + 0x428]
call fcn.1800080d0
jmp 0x180051abb
mov dword [rbp + 0x360], r12d
lea rdx, [rbp + 0x360]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180051bb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x180051b5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x360], r12d
je 0x180051bd4
lea rdx, str.Worker_function_failed
jmp 0x180051b5f
mov r12, qword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180053f50
test r12, r12
jne 0x180051d97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054a10
nop
cmp r15, 0xf
jbe 0x180051c47
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180051c3e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053de1
mov rcx, rsi
call fcn.1800560c8
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180051c88
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051c83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053e26
call fcn.1800560c8
xor ebx, ebx
mov qword [rbp + 0x378], rbx
mov qword [rbp + 0x380], 0xf
mov byte [rbp + 0x368], bl
mov rdx, qword [rbp + 0x3a0]
cmp rdx, 0xf
jbe 0x180051ce3
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051cde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053e84
call fcn.1800560c8
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180051d3d
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053eed
call fcn.1800560c8
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], 0
mov rcx, qword [rsp + 0x48]
call fcn.180005e00
mov rax, rdi
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.180055c00
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r13, qword [rsp + 0x48]
lea rdx, [r13 + 0xd0]
cmp qword [r13 + 0xe8], 0xf
jbe 0x180051db4
mov rdx, qword [r13 + 0xd0]
lea r8, [rbp + 0x388]
cmp qword [rbp + 0x3a0], 0xf
cmova r8, qword [rbp + 0x388]
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r12, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x180051e59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054a10
nop
lea rcx, [rbp + 0x428]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x368]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x388]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x2f8]
call fcn.1800080d0
nop
mov rcx, r13
jmp 0x180051d5b
lea rdx, str.POST
lea rcx, [r13 + 0xd0]
call fcn.180009370
test al, al
je 0x180051f61
lea rdx, [0x18005fb90]
lea rcx, [rbp + 0x3a8]
call fcn.180008a20
nop
or r14d, 2
mov dword [rsp + 0x40], r14d
mov rbx, qword [r13 + 0x130]
lea r8, [rbp + 0x3a8]
lea rdx, [rbp]
lea rcx, [r13 + 0x130]
call fcn.180054710
cmp qword [rax], rbx
jne 0x180051efa
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.180008a20
or r14d, 4
mov dword [rsp + 0x40], r14d
mov rbx, qword [r13 + 0x130]
lea r8, [rbp + 0x3c8]
lea rdx, [rbp + 0x4f0]
lea rcx, [r13 + 0x130]
call fcn.180054710
cmp qword [rax], rbx
jne 0x180051efa
mov bl, 1
jmp 0x180051efc
xor bl, bl
test r14b, 4
je 0x180051f18
and r14d, 0xfffffffb
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.1800080d0
nop
test r14b, 2
je 0x180051f33
and r14d, 0xfffffffd
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.1800080d0
test bl, bl
je 0x180051f61
lea rcx, [rsp + 0x70]
call fcn.180055050
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180054ba0
nop
lea rcx, [rsp + 0x70]
call fcn.180005bd0
lea rcx, [r13 + 0xd0]
lea rdx, [0x18005fb60]
call fcn.180009370
test al, al
je 0x180052069
lea rdx, [0x18005fb90]
lea rcx, [rbp + 0x3a8]
call fcn.180008a20
nop
or r14d, 8
mov dword [rsp + 0x40], r14d
mov rbx, qword [r13 + 0x130]
lea r8, [rbp + 0x3a8]
lea rdx, [rbp]
lea rcx, [r13 + 0x130]
call fcn.180054710
cmp qword [rax], rbx
jne 0x180052002
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.180008a20
or r14d, 0x10
mov dword [rsp + 0x40], r14d
mov rbx, qword [r13 + 0x130]
lea r8, [rbp + 0x3c8]
lea rdx, [rbp + 0x4f0]
lea rcx, [r13 + 0x130]
call fcn.180054710
cmp qword [rax], rbx
jne 0x180052002
mov bl, 1
jmp 0x180052004
xor bl, bl
test r14b, 0x10
je 0x180052020
and r14d, 0xffffffef
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.1800080d0
nop
test r14b, 8
je 0x18005203b
and r14d, 0xfffffff7
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.1800080d0
test bl, bl
je 0x180052069
lea rcx, [rsp + 0x70]
call fcn.1800550c0
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180054ba0
nop
lea rcx, [rsp + 0x70]
call fcn.180005bd0
lea rdx, [0x18005da7b]
lea rcx, [rbp + 0x490]
call fcn.180008a20
nop
mov rax, qword [r13 + 0x130]
mov rax, qword [rax]
mov qword [rbp + 0x4f8], rax
cmp byte [rax + 0x19], 0
jne 0x180052334
movabs rsi, 0x7fffffffffffffff
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x320]
call fcn.180008a60
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x340]
call fcn.180008a60
nop
cmp qword [rbp + 0x338], 0xf
seta r8b
mov rdx, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x330]
test rcx, rcx
jne 0x1800520ea
xor al, al
jmp 0x1800520ec
mov al, 1
test al, al
je 0x18005230b
mov rax, rsi
sub rax, rcx
cmp rax, 1
jb 0x180053f06
lea r9, [rbp + 0x320]
test r8b, r8b
cmovne r9, rdx
mov qword [rsp + 0x30], 1
lea rax, [0x18005fbac]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x3a8]
call fcn.180055790
bts r14d, 0xd
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x340]
cmp qword [rbp + 0x358], 0xf
cmova rdx, qword [rbp + 0x340]
mov r8, qword [rbp + 0x350]
lea rcx, [rbp + 0x3a8]
call fcn.1800090b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x470], xmm0
mov qword [rbp + 0x480], r15
mov qword [rbp + 0x488], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x470], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x480], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0xe
mov dword [rsp + 0x40], r14d
mov r8d, 2
lea rdx, [0x18005ef80]
lea rcx, [rbp + 0x470]
call fcn.1800090b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x3c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3d8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0xf
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x3c8]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x490]
call fcn.1800090b0
nop
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x18005226f
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052269
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800523e8
call fcn.1800560c8
nop
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x1800522b0
inc rdx
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800522ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800523ef
call fcn.1800560c8
mov qword [rbp + 0x480], r15
mov qword [rbp + 0x488], 0xf
mov byte [rbp + 0x470], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x18005230b
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800523f6
call fcn.1800560c8
nop
lea rcx, [rbp + 0x320]
call fcn.180005bd0
lea rcx, [rbp + 0x4f8]
call fcn.180009300
mov rax, qword [rbp + 0x4f8]
cmp byte [rax + 0x19], 0
je 0x1800520a2
lea rcx, [rbp + 0x490]
mov rbx, qword [rbp + 0x490]
mov r15, qword [rbp + 0x4a8]
cmp r15, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x4a0]
test r8, r8
jne 0x18005236d
lea rdx, [0x18005da7b]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180052394
mov r8d, 4
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x490]
call fcn.1800090b0
mov r15, qword [rbp + 0x4a8]
mov rbx, qword [rbp + 0x490]
mov esi, 0xffffffff
cmp dword [0x18006c464], 0
jne 0x1800523fd
lea r9, [0x18006c370]
cmp qword [0x18006c388], 0xf
cmova r9, qword [0x18006c370]
lea rdx, [rbp + 0x490]
cmp r15, 0xf
cmova rdx, rbx
mov eax, dword [0x18006c380]
mov dword [rsp + 0x20], eax
mov r8d, esi
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov ebx, eax
xor r12d, r12d
jmp 0x1800525e3
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
xor eax, eax
mov qword [rbp + 0x320], rax
mov dword [rbp + 0x328], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x330], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x340], xmm1
xor r8d, r8d
lea rdx, [0x18005da7b]
lea rcx, [rbp + 0x330]
call fcn.180009c60
nop
mov qword [rbp + 0x320], r12
lea r9, [rbp + 0x490]
cmp qword [rbp + 0x4a8], 0xf
cmova r9, qword [rbp + 0x490]
mov r15, qword [rbp + 0x4a0]
mov rax, qword [rbp + 0x348]
cmp r15, rax
ja 0x180052498
lea rbx, [rbp + 0x330]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x330]
mov qword [rbp + 0x340], r15
mov r8, r15
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r15], 0
jmp 0x1800524a7
mov rdx, r15
lea rcx, [rbp + 0x330]
call fcn.180009ec0
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x320]
lea r8, [0x180054020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180052506
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rdi + 0xb0]
call fcn.180054a10
nop
lea rcx, [rbp + 0x320]
call fcn.180053f50
nop
lea rcx, [rbp + 0x490]
call fcn.1800080d0
jmp 0x180051e1d
mov edx, dword [0x18006c464]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180052581
lea rdx, str.Can_not_send_request_to_server_in
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800052c0
mov rcx, rax
mov edx, dword [0x18006c464]
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, str._milliseconds
call fcn.1800052c0
mov rcx, rax
lea rdx, [0x180005490]
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, qword [rbp + 0x468]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, str.InternetConnect_Thread_has_exited
jmp 0x1800524db
mov dword [rbp + 0x2f0], r12d
lea rdx, [rbp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1800525b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x1800524db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x2f0], r12d
je 0x1800525d1
lea rdx, str.Worker_function_failed
jmp 0x1800524db
mov ebx, dword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180053f50
test ebx, ebx
jne 0x18005260a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpSendRequest_failed_with_error_code
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054a10
jmp 0x1800524f5
lea rcx, [rbp + 0x470]
call fcn.180008b80
nop
mov r15, r12
cmp qword [r13 + 0xa0], 0
je 0x18005268b
lea rcx, [r13 + 0x90]
call fcn.180008980
mov rbx, rax
mov qword [rbp], r12
lea r8, [0x18005fda8]
mov rdx, rax
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x18005265d
mov rcx, qword [rbp]
test rcx, rcx
je 0x18005265d
mov r15, rcx
jmp 0x18005268b
lea rdx, str.Error_opening_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1800052c0
mov rcx, rax
mov rdx, rbx
call fcn.1800052c0
mov rcx, rax
lea rdx, [0x180005490]
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 dword [rbp + 0x2f0], esi
mov rdi, qword [rsp + 0x50]
test esi, esi
je 0x180052764
lea r9, [rbp + 0x2f0]
mov r8d, 0x400
lea rdx, [rbp + 0x540]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r12d, eax
test r15, r15
je 0x1800526e1
mov r8d, dword [rbp + 0x2f0]
mov r9, r15
mov edx, 1
lea rcx, [rbp + 0x540]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180052754
mov esi, dword [rbp + 0x2f0]
mov rcx, qword [rbp + 0x480]
mov rdx, qword [rbp + 0x488]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180052739
lea rax, [rsi + rcx]
mov qword [rbp + 0x480], rax
lea rbx, [rbp + 0x470]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x470]
add rbx, rcx
mov r8d, esi
lea rdx, [rbp + 0x540]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x180052754
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x540]
mov rdx, rsi
lea rcx, [rbp + 0x470]
call fcn.18000a000
test r12d, r12d
je 0x180052764
mov esi, dword [rbp + 0x2f0]
jmp 0x180052696
test r15, r15
mov rdi, qword [rsp + 0x68]
je 0x180052780
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rbp + 0x448]
call fcn.180008b80
nop
xor r12d, r12d
mov dword [rbp + 0x360], r12d
mov rsi, qword [rsp + 0x50]
nop dword [rax]
lea r8, [rbp + 0x448]
cmp qword [rbp + 0x460], 0xf
cmova r8, qword [rbp + 0x448]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x360]
mov edx, 0x16
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x180052894
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x180052cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180052cd0
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x458]
cmp rcx, rdx
ja 0x180052832
mov qword [rbp + 0x458], rcx
lea rax, [rbp + 0x448]
cmp qword [rbp + 0x460], 0xf
cmova rax, qword [rbp + 0x448]
mov byte [rax + rcx], r12b
jmp 0x1800527a0
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x460]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x18005287d
mov qword [rbp + 0x458], rcx
lea rbx, [rbp + 0x448]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x448]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], r12b
jmp 0x180052797
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x448]
call fcn.180055410
jmp 0x180052797
lea rcx, [rbp + 0x448]
call fcn.180054e40
test al, al
je 0x180052cd0
lea rdx, [0x18005f000]
lea rcx, [rbp + 0x3a8]
call fcn.180008a20
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008b80
nop
lea rcx, [rbp + 0x4b0]
call fcn.180008b80
nop
mov r13, qword [rbp + 0x3b8]
mov rbx, qword [rbp + 0x458]
nop dword [rax]
nop dword [rax + rax]
lea r9, [rbp + 0x3a8]
cmp qword [rbp + 0x3c0], 0xf
cmova r9, qword [rbp + 0x3a8]
lea rcx, [rbp + 0x448]
cmp qword [rbp + 0x460], 0xf
cmova rcx, qword [rbp + 0x448]
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.180055350
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180052ca5
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x448]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.180054a90
lea rcx, [rbp + 0x4d0]
call fcn.1800080d0
lea rbx, [0x18005fbac]
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.180054950
cmp rax, 0xffffffffffffffff
je 0x180052c59
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.180054950
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x3e8]
call fcn.1800547f0
mov rdx, rax
lea rcx, [rbp + 0x4b0]
call fcn.180054a90
lea rcx, [rbp + 0x4d0]
call fcn.1800080d0
lea rcx, [rbp + 0x4b0]
call fcn.1800549b0
mov rsi, rax
lea rcx, [rbp + 0x4b0]
call fcn.180008980
mov rbx, rax
cmp rax, rsi
je 0x180052a05
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x1800529f2
lea rcx, [rbp + 0x4b0]
cmp qword [rbp + 0x4c8], 0xf
cmova rcx, qword [rbp + 0x4b0]
cmp qword [rbp + 0x4c0], 0xa
jne 0x180052af3
mov r8d, 0xa
lea rdx, str.set_cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180052af3
lea rdx, [0x18005fbac]
lea rcx, [rbp + 0x3e8]
call fcn.180054950
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.1800547f0
nop
lea r8, [0x18005fbc8]
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x4d0]
call fcn.180054e80
nop
lea r8, [rbp + 0x2f8]
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180054fe0
nop
lea rcx, [rbp + 0x4d0]
call fcn.1800080d0
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.180054990
mov r8, rax
lea rcx, [rbp + 0x520]
call fcn.180054990
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetCookieA]
lea rcx, [rbp + 0x520]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
lea rcx, [rbp + 0x3e8]
cmp qword [rbp + 0x400], 0xf
seta r12b
mov rsi, qword [rbp + 0x3e8]
cmova rcx, rsi
mov qword [rsp + 0x20], 1
lea r9, [0x18005fbac]
mov rbx, qword [rbp + 0x3f8]
mov rdx, rbx
call fcn.180055350
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x4d0], xmm0
xor eax, eax
mov qword [rbp + 0x4e0], rax
mov qword [rbp + 0x4e8], rax
cmp rbx, rcx
jb 0x180053ef4
sub rbx, rcx
mov r8, 0xffffffffffffffff
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x3e8]
test r12b, r12b
cmovne rdx, rsi
add rdx, rcx
lea rcx, [rbp + 0x4d0]
call fcn.180009c60
bts r14d, 0xc
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x70]
call fcn.180008a60
movups xmm1, xmmword [rbp + 0x4d0]
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rbp + 0x4e0]
movaps xmmword [rbp - 0x60], xmm0
xor r12d, r12d
mov qword [rbp + 0x4e0], r12
mov qword [rbp + 0x4e8], 0xf
mov byte [rbp + 0x4d0], r12b
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.180055a20
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180052c20
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052c1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052c9e
call fcn.1800560c8
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180052c59
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052c53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052c9e
call fcn.1800560c8
nop
lea rax, [r15 + r13]
mov rbx, qword [rbp + 0x458]
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x448]
cmp qword [rbp + 0x460], 0xf
cmova rcx, qword [rbp + 0x448]
sub rbx, rax
lea r8, [rbx + 1]
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x458], rbx
jmp 0x1800528f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x4b0]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x3e8]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x3a8]
call fcn.1800080d0
mov rsi, qword [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x408], xmm0
mov qword [rbp + 0x418], r12
mov qword [rbp + 0x420], 0xf
mov byte [rbp + 0x408], 0
mov dword [rbp + 0x360], r12d
nop word [rax + rax]
lea r8, [rbp + 0x408]
cmp qword [rbp + 0x420], 0xf
cmova r8, qword [rbp + 0x408]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x360]
mov edx, 0x80000016
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x180052dfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x1800530fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800530fc
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x418]
cmp rcx, rdx
ja 0x180052d92
mov qword [rbp + 0x418], rcx
lea rax, [rbp + 0x408]
cmp qword [rbp + 0x420], 0xf
cmova rax, qword [rbp + 0x408]
mov byte [rax + rcx], 0
jmp 0x180052d00
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x420]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x180052de2
mov qword [rbp + 0x418], rcx
lea rbx, [rbp + 0x408]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x408]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
mov rsi, qword [rsp + 0x50]
jmp 0x180052d00
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x408]
call fcn.180055410
mov rsi, qword [rsp + 0x50]
jmp 0x180052d00
lea rcx, [rbp + 0x408]
call fcn.180054e40
test al, al
je 0x1800530fc
lea rdx, [0x18005f000]
lea rcx, [rbp + 0x4d0]
call fcn.180008a20
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008b80
nop
mov r13, qword [rbp + 0x4e0]
mov rbx, qword [rbp + 0x418]
lea r9, [rbp + 0x4d0]
cmp qword [rbp + 0x4e8], 0xf
cmova r9, qword [rbp + 0x4d0]
lea rcx, [rbp + 0x408]
cmp qword [rbp + 0x420], 0xf
seta r12b
mov r15, qword [rbp + 0x408]
cmova rcx, r15
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.180055350
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800530db
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a8], xmm0
xor eax, eax
mov qword [rbp + 0x3b8], rax
mov qword [rbp + 0x3c0], rax
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
lea rdx, [rbp + 0x408]
test r12b, r12b
cmovne rdx, r15
lea rcx, [rbp + 0x3a8]
call fcn.180009c60
bts r14d, 0xb
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x400]
cmp rdx, 0xf
jbe 0x180052f19
inc rdx
mov rcx, qword [rbp + 0x3e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052f14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800530d4
call fcn.1800560c8
movups xmm0, xmmword [rbp + 0x3a8]
movups xmmword [rbp + 0x3e8], xmm0
movups xmm1, xmmword [rbp + 0x3b8]
movups xmmword [rbp + 0x3f8], xmm1
lea rcx, [rbp + 0x3e8]
movq rdx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rcx, rdx
mov qword [rsp + 0x20], 1
lea r15, [0x18005fbac]
mov r9, r15
movq rdx, xmm1
call fcn.180055350
cmp rax, 0xffffffffffffffff
je 0x18005308f
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180054950
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x3e8]
call fcn.1800547f0
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180054950
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x3a8]
lea rcx, [rbp + 0x3e8]
call fcn.1800547f0
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180054950
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x520]
lea rcx, [rbp + 0x3e8]
call fcn.1800547f0
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180054950
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.1800547f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180055130
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rdi + 0x10]
call fcn.180054ba0
nop
lea rcx, [rsp + 0x70]
call fcn.180005bd0
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x520]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x3a8]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x4b0]
call fcn.1800080d0
lea rax, [rsi + r13]
mov rbx, qword [rbp + 0x418]
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x408]
cmp qword [rbp + 0x420], 0xf
cmova rcx, qword [rbp + 0x408]
sub rbx, rax
lea r8, [rbx + 1]
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x418], rbx
jmp 0x180052e41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x3e8]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x4d0]
call fcn.1800080d0
mov rsi, qword [rsp + 0x50]
xor r12d, r12d
mov dword [rbp + 8], r12d
mov dword [rbp + 0x4f8], 4
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x4f8]
lea r8, [rbp + 8]
mov edx, 0x20000013
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180053156
mov edx, dword [rbp + 8]
lea rcx, [rbp + 0x320]
call fcn.18004fe20
lea rcx, [rdi + 0x90]
mov rdx, rax
call fcn.180054a90
lea rcx, [rbp + 0x320]
call fcn.1800080d0
xor edx, edx
mov r8d, 0x2cc
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x468], 0x2cc
lea r9, [rbp + 0x468]
lea r8, [rbp + 0x20]
mov edx, 0x42
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
mov eax, dword [rbp + 0x28]
cmp eax, 0x40
ja 0x180053351
je 0x180053318
dec eax
cmp eax, 0x1f
ja case.0x1800531c0.7
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x53f28]
mov ecx, dword [rdx + rax*4 + 0x53f0c]
add rcx, rdx
jmp rcx
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_client_side.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_server_side.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_client_side._Superseded_by_SP_PROT_TLS1_CLIENT.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_server_side._Superseded_by_SP_PROT_TLS1_SERVER.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_client_side._Obsolete.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_server_side._Obsolete.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_server_side
call fcn.180054a10
nop
jmp 0x180053496
cmp eax, 0x80
je 0x180053462
cmp eax, 0x100
je 0x18005342c
cmp eax, 0x200
je 0x1800533f6
cmp eax, 0x400
je 0x1800533bd
cmp eax, 0x800
jne case.0x1800531c0.7
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_client_side
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_server_side.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_client_side
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_server_side.
call fcn.180054a10
nop
jmp 0x180053496
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_client_side
call fcn.180054a10
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
mov eax, dword [rbp + 0x2c]
cmp eax, 0x6603
ja 0x1800535b2
je 0x180053579
test eax, eax
je 0x180053540
sub eax, 0x6601
je 0x180053507
cmp eax, 1
jne 0x180053679
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.RC2_block_encryption_algorithm
call fcn.180054a10
nop
jmp 0x18005366d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.DES_encryption_algorithm
call fcn.180054a10
nop
jmp 0x18005366d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.No_encryption
call fcn.180054a10
nop
jmp 0x18005366d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.3DES_block_encryption_algorithm
call fcn.180054a10
nop
jmp 0x18005366d
sub eax, 0x660e
je 0x180053639
sub eax, 2
je 0x180053603
cmp eax, 0x1f1
jne 0x180053679
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.RC4_stream_encryption_algorithm
call fcn.180054a10
nop
jmp 0x18005366d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.AES_256_bit_encryption_algorithm
call fcn.180054a10
nop
jmp 0x18005366d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.AES_128_bit_encryption_algorithm
call fcn.180054a10
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3b8], xmm1
mov r8d, 0xf
lea rdx, str.cipher_strength
lea rcx, [rbp + 0x3a8]
call fcn.180009c60
nop
lea r9, [rbp + 0x3fd]
mov r8d, dword [rbp + 0x30]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1800536c0
lea r8, [rbp + 0x3fd]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.18000e190
or r14d, 0x30000
mov dword [rsp + 0x40], r14d
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180055190
mov rbx, qword [rax]
add rbx, 0x40
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x18005378d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180053764
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005375f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180053786
mov rcx, r8
call fcn.1800560c8
mov qword [rbx + 0x18], 0xf
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x50], 0
jmp 0x180053791
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1800537cc
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800537c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800537c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
nop
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180053810
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005380b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005380b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
mov eax, dword [rbp + 0x34]
sub eax, 0x8003
je 0x180053855
cmp eax, 1
jne 0x180053895
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.SHA_hashing_algorithm
call fcn.180054a10
nop
jmp 0x180053889
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.MD5_hashing_algorithm
call fcn.180054a10
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3b8], xmm1
mov r8d, 4
lea rdx, str.hash
lea rcx, [rbp + 0x3a8]
call fcn.180009c60
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180055190
mov rdx, qword [rax]
lea rcx, [rdx + 0x40]
cmp qword [rdx + 0x58], 0xf
jbe 0x1800538eb
mov rcx, qword [rdx + 0x40]
mov r8, qword [rdx + 0x50]
test r8, r8
jne 0x180053908
lea rdx, [0x18005da7b]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053908
xor bl, bl
jmp 0x18005390a
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x18005394e
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053949
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
test bl, bl
je 0x1800539ad
lea rdx, str.hash_strength
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
mov edx, dword [rbp + 0x38]
lea rcx, [rbp + 0x520]
call fcn.18004fe20
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
mov rdx, rbx
call fcn.180054a90
nop
lea rcx, [rbp + 0x520]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
mov eax, dword [rbp + 0x3c]
cmp eax, 0xa400
je 0x1800539f4
cmp eax, 0xaa02
jne 0x180053a34
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.Diffie_Hellman_key_exchange
call fcn.180054a10
nop
jmp 0x180053a28
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, str.RSA_key_exchange
call fcn.180054a10
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3b8], xmm1
mov r8d, 8
lea rdx, str.key_exch
lea rcx, [rbp + 0x3a8]
call fcn.180009c60
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180055190
mov r8, qword [rax]
lea rcx, [r8 + 0x40]
cmp qword [r8 + 0x58], 0xf
jbe 0x180053a8a
mov rcx, qword [r8 + 0x40]
mov r8, qword [r8 + 0x50]
test r8, r8
jne 0x180053aa7
lea rdx, [0x18005da7b]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053aa7
xor bl, bl
jmp 0x180053aa9
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180053aed
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053ae8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053ae8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
test bl, bl
je 0x180053b4c
lea rdx, str.key_exch_strength
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
mov edx, dword [rbp + 0x40]
lea rcx, [rbp + 0x520]
call fcn.18004fe20
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
mov rdx, rbx
call fcn.180054a90
nop
lea rcx, [rbp + 0x520]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x500], xmm0
mov qword [rbp + 0x510], r12
mov qword [rbp + 0x518], 0xf
mov byte [rbp + 0x500], 0
mov dword [rbp + 0x4f0], 0x800
mov edx, 0x800
mov r9d, edx
lea rcx, [rbp + 0x500]
call fcn.180055410
lea r8, [rbp + 0x500]
cmp qword [rbp + 0x518], 0xf
cmova r8, qword [rbp + 0x500]
lea r9, [rbp + 0x4f0]
mov edx, 0x23
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
jne 0x180053c21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetQueryOption_failed
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054a10
nop
lea rcx, [rbp + 0x500]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x408]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x448]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x470]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x490]
call fcn.1800080d0
jmp 0x180051b79
lea rdx, str.certificate
lea rcx, [rbp + 0x320]
call fcn.180008a20
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.1800546f0
mov rcx, rax
lea rdx, [rbp + 0x500]
call fcn.180008990
nop
lea rcx, [rbp + 0x320]
call fcn.1800080d0
lea rcx, [rdi + 0x50]
lea rdx, [rbp + 0x470]
call fcn.180008990
mov r9d, 0xe
xor r8d, r8d
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x470]
call fcn.1800547f0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x3c8]
call fcn.1800549f0
mov r9, rax
lea rdx, [rbp]
lea rcx, [rbp + 0x3c8]
call fcn.1800549d0
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x3c8]
call fcn.1800549f0
mov rcx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rcx
mov r9, qword [r9]
mov r8, qword [r8]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.180054b40
lea rdx, str.__doctype_html
lea rcx, [rbp + 0x3c8]
call fcn.180009370
test al, al
je 0x180053d38
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x320]
call fcn.180008a60
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180054090
lea rcx, [rdi + 0x70]
mov rdx, rax
call fcn.180054a90
lea rcx, [rbp + 0x520]
call fcn.1800080d0
jmp 0x180053d45
lea rdx, [rdi + 0x50]
lea rcx, [rdi + 0x70]
call fcn.180008990
lea rcx, [0x18006c320]
call fcn.18004fea0
nop
lea rcx, [rbp + 0x3c8]
call fcn.1800080d0
jmp 0x180053bdc
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x2d
jb 0x180053d97
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x2d
mov r8d, 0x2d
lea rdx, str.Error:_URL_input_has_scheme_other_than_HTTP_S
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x2d], 0
jmp 0x180053da9
lea r9, str.Error:_URL_input_has_scheme_other_than_HTTP_S
mov edx, 0x2d
call fcn.180009ec0
nop
mov rdx, qword [rbp + 0x440]
cmp rdx, 0xf
jbe 0x180053dee
inc rdx
mov rcx, qword [rbp + 0x428]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053de8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180053e32
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053e2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053e2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
xor ebx, ebx
mov qword [rbp + 0x378], rbx
mov qword [rbp + 0x380], 0xf
mov byte [rbp + 0x368], bl
mov rdx, qword [rbp + 0x3a0]
cmp rdx, 0xf
jbe 0x180053e90
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053e8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053e8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800560c8
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180051d3d
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051d38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180054b20
nop
call fcn.180054b20
int3
call fcn.180005ac0
nop
call fcn.180005ac0
int3