Function at 0x1800656d0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1800bf280]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
mov qword [rsp + 0x70], rdx
mov r13, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x38], rdx
mov dword [rsp + 0x68], 1
call fcn.180066490
nop
mov dword [rsp + 0x68], 1
xor esi, esi
cmp byte [0x1800c5ea2], sil
je 0x18006584e
mov rcx, qword [0x1800c5ea8]
test rcx, rcx
je 0x180065744
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [0x1800c5d50]
cmp qword [0x1800c5d68], 0x10
cmovae rcx, qword [0x1800c5d50]
lea rdi, [0x1800c5e30]
mov r8, rdi
cmp qword [0x1800c5e48], 0x10
cmovae r8, qword [0x1800c5e30]
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov edx, dword [0x1800c5ec8]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [0x1800c5ea8], rax
test rax, rax
je 0x180065840
cmp qword [0x1800c5e48], 0x10
cmovae rdi, qword [0x1800c5e30]
mov r8, qword [0x1800c5e40]
test r8, r8
jne 0x1800657ca
lea rdx, [0x1800a6ebb]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180065840
lea rcx, [0x1800c5e50]
cmp qword [0x1800c5e68], 0x10
cmovae rcx, qword [0x1800c5e50]
mov r8, qword [0x1800c5e60]
test r8, r8
jne 0x1800657fd
lea rdx, [0x1800a6ebb]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180065840
mov r9d, dword [0x1800c5e60]
lea r8, [0x1800c5e50]
mov edx, 0x2b
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [0x1800c5e80]
lea r8, [0x1800c5e70]
mov edx, 0x2c
mov rcx, qword [0x1800c5ea8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rbx, qword [0x1800c5ea8]
mov byte [0x1800c5ea2], sil
mov rdi, qword [rsp + 0x70]
jmp 0x180065855
mov rbx, qword [0x1800c5ea8]
test rbx, rbx
jne 0x18006587d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.18006ef60
jmp 0x180066444
movabs r15, 0x7fffffffffffffff
mov ecx, 0x1bb
nop dword [rax]
mov word [rbp - 0x40], cx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea r9, [rbp - 0x40]
mov r8, r13
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180066600
nop
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8d, 4
lea rdx, str.host
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
cmp dword [0x1800c5ec0], 0
jne 0x18006597f
call fcn.180007af0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.18006ec70
cmp qword [rax + 0x18], 0x10
jb 0x180065903
mov rax, qword [rax]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
xor r9d, r9d
movzx r8d, word [rbp - 0x40]
mov rdx, rax
mov rcx, qword [0x1800c5ea8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180065a07
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065975
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180065f01
call fcn.18008c01c
jmp 0x180065a07
call fcn.180007af0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.18006ec70
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.180005f30
movzx ecx, word [rbp - 0x40]
mov word [rsp + 0x20], cx
mov r9, rax
mov r8, r13
lea rdx, [rsp + 0x40]
lea rcx, [0x1800c5ea8]
call fcn.18006dee0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800659fd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800659f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180065f08
call fcn.18008c01c
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x78], r12
test r12, r12
je 0x180066417
lea r14, [rdi + 0x80]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8d, 4
lea rdx, [0x1800af0d4]
lea rcx, [rsp + 0x48]
call fcn.180007af0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.18006ec70
cmp qword [rax + 0x18], 0x10
jb 0x180065a62
mov rax, qword [rax]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x180065a6f
mov rdx, qword [r14]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0xa00000
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rax
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180065ada
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180065f0f
call fcn.18008c01c
test rbx, rbx
je 0x180066406
lea r8, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp]
call fcn.180068ef0
nop
cmp dword [0x1800c5ec4], 0
jne 0x180065b40
lea r9, [0x1800c5d90]
cmp qword [0x1800c5da8], 0x10
cmovae r9, qword [0x1800c5d90]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov eax, dword [0x1800c5da0]
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
jmp 0x180065c3e
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rsi, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rsi, qword [rbp]
mov rdi, qword [rbp + 0x10]
cmp rdi, r15
ja 0x180066476
mov qword [rsp + 0x60], 0xf
cmp rdi, 0x10
jae 0x180065b8e
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x48], xmm0
jmp 0x180065c22
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x180065bad
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x180065bd4
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180065bf6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180066482
mov rcx, rax
call fcn.18008bb90
mov rcx, rax
test rax, rax
je 0x180065f16
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180065c04
test rcx, rcx
je 0x180065c02
call fcn.18008bb90
jmp 0x180065c04
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.18006da90
movzx eax, al
mov rdi, qword [rsp + 0x70]
xor esi, esi
test eax, eax
je 0x1800663ae
mov r9, rdi
mov r8, r13
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.180069cc0
nop
mov r8, r13
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.180069e60
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
mov r8, r13
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18006a010
cmp byte [0x1800c5ea1], 0
je 0x180065f1d
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
setae sil
mov rbx, qword [rbp + 0x20]
cmovae rcx, rbx
mov rdi, qword [rbp + 0x30]
cmp rdi, 8
jne 0x180065ccd
mov r8, rdi
lea rdx, str.absolute
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180065df2
lea rcx, [rbp + 0x20]
test sil, sil
cmovne rcx, rbx
cmp rdi, 8
jne 0x180065f1d
mov r8, rdi
lea rdx, str.relative
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180065f1d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180065d40
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065d3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800662e3
call fcn.18008c01c
xor esi, esi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], sil
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180065d8d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065d88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066333
call fcn.18008c01c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180065dd8
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065dd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800663ff
call fcn.18008c01c
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rdi, qword [rsp + 0x70]
jmp 0x180065a20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180065e42
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065e3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800662e3
call fcn.18008c01c
xor esi, esi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], sil
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180065e8f
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066333
call fcn.18008c01c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180065eda
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065ed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800663ff
call fcn.18008c01c
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.180007a80
mov rdi, qword [rsp + 0x70]
jmp 0x180065887
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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
mov rdx, r13
mov r12, qword [rsp + 0x40]
mov rcx, r12
call fcn.18006b9b0
mov rdx, r13
mov rcx, r12
call fcn.18006c0a0
lea rdi, [r13 + 0x60]
lea rax, [rbp - 0x20]
cmp rdi, rax
je 0x180065f8f
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae r9, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x10]
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x180065f84
mov rsi, rdi
cmp rax, 0x10
jb 0x180065f6c
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x180065f8f
mov rdx, rbx
mov rcx, rdi
call fcn.180007df0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov r8d, 0xe
cmp qword [rbp - 0x10], r8
cmovb r8, qword [rbp - 0x10]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x40]
call fcn.180007af0
mov dword [rsp + 0x68], 3
lea rbx, [rbp + 0x40]
mov rsi, qword [rbp + 0x40]
mov r15, qword [rbp + 0x58]
cmp r15, 0x10
cmovae rbx, rsi
lea r14, [rbp + 0x40]
cmovae r14, rsi
mov r8, qword [rbp + 0x50]
add r14, r8
cmp rbx, r14
je 0x18006601f
nop dword [rax]
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, r14
jne 0x180066000
mov r15, qword [rbp + 0x58]
mov r8, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
cmp r15, 0x10
cmovae rcx, rsi
cmp r8, 0xe
jne 0x180066203
lea rdx, str.__doctype_html
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180066203
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edx, edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdx
lea rdi, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x10]
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x180066488
mov qword [rsp + 0x60], 0xf
cmp rbx, 0x10
jae 0x1800660a3
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
jmp 0x180066138
mov rax, rbx
or rax, 0xf
cmp rax, r14
jbe 0x1800660df
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18008bb90
mov rcx, rax
test rax, rax
je 0x1800661f5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18006611a
mov r14, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x18006610b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006647c
jmp 0x1800660bd
test rcx, rcx
je 0x180066117
call fcn.18008bb90
jmp 0x18006611a
mov rax, rdx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r14
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.18006e3a0
mov rdi, rax
lea rbx, [r13 + 0x80]
cmp rbx, rax
je 0x1800661bf
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18006618b
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180066186
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800661f5
mov rcx, r8
call fcn.18008c01c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180066255
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800661fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800661fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008c01c
jmp 0x180066255
lea rcx, [r13 + 0x80]
cmp rcx, rdi
je 0x180066255
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006621c
mov r9, qword [rdi]
mov rbx, qword [rdi + 0x10]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x18006624d
mov rdi, rcx
cmp rax, 0x10
jb 0x180066235
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x180066255
mov rdx, rbx
call fcn.180007df0
lea rcx, [0x1800c5d50]
call fcn.180065160
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp r15, 0x10
jb 0x1800662b1
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800662a8
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800662a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18008c01c
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1800662ef
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800662ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800662ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008c01c
xor esi, esi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], sil
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18006633f
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006633a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006633a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008c01c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180066386
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066381
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800663ff
call fcn.18008c01c
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.180007a80
nop
mov rcx, qword [rsp + 0x70]
jmp 0x180066447
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpSendRequest_failed_with_error_code
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.18006ef60
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180066386
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066381
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066381
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
jmp 0x180066426
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.18006ef60
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.180007a80
nop
mov rcx, rdi
call fcn.180003160
mov rax, r13
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.18008b900
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800027c0
nop
call fcn.180002720
nop
call fcn.180002720
nop
call fcn.1800027c0
int3