Function at 0x180046090
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 - 0x60]
sub rsp, 0x160
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rsi, rdx
mov qword [rsp + 0x70], rdx
mov r13, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x70], rdx
mov dword [rsp + 0x68], 1
call fcn.180046e00
nop
mov dword [rsp + 0x68], 1
xor r12d, r12d
cmp byte [0x180064ef2], r12b
je 0x1800461b1
mov rcx, qword [0x180064ef8]
test rcx, rcx
je 0x180046105
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [0x180064da0]
cmp qword [0x180064db8], 0xf
cmova rcx, qword [0x180064da0]
lea r8, [0x180064e80]
cmp qword [0x180064e98], 0xf
cmova r8, qword [0x180064e80]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov edx, dword [0x180064f18]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x180064ef8], rax
test rax, rax
je 0x1800461a8
cmp qword [0x180064e90], r12
je 0x1800461a8
cmp qword [0x180064eb0], r12
je 0x1800461a8
mov r9d, dword [0x180064eb0]
lea r8, [0x180064ea0]
mov edx, 0x2b
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [0x180064ed0]
lea r8, [0x180064ec0]
mov edx, 0x2c
mov rcx, qword [0x180064ef8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [0x180064ef8]
mov byte [0x180064ef2], r12b
jmp 0x1800461b8
mov rax, qword [0x180064ef8]
test rax, rax
jne 0x1800461f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpen_failed:
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x1800461d6
lea rcx, [r13 + 0xc0]
call fcn.18000a6e0
jmp 0x180046db4
movabs r15, 0x7fffffffffffffff
mov ecx, 0x1bb
nop
mov word [rsp + 0x40], cx
lea r9, [rsp + 0x40]
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180046f80
nop
mov qword [rsp + 0x60], r12
xorps xmm0, xmm0
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x50], 0xf
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x68], 0x74736f68
mov byte [rbp - 0x64], 0
cmp dword [0x180064f10], 0
jne 0x1800462e3
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.18004dca0
cmp qword [rax + 0x18], 0xf
jbe 0x180046267
mov rax, qword [rax]
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, word [rsp + 0x40]
mov rdx, rax
mov rcx, qword [0x180064ef8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
mov qword [rsp + 0x60], rax
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180046364
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800462d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046854
call fcn.18004f660
jmp 0x180046364
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.18004dca0
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.180009950
movzx ecx, word [rsp + 0x40]
mov word [rsp + 0x20], cx
mov r9, rax
mov r8, r13
lea rdx, [rsp + 0x60]
lea rcx, [0x180064ef8]
call fcn.18004d020
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x18004635a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046355
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004685b
call fcn.18004f660
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x180046d5c
lea r14, [rsi + 0x80]
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x50], 0xf
mov dword [rbp - 0x68], 0x68746170
mov byte [rbp - 0x64], 0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.18004dca0
cmp qword [rax + 0x18], 0xf
jbe 0x1800463ba
mov rax, qword [rax]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800463c7
mov rdx, qword [r14]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0xa00000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rax
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180046430
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004642b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046862
call fcn.18004f660
test rbx, rbx
je 0x180046d37
lea r8, [rsp + 0x48]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.180048ab0
nop
cmp dword [0x180064f14], 0
jne 0x180046497
lea r9, [0x180064de0]
cmp qword [0x180064df8], 0xf
cmova r9, qword [0x180064de0]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
mov eax, dword [0x180064df0]
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
jmp 0x18004658f
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
lea rsi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rsi, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x18]
cmp rdi, r15
ja 0x180046de6
cmp rdi, 0xf
ja 0x1800464df
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0xf
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x68], xmm0
jmp 0x180046571
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x1800464fe
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x18004652f
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x180046519
mov rax, r12
jmp 0x180046556
cmp rcx, 0x1000
jb 0x180046551
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180046df2
mov rcx, rax
call fcn.18004f74c
mov rcx, rax
test rax, rax
je 0x180046869
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180046556
call fcn.18004f74c
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.18004ccb0
movzx eax, al
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
test eax, eax
je 0x180046caf
mov r8, r13
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.1800497b0
nop
mov r8, r13
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.1800498e0
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 8]
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180049a70
cmp byte [0x180064ef1], 0
je 0x180046870
lea rax, [rbp - 8]
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
cmova rax, rcx
mov r8, qword [rbp + 8]
cmp r8, 8
jne 0x180046617
movabs r9, 0x6574756c6f736261
cmp qword [rax], r9
je 0x180046732
lea rax, [rbp - 8]
cmp rdx, 0xf
cmova rax, rcx
cmp r8, 8
jne 0x180046870
movabs rcx, 0x65766974616c6572
cmp qword [rax], rcx
jne 0x180046870
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x180046687
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046682
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046bc7
call fcn.18004f660
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1800466d2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800466cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046c16
call fcn.18004f660
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x18004671d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046718
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046d19
call fcn.18004f660
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
jmp 0x180046380
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x180046782
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004677d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046bc7
call fcn.18004f660
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1800467cd
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800467c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046c16
call fcn.18004f660
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x180046818
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046813
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046d19
call fcn.18004f660
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.18000b4d0
mov edx, 0x60
mov rcx, qword [rsp + 0x48]
call fcn.18004f660
jmp 0x1800461fa
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 + 0x58]
mov rcx, r12
call fcn.18004b060
mov rdx, r13
mov rcx, r12
call fcn.18004b6d0
lea rdi, [r13 + 0x60]
lea rax, [rbp - 0x48]
cmp rdi, rax
je 0x1800468b2
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, rdi
call fcn.18000a6e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov r8d, 0xe
cmp qword [rbp - 0x38], r8
cmovb r8, qword [rbp - 0x38]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.18000ab90
mov dword [rsp + 0x68], 0x11
lea rbx, [rbp + 0x18]
mov rsi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x30]
cmp r15, 0xf
cmova rbx, rsi
lea r14, [rbp + 0x18]
cmova r14, rsi
mov r8, qword [rbp + 0x28]
add r14, r8
cmp rbx, r14
je 0x18004693f
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 0x180046920
mov r15, qword [rbp + 0x30]
mov r8, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
cmp r15, 0xf
cmova rcx, rsi
cmp r8, 0xe
jne 0x180046b17
test r8, r8
je 0x180046973
lea rdx, str.__doctype_html
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x180046b17
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xor edx, edx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rdx
lea rdi, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdi, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x38]
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x180046df8
cmp rbx, 0xf
ja 0x1800469c7
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 0xf
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x68], xmm0
jmp 0x180046a59
mov rax, rbx
or rax, 0xf
cmp rax, r14
jbe 0x180046a03
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18004f74c
mov rcx, rax
test rax, rax
je 0x180046b09
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180046a3e
mov r14, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r14, rax
lea rcx, [r14 + 1]
test rcx, rcx
jne 0x180046a21
mov rax, rdx
jmp 0x180046a3e
cmp rcx, 0x1000
jb 0x180046a39
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180046dec
jmp 0x1800469e1
call fcn.18004f74c
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], r14
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x38]
call fcn.18004d420
mov rdi, rax
lea rbx, [r13 + 0x80]
cmp rbx, rax
je 0x180046ad7
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180046aab
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180046aa6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180046b09
mov rcx, r8
call fcn.18004f660
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 + 0x50]
cmp rdx, 0xf
jbe 0x180046b39
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046b10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046b10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f660
jmp 0x180046b39
lea rcx, [r13 + 0x80]
cmp rcx, rdi
je 0x180046b39
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180046b30
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.18000a6e0
lea rcx, [0x180064da0]
call fcn.180045b50
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp r15, 0xf
jbe 0x180046b95
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180046b8c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046b8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18004f660
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x180046bd3
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046bce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046bce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f660
xor ebx, ebx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x180046c22
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f660
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x180046c6d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046d19
call fcn.18004f660
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.18000b4d0
mov edx, 0x60
mov rcx, qword [rsp + 0x48]
call fcn.18004f660
nop
mov rcx, qword [rsp + 0x70]
jmp 0x180046db7
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 + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180046cd0
lea rcx, [r13 + 0xc0]
call fcn.18000a6e0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x180046d25
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046d20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f660
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
jmp 0x180046d8c
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 0x180046d50
jmp 0x180046d7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnect_failed:
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180046d75
lea rcx, [r13 + 0xc0]
call fcn.18000a6e0
nop
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.18000b4d0
mov edx, 0x60
mov rcx, qword [rsp + 0x48]
call fcn.18004f660
nop
mov rcx, rsi
call fcn.180001a20
mov rax, r13
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.18004f640
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800015a0
nop
call fcn.180001500
nop
call fcn.180001500
nop
call fcn.1800015a0
int3