Function at 0x180054a30
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 [0x18006e040]
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.18005a040
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.18005a040
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.18005a040
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 0x180054ba6
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 0x180054bed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.1800589b0
nop
mov rcx, rsi
jmp 0x180055cfb
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, [0x180061a43]
lea rcx, [rbp + 0x428]
call fcn.1800097e0
nop
lea rax, [rsi + 0x110]
lea rcx, [rbp + 0x2f8]
cmp rcx, rax
je 0x180054ce9
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180054c9c
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rax, qword [rbp + 0x310]
cmp rsi, rax
ja 0x180054cda
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 0x180054ce9
mov rdx, rsi
lea rcx, [rbp + 0x2f8]
call fcn.180009a40
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 0x180054d6a
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 0x180054d6a
cmp byte [rax], 0x3a
jne 0x180054d45
cmp byte [rax + 1], 0x2f
jne 0x180054d45
cmp byte [rax + 2], 0x2f
jne 0x180054d45
xor ecx, ecx
jmp 0x180054d4a
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180054db7
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180054d30
mov rax, qword [rbp + 0x380]
cmp rax, 5
jb 0x180055020
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 0x180055038
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x180054d6a
lea rbx, [rbp + 0x2f8]
cmp r13, 0xf
cmova rbx, r12
cmp rsi, 1
jb 0x180054e21
lea r14, [rsi + rbx]
mov r8, rsi
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180054e21
nop
cmp byte [rax], 0x3a
jne 0x180054df9
xor ecx, ecx
jmp 0x180054dfe
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180054f25
inc rax
mov r8, r14
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180054df0
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.1800097e0
mov dword [rsp + 0x40], 0x101
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180054eab
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054ea6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800554eb
call fcn.18005a14c
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 0x180054f56
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 0x180054f56
nop
cmp byte [rax], 0x3a
jne 0x180054f2d
cmp byte [rax + 1], 0x2f
jne 0x180054f2d
cmp byte [rax + 2], 0x2f
jne 0x180054f2d
xor ecx, ecx
jmp 0x180054f32
sub rax, rbx
jmp 0x180054e28
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180055018
inc rax
lea r8, [r14 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180054f10
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 0x180057e9a
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.1800097e0
mov r14d, 0x301
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180054ffa
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054ff5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800554eb
call fcn.18005a14c
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rbp + 0x2f8], xmm0
movups xmm1, xmmword [rbp + 0x3d8]
movups xmmword [rbp + 0x308], xmm1
jmp 0x180055038
sub rax, rsi
jmp 0x180054f5d
lea r9, str.https
mov edx, 5
lea rcx, [rbp + 0x368]
call fcn.180009a40
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
mov rbx, qword [rbp + 0x378]
cmp rbx, 5
jne 0x18005507b
mov r8, rbx
lea rdx, str.https
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005507b
mov dword [rbp + 0x2f0], 0x1bb
jmp 0x1800550bf
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
cmp rbx, 4
jne 0x180057d03
mov r8, rbx
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180057d03
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 0x180055138
lea r12, [r15 + rsi]
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180055138
nop
cmp byte [rax], 0x2f
jne 0x180055109
xor ecx, ecx
jmp 0x18005510e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x18005512f
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180055100
jmp 0x180055138
sub rax, r15
cmp rax, 0xffffffffffffffff
jne 0x1800551b4
lea r15, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r15, r13
cmp rsi, 1
jb 0x18005551a
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 0x18005551a
cmp byte [rax], 0x3f
jne 0x18005517e
xor ecx, ecx
jmp 0x180055183
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1800551a7
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x3f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180055175
jmp 0x18005551a
sub rax, r15
cmp rax, 0xffffffffffffffff
je 0x18005551a
lea rax, [rbp + 0x2f8]
mov rcx, qword [rbp + 0x310]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rsi + rax - 1], 0x3f
je 0x18005546e
lea rax, [rbp + 0x2f8]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rax + rsi - 1], 0x2f
je 0x18005546e
lea rdx, [0x180063bd0]
lea rcx, [rbp + 0x2f8]
call fcn.1800588f0
lea rcx, [rbp + 0x2f8]
cmp rax, 0xffffffffffffffff
je 0x18005525c
lea rdx, [0x180063bd0]
call fcn.1800588f0
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180058a30
lea rcx, [rbp + 0x320]
call fcn.180007c40
lea rdx, [0x180063bd0]
jmp 0x1800552a7
lea rdx, [0x180063b4c]
call fcn.1800588f0
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180058a30
lea rcx, [rbp + 0x320]
call fcn.180007c40
lea rdx, [0x180063b4c]
lea rcx, [rbp + 0x2f8]
call fcn.1800588f0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x2f8]
call fcn.180058a30
lea rcx, [rbp + 0x320]
call fcn.180007c40
lea rdx, [0x180063bd0]
lea rcx, [rbp + 0x388]
call fcn.1800587f0
lea rcx, [rbp + 0x388]
cmp rax, 0xffffffffffffffff
je 0x1800553ae
lea rdx, [0x180063bd0]
call fcn.1800587f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180058790
lea rdx, [0x180063b60]
mov rcx, rax
call fcn.1800588f0
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.180007c40
cmp rbx, 0xffffffffffffffff
je 0x180055513
lea rdx, [0x180063bd0]
lea rcx, [rbp + 0x388]
call fcn.1800587f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180058a30
lea rcx, [rbp + 0x320]
call fcn.180007c40
jmp 0x180055513
lea rdx, [0x180063b4c]
call fcn.1800587f0
cmp rax, 0xffffffffffffffff
je 0x180055513
lea rdx, [0x180063b4c]
lea rcx, [rbp + 0x388]
call fcn.1800587f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180058790
lea rdx, [0x180063b60]
mov rcx, rax
call fcn.1800588f0
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.180007c40
cmp rbx, 0xffffffffffffffff
je 0x180055513
lea rdx, [0x180063b4c]
lea rcx, [rbp + 0x388]
call fcn.1800587f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180058a30
lea rcx, [rbp + 0x320]
call fcn.180007c40
jmp 0x180055513
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.1800097e0
bts r14d, 0xa
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x1800554f7
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800554f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800554f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
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 0x180055533
mov rcx, qword [rsi]
mov r15, qword [rsi + 0x10]
test r15, r15
jne 0x18005554f
mov r8, r15
lea rdx, [0x180061a43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180055571
cmp r12, 0xf
jbe 0x180055558
mov rsi, qword [rsi]
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x388]
call fcn.180008c30
mov rbx, qword [rbp + 0x378]
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 3
jb 0x180057ea0
lea r9, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova r9, qword [rbp + 0x368]
mov qword [rsp + 0x30], 3
lea rax, [0x180063b88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rbp + 0x3c8]
call fcn.180059730
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.180008c30
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.180008c30
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 0x1800556ef
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800556d2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800556cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180055721
mov rcx, r8
call fcn.18005a14c
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 0x1800556f3
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18005572e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
nop
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0xf
jbe 0x180055772
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005576d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005576d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
movdqa xmm0, xmmword [0x180064450]
movdqu xmmword [rbp + 0x4c0], xmm0
mov byte [rbp + 0x4b0], 0
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x1800557cd
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800557c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800557c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
lea rbx, [r13 + 0x90]
mov rcx, rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x1800557e4
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 2
jne 0x18005586a
lea rdx, [0x180063bd4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005586a
lea rax, [rbp + 0x428]
cmp rbx, rax
je 0x18005586a
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 0x18005585c
mov r13, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180055840
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 0x180055878
mov rdx, r12
mov rcx, rbx
call fcn.180009a40
xor r12d, r12d
mov rsi, qword [rbp + 0x428]
mov r15, qword [rbp + 0x440]
cmp dword [0x180070450], 0
jne 0x1800558ce
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 0x180055b87
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, [0x180061a43]
lea rcx, [rbp + 0x330]
call fcn.1800097e0
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 0x180055977
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 0x180055986
mov rdx, r12
lea rcx, [rbp + 0x330]
call fcn.180009a40
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, [0x180057f60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180055a86
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x24
jb 0x180055a01
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 0x180055a13
lea r9, str.Could_not_create_thread_for_timeout.
mov edx, 0x24
call fcn.180009a40
nop
lea rcx, [rbp + 0x320]
call fcn.180057ef0
nop
cmp r15, 0xf
jbe 0x180055a5b
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180055a52
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055a52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18005a14c
nop
lea rcx, [rbp + 0x368]
call fcn.180007c40
nop
lea rcx, [rbp + 0x388]
call fcn.180007c40
nop
lea rcx, [rbp + 0x2f8]
call fcn.180007c40
jmp 0x180055cf6
mov edx, dword [0x180070450]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180055b2a
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.180004e10
mov rcx, rax
mov edx, dword [0x180070450]
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.180004e10
mov rcx, rax
lea rdx, [0x180004fe0]
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.1800589b0
nop
lea rcx, [rbp + 0x320]
call fcn.180057ef0
nop
lea rcx, [rbp + 0x428]
call fcn.180007c40
jmp 0x180055a5b
mov dword [rbp + 0x360], r12d
lea rdx, [rbp + 0x360]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180055b59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x180055aff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x360], r12d
je 0x180055b74
lea rdx, str.Worker_function_failed
jmp 0x180055aff
mov r12, qword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180057ef0
test r12, r12
jne 0x180055d37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.1800589b0
nop
cmp r15, 0xf
jbe 0x180055be7
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180055bde
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057d81
mov rcx, rsi
call fcn.18005a14c
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180055c28
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055c23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057dc6
call fcn.18005a14c
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 0x180055c83
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055c7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057e24
call fcn.18005a14c
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180055cdd
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055cd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057e8d
call fcn.18005a14c
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], 0
mov rcx, qword [rsp + 0x48]
call fcn.180005950
mov rax, rdi
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.180059ba0
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 0x180055d54
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 0x180055df9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.1800589b0
nop
lea rcx, [rbp + 0x428]
call fcn.180007c40
nop
lea rcx, [rbp + 0x368]
call fcn.180007c40
nop
lea rcx, [rbp + 0x388]
call fcn.180007c40
nop
lea rcx, [rbp + 0x2f8]
call fcn.180007c40
nop
mov rcx, r13
jmp 0x180055cfb
lea rdx, str.POST
lea rcx, [r13 + 0xd0]
call fcn.180008ef0
test al, al
je 0x180055f01
lea rdx, [0x180063b50]
lea rcx, [rbp + 0x3a8]
call fcn.1800085a0
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.1800586b0
cmp qword [rax], rbx
jne 0x180055e9a
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.1800085a0
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.1800586b0
cmp qword [rax], rbx
jne 0x180055e9a
mov bl, 1
jmp 0x180055e9c
xor bl, bl
test r14b, 4
je 0x180055eb8
and r14d, 0xfffffffb
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.180007c40
nop
test r14b, 2
je 0x180055ed3
and r14d, 0xfffffffd
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.180007c40
test bl, bl
je 0x180055f01
lea rcx, [rsp + 0x70]
call fcn.180058ff0
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180058b40
nop
lea rcx, [rsp + 0x70]
call fcn.180005720
lea rcx, [r13 + 0xd0]
lea rdx, [0x180063b20]
call fcn.180008ef0
test al, al
je 0x180056009
lea rdx, [0x180063b50]
lea rcx, [rbp + 0x3a8]
call fcn.1800085a0
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.1800586b0
cmp qword [rax], rbx
jne 0x180055fa2
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.1800085a0
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.1800586b0
cmp qword [rax], rbx
jne 0x180055fa2
mov bl, 1
jmp 0x180055fa4
xor bl, bl
test r14b, 0x10
je 0x180055fc0
and r14d, 0xffffffef
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.180007c40
nop
test r14b, 8
je 0x180055fdb
and r14d, 0xfffffff7
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.180007c40
test bl, bl
je 0x180056009
lea rcx, [rsp + 0x70]
call fcn.180059060
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180058b40
nop
lea rcx, [rsp + 0x70]
call fcn.180005720
lea rdx, [0x180061a43]
lea rcx, [rbp + 0x490]
call fcn.1800085a0
nop
mov rax, qword [r13 + 0x130]
mov rax, qword [rax]
mov qword [rbp + 0x4f8], rax
cmp byte [rax + 0x19], 0
jne 0x1800562d4
movabs rsi, 0x7fffffffffffffff
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x320]
call fcn.1800085e0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x340]
call fcn.1800085e0
nop
cmp qword [rbp + 0x338], 0xf
seta r8b
mov rdx, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x330]
test rcx, rcx
jne 0x18005608a
xor al, al
jmp 0x18005608c
mov al, 1
test al, al
je 0x1800562ab
mov rax, rsi
sub rax, rcx
cmp rax, 1
jb 0x180057ea6
lea r9, [rbp + 0x320]
test r8b, r8b
cmovne r9, rdx
mov qword [rsp + 0x30], 1
lea rax, [0x180063b6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x3a8]
call fcn.180059730
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.180008c30
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, [0x180062f20]
lea rcx, [rbp + 0x470]
call fcn.180008c30
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.180008c30
nop
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x18005620f
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180056388
call fcn.18005a14c
nop
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x180056250
inc rdx
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005624b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005638f
call fcn.18005a14c
mov qword [rbp + 0x480], r15
mov qword [rbp + 0x488], 0xf
mov byte [rbp + 0x470], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x1800562ab
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800562a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180056396
call fcn.18005a14c
nop
lea rcx, [rbp + 0x320]
call fcn.180005720
lea rcx, [rbp + 0x4f8]
call fcn.180008e80
mov rax, qword [rbp + 0x4f8]
cmp byte [rax + 0x19], 0
je 0x180056042
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 0x18005630d
lea rdx, [0x180061a43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180056334
mov r8d, 4
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x490]
call fcn.180008c30
mov r15, qword [rbp + 0x4a8]
mov rbx, qword [rbp + 0x490]
mov esi, 0xffffffff
cmp dword [0x180070454], 0
jne 0x18005639d
lea r9, [0x180070360]
cmp qword [0x180070378], 0xf
cmova r9, qword [0x180070360]
lea rdx, [rbp + 0x490]
cmp r15, 0xf
cmova rdx, rbx
mov eax, dword [0x180070370]
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 0x180056583
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, [0x180061a43]
lea rcx, [rbp + 0x330]
call fcn.1800097e0
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 0x180056438
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 0x180056447
mov rdx, r15
lea rcx, [rbp + 0x330]
call fcn.180009a40
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x320]
lea r8, [0x180057fc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x1800564a6
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rdi + 0xb0]
call fcn.1800589b0
nop
lea rcx, [rbp + 0x320]
call fcn.180057ef0
nop
lea rcx, [rbp + 0x490]
call fcn.180007c40
jmp 0x180055dbd
mov edx, dword [0x180070454]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180056521
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.180004e10
mov rcx, rax
mov edx, dword [0x180070454]
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.180004e10
mov rcx, rax
lea rdx, [0x180004fe0]
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 0x18005647b
mov dword [rbp + 0x2f0], r12d
lea rdx, [rbp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180056553
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x18005647b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x2f0], r12d
je 0x180056571
lea rdx, str.Worker_function_failed
jmp 0x18005647b
mov ebx, dword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180057ef0
test ebx, ebx
jne 0x1800565aa
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.1800589b0
jmp 0x180056495
lea rcx, [rbp + 0x470]
call fcn.180008700
nop
mov r15, r12
cmp qword [r13 + 0xa0], 0
je 0x18005662b
lea rcx, [r13 + 0x90]
call fcn.180008500
mov rbx, rax
mov qword [rbp], r12
lea r8, [0x180063d68]
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 0x1800565fd
mov rcx, qword [rbp]
test rcx, rcx
je 0x1800565fd
mov r15, rcx
jmp 0x18005662b
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.180004e10
mov rcx, rax
mov rdx, rbx
call fcn.180004e10
mov rcx, rax
lea rdx, [0x180004fe0]
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 0x180056704
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 0x180056681
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 0x1800566f4
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 0x1800566d9
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 0x1800566f4
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x540]
mov rdx, rsi
lea rcx, [rbp + 0x470]
call fcn.180009b80
test r12d, r12d
je 0x180056704
mov esi, dword [rbp + 0x2f0]
jmp 0x180056636
test r15, r15
mov rdi, qword [rsp + 0x68]
je 0x180056720
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.180008700
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 0x180056834
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x180056c70
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180056c70
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x458]
cmp rcx, rdx
ja 0x1800567d2
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 0x180056740
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x460]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x18005681d
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 0x180056737
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x448]
call fcn.1800593b0
jmp 0x180056737
lea rcx, [rbp + 0x448]
call fcn.180058de0
test al, al
je 0x180056c70
lea rdx, [0x180062fa0]
lea rcx, [rbp + 0x3a8]
call fcn.1800085a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008700
nop
lea rcx, [rbp + 0x4b0]
call fcn.180008700
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.1800592f0
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180056c45
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x448]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.180058a30
lea rcx, [rbp + 0x4d0]
call fcn.180007c40
lea rbx, [0x180063b6c]
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
cmp rax, 0xffffffffffffffff
je 0x180056bf9
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x3e8]
call fcn.180058790
mov rdx, rax
lea rcx, [rbp + 0x4b0]
call fcn.180058a30
lea rcx, [rbp + 0x4d0]
call fcn.180007c40
lea rcx, [rbp + 0x4b0]
call fcn.180058950
mov rsi, rax
lea rcx, [rbp + 0x4b0]
call fcn.180008500
mov rbx, rax
cmp rax, rsi
je 0x1800569a5
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 0x180056992
lea rcx, [rbp + 0x4b0]
cmp qword [rbp + 0x4c8], 0xf
cmova rcx, qword [rbp + 0x4b0]
cmp qword [rbp + 0x4c0], 0xa
jne 0x180056a93
mov r8d, 0xa
lea rdx, str.set_cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180056a93
lea rdx, [0x180063b6c]
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.180058790
nop
lea r8, [0x180063b88]
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x4d0]
call fcn.180058e20
nop
lea r8, [rbp + 0x2f8]
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180058f80
nop
lea rcx, [rbp + 0x4d0]
call fcn.180007c40
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.180058930
mov r8, rax
lea rcx, [rbp + 0x520]
call fcn.180058930
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetCookieA]
lea rcx, [rbp + 0x520]
call fcn.180007c40
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
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, [0x180063b6c]
mov rbx, qword [rbp + 0x3f8]
mov rdx, rbx
call fcn.1800592f0
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 0x180057e94
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.1800097e0
bts r14d, 0xc
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x70]
call fcn.1800085e0
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.1800599c0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180056bc0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180056c3e
call fcn.18005a14c
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180056bf9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180056c3e
call fcn.18005a14c
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 0x180056890
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x4b0]
call fcn.180007c40
nop
lea rcx, [rbp + 0x3e8]
call fcn.180007c40
nop
lea rcx, [rbp + 0x3a8]
call fcn.180007c40
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 0x180056d9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x18005709c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18005709c
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x418]
cmp rcx, rdx
ja 0x180056d32
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 0x180056ca0
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x420]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x180056d82
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 0x180056ca0
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x408]
call fcn.1800593b0
mov rsi, qword [rsp + 0x50]
jmp 0x180056ca0
lea rcx, [rbp + 0x408]
call fcn.180058de0
test al, al
je 0x18005709c
lea rdx, [0x180062fa0]
lea rcx, [rbp + 0x4d0]
call fcn.1800085a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180008700
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.1800592f0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18005707b
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.1800097e0
bts r14d, 0xb
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x400]
cmp rdx, 0xf
jbe 0x180056eb9
inc rdx
mov rcx, qword [rbp + 0x3e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056eb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057074
call fcn.18005a14c
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, [0x180063b6c]
mov r9, r15
movq rdx, xmm1
call fcn.1800592f0
cmp rax, 0xffffffffffffffff
je 0x18005702f
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x3e8]
call fcn.180058790
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x3a8]
lea rcx, [rbp + 0x3e8]
call fcn.180058790
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x520]
lea rcx, [rbp + 0x3e8]
call fcn.180058790
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.1800588f0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.180058790
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800590d0
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rdi + 0x10]
call fcn.180058b40
nop
lea rcx, [rsp + 0x70]
call fcn.180005720
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
nop
lea rcx, [rbp + 0x520]
call fcn.180007c40
nop
lea rcx, [rbp + 0x3a8]
call fcn.180007c40
nop
lea rcx, [rbp + 0x4b0]
call fcn.180007c40
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 0x180056de1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x3e8]
call fcn.180007c40
nop
lea rcx, [rbp + 0x4d0]
call fcn.180007c40
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 0x1800570f6
mov edx, dword [rbp + 8]
lea rcx, [rbp + 0x320]
call fcn.180053dc0
lea rcx, [rdi + 0x90]
mov rdx, rax
call fcn.180058a30
lea rcx, [rbp + 0x320]
call fcn.180007c40
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 0x1800572f1
je 0x1800572b8
dec eax
cmp eax, 0x1f
ja case.0x180057160.7
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x57ec8]
mov ecx, dword [rdx + rax*4 + 0x57eac]
add rcx, rdx
jmp rcx
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_client_side.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_server_side.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_client_side._Superseded_by_SP_PROT_TLS1_CLIENT.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_server_side._Superseded_by_SP_PROT_TLS1_SERVER.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_client_side._Obsolete.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_server_side._Obsolete.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_server_side
call fcn.1800589b0
nop
jmp 0x180057436
cmp eax, 0x80
je 0x180057402
cmp eax, 0x100
je 0x1800573cc
cmp eax, 0x200
je 0x180057396
cmp eax, 0x400
je 0x18005735d
cmp eax, 0x800
jne case.0x180057160.7
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_client_side
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_server_side.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_client_side
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_server_side.
call fcn.1800589b0
nop
jmp 0x180057436
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_client_side
call fcn.1800589b0
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
mov eax, dword [rbp + 0x2c]
cmp eax, 0x6603
ja 0x180057552
je 0x180057519
test eax, eax
je 0x1800574e0
sub eax, 0x6601
je 0x1800574a7
cmp eax, 1
jne 0x180057619
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.RC2_block_encryption_algorithm
call fcn.1800589b0
nop
jmp 0x18005760d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.DES_encryption_algorithm
call fcn.1800589b0
nop
jmp 0x18005760d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.No_encryption
call fcn.1800589b0
nop
jmp 0x18005760d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.3DES_block_encryption_algorithm
call fcn.1800589b0
nop
jmp 0x18005760d
sub eax, 0x660e
je 0x1800575d9
sub eax, 2
je 0x1800575a3
cmp eax, 0x1f1
jne 0x180057619
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.RC4_stream_encryption_algorithm
call fcn.1800589b0
nop
jmp 0x18005760d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.AES_256_bit_encryption_algorithm
call fcn.1800589b0
nop
jmp 0x18005760d
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.AES_128_bit_encryption_algorithm
call fcn.1800589b0
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
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.1800097e0
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 0x180057660
lea r8, [rbp + 0x3fd]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.18000dd10
or r14d, 0x30000
mov dword [rsp + 0x40], r14d
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180059130
mov rbx, qword [rax]
add rbx, 0x40
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x18005772d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180057704
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800576ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180057726
mov rcx, r8
call fcn.18005a14c
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 0x180057731
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 0x18005776c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057766
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057766
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
nop
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x1800577b0
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800577ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800577ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
mov eax, dword [rbp + 0x34]
sub eax, 0x8003
je 0x1800577f5
cmp eax, 1
jne 0x180057835
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.SHA_hashing_algorithm
call fcn.1800589b0
nop
jmp 0x180057829
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.MD5_hashing_algorithm
call fcn.1800589b0
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
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.1800097e0
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180059130
mov rdx, qword [rax]
lea rcx, [rdx + 0x40]
cmp qword [rdx + 0x58], 0xf
jbe 0x18005788b
mov rcx, qword [rdx + 0x40]
mov r8, qword [rdx + 0x50]
test r8, r8
jne 0x1800578a8
lea rdx, [0x180061a43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800578a8
xor bl, bl
jmp 0x1800578aa
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x1800578ee
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800578e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800578e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
test bl, bl
je 0x18005794d
lea rdx, str.hash_strength
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
mov edx, dword [rbp + 0x38]
lea rcx, [rbp + 0x520]
call fcn.180053dc0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
mov rdx, rbx
call fcn.180058a30
nop
lea rcx, [rbp + 0x520]
call fcn.180007c40
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
mov eax, dword [rbp + 0x3c]
cmp eax, 0xa400
je 0x180057994
cmp eax, 0xaa02
jne 0x1800579d4
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.Diffie_Hellman_key_exchange
call fcn.1800589b0
nop
jmp 0x1800579c8
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, str.RSA_key_exchange
call fcn.1800589b0
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
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.1800097e0
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.180059130
mov r8, qword [rax]
lea rcx, [r8 + 0x40]
cmp qword [r8 + 0x58], 0xf
jbe 0x180057a2a
mov rcx, qword [r8 + 0x40]
mov r8, qword [r8 + 0x50]
test r8, r8
jne 0x180057a47
lea rdx, [0x180061a43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180057a47
xor bl, bl
jmp 0x180057a49
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180057a8d
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057a88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057a88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
test bl, bl
je 0x180057aec
lea rdx, str.key_exch_strength
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
mov edx, dword [rbp + 0x40]
lea rcx, [rbp + 0x520]
call fcn.180053dc0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
mov rdx, rbx
call fcn.180058a30
nop
lea rcx, [rbp + 0x520]
call fcn.180007c40
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
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.1800593b0
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 0x180057bc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetQueryOption_failed
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.1800589b0
nop
lea rcx, [rbp + 0x500]
call fcn.180007c40
nop
lea rcx, [rbp + 0x408]
call fcn.180007c40
nop
lea rcx, [rbp + 0x448]
call fcn.180007c40
nop
lea rcx, [rbp + 0x470]
call fcn.180007c40
nop
lea rcx, [rbp + 0x490]
call fcn.180007c40
jmp 0x180055b19
lea rdx, str.certificate
lea rcx, [rbp + 0x320]
call fcn.1800085a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180058690
mov rcx, rax
lea rdx, [rbp + 0x500]
call fcn.180008510
nop
lea rcx, [rbp + 0x320]
call fcn.180007c40
lea rcx, [rdi + 0x50]
lea rdx, [rbp + 0x470]
call fcn.180008510
mov r9d, 0xe
xor r8d, r8d
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x470]
call fcn.180058790
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x3c8]
call fcn.180058990
mov r9, rax
lea rdx, [rbp]
lea rcx, [rbp + 0x3c8]
call fcn.180058970
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x3c8]
call fcn.180058990
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.180058ae0
lea rdx, str.__doctype_html
lea rcx, [rbp + 0x3c8]
call fcn.180008ef0
test al, al
je 0x180057cd8
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x320]
call fcn.1800085e0
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180058030
lea rcx, [rdi + 0x70]
mov rdx, rax
call fcn.180058a30
lea rcx, [rbp + 0x520]
call fcn.180007c40
jmp 0x180057ce5
lea rdx, [rdi + 0x50]
lea rcx, [rdi + 0x70]
call fcn.180008510
lea rcx, [0x180070310]
call fcn.180053e40
nop
lea rcx, [rbp + 0x3c8]
call fcn.180007c40
jmp 0x180057b7c
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x2d
jb 0x180057d37
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 0x180057d49
lea r9, str.Error:_URL_input_has_scheme_other_than_HTTP_S
mov edx, 0x2d
call fcn.180009a40
nop
mov rdx, qword [rbp + 0x440]
cmp rdx, 0xf
jbe 0x180057d8e
inc rdx
mov rcx, qword [rbp + 0x428]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057d88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057d88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180057dd2
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057dcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057dcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
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 0x180057e30
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057e2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057e2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a14c
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180055cdd
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055cd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055cd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180058ac0
nop
call fcn.180058ac0
int3
call fcn.180005610
nop
call fcn.180005610
int3