Function at 0x18005f840
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.180060850
nop
mov dword [rbp + 0xf8], 1
xor r12d, r12d
cmp byte [0x1801c7be2], r12b
je 0x18005f962
mov rcx, qword [0x1801c7be8]
test rcx, rcx
je 0x18005f8a7
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [0x1801c7b70]
call fcn.18004a6c0
mov r8, rax
lea rcx, [0x1801c7a90]
call fcn.18004a6c0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov edx, dword [0x1801c7c08]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [0x1801c7be8], rax
test rax, rax
je 0x18005f959
lea rdx, [0x1800f34ba]
lea rcx, [0x1801c7b70]
call fcn.18004caf0
test al, al
jne 0x18005f959
lea rdx, [0x1800f34ba]
lea rcx, [0x1801c7b90]
call fcn.18004caf0
test al, al
jne 0x18005f959
mov r9d, dword [0x1801c7ba0]
lea r8, [0x1801c7b90]
mov edx, 0x2b
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [0x1801c7bc0]
lea r8, [0x1801c7bb0]
mov edx, 0x2c
mov rcx, qword [0x1801c7be8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rbx, qword [0x1801c7be8]
mov byte [0x1801c7be2], r12b
jmp 0x18005f969
mov rbx, qword [0x1801c7be8]
test rbx, rbx
jne 0x18005f991
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.18004a6f0
jmp 0x180060789
movabs r15, 0x7fffffffffffffff
movabs r14, 0x2aaaaaaaaaaaaaa
mov ebx, 4
mov ecx, 0x1bb
nop
mov word [rbp + 0xf0], cx
lea r9, [rbp + 0xf0]
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1800609c0
nop
mov qword [rsp + 0x70], r12
xorps xmm0, xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x40], 0x74736f68
mov byte [rsp + 0x44], 0
cmp dword [0x1801c7c00], 0
jne 0x18005fc37
movzx r14d, word [rbp + 0xf0]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.180067b60
mov rsi, qword [rbp - 0x30]
cmp byte [rsi + 0x19], 0
jne 0x18005fa72
lea rdx, [rsi + 0x20]
mov rdi, qword [rdx + 0x10]
lea rcx, [rsp + 0x40]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005fa40
mov rdx, qword [rdx]
mov r8, rbx
cmp rdi, rbx
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005fa59
jns 0x18005fa68
mov al, 0xff
jmp 0x18005fa6a
cmp rbx, rdi
jae 0x18005fa62
mov al, 0xff
jmp 0x18005fa6a
jbe 0x18005fb19
mov al, 1
test al, al
jns 0x18005fb19
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsp + 0x68], rax
je 0x180060837
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], r12
mov ecx, 0x60
call fcn.1800d1df4
nop
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], 0xf
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 + 0x60]
call fcn.18001f230
mov rsi, rax
lea rdx, [rsi + 0x40]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005fb27
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 [0x1801c7be8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r14, rax
mov qword [rbp], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18005fb96
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005fb91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800602fa
call fcn.1800d2278
mov rsi, qword [rbp + 0xe8]
test r14, r14
je 0x180060802
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov eax, 4
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xf
mov dword [rsp + 0x40], 0x68746170
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.180067b60
mov rdi, qword [rbp - 0x30]
cmp byte [rdi + 0x19], 0
jne 0x18005fda1
lea rdx, [rdi + 0x20]
mov rbx, qword [rdx + 0x10]
lea rcx, [rsp + 0x40]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005fc10
mov rdx, qword [rdx]
mov r8d, 4
cmp rbx, r8
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005fd83
jns 0x18005fd97
mov al, 0xff
jmp 0x18005fd99
movzx edi, word [rbp + 0xf0]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.180067b60
mov rbx, qword [rbp - 0x30]
cmp byte [rbx + 0x19], 0
jne 0x18005fc71
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.18005d940
test al, al
je 0x18005fd0e
cmp qword [rsp + 0x68], r14
je 0x180060831
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r12
mov ecx, 0x60
call fcn.1800d1df4
nop
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], 0xf
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 + 0x60]
call fcn.18001f230
mov rbx, rax
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x68]
call fcn.18004a7d0
mov word [rsp + 0x20], di
mov r9, rax
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [0x1801c7be8]
call fcn.180066600
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18005fd75
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005fd70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060301
call fcn.1800d2278
mov r14, qword [rsp + 0x70]
mov qword [rbp], r14
jmp 0x18005fb9d
mov eax, 4
cmp rax, rbx
jae 0x18005fd91
mov al, 0xff
jmp 0x18005fd99
jbe 0x18005fe48
mov al, 1
test al, al
jns 0x18005fe48
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsp + 0x68], rax
je 0x180060825
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], r12
mov ecx, 0x60
call fcn.1800d1df4
nop
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], 0xf
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 + 0x60]
call fcn.18001f230
mov rdi, rax
lea r8, [rdi + 0x40]
cmp qword [r8 + 0x18], 0xf
jbe 0x18005fe56
mov r8, qword [r8]
lea rdx, [rsi + 0x80]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005fe67
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 + 0x58]
cmp rdx, 0xf
jbe 0x18005fecf
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005feca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060308
call fcn.1800d2278
test r12, r12
je 0x1800607a8
lea r8, [rsp + 0x60]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.1800621d0
nop
cmp dword [0x1801c7c04], 0
jne 0x18005ff36
mov eax, dword [0x1801c7ae0]
lea r9, [0x1801c7ad0]
cmp qword [0x1801c7ae8], 0xf
cmova r9, qword [0x1801c7ad0]
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 0x180060032
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov rdi, qword [rbp - 0x58]
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rsi, qword [rbp - 0x68]
cmp rdi, r15
ja 0x180060849
mov qword [rsp + 0x58], 0xf
cmp rdi, 0xf
ja 0x18005ff86
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x40], xmm0
jmp 0x180060016
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x18005ffa5
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18005ffcc
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18005ffee
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006083d
mov rcx, rax
call fcn.1800d1df4
mov rcx, rax
test rax, rax
je 0x18006030f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18005fff8
test rcx, rcx
je 0x18005fff8
call fcn.1800d1df4
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1800662a0
movzx eax, al
mov rsi, qword [rbp + 0xe8]
test eax, eax
je 0x180060755
mov r9, rsi
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.180062df0
nop
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.180062f90
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180063180
cmp byte [0x1801c7be1], 0
je 0x180060316
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 0x1800600c3
mov r8, rdi
lea rdx, str.absolute
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800601eb
lea rcx, [rbp - 0x20]
test sil, sil
cmovne rcx, rbx
cmp rdi, 8
jne 0x180060316
mov r8, rdi
lea rdx, str.relative
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180060316
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180060134
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006012f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060669
call fcn.1800d2278
xor r12d, r12d
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180060183
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006017e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800606b9
call fcn.1800d2278
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1800601cf
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800601ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060708
call fcn.1800d2278
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rsi, qword [rbp + 0xe8]
jmp 0x18005fbb0
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 0x180060239
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180060234
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060669
call fcn.1800d2278
xor r12d, r12d
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180060288
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180060283
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800606b9
call fcn.1800d2278
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1800602d4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800602cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060708
call fcn.1800d2278
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
lea rcx, [rsp + 0x60]
call fcn.180041c20
mov rsi, qword [rbp + 0xe8]
jmp 0x18005f99b
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.180064870
mov rdx, r13
mov rcx, r12
call fcn.180064f30
lea rdi, [r13 + 0x60]
lea rax, [rsp + 0x78]
cmp rdi, rax
je 0x180060356
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rdi
call fcn.18004bba0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov r8d, 0xe
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.18004cb40
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 0x1800603e0
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 0x1800603c1
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 0x1800605ba
lea rdx, str.__doctype_html
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800605ba
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edx, edx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], 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 0x180060843
mov qword [rsp + 0x58], 0xf
cmp rbx, 0xf
ja 0x180060466
mov qword [rsp + 0x50], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1800604fb
mov rax, rbx
or rax, 0xf
cmp rax, r14
jbe 0x1800604a2
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d1df4
mov rcx, rax
test rax, rax
je 0x1800605ac
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800604dd
mov r14, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800604ce
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006082b
jmp 0x180060480
test rcx, rcx
je 0x1800604da
call fcn.1800d1df4
jmp 0x1800604dd
mov rax, rdx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r14
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.1800669e0
mov rdi, rax
lea rbx, [r13 + 0x80]
cmp rbx, rax
je 0x18006057a
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18006054e
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180060549
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800605ac
mov rcx, r8
call fcn.1800d2278
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
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], 0xf
mov byte [rdi], al
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x1800605dc
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800605b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800605b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2278
jmp 0x1800605dc
lea rcx, [r13 + 0x80]
cmp rcx, rdi
je 0x1800605dc
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1800605d4
mov rdi, qword [rdi]
mov rdx, rdi
call fcn.18004bba0
lea rcx, [0x1801c7a90]
call fcn.18005f360
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 0x180060637
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18006062e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006062e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800d2278
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180060675
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180060670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180060670
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2278
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1800606c5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800606c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800606c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2278
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180060714
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006070f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006070f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2278
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18004e520
mov edx, 0x60
mov rcx, qword [rsp + 0x60]
call fcn.1800d2278
nop
mov rcx, qword [rbp + 0xe8]
jmp 0x18006078c
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.18004a6f0
nop
lea rcx, [rbp - 0x68]
call fcn.1800439f0
nop
lea rcx, [rsp + 0x60]
call fcn.180041c20
nop
mov rcx, rsi
call fcn.180041ed0
mov rax, r13
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800607c2
lea rcx, [r13 + 0xc0]
call fcn.18004bba0
nop
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18004e520
mov edx, 0x60
mov rcx, qword [rsp + 0x60]
call fcn.1800d2278
jmp 0x180060789
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
lea rcx, [r13 + 0xc0]
call fcn.18004a6f0
jmp 0x18006077e
call fcn.180002680
nop
call fcn.1800025e0
nop
call fcn.180002680
nop
call fcn.180002680
nop
call fcn.1800025e0
nop
call fcn.18003d190
nop
call fcn.18003d190
int3