Function at 0x180050a10
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.180055f3c
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.180055f3c
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.180055f3c
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 0x180050b86
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 0x180050bcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054990
nop
mov rcx, rsi
jmp 0x180051cdb
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, [0x18005da83]
lea rcx, [rbp + 0x428]
call fcn.180009be0
nop
lea rax, [rsi + 0x110]
lea rcx, [rbp + 0x2f8]
cmp rcx, rax
je 0x180050cc9
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180050c7c
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rax, qword [rbp + 0x310]
cmp rsi, rax
ja 0x180050cba
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 0x180050cc9
mov rdx, rsi
lea rcx, [rbp + 0x2f8]
call fcn.180009e40
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 0x180050d4a
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 0x180050d4a
cmp byte [rax], 0x3a
jne 0x180050d25
cmp byte [rax + 1], 0x2f
jne 0x180050d25
cmp byte [rax + 2], 0x2f
jne 0x180050d25
xor ecx, ecx
jmp 0x180050d2a
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180050d97
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180050d10
mov rax, qword [rbp + 0x380]
cmp rax, 5
jb 0x180051000
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 0x180051018
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x180050d4a
lea rbx, [rbp + 0x2f8]
cmp r13, 0xf
cmova rbx, r12
cmp rsi, 1
jb 0x180050e01
lea r14, [rsi + rbx]
mov r8, rsi
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180050e01
nop
cmp byte [rax], 0x3a
jne 0x180050dd9
xor ecx, ecx
jmp 0x180050dde
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180050f05
inc rax
mov r8, r14
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180050dd0
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.180009be0
mov dword [rsp + 0x40], 0x101
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180050e8b
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050e86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800514cb
call fcn.180056048
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 0x180050f36
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 0x180050f36
nop
cmp byte [rax], 0x3a
jne 0x180050f0d
cmp byte [rax + 1], 0x2f
jne 0x180050f0d
cmp byte [rax + 2], 0x2f
jne 0x180050f0d
xor ecx, ecx
jmp 0x180050f12
sub rax, rbx
jmp 0x180050e08
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180050ff8
inc rax
lea r8, [r14 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180050ef0
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 0x180053e7a
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.180009be0
mov r14d, 0x301
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180050fda
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050fd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800514cb
call fcn.180056048
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rbp + 0x2f8], xmm0
movups xmm1, xmmword [rbp + 0x3d8]
movups xmmword [rbp + 0x308], xmm1
jmp 0x180051018
sub rax, rsi
jmp 0x180050f3d
lea r9, str.https
mov edx, 5
lea rcx, [rbp + 0x368]
call fcn.180009e40
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
mov rbx, qword [rbp + 0x378]
cmp rbx, 5
jne 0x18005105b
mov r8, rbx
lea rdx, str.https
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005105b
mov dword [rbp + 0x2f0], 0x1bb
jmp 0x18005109f
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
cmp rbx, 4
jne 0x180053ce3
mov r8, rbx
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053ce3
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 0x180051118
lea r12, [r15 + rsi]
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180051118
nop
cmp byte [rax], 0x2f
jne 0x1800510e9
xor ecx, ecx
jmp 0x1800510ee
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x18005110f
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1800510e0
jmp 0x180051118
sub rax, r15
cmp rax, 0xffffffffffffffff
jne 0x180051194
lea r15, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r15, r13
cmp rsi, 1
jb 0x1800514fa
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 0x1800514fa
cmp byte [rax], 0x3f
jne 0x18005115e
xor ecx, ecx
jmp 0x180051163
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180051187
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x3f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180051155
jmp 0x1800514fa
sub rax, r15
cmp rax, 0xffffffffffffffff
je 0x1800514fa
lea rax, [rbp + 0x2f8]
mov rcx, qword [rbp + 0x310]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rsi + rax - 1], 0x3f
je 0x18005144e
lea rax, [rbp + 0x2f8]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rax + rsi - 1], 0x2f
je 0x18005144e
lea rdx, [0x18005fc10]
lea rcx, [rbp + 0x2f8]
call fcn.1800548d0
lea rcx, [rbp + 0x2f8]
cmp rax, 0xffffffffffffffff
je 0x18005123c
lea rdx, [0x18005fc10]
call fcn.1800548d0
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180054a10
lea rcx, [rbp + 0x320]
call fcn.180008050
lea rdx, [0x18005fc10]
jmp 0x180051287
lea rdx, [0x18005fb8c]
call fcn.1800548d0
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180054a10
lea rcx, [rbp + 0x320]
call fcn.180008050
lea rdx, [0x18005fb8c]
lea rcx, [rbp + 0x2f8]
call fcn.1800548d0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x2f8]
call fcn.180054a10
lea rcx, [rbp + 0x320]
call fcn.180008050
lea rdx, [0x18005fc10]
lea rcx, [rbp + 0x388]
call fcn.1800547d0
lea rcx, [rbp + 0x388]
cmp rax, 0xffffffffffffffff
je 0x18005138e
lea rdx, [0x18005fc10]
call fcn.1800547d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180054770
lea rdx, [0x18005fba0]
mov rcx, rax
call fcn.1800548d0
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.180008050
cmp rbx, 0xffffffffffffffff
je 0x1800514f3
lea rdx, [0x18005fc10]
lea rcx, [rbp + 0x388]
call fcn.1800547d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180054a10
lea rcx, [rbp + 0x320]
call fcn.180008050
jmp 0x1800514f3
lea rdx, [0x18005fb8c]
call fcn.1800547d0
cmp rax, 0xffffffffffffffff
je 0x1800514f3
lea rdx, [0x18005fb8c]
lea rcx, [rbp + 0x388]
call fcn.1800547d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180054770
lea rdx, [0x18005fba0]
mov rcx, rax
call fcn.1800548d0
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.180008050
cmp rbx, 0xffffffffffffffff
je 0x1800514f3
lea rdx, [0x18005fb8c]
lea rcx, [rbp + 0x388]
call fcn.1800547d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180054a10
lea rcx, [rbp + 0x320]
call fcn.180008050
jmp 0x1800514f3
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.180009be0
bts r14d, 0xa
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x1800514d7
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800514d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800514d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
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 0x180051513
mov rcx, qword [rsi]
mov r15, qword [rsi + 0x10]
test r15, r15
jne 0x18005152f
mov r8, r15
lea rdx, [0x18005da83]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180051551
cmp r12, 0xf
jbe 0x180051538
mov rsi, qword [rsi]
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x388]
call fcn.180009030
mov rbx, qword [rbp + 0x378]
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 3
jb 0x180053e80
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.180055710
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.180009030
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.180009030
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 0x1800516cf
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800516b2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800516ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180051701
mov rcx, r8
call fcn.180056048
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 0x1800516d3
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18005170e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
nop
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0xf
jbe 0x180051752
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005174d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005174d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
movdqa xmm0, xmmword [0x180060490]
movdqu xmmword [rbp + 0x4c0], xmm0
mov byte [rbp + 0x4b0], 0
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x1800517ad
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800517a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800517a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
lea rbx, [r13 + 0x90]
mov rcx, rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x1800517c4
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 2
jne 0x18005184a
lea rdx, [0x18005fc14]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005184a
lea rax, [rbp + 0x428]
cmp rbx, rax
je 0x18005184a
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 0x18005183c
mov r13, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180051820
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 0x180051858
mov rdx, r12
mov rcx, rbx
call fcn.180009e40
xor r12d, r12d
mov rsi, qword [rbp + 0x428]
mov r15, qword [rbp + 0x440]
cmp dword [0x18006c460], 0
jne 0x1800518ae
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 0x180051b67
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, [0x18005da83]
lea rcx, [rbp + 0x330]
call fcn.180009be0
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 0x180051957
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 0x180051966
mov rdx, r12
lea rcx, [rbp + 0x330]
call fcn.180009e40
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, [0x180053f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180051a66
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x24
jb 0x1800519e1
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 0x1800519f3
lea r9, str.Could_not_create_thread_for_timeout.
mov edx, 0x24
call fcn.180009e40
nop
lea rcx, [rbp + 0x320]
call fcn.180053ed0
nop
cmp r15, 0xf
jbe 0x180051a3b
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180051a32
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051a32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180056048
nop
lea rcx, [rbp + 0x368]
call fcn.180008050
nop
lea rcx, [rbp + 0x388]
call fcn.180008050
nop
lea rcx, [rbp + 0x2f8]
call fcn.180008050
jmp 0x180051cd6
mov edx, dword [0x18006c460]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180051b0a
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.180005240
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.180005240
mov rcx, rax
lea rdx, [0x180005410]
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.180054990
nop
lea rcx, [rbp + 0x320]
call fcn.180053ed0
nop
lea rcx, [rbp + 0x428]
call fcn.180008050
jmp 0x180051a3b
mov dword [rbp + 0x360], r12d
lea rdx, [rbp + 0x360]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180051b39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x180051adf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x360], r12d
je 0x180051b54
lea rdx, str.Worker_function_failed
jmp 0x180051adf
mov r12, qword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180053ed0
test r12, r12
jne 0x180051d17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054990
nop
cmp r15, 0xf
jbe 0x180051bc7
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180051bbe
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053d61
mov rcx, rsi
call fcn.180056048
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180051c08
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051c03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053da6
call fcn.180056048
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 0x180051c63
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051c5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053e04
call fcn.180056048
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180051cbd
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051cb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053e6d
call fcn.180056048
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], 0
mov rcx, qword [rsp + 0x48]
call fcn.180005d80
mov rax, rdi
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.180055b80
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 0x180051d34
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 0x180051dd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054990
nop
lea rcx, [rbp + 0x428]
call fcn.180008050
nop
lea rcx, [rbp + 0x368]
call fcn.180008050
nop
lea rcx, [rbp + 0x388]
call fcn.180008050
nop
lea rcx, [rbp + 0x2f8]
call fcn.180008050
nop
mov rcx, r13
jmp 0x180051cdb
lea rdx, str.POST
lea rcx, [r13 + 0xd0]
call fcn.1800092f0
test al, al
je 0x180051ee1
lea rdx, [0x18005fb90]
lea rcx, [rbp + 0x3a8]
call fcn.1800089a0
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.180054690
cmp qword [rax], rbx
jne 0x180051e7a
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.1800089a0
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.180054690
cmp qword [rax], rbx
jne 0x180051e7a
mov bl, 1
jmp 0x180051e7c
xor bl, bl
test r14b, 4
je 0x180051e98
and r14d, 0xfffffffb
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.180008050
nop
test r14b, 2
je 0x180051eb3
and r14d, 0xfffffffd
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.180008050
test bl, bl
je 0x180051ee1
lea rcx, [rsp + 0x70]
call fcn.180054fd0
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180054b20
nop
lea rcx, [rsp + 0x70]
call fcn.180005b50
lea rcx, [r13 + 0xd0]
lea rdx, [0x18005fb60]
call fcn.1800092f0
test al, al
je 0x180051fe9
lea rdx, [0x18005fb90]
lea rcx, [rbp + 0x3a8]
call fcn.1800089a0
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.180054690
cmp qword [rax], rbx
jne 0x180051f82
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.1800089a0
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.180054690
cmp qword [rax], rbx
jne 0x180051f82
mov bl, 1
jmp 0x180051f84
xor bl, bl
test r14b, 0x10
je 0x180051fa0
and r14d, 0xffffffef
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.180008050
nop
test r14b, 8
je 0x180051fbb
and r14d, 0xfffffff7
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.180008050
test bl, bl
je 0x180051fe9
lea rcx, [rsp + 0x70]
call fcn.180055040
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180054b20
nop
lea rcx, [rsp + 0x70]
call fcn.180005b50
lea rdx, [0x18005da83]
lea rcx, [rbp + 0x490]
call fcn.1800089a0
nop
mov rax, qword [r13 + 0x130]
mov rax, qword [rax]
mov qword [rbp + 0x4f8], rax
cmp byte [rax + 0x19], 0
jne 0x1800522b4
movabs rsi, 0x7fffffffffffffff
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x320]
call fcn.1800089e0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x340]
call fcn.1800089e0
nop
cmp qword [rbp + 0x338], 0xf
seta r8b
mov rdx, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x330]
test rcx, rcx
jne 0x18005206a
xor al, al
jmp 0x18005206c
mov al, 1
test al, al
je 0x18005228b
mov rax, rsi
sub rax, rcx
cmp rax, 1
jb 0x180053e86
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.180055710
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.180009030
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.180009030
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.180009030
nop
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x1800521ef
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800521e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052368
call fcn.180056048
nop
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x180052230
inc rdx
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005222b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005236f
call fcn.180056048
mov qword [rbp + 0x480], r15
mov qword [rbp + 0x488], 0xf
mov byte [rbp + 0x470], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x18005228b
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052285
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052376
call fcn.180056048
nop
lea rcx, [rbp + 0x320]
call fcn.180005b50
lea rcx, [rbp + 0x4f8]
call fcn.180009280
mov rax, qword [rbp + 0x4f8]
cmp byte [rax + 0x19], 0
je 0x180052022
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 0x1800522ed
lea rdx, [0x18005da83]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180052314
mov r8d, 4
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x490]
call fcn.180009030
mov r15, qword [rbp + 0x4a8]
mov rbx, qword [rbp + 0x490]
mov esi, 0xffffffff
cmp dword [0x18006c464], 0
jne 0x18005237d
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 0x180052563
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, [0x18005da83]
lea rcx, [rbp + 0x330]
call fcn.180009be0
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 0x180052418
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 0x180052427
mov rdx, r15
lea rcx, [rbp + 0x330]
call fcn.180009e40
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x320]
lea r8, [0x180053fa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180052486
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rdi + 0xb0]
call fcn.180054990
nop
lea rcx, [rbp + 0x320]
call fcn.180053ed0
nop
lea rcx, [rbp + 0x490]
call fcn.180008050
jmp 0x180051d9d
mov edx, dword [0x18006c464]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180052501
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.180005240
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.180005240
mov rcx, rax
lea rdx, [0x180005410]
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 0x18005245b
mov dword [rbp + 0x2f0], r12d
lea rdx, [rbp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180052533
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x18005245b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x2f0], r12d
je 0x180052551
lea rdx, str.Worker_function_failed
jmp 0x18005245b
mov ebx, dword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180053ed0
test ebx, ebx
jne 0x18005258a
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.180054990
jmp 0x180052475
lea rcx, [rbp + 0x470]
call fcn.180008b00
nop
mov r15, r12
cmp qword [r13 + 0xa0], 0
je 0x18005260b
lea rcx, [r13 + 0x90]
call fcn.180008900
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 0x1800525dd
mov rcx, qword [rbp]
test rcx, rcx
je 0x1800525dd
mov r15, rcx
jmp 0x18005260b
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.180005240
mov rcx, rax
mov rdx, rbx
call fcn.180005240
mov rcx, rax
lea rdx, [0x180005410]
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 0x1800526e4
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 0x180052661
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 0x1800526d4
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 0x1800526b9
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 0x1800526d4
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x540]
mov rdx, rsi
lea rcx, [rbp + 0x470]
call fcn.180009f80
test r12d, r12d
je 0x1800526e4
mov esi, dword [rbp + 0x2f0]
jmp 0x180052616
test r15, r15
mov rdi, qword [rsp + 0x68]
je 0x180052700
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.180008b00
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 0x180052814
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x180052c50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180052c50
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x458]
cmp rcx, rdx
ja 0x1800527b2
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 0x180052720
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x460]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x1800527fd
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 0x180052717
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x448]
call fcn.180055390
jmp 0x180052717
lea rcx, [rbp + 0x448]
call fcn.180054dc0
test al, al
je 0x180052c50
lea rdx, [0x18005f000]
lea rcx, [rbp + 0x3a8]
call fcn.1800089a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008b00
nop
lea rcx, [rbp + 0x4b0]
call fcn.180008b00
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.1800552d0
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180052c25
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x448]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.180054a10
lea rcx, [rbp + 0x4d0]
call fcn.180008050
lea rbx, [0x18005fbac]
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
cmp rax, 0xffffffffffffffff
je 0x180052bd9
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x3e8]
call fcn.180054770
mov rdx, rax
lea rcx, [rbp + 0x4b0]
call fcn.180054a10
lea rcx, [rbp + 0x4d0]
call fcn.180008050
lea rcx, [rbp + 0x4b0]
call fcn.180054930
mov rsi, rax
lea rcx, [rbp + 0x4b0]
call fcn.180008900
mov rbx, rax
cmp rax, rsi
je 0x180052985
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 0x180052972
lea rcx, [rbp + 0x4b0]
cmp qword [rbp + 0x4c8], 0xf
cmova rcx, qword [rbp + 0x4b0]
cmp qword [rbp + 0x4c0], 0xa
jne 0x180052a73
mov r8d, 0xa
lea rdx, str.set_cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180052a73
lea rdx, [0x18005fbac]
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.180054770
nop
lea r8, [0x18005fbc8]
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x4d0]
call fcn.180054e00
nop
lea r8, [rbp + 0x2f8]
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180054f60
nop
lea rcx, [rbp + 0x4d0]
call fcn.180008050
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.180054910
mov r8, rax
lea rcx, [rbp + 0x520]
call fcn.180054910
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetCookieA]
lea rcx, [rbp + 0x520]
call fcn.180008050
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
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.1800552d0
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 0x180053e74
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.180009be0
bts r14d, 0xc
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x70]
call fcn.1800089e0
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.1800559a0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180052ba0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052b9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052c1e
call fcn.180056048
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180052bd9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052bd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052c1e
call fcn.180056048
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 0x180052870
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x4b0]
call fcn.180008050
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008050
nop
lea rcx, [rbp + 0x3a8]
call fcn.180008050
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 0x180052d7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x18005307c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18005307c
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x418]
cmp rcx, rdx
ja 0x180052d12
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 0x180052c80
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x420]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x180052d62
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 0x180052c80
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x408]
call fcn.180055390
mov rsi, qword [rsp + 0x50]
jmp 0x180052c80
lea rcx, [rbp + 0x408]
call fcn.180054dc0
test al, al
je 0x18005307c
lea rdx, [0x18005f000]
lea rcx, [rbp + 0x4d0]
call fcn.1800089a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008b00
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.1800552d0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18005305b
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.180009be0
bts r14d, 0xb
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x400]
cmp rdx, 0xf
jbe 0x180052e99
inc rdx
mov rcx, qword [rbp + 0x3e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053054
call fcn.180056048
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.1800552d0
cmp rax, 0xffffffffffffffff
je 0x18005300f
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x3e8]
call fcn.180054770
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x3a8]
lea rcx, [rbp + 0x3e8]
call fcn.180054770
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x520]
lea rcx, [rbp + 0x3e8]
call fcn.180054770
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800548d0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.180054770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800550b0
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rdi + 0x10]
call fcn.180054b20
nop
lea rcx, [rsp + 0x70]
call fcn.180005b50
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
nop
lea rcx, [rbp + 0x520]
call fcn.180008050
nop
lea rcx, [rbp + 0x3a8]
call fcn.180008050
nop
lea rcx, [rbp + 0x4b0]
call fcn.180008050
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 0x180052dc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008050
nop
lea rcx, [rbp + 0x4d0]
call fcn.180008050
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 0x1800530d6
mov edx, dword [rbp + 8]
lea rcx, [rbp + 0x320]
call fcn.18004fda0
lea rcx, [rdi + 0x90]
mov rdx, rax
call fcn.180054a10
lea rcx, [rbp + 0x320]
call fcn.180008050
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 0x1800532d1
je 0x180053298
dec eax
cmp eax, 0x1f
ja case.0x180053140.7
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x53ea8]
mov ecx, dword [rdx + rax*4 + 0x53e8c]
add rcx, rdx
jmp rcx
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_client_side.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_server_side.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_client_side._Superseded_by_SP_PROT_TLS1_CLIENT.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_server_side._Superseded_by_SP_PROT_TLS1_SERVER.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_client_side._Obsolete.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_server_side._Obsolete.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_server_side
call fcn.180054990
nop
jmp 0x180053416
cmp eax, 0x80
je 0x1800533e2
cmp eax, 0x100
je 0x1800533ac
cmp eax, 0x200
je 0x180053376
cmp eax, 0x400
je 0x18005333d
cmp eax, 0x800
jne case.0x180053140.7
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_client_side
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_server_side.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_client_side
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_server_side.
call fcn.180054990
nop
jmp 0x180053416
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_client_side
call fcn.180054990
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
mov eax, dword [rbp + 0x2c]
cmp eax, 0x6603
ja 0x180053532
je 0x1800534f9
test eax, eax
je 0x1800534c0
sub eax, 0x6601
je 0x180053487
cmp eax, 1
jne 0x1800535f9
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.RC2_block_encryption_algorithm
call fcn.180054990
nop
jmp 0x1800535ed
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.DES_encryption_algorithm
call fcn.180054990
nop
jmp 0x1800535ed
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.No_encryption
call fcn.180054990
nop
jmp 0x1800535ed
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.3DES_block_encryption_algorithm
call fcn.180054990
nop
jmp 0x1800535ed
sub eax, 0x660e
je 0x1800535b9
sub eax, 2
je 0x180053583
cmp eax, 0x1f1
jne 0x1800535f9
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.RC4_stream_encryption_algorithm
call fcn.180054990
nop
jmp 0x1800535ed
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.AES_256_bit_encryption_algorithm
call fcn.180054990
nop
jmp 0x1800535ed
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.AES_128_bit_encryption_algorithm
call fcn.180054990
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
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.180009be0
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 0x180053640
lea r8, [rbp + 0x3fd]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.18000e110
or r14d, 0x30000
mov dword [rsp + 0x40], r14d
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180055110
mov rbx, qword [rax]
add rbx, 0x40
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x18005370d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800536e4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800536df
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180053706
mov rcx, r8
call fcn.180056048
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 0x180053711
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 0x18005374c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053746
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053746
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
nop
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180053790
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005378b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005378b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
mov eax, dword [rbp + 0x34]
sub eax, 0x8003
je 0x1800537d5
cmp eax, 1
jne 0x180053815
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.SHA_hashing_algorithm
call fcn.180054990
nop
jmp 0x180053809
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.MD5_hashing_algorithm
call fcn.180054990
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
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.180009be0
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180055110
mov rdx, qword [rax]
lea rcx, [rdx + 0x40]
cmp qword [rdx + 0x58], 0xf
jbe 0x18005386b
mov rcx, qword [rdx + 0x40]
mov r8, qword [rdx + 0x50]
test r8, r8
jne 0x180053888
lea rdx, [0x18005da83]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053888
xor bl, bl
jmp 0x18005388a
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x1800538ce
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800538c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800538c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
test bl, bl
je 0x18005392d
lea rdx, str.hash_strength
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
mov edx, dword [rbp + 0x38]
lea rcx, [rbp + 0x520]
call fcn.18004fda0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
mov rdx, rbx
call fcn.180054a10
nop
lea rcx, [rbp + 0x520]
call fcn.180008050
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
mov eax, dword [rbp + 0x3c]
cmp eax, 0xa400
je 0x180053974
cmp eax, 0xaa02
jne 0x1800539b4
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.Diffie_Hellman_key_exchange
call fcn.180054990
nop
jmp 0x1800539a8
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, str.RSA_key_exchange
call fcn.180054990
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
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.180009be0
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180055110
mov r8, qword [rax]
lea rcx, [r8 + 0x40]
cmp qword [r8 + 0x58], 0xf
jbe 0x180053a0a
mov rcx, qword [r8 + 0x40]
mov r8, qword [r8 + 0x50]
test r8, r8
jne 0x180053a27
lea rdx, [0x18005da83]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053a27
xor bl, bl
jmp 0x180053a29
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180053a6d
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053a68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053a68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
test bl, bl
je 0x180053acc
lea rdx, str.key_exch_strength
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
mov edx, dword [rbp + 0x40]
lea rcx, [rbp + 0x520]
call fcn.18004fda0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
mov rdx, rbx
call fcn.180054a10
nop
lea rcx, [rbp + 0x520]
call fcn.180008050
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
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.180055390
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 0x180053ba1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetQueryOption_failed
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180054990
nop
lea rcx, [rbp + 0x500]
call fcn.180008050
nop
lea rcx, [rbp + 0x408]
call fcn.180008050
nop
lea rcx, [rbp + 0x448]
call fcn.180008050
nop
lea rcx, [rbp + 0x470]
call fcn.180008050
nop
lea rcx, [rbp + 0x490]
call fcn.180008050
jmp 0x180051af9
lea rdx, str.certificate
lea rcx, [rbp + 0x320]
call fcn.1800089a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180054670
mov rcx, rax
lea rdx, [rbp + 0x500]
call fcn.180008910
nop
lea rcx, [rbp + 0x320]
call fcn.180008050
lea rcx, [rdi + 0x50]
lea rdx, [rbp + 0x470]
call fcn.180008910
mov r9d, 0xe
xor r8d, r8d
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x470]
call fcn.180054770
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x3c8]
call fcn.180054970
mov r9, rax
lea rdx, [rbp]
lea rcx, [rbp + 0x3c8]
call fcn.180054950
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x3c8]
call fcn.180054970
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.180054ac0
lea rdx, str.__doctype_html
lea rcx, [rbp + 0x3c8]
call fcn.1800092f0
test al, al
je 0x180053cb8
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x320]
call fcn.1800089e0
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180054010
lea rcx, [rdi + 0x70]
mov rdx, rax
call fcn.180054a10
lea rcx, [rbp + 0x520]
call fcn.180008050
jmp 0x180053cc5
lea rdx, [rdi + 0x50]
lea rcx, [rdi + 0x70]
call fcn.180008910
lea rcx, [0x18006c320]
call fcn.18004fe20
nop
lea rcx, [rbp + 0x3c8]
call fcn.180008050
jmp 0x180053b5c
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x2d
jb 0x180053d17
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 0x180053d29
lea r9, str.Error:_URL_input_has_scheme_other_than_HTTP_S
mov edx, 0x2d
call fcn.180009e40
nop
mov rdx, qword [rbp + 0x440]
cmp rdx, 0xf
jbe 0x180053d6e
inc rdx
mov rcx, qword [rbp + 0x428]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053d68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053d68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180053db2
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053dad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053dad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
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 0x180053e10
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053e0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053e0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180056048
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180051cbd
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051cb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051cb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180054aa0
nop
call fcn.180054aa0
int3
call fcn.180005a40
nop
call fcn.180005a40
int3