Function at 0x180057b10
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 - 0x148]
sub rsp, 0x248
mov r13, rdx
mov rsi, rcx
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
lea ecx, [r15 + 0x60]
call fcn.1800837c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x10], rax
mov qword [rbp], r15
mov qword [rbp + 8], r15
lea ecx, [r15 + 0x60]
call fcn.1800837c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp], rax
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea ecx, [r15 + 0x60]
call fcn.1800837c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
lea ecx, [r15 + 0x60]
call fcn.1800837c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x30], r15
movdqa xmm0, xmmword [0x18009b820]
movdqa xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], r15b
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], r15b
mov qword [rbp + 0x70], r15
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], r15b
mov qword [rbp + 0x90], r15
movdqa xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], r15b
mov qword [rbp + 0xb0], r15
movdqa xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], r15b
mov qword [rbp + 0xd0], r15
mov dword [rbp + 0xd8], r15d
mov rcx, qword [0x1801e2088]
cmp byte [0x1801e2082], r15b
je 0x180057d12
test rcx, rcx
je 0x180057c68
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r8, [0x1801e2010]
cmp qword [0x1801e2028], 0x10
cmovae r8, qword [0x1801e2010]
lea rcx, [0x1801e1f30]
cmp qword [0x1801e1f48], 0x10
cmovae rcx, qword [0x1801e1f30]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov edx, dword [0x1801e20a8]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rcx, rax
mov qword [0x1801e2088], rax
test rax, rax
je 0x180057d0b
cmp qword [0x1801e2020], 0
je 0x180057d0b
mov rdx, qword [0x1801e2040]
test rdx, rdx
je 0x180057d0b
mov r9d, edx
lea r8, [0x1801e2030]
mov edx, 0x2b
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [0x1801e2060]
lea r8, [0x1801e2050]
mov edx, 0x2c
mov rcx, qword [0x1801e2088]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [0x1801e2088]
mov byte [0x1801e2082], 0
test rcx, rcx
jne 0x180057d7c
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], 0
jne 0x180057d30
lea rcx, [rbp + 0xb0]
call fcn.18003df80
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.180058d30
nop
lea rcx, [rbp - 0x10]
call fcn.180058ae0
nop
mov rcx, r13
call fcn.180057750
mov rax, rsi
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movabs rsi, 0x2aaaaaaaaaaaaaa
mov eax, 0x1bb
nop dword [rax + rax]
mov word [rbp + 0x1a0], ax
lea r9, [rbp + 0x1a0]
lea r8, [rbp - 0x10]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.180058fc0
nop
mov qword [rbp + 0x1a8], r15
movzx edi, word [rbp + 0x1a0]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov r8d, 4
lea rdx, str.host
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x50], 0
cmp dword [0x1801e20a0], 0
jne 0x180057f53
call fcn.18003df80
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180061c30
mov rbx, qword [rbp - 0x40]
cmp byte [rbx + 0x19], 0
jne 0x180057e2e
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.180061df0
test al, al
je 0x180057ed1
cmp qword [rsp + 0x48], rsi
je 0x180058ace
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], r15
mov ecx, 0x60
call fcn.1800837c4
nop
mov qword [rax + 0x20], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov qword [rax + 0x40], r15
mov qword [rax + 0x50], r15
mov qword [rax + 0x58], 0xf
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0xe8], r15
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.18003e570
mov rbx, rax
lea rdx, [rbx + 0x40]
cmp qword [rdx + 0x18], 0x10
jb 0x180057edf
mov rdx, qword [rdx]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, di
mov rcx, qword [0x1801e2088]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800580a3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057f49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800585a9
call fcn.180083b80
jmp 0x1800580a3
call fcn.18003df80
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180061c30
mov rbx, qword [rbp - 0x40]
cmp byte [rbx + 0x19], 0
jne 0x180057f8c
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.180061df0
test al, al
je 0x18005802f
cmp qword [rsp + 0x48], rsi
je 0x180058ac8
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], r15
mov ecx, 0x60
call fcn.1800837c4
nop
mov qword [rax + 0x20], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov qword [rax + 0x40], r15
mov qword [rax + 0x50], r15
mov qword [rax + 0x58], 0xf
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0xf8], r15
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.18003e570
mov rbx, rax
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x120]
call fcn.18003ef40
mov word [rsp + 0x20], di
mov r9, rax
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1a8]
lea rcx, [0x1801e2088]
call fcn.18005fc90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18005809c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058097
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800585b0
call fcn.180083b80
mov r12, qword [rbp + 0x1a8]
test r12, r12
je 0x180058a3c
nop dword [rax]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 4
lea rdx, [0x180098094]
lea rcx, [rsp + 0x50]
call fcn.18003df80
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180061c30
mov rbx, qword [rbp - 0x40]
cmp byte [rbx + 0x19], 0
jne 0x180058113
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.180061df0
test al, al
je 0x1800581b6
cmp qword [rsp + 0x48], rsi
je 0x180058ac2
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], r15
mov ecx, 0x60
call fcn.1800837c4
nop
mov qword [rax + 0x20], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov qword [rax + 0x40], r15
mov qword [rax + 0x50], r15
mov qword [rax + 0x58], 0xf
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0x108], r15
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.18003e570
mov rbx, rax
lea r8, [rbx + 0x40]
cmp qword [r8 + 0x18], 0x10
jb 0x1800581c4
mov r8, qword [r8]
lea rdx, [r13 + 0x80]
cmp qword [rdx + 0x18], 0x10
jb 0x1800581d5
mov rdx, qword [rdx]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0xa00000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
mov qword [rbp + 0x1a8], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18005823f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005823a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800585b7
call fcn.180083b80
test rbx, rbx
je 0x180058a14
lea r8, [rsp + 0x40]
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.18005b890
nop
lea rdx, [rbp - 0x70]
cmp dword [0x1801e20a4], 0
jne 0x1800582a3
mov eax, dword [0x1801e1f80]
lea r9, [0x1801e1f70]
cmp qword [0x1801e1f88], 0x10
cmovae r9, qword [0x1801e1f70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
jmp 0x1800582c5
lea rcx, [rbp + 0x120]
call fcn.18003ef40
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.18005f920
movzx eax, al
test eax, eax
je 0x180058951
mov r9, r13
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1a8]
lea rcx, [rsp + 0x70]
call fcn.18005c630
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp - 0x30]
call fcn.18005c7b0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
mov rdx, r13
lea rcx, [rbp + 0x1a8]
call fcn.18005c940
cmp byte [0x1801e2081], 0
je 0x1800585be
lea rcx, [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x18]
cmp rsi, 0x10
cmovae rcx, rdi
mov r14, qword [rbp - 0x20]
cmp r14, 8
jne 0x18005835e
mov r8, r14
lea rdx, str.absolute
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180058487
lea rcx, [rbp - 0x30]
cmp rsi, 0x10
cmovae rcx, rdi
cmp r14, 8
jne 0x1800585be
mov r8, r14
lea rdx, str.relative
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800585be
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800583d0
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800583cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058858
call fcn.180083b80
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18005841c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800588a7
call fcn.180083b80
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180058468
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058463
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800589cc
call fcn.180083b80
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
movabs rsi, 0x2aaaaaaaaaaaaaa
jmp 0x1800580b0
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800584d5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800584d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058858
call fcn.180083b80
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180058521
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005851c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800588a7
call fcn.180083b80
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18005856d
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800589cc
call fcn.180083b80
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800613e0
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.180083b80
jmp 0x180057d7c
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
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.18005dc70
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.18005e370
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp + 0x50]
call fcn.18003df80
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 0xe
cmp qword [rbp - 0x80], r8
cmovb r8, qword [rbp - 0x80]
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18003df80
nop
lea rdi, [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
cmp r15, 0x10
cmovae rdi, rsi
lea r14, [rsp + 0x50]
cmovae r14, rsi
mov rdx, qword [rsp + 0x60]
add r14, rdx
cmp rdi, r14
je 0x180058684
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi], al
inc rdi
cmp rdi, r14
jne 0x180058662
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
cmp r15, 0x10
cmovae rcx, rsi
cmp rdx, 0xe
jne 0x18005879b
mov r8, rdx
lea rdx, str.__doctype_html
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005879b
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x120]
call fcn.18003ef40
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.180060080
mov rdi, rax
lea rax, [rbp + 0x70]
cmp rax, rdi
je 0x180058752
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x180058718
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058713
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005878d
call fcn.180083b80
movdqa xmm0, xmmword [0x18009b820]
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x80], xmm1
xor r14d, r14d
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
jmp 0x180058755
xor r14d, r14d
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1800587b9
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180058794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083b80
jmp 0x1800587b9
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.18003df80
xor r14d, r14d
lea rcx, [0x1801e1f30]
call fcn.180057210
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rbp - 0x10]
mov rbx, qword [rbp + 0x190]
mov rcx, rbx
call fcn.180058d30
nop
cmp r15, 0x10
jb 0x180058826
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18005881d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005881d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180083b80
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180058864
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005885f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005885f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083b80
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800588b3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800588ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800588ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083b80
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800588ff
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800588fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800589cc
call fcn.180083b80
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800613e0
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.180083b80
nop
lea rcx, [rbp - 0x10]
call fcn.180058ae0
nop
mov rcx, r13
call fcn.180057750
mov rax, rbx
jmp 0x180057d68
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 word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180058970
lea rcx, [rbp + 0xb0]
call fcn.18003df80
lea rdx, [rbp - 0x10]
mov rsi, qword [rbp + 0x190]
mov rcx, rsi
call fcn.180058d30
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800589d8
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800589d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800589d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083b80
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800613e0
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.180083b80
jmp 0x180057d53
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequest_failed:
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180058a30
jmp 0x180058a5f
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 0x180058a55
lea rcx, [rbp + 0xb0]
call fcn.18003df80
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp + 0x190]
call fcn.180058d30
nop
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800613e0
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.180083b80
nop
lea rcx, [rbp - 0x10]
call fcn.180058ae0
nop
mov rcx, r13
call fcn.180057750
mov rax, qword [rbp + 0x190]
jmp 0x180057d68
call fcn.180001ac0
nop
call fcn.180001ac0
nop
call fcn.180001ac0
int3