Function at 0x180052bd0
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 [0x18006c040]
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.1800581e0
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.1800581e0
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.1800581e0
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 0x180052d46
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 0x180052d8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180056b50
nop
mov rcx, rsi
jmp 0x180053e9b
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, [0x18005fa43]
lea rcx, [rbp + 0x428]
call fcn.1800079e0
nop
lea rax, [rsi + 0x110]
lea rcx, [rbp + 0x2f8]
cmp rcx, rax
je 0x180052e89
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180052e3c
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rax, qword [rbp + 0x310]
cmp rsi, rax
ja 0x180052e7a
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 0x180052e89
mov rdx, rsi
lea rcx, [rbp + 0x2f8]
call fcn.180007c40
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 0x180052f0a
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 0x180052f0a
cmp byte [rax], 0x3a
jne 0x180052ee5
cmp byte [rax + 1], 0x2f
jne 0x180052ee5
cmp byte [rax + 2], 0x2f
jne 0x180052ee5
xor ecx, ecx
jmp 0x180052eea
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180052f57
inc rax
lea r8, [r15 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180052ed0
mov rax, qword [rbp + 0x380]
cmp rax, 5
jb 0x1800531c0
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 0x1800531d8
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x180052f0a
lea rbx, [rbp + 0x2f8]
cmp r13, 0xf
cmova rbx, r12
cmp rsi, 1
jb 0x180052fc1
lea r14, [rsi + rbx]
mov r8, rsi
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180052fc1
nop
cmp byte [rax], 0x3a
jne 0x180052f99
xor ecx, ecx
jmp 0x180052f9e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1800530c5
inc rax
mov r8, r14
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180052f90
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.1800079e0
mov dword [rsp + 0x40], 0x101
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x18005304b
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053046
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005368b
call fcn.1800582ec
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 0x1800530f6
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 0x1800530f6
nop
cmp byte [rax], 0x3a
jne 0x1800530cd
cmp byte [rax + 1], 0x2f
jne 0x1800530cd
cmp byte [rax + 2], 0x2f
jne 0x1800530cd
xor ecx, ecx
jmp 0x1800530d2
sub rax, rbx
jmp 0x180052fc8
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1800531b8
inc rax
lea r8, [r14 - 2]
sub r8, rax
mov edx, 0x3a
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1800530b0
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 0x18005603a
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.1800079e0
mov r14d, 0x301
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x18005319a
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053195
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005368b
call fcn.1800582ec
movups xmm0, xmmword [rbp + 0x3c8]
movups xmmword [rbp + 0x2f8], xmm0
movups xmm1, xmmword [rbp + 0x3d8]
movups xmmword [rbp + 0x308], xmm1
jmp 0x1800531d8
sub rax, rsi
jmp 0x1800530fd
lea r9, str.https
mov edx, 5
lea rcx, [rbp + 0x368]
call fcn.180007c40
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
mov rbx, qword [rbp + 0x378]
cmp rbx, 5
jne 0x18005321b
mov r8, rbx
lea rdx, str.https
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005321b
mov dword [rbp + 0x2f0], 0x1bb
jmp 0x18005325f
lea rcx, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova rcx, qword [rbp + 0x368]
cmp rbx, 4
jne 0x180055ea3
mov r8, rbx
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180055ea3
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 0x1800532d8
lea r12, [r15 + rsi]
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800532d8
nop
cmp byte [rax], 0x2f
jne 0x1800532a9
xor ecx, ecx
jmp 0x1800532ae
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1800532cf
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1800532a0
jmp 0x1800532d8
sub rax, r15
cmp rax, 0xffffffffffffffff
jne 0x180053354
lea r15, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r15, r13
cmp rsi, 1
jb 0x1800536ba
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 0x1800536ba
cmp byte [rax], 0x3f
jne 0x18005331e
xor ecx, ecx
jmp 0x180053323
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180053347
inc rax
mov r8, r12
sub r8, rax
mov edx, 0x3f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180053315
jmp 0x1800536ba
sub rax, r15
cmp rax, 0xffffffffffffffff
je 0x1800536ba
lea rax, [rbp + 0x2f8]
mov rcx, qword [rbp + 0x310]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rsi + rax - 1], 0x3f
je 0x18005360e
lea rax, [rbp + 0x2f8]
cmp rcx, 0xf
cmova rax, r13
cmp byte [rax + rsi - 1], 0x2f
je 0x18005360e
lea rdx, [0x180061bc0]
lea rcx, [rbp + 0x2f8]
call fcn.180056a90
lea rcx, [rbp + 0x2f8]
cmp rax, 0xffffffffffffffff
je 0x1800533fc
lea rdx, [0x180061bc0]
call fcn.180056a90
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180056bd0
lea rcx, [rbp + 0x320]
call fcn.1800061c0
lea rdx, [0x180061bc0]
jmp 0x180053447
lea rdx, [0x180061b3c]
call fcn.180056a90
mov r8, rax
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.180056bd0
lea rcx, [rbp + 0x320]
call fcn.1800061c0
lea rdx, [0x180061b3c]
lea rcx, [rbp + 0x2f8]
call fcn.180056a90
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2f8]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x2f8]
call fcn.180056bd0
lea rcx, [rbp + 0x320]
call fcn.1800061c0
lea rdx, [0x180061bc0]
lea rcx, [rbp + 0x388]
call fcn.180056990
lea rcx, [rbp + 0x388]
cmp rax, 0xffffffffffffffff
je 0x18005354e
lea rdx, [0x180061bc0]
call fcn.180056990
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180056930
lea rdx, [0x180061b50]
mov rcx, rax
call fcn.180056a90
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.1800061c0
cmp rbx, 0xffffffffffffffff
je 0x1800536b3
lea rdx, [0x180061bc0]
lea rcx, [rbp + 0x388]
call fcn.180056990
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180056bd0
lea rcx, [rbp + 0x320]
call fcn.1800061c0
jmp 0x1800536b3
lea rdx, [0x180061b3c]
call fcn.180056990
cmp rax, 0xffffffffffffffff
je 0x1800536b3
lea rdx, [0x180061b3c]
lea rcx, [rbp + 0x388]
call fcn.180056990
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180056930
lea rdx, [0x180061b50]
mov rcx, rax
call fcn.180056a90
mov rbx, rax
lea rcx, [rbp + 0x320]
call fcn.1800061c0
cmp rbx, 0xffffffffffffffff
je 0x1800536b3
lea rdx, [0x180061b3c]
lea rcx, [rbp + 0x388]
call fcn.180056990
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x388]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.180056bd0
lea rcx, [rbp + 0x320]
call fcn.1800061c0
jmp 0x1800536b3
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.1800079e0
bts r14d, 0xa
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180053697
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053692
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
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 0x1800536d3
mov rcx, qword [rsi]
mov r15, qword [rsi + 0x10]
test r15, r15
jne 0x1800536ef
mov r8, r15
lea rdx, [0x18005fa43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180053711
cmp r12, 0xf
jbe 0x1800536f8
mov rsi, qword [rsi]
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x388]
call fcn.180006e30
mov rbx, qword [rbp + 0x378]
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 3
jb 0x180056040
lea r9, [rbp + 0x368]
cmp qword [rbp + 0x380], 0xf
cmova r9, qword [rbp + 0x368]
mov qword [rsp + 0x30], 3
lea rax, [0x180061b78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rbp + 0x3c8]
call fcn.1800578d0
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.180006e30
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.180006e30
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 0x18005388f
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180053872
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005386d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800538c1
mov rcx, r8
call fcn.1800582ec
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 0x180053893
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1800538ce
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800538c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800538c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
nop
mov rdx, qword [rbp + 0x4c8]
cmp rdx, 0xf
jbe 0x180053912
inc rdx
mov rcx, qword [rbp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005390d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005390d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
movdqa xmm0, xmmword [0x180062440]
movdqu xmmword [rbp + 0x4c0], xmm0
mov byte [rbp + 0x4b0], 0
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x18005396d
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053968
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053968
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
lea rbx, [r13 + 0x90]
mov rcx, rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x180053984
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 2
jne 0x180053a0a
lea rdx, [0x180061bc4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180053a0a
lea rax, [rbp + 0x428]
cmp rbx, rax
je 0x180053a0a
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 0x1800539fc
mov r13, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800539e0
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 0x180053a18
mov rdx, r12
mov rcx, rbx
call fcn.180007c40
xor r12d, r12d
mov rsi, qword [rbp + 0x428]
mov r15, qword [rbp + 0x440]
cmp dword [0x18006e450], 0
jne 0x180053a6e
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 0x180053d27
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, [0x18005fa43]
lea rcx, [rbp + 0x330]
call fcn.1800079e0
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 0x180053b17
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 0x180053b26
mov rdx, r12
lea rcx, [rbp + 0x330]
call fcn.180007c40
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, [0x180056100]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180053c26
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x24
jb 0x180053ba1
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 0x180053bb3
lea r9, str.Could_not_create_thread_for_timeout.
mov edx, 0x24
call fcn.180007c40
nop
lea rcx, [rbp + 0x320]
call fcn.180056090
nop
cmp r15, 0xf
jbe 0x180053bfb
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180053bf2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053bf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800582ec
nop
lea rcx, [rbp + 0x368]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x388]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x2f8]
call fcn.1800061c0
jmp 0x180053e96
mov edx, dword [0x18006e450]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180053cca
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.180003780
mov rcx, rax
mov edx, dword [0x18006e450]
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.180003780
mov rcx, rax
lea rdx, [0x180003950]
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.180056b50
nop
lea rcx, [rbp + 0x320]
call fcn.180056090
nop
lea rcx, [rbp + 0x428]
call fcn.1800061c0
jmp 0x180053bfb
mov dword [rbp + 0x360], r12d
lea rdx, [rbp + 0x360]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x180053cf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x180053c9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x360], r12d
je 0x180053d14
lea rdx, str.Worker_function_failed
jmp 0x180053c9f
mov r12, qword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180056090
test r12, r12
jne 0x180053ed7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180056b50
nop
cmp r15, 0xf
jbe 0x180053d87
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180053d7e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055f21
mov rcx, rsi
call fcn.1800582ec
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180053dc8
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053dc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055f66
call fcn.1800582ec
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 0x180053e23
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055fc4
call fcn.1800582ec
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180053e7d
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005602d
call fcn.1800582ec
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], 0
mov rcx, qword [rsp + 0x48]
call fcn.1800042c0
mov rax, rdi
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.180057d40
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 0x180053ef4
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 0x180053f99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180056b50
nop
lea rcx, [rbp + 0x428]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x368]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x388]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x2f8]
call fcn.1800061c0
nop
mov rcx, r13
jmp 0x180053e9b
lea rdx, str.POST
lea rcx, [r13 + 0xd0]
call fcn.1800070f0
test al, al
je 0x1800540a1
lea rdx, [0x180061b40]
lea rcx, [rbp + 0x3a8]
call fcn.1800067a0
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.180056850
cmp qword [rax], rbx
jne 0x18005403a
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.1800067a0
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.180056850
cmp qword [rax], rbx
jne 0x18005403a
mov bl, 1
jmp 0x18005403c
xor bl, bl
test r14b, 4
je 0x180054058
and r14d, 0xfffffffb
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.1800061c0
nop
test r14b, 2
je 0x180054073
and r14d, 0xfffffffd
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.1800061c0
test bl, bl
je 0x1800540a1
lea rcx, [rsp + 0x70]
call fcn.180057190
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180056ce0
nop
lea rcx, [rsp + 0x70]
call fcn.180004090
lea rcx, [r13 + 0xd0]
lea rdx, [0x180061b10]
call fcn.1800070f0
test al, al
je 0x1800541a9
lea rdx, [0x180061b40]
lea rcx, [rbp + 0x3a8]
call fcn.1800067a0
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.180056850
cmp qword [rax], rbx
jne 0x180054142
lea rdx, str.Content_Type
lea rcx, [rbp + 0x3c8]
call fcn.1800067a0
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.180056850
cmp qword [rax], rbx
jne 0x180054142
mov bl, 1
jmp 0x180054144
xor bl, bl
test r14b, 0x10
je 0x180054160
and r14d, 0xffffffef
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3c8]
call fcn.1800061c0
nop
test r14b, 8
je 0x18005417b
and r14d, 0xfffffff7
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x3a8]
call fcn.1800061c0
test bl, bl
je 0x1800541a9
lea rcx, [rsp + 0x70]
call fcn.180057200
nop
lea rcx, [r13 + 0x130]
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.180056ce0
nop
lea rcx, [rsp + 0x70]
call fcn.180004090
lea rdx, [0x18005fa43]
lea rcx, [rbp + 0x490]
call fcn.1800067a0
nop
mov rax, qword [r13 + 0x130]
mov rax, qword [rax]
mov qword [rbp + 0x4f8], rax
cmp byte [rax + 0x19], 0
jne 0x180054474
movabs rsi, 0x7fffffffffffffff
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x320]
call fcn.1800067e0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x340]
call fcn.1800067e0
nop
cmp qword [rbp + 0x338], 0xf
seta r8b
mov rdx, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x330]
test rcx, rcx
jne 0x18005422a
xor al, al
jmp 0x18005422c
mov al, 1
test al, al
je 0x18005444b
mov rax, rsi
sub rax, rcx
cmp rax, 1
jb 0x180056046
lea r9, [rbp + 0x320]
test r8b, r8b
cmovne r9, rdx
mov qword [rsp + 0x30], 1
lea rax, [0x180061b5c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x3a8]
call fcn.1800578d0
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.180006e30
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, [0x180060f10]
lea rcx, [rbp + 0x470]
call fcn.180006e30
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.180006e30
nop
mov rdx, qword [rbp + 0x3e0]
cmp rdx, 0xf
jbe 0x1800543af
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800543a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054528
call fcn.1800582ec
nop
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x1800543f0
inc rdx
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800543eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005452f
call fcn.1800582ec
mov qword [rbp + 0x480], r15
mov qword [rbp + 0x488], 0xf
mov byte [rbp + 0x470], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x18005444b
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054445
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054536
call fcn.1800582ec
nop
lea rcx, [rbp + 0x320]
call fcn.180004090
lea rcx, [rbp + 0x4f8]
call fcn.180007080
mov rax, qword [rbp + 0x4f8]
cmp byte [rax + 0x19], 0
je 0x1800541e2
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 0x1800544ad
lea rdx, [0x18005fa43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800544d4
mov r8d, 4
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x490]
call fcn.180006e30
mov r15, qword [rbp + 0x4a8]
mov rbx, qword [rbp + 0x490]
mov esi, 0xffffffff
cmp dword [0x18006e454], 0
jne 0x18005453d
lea r9, [0x18006e360]
cmp qword [0x18006e378], 0xf
cmova r9, qword [0x18006e360]
lea rdx, [rbp + 0x490]
cmp r15, 0xf
cmova rdx, rbx
mov eax, dword [0x18006e370]
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 0x180054723
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, [0x18005fa43]
lea rcx, [rbp + 0x330]
call fcn.1800079e0
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 0x1800545d8
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 0x1800545e7
mov rdx, r15
lea rcx, [rbp + 0x330]
call fcn.180007c40
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x320]
lea r8, [0x180056160]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x180054646
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rdi + 0xb0]
call fcn.180056b50
nop
lea rcx, [rbp + 0x320]
call fcn.180056090
nop
lea rcx, [rbp + 0x490]
call fcn.1800061c0
jmp 0x180053f5d
mov edx, dword [0x18006e454]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1800546c1
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.180003780
mov rcx, rax
mov edx, dword [0x18006e454]
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.180003780
mov rcx, rax
lea rdx, [0x180003950]
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 0x18005461b
mov dword [rbp + 0x2f0], r12d
lea rdx, [rbp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1800546f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
jmp 0x18005461b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x2f0], r12d
je 0x180054711
lea rdx, str.Worker_function_failed
jmp 0x18005461b
mov ebx, dword [rbp + 0x328]
lea rcx, [rbp + 0x320]
call fcn.180056090
test ebx, ebx
jne 0x18005474a
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.180056b50
jmp 0x180054635
lea rcx, [rbp + 0x470]
call fcn.180006900
nop
mov r15, r12
cmp qword [r13 + 0xa0], 0
je 0x1800547cb
lea rcx, [r13 + 0x90]
call fcn.180006700
mov rbx, rax
mov qword [rbp], r12
lea r8, [0x180061d58]
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 0x18005479d
mov rcx, qword [rbp]
test rcx, rcx
je 0x18005479d
mov r15, rcx
jmp 0x1800547cb
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.180003780
mov rcx, rax
mov rdx, rbx
call fcn.180003780
mov rcx, rax
lea rdx, [0x180003950]
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 0x1800548a4
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 0x180054821
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 0x180054894
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 0x180054879
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 0x180054894
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x540]
mov rdx, rsi
lea rcx, [rbp + 0x470]
call fcn.180007d80
test r12d, r12d
je 0x1800548a4
mov esi, dword [rbp + 0x2f0]
jmp 0x1800547d6
test r15, r15
mov rdi, qword [rsp + 0x68]
je 0x1800548c0
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.180006900
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 0x1800549d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x180054e10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180054e10
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x458]
cmp rcx, rdx
ja 0x180054972
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 0x1800548e0
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x460]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x1800549bd
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 0x1800548d7
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x448]
call fcn.180057550
jmp 0x1800548d7
lea rcx, [rbp + 0x448]
call fcn.180056f80
test al, al
je 0x180054e10
lea rdx, [0x180060f90]
lea rcx, [rbp + 0x3a8]
call fcn.1800067a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180006900
nop
lea rcx, [rbp + 0x4b0]
call fcn.180006900
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.180057490
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180054de5
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x448]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.180056bd0
lea rcx, [rbp + 0x4d0]
call fcn.1800061c0
lea rbx, [0x180061b5c]
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
cmp rax, 0xffffffffffffffff
je 0x180054d99
mov rdx, rbx
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x3e8]
call fcn.180056930
mov rdx, rax
lea rcx, [rbp + 0x4b0]
call fcn.180056bd0
lea rcx, [rbp + 0x4d0]
call fcn.1800061c0
lea rcx, [rbp + 0x4b0]
call fcn.180056af0
mov rsi, rax
lea rcx, [rbp + 0x4b0]
call fcn.180006700
mov rbx, rax
cmp rax, rsi
je 0x180054b45
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 0x180054b32
lea rcx, [rbp + 0x4b0]
cmp qword [rbp + 0x4c8], 0xf
cmova rcx, qword [rbp + 0x4b0]
cmp qword [rbp + 0x4c0], 0xa
jne 0x180054c33
mov r8d, 0xa
lea rdx, str.set_cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180054c33
lea rdx, [0x180061b5c]
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.180056930
nop
lea r8, [0x180061b78]
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x4d0]
call fcn.180056fc0
nop
lea r8, [rbp + 0x2f8]
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.180057120
nop
lea rcx, [rbp + 0x4d0]
call fcn.1800061c0
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.180056ad0
mov r8, rax
lea rcx, [rbp + 0x520]
call fcn.180056ad0
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetCookieA]
lea rcx, [rbp + 0x520]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
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, [0x180061b5c]
mov rbx, qword [rbp + 0x3f8]
mov rdx, rbx
call fcn.180057490
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 0x180056034
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.1800079e0
bts r14d, 0xc
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x70]
call fcn.1800067e0
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.180057b60
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180054d60
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054d5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054dde
call fcn.1800582ec
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180054d99
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054d93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054dde
call fcn.1800582ec
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 0x180054a30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x4b0]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x3e8]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x3a8]
call fcn.1800061c0
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 0x180054f3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x18005523c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18005523c
mov ecx, dword [rbp + 0x360]
mov rdx, qword [rbp + 0x418]
cmp rcx, rdx
ja 0x180054ed2
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 0x180054e40
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0x420]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x180054f22
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 0x180054e40
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp + 0x408]
call fcn.180057550
mov rsi, qword [rsp + 0x50]
jmp 0x180054e40
lea rcx, [rbp + 0x408]
call fcn.180056f80
test al, al
je 0x18005523c
lea rdx, [0x180060f90]
lea rcx, [rbp + 0x4d0]
call fcn.1800067a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180006900
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.180057490
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18005521b
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.1800079e0
bts r14d, 0xb
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x400]
cmp rdx, 0xf
jbe 0x180055059
inc rdx
mov rcx, qword [rbp + 0x3e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055054
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055214
call fcn.1800582ec
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, [0x180061b5c]
mov r9, r15
movq rdx, xmm1
call fcn.180057490
cmp rax, 0xffffffffffffffff
je 0x1800551cf
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x3e8]
call fcn.180056930
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x3a8]
lea rcx, [rbp + 0x3e8]
call fcn.180056930
nop
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rbp + 0x520]
lea rcx, [rbp + 0x3e8]
call fcn.180056930
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x3e8]
call fcn.180056a90
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x3e8]
call fcn.180056930
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180057270
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rdi + 0x10]
call fcn.180056ce0
nop
lea rcx, [rsp + 0x70]
call fcn.180004090
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x520]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x3a8]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x4b0]
call fcn.1800061c0
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 0x180054f81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x3e8]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x4d0]
call fcn.1800061c0
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 0x180055296
mov edx, dword [rbp + 8]
lea rcx, [rbp + 0x320]
call fcn.180051f60
lea rcx, [rdi + 0x90]
mov rdx, rax
call fcn.180056bd0
lea rcx, [rbp + 0x320]
call fcn.1800061c0
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 0x180055491
je 0x180055458
dec eax
cmp eax, 0x1f
ja case.0x180055300.7
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x56068]
mov ecx, dword [rdx + rax*4 + 0x5604c]
add rcx, rdx
jmp rcx
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_client_side.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_3.0_server_side.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_client_side._Superseded_by_SP_PROT_TLS1_CLIENT.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Secure_Sockets_Layer_2.0_server_side._Superseded_by_SP_PROT_TLS1_SERVER.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_client_side._Obsolete.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Private_Communications_Technology_1.0_server_side._Obsolete.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_server_side
call fcn.180056b50
nop
jmp 0x1800555d6
cmp eax, 0x80
je 0x1800555a2
cmp eax, 0x100
je 0x18005556c
cmp eax, 0x200
je 0x180055536
cmp eax, 0x400
je 0x1800554fd
cmp eax, 0x800
jne case.0x180055300.7
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_client_side
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.2_server_side.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_client_side
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.1_server_side.
call fcn.180056b50
nop
jmp 0x1800555d6
lea rdx, str.protocol
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Transport_Layer_Security_1.0_client_side
call fcn.180056b50
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
mov eax, dword [rbp + 0x2c]
cmp eax, 0x6603
ja 0x1800556f2
je 0x1800556b9
test eax, eax
je 0x180055680
sub eax, 0x6601
je 0x180055647
cmp eax, 1
jne 0x1800557b9
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.RC2_block_encryption_algorithm
call fcn.180056b50
nop
jmp 0x1800557ad
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.DES_encryption_algorithm
call fcn.180056b50
nop
jmp 0x1800557ad
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.No_encryption
call fcn.180056b50
nop
jmp 0x1800557ad
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.3DES_block_encryption_algorithm
call fcn.180056b50
nop
jmp 0x1800557ad
sub eax, 0x660e
je 0x180055779
sub eax, 2
je 0x180055743
cmp eax, 0x1f1
jne 0x1800557b9
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.RC4_stream_encryption_algorithm
call fcn.180056b50
nop
jmp 0x1800557ad
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.AES_256_bit_encryption_algorithm
call fcn.180056b50
nop
jmp 0x1800557ad
lea rdx, str.cipher
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.AES_128_bit_encryption_algorithm
call fcn.180056b50
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
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.1800079e0
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 0x180055800
lea r8, [rbp + 0x3fd]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.18000bf10
or r14d, 0x30000
mov dword [rsp + 0x40], r14d
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.1800572d0
mov rbx, qword [rax]
add rbx, 0x40
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x1800558cd
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800558a4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005589f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800558c6
mov rcx, r8
call fcn.1800582ec
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 0x1800558d1
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 0x18005590c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055906
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055906
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
nop
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180055950
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005594b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005594b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
mov eax, dword [rbp + 0x34]
sub eax, 0x8003
je 0x180055995
cmp eax, 1
jne 0x1800559d5
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.SHA_hashing_algorithm
call fcn.180056b50
nop
jmp 0x1800559c9
lea rdx, str.hash
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.MD5_hashing_algorithm
call fcn.180056b50
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
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.1800079e0
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.1800572d0
mov rdx, qword [rax]
lea rcx, [rdx + 0x40]
cmp qword [rdx + 0x58], 0xf
jbe 0x180055a2b
mov rcx, qword [rdx + 0x40]
mov r8, qword [rdx + 0x50]
test r8, r8
jne 0x180055a48
lea rdx, [0x18005fa43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180055a48
xor bl, bl
jmp 0x180055a4a
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180055a8e
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055a89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055a89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
test bl, bl
je 0x180055aed
lea rdx, str.hash_strength
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
mov edx, dword [rbp + 0x38]
lea rcx, [rbp + 0x520]
call fcn.180051f60
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
mov rdx, rbx
call fcn.180056bd0
nop
lea rcx, [rbp + 0x520]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
mov eax, dword [rbp + 0x3c]
cmp eax, 0xa400
je 0x180055b34
cmp eax, 0xaa02
jne 0x180055b74
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.Diffie_Hellman_key_exchange
call fcn.180056b50
nop
jmp 0x180055b68
lea rdx, str.key_exch
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, str.RSA_key_exchange
call fcn.180056b50
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
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.1800079e0
nop
lea rcx, [rdi + 0x20]
lea r8, [rbp + 0x3a8]
lea rdx, [rsp + 0x58]
call fcn.1800572d0
mov r8, qword [rax]
lea rcx, [r8 + 0x40]
cmp qword [r8 + 0x58], 0xf
jbe 0x180055bca
mov rcx, qword [r8 + 0x40]
mov r8, qword [r8 + 0x50]
test r8, r8
jne 0x180055be7
lea rdx, [0x18005fa43]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180055be7
xor bl, bl
jmp 0x180055be9
mov bl, 1
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 0xf
jbe 0x180055c2d
inc rdx
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055c28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055c28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
test bl, bl
je 0x180055c8c
lea rdx, str.key_exch_strength
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
mov edx, dword [rbp + 0x40]
lea rcx, [rbp + 0x520]
call fcn.180051f60
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
mov rdx, rbx
call fcn.180056bd0
nop
lea rcx, [rbp + 0x520]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
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.180057550
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 0x180055d61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetQueryOption_failed
add rdx, rax
lea rcx, [rdi + 0xb0]
call fcn.180056b50
nop
lea rcx, [rbp + 0x500]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x408]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x448]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x470]
call fcn.1800061c0
nop
lea rcx, [rbp + 0x490]
call fcn.1800061c0
jmp 0x180053cb9
lea rdx, str.certificate
lea rcx, [rbp + 0x320]
call fcn.1800067a0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x320]
call fcn.180056830
mov rcx, rax
lea rdx, [rbp + 0x500]
call fcn.180006710
nop
lea rcx, [rbp + 0x320]
call fcn.1800061c0
lea rcx, [rdi + 0x50]
lea rdx, [rbp + 0x470]
call fcn.180006710
mov r9d, 0xe
xor r8d, r8d
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x470]
call fcn.180056930
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x3c8]
call fcn.180056b30
mov r9, rax
lea rdx, [rbp]
lea rcx, [rbp + 0x3c8]
call fcn.180056b10
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x3c8]
call fcn.180056b30
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.180056c80
lea rdx, str.__doctype_html
lea rcx, [rbp + 0x3c8]
call fcn.1800070f0
test al, al
je 0x180055e78
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x320]
call fcn.1800067e0
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.1800561d0
lea rcx, [rdi + 0x70]
mov rdx, rax
call fcn.180056bd0
lea rcx, [rbp + 0x520]
call fcn.1800061c0
jmp 0x180055e85
lea rdx, [rdi + 0x50]
lea rcx, [rdi + 0x70]
call fcn.180006710
lea rcx, [0x18006e310]
call fcn.180051fe0
nop
lea rcx, [rbp + 0x3c8]
call fcn.1800061c0
jmp 0x180055d1c
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 0x2d
jb 0x180055ed7
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 0x180055ee9
lea r9, str.Error:_URL_input_has_scheme_other_than_HTTP_S
mov edx, 0x2d
call fcn.180007c40
nop
mov rdx, qword [rbp + 0x440]
cmp rdx, 0xf
jbe 0x180055f2e
inc rdx
mov rcx, qword [rbp + 0x428]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055f28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
nop
mov rdx, qword [rbp + 0x380]
cmp rdx, 0xf
jbe 0x180055f72
inc rdx
mov rcx, qword [rbp + 0x368]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055f6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
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 0x180055fd0
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055fcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055fcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800582ec
mov qword [rbp + 0x398], rbx
mov qword [rbp + 0x3a0], 0xf
mov byte [rbp + 0x388], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x180053e7d
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053e78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180056c60
nop
call fcn.180056c60
int3
call fcn.180003f80
nop
call fcn.180003f80
int3