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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov rsi, rdx
mov r13, rcx
mov dword [rbp + 0xf8], 1
call fcn.180067090
nop
mov dword [rbp + 0xf8], 1
xor r12d, r12d
cmp byte [0x1801d32c2], r12b
je 0x180066102
mov rcx, qword [0x1801d32c8]
test rcx, rcx
je 0x180066047
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [0x1801d3250]
call fcn.180050ad0
mov r8, rax
lea rcx, [0x1801d3170]
call fcn.180050ad0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov edx, dword [0x1801d32e8]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [0x1801d32c8], rax
test rax, rax
je 0x1800660f9
lea rdx, [0x18015582a]
lea rcx, [0x1801d3250]
call fcn.180052de0
test al, al
jne 0x1800660f9
lea rdx, [0x18015582a]
lea rcx, [0x1801d3270]
call fcn.180052de0
test al, al
jne 0x1800660f9
mov r9d, dword [0x1801d3280]
lea r8, [0x1801d3270]
mov edx, Ordinal_46
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [0x1801d32a0]
lea r8, [0x1801d3290]
mov edx, Ordinal_46
mov rcx, qword [0x1801d32c8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rbx, qword [0x1801d32c8]
mov byte [0x1801d32c2], r12b
jmp 0x180066109
mov rbx, qword [0x1801d32c8]
test rbx, rbx
jne 0x18006614c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.180050b80
nop
mov rcx, rsi
call fcn.18003fe50
mov rax, r13
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movabs r15, 0x7fffffffffffffff
movabs r14, 0x2aaaaaaaaaaaaaa
mov ebx, 4
mov ecx, 0x1bb
nop word [rax + rax]
mov word [rbp + 0xf0], cx
lea r9, [rbp + 0xf0]
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.180067200
nop
mov qword [rsp + 0x70], r12
xorps xmm0, xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x50], 0x74736f68
mov byte [rsp + 0x54], 0
cmp dword [0x1801d32e0], 0
jne 0x1800663f7
movzx r14d, word [rbp + 0xf0]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18006dfa0
mov rsi, qword [rbp - 0x30]
cmp byte [rsi + 0x19], 0
jne 0x180066232
lea rdx, [rsi + 0x20]
mov rdi, qword [rdx + 0x10]
lea rcx, [rsp + 0x50]
cmp qword [rdx + 0x18], 0xf
jbe 0x180066200
mov rdx, qword [rdx]
mov r8, rbx
cmp rdi, rbx
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180066219
jns 0x180066228
mov al, 0xff
jmp 0x18006622a
cmp rbx, rdi
jae 0x180066222
mov al, 0xff
jmp 0x18006622a
jbe 0x1800662d9
mov al, 1
test al, al
jns 0x1800662d9
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsp + 0x48], rax
je 0x180067071
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], r12
mov ecx, 0x60
call fcn.180125fb8
nop
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rax + 0x40], 0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0x30], r12
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18001f360
mov rsi, rax
lea rdx, [rsi + 0x40]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800662e7
mov rdx, qword [rdx]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
movzx r8d, r14w
mov rcx, qword [0x1801d32c8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r14, rax
mov qword [rbp], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180066356
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066351
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066ad7
call fcn.18012643c
mov rsi, qword [rbp + 0xe8]
test r14, r14
je 0x180067014
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov eax, 4
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x50], 0x68746170
mov byte [rsp + 0x54], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18006dfa0
mov rdi, qword [rbp - 0x30]
cmp byte [rdi + 0x19], 0
jne 0x180066561
lea rdx, [rdi + 0x20]
mov rbx, qword [rdx + 0x10]
lea rcx, [rsp + 0x50]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800663d0
mov rdx, qword [rdx]
mov r8d, 4
cmp rbx, r8
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180066543
jns 0x180066557
mov al, 0xff
jmp 0x180066559
movzx edi, word [rbp + 0xf0]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18006dfa0
mov rbx, qword [rbp - 0x30]
cmp byte [rbx + 0x19], 0
jne 0x180066431
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.1800640a0
test al, al
je 0x1800664ce
cmp qword [rsp + 0x48], r14
je 0x18006706b
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r12
mov ecx, 0x60
call fcn.180125fb8
nop
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rax + 0x40], 0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0x40], r12
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18001f360
mov rbx, rax
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x68]
call fcn.180050c60
mov word [rsp + 0x20], di
mov r9, rax
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [0x1801d32c8]
call fcn.18006cf00
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180066535
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066ade
call fcn.18012643c
mov r14, qword [rsp + 0x70]
mov qword [rbp], r14
jmp 0x18006635d
mov eax, 4
cmp rax, rbx
jae 0x180066551
mov al, 0xff
jmp 0x180066559
jbe 0x180066608
mov al, 1
test al, al
jns 0x180066608
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsp + 0x48], rax
je 0x18006705f
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], r12
mov ecx, 0x60
call fcn.180125fb8
nop
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rax + 0x40], 0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0x50], r12
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18001f360
mov rdi, rax
lea r8, [rdi + 0x40]
cmp qword [r8 + 0x18], 0xf
jbe 0x180066616
mov r8, qword [r8]
lea rdx, [rsi + 0x80]
cmp qword [rdx + 0x18], 0xf
jbe 0x180066627
mov rdx, qword [rdx]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0xa00000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r12, rax
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18006668f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006668a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066ae5
call fcn.18012643c
test r12, r12
je 0x180066fb8
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.180068b20
nop
cmp dword [0x1801d32e4], 0
jne 0x1800666f6
mov eax, dword [0x1801d31c0]
lea r9, [0x1801d31b0]
cmp qword [0x1801d31c8], 0xf
cmova r9, qword [0x1801d31b0]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
jmp 0x1800667f2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov rdi, qword [rbp - 0x58]
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rsi, qword [rbp - 0x68]
cmp rdi, r15
ja 0x180067083
cmp rdi, 0xf
ja 0x180066746
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
jmp 0x1800667d6
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x180066765
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18006678c
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800667ae
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180067077
mov rcx, rax
call fcn.180125fb8
mov rcx, rax
test rax, rax
je 0x180066aec
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800667b8
test rcx, rcx
je 0x1800667b8
call fcn.180125fb8
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18006cba0
movzx eax, al
mov rsi, qword [rbp + 0xe8]
test eax, eax
je 0x180066f34
mov r9, rsi
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.180069730
nop
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.1800698d0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180069ac0
cmp byte [0x1801d32c1], 0
je 0x180066af3
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
seta sil
mov rbx, qword [rbp - 0x20]
cmova rcx, rbx
mov rdi, qword [rbp - 0x10]
cmp rdi, 8
jne 0x180066883
mov r8, rdi
lea rdx, str.absolute
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800669ab
lea rcx, [rbp - 0x20]
test sil, sil
cmovne rcx, rbx
cmp rdi, 8
jne 0x180066af3
mov r8, rdi
lea rdx, str.relative
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180066af3
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1800668f4
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800668ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066e48
call fcn.18012643c
xor r12d, r12d
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180066943
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006693e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066e98
call fcn.18012643c
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x18006698f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006698a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066f99
call fcn.18012643c
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rsi, qword [rbp + 0xe8]
jmp 0x180066370
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1800669f9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800669f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066e48
call fcn.18012643c
xor r12d, r12d
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180066a48
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066a43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066e98
call fcn.18012643c
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180066a94
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066a8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066f99
call fcn.18012643c
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.180055060
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18012643c
mov rsi, qword [rbp + 0xe8]
jmp 0x180066156
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 rcx, r12
call fcn.18006b1b0
mov rdx, r13
mov rcx, r12
call fcn.18006b870
lea rdi, [r13 + 0x60]
lea rax, [rsp + 0x78]
cmp rdi, rax
je 0x180066b33
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rdi
call fcn.180052150
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov r8d, reloc.WS2_32.dll_ntohl
cmp qword [rbp - 0x78], r8
cmovb r8, qword [rbp - 0x78]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
lea rcx, [rbp + 8]
call fcn.180043e10
mov dword [rbp + 0xf8], 3
lea rbx, [rbp + 8]
mov rsi, qword [rbp + 8]
mov r15, qword [rbp + 0x20]
cmp r15, 0xf
cmova rbx, rsi
lea r14, [rbp + 8]
cmova r14, rsi
mov r8, qword [rbp + 0x18]
add r14, r8
cmp rbx, r14
je 0x180066bbf
nop
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 0x180066ba0
mov r15, qword [rbp + 0x20]
mov r8, qword [rbp + 0x18]
mov rsi, qword [rbp + 8]
lea rcx, [rbp + 8]
cmp r15, 0xf
cmova rcx, rsi
cmp r8, 0xe
jne 0x180066d99
lea rdx, str.__doctype_html
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180066d99
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor edx, edx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov rbx, qword [rbp - 0x78]
lea rdi, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdi, qword [rsp + 0x78]
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x18006707d
cmp rbx, 0xf
ja 0x180066c45
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
jmp 0x180066cda
mov rax, rbx
or rax, 0xf
cmp rax, r14
jbe 0x180066c81
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180125fb8
mov rcx, rax
test rax, rax
je 0x180066d8b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180066cbc
mov r14, rax
cmp rax, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x180066cad
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180067065
jmp 0x180066c5f
test rcx, rcx
je 0x180066cb9
call fcn.180125fb8
jmp 0x180066cbc
mov rax, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x48]
call fcn.18006d2e0
mov rdi, rax
lea rbx, [r13 + 0x80]
cmp rbx, rax
je 0x180066d59
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180066d2d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180066d28
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180066d8b
mov rcx, r8
call fcn.18012643c
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], al
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], al
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x180066dbb
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066d92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066d92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18012643c
jmp 0x180066dbb
lea rcx, [r13 + 0x80]
cmp rcx, rdi
je 0x180066dbb
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x180066db3
mov rdi, qword [rdi]
mov rdx, rdi
call fcn.180052150
lea rcx, [0x1801d3170]
call fcn.180065b00
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp r15, 0xf
jbe 0x180066e16
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180066e0d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066e0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18012643c
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180066e54
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066e4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066e4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18012643c
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180066ea4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066e9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066e9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18012643c
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180066ef0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066f99
call fcn.18012643c
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.180055060
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18012643c
nop
mov rcx, qword [rbp + 0xe8]
jmp 0x180066130
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpSendRequest_failed_with_error_code
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180066f50
lea rcx, [r13 + 0xc0]
call fcn.180052150
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180066fa5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066fa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066fa0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18012643c
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], al
jmp 0x180066fe8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180066fd1
lea rcx, [r13 + 0xc0]
call fcn.180052150
nop
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.180055060
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18012643c
jmp 0x18006612d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.180050b80
nop
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.180055060
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18001f5e0
jmp 0x18006612d
call fcn.180002ab0
nop
call fcn.180002a10
nop
call fcn.180002ab0
nop
call fcn.180002ab0
nop
call fcn.180002a10
nop
call fcn.18003cf00
nop
call fcn.18003cf00
int3