Function at 0x180051b50
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.18007b1ec
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.18007b1ec
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.18007b1ec
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.18007b1ec
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 [0x180091b50]
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 [0x1801d8218]
cmp byte [0x1801d8212], r15b
je 0x180051d52
test rcx, rcx
je 0x180051ca8
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r8, [0x1801d81a0]
cmp qword [0x1801d81b8], 0x10
cmovae r8, qword [0x1801d81a0]
lea rcx, [0x1801d80c0]
cmp qword [0x1801d80d8], 0x10
cmovae rcx, qword [0x1801d80c0]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov edx, dword [0x1801d8238]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rcx, rax
mov qword [0x1801d8218], rax
test rax, rax
je 0x180051d4b
cmp qword [0x1801d81b0], 0
je 0x180051d4b
mov rdx, qword [0x1801d81d0]
test rdx, rdx
je 0x180051d4b
mov r9d, edx
lea r8, [0x1801d81c0]
mov edx, 0x2b
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [0x1801d81f0]
lea r8, [0x1801d81e0]
mov edx, 0x2c
mov rcx, qword [0x1801d8218]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [0x1801d8218]
mov byte [0x1801d8212], 0
test rcx, rcx
jne 0x180051dbc
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 0x180051d70
lea rcx, [rbp + 0xb0]
call fcn.1800398d0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.180052d70
nop
lea rcx, [rbp - 0x10]
call fcn.180052b20
nop
mov rcx, r13
call fcn.180051790
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.180053000
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 [0x1801d8230], 0
jne 0x180051f93
call fcn.1800398d0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.18005bc70
mov rbx, qword [rbp - 0x40]
cmp byte [rbx + 0x19], 0
jne 0x180051e6e
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.18005be30
test al, al
je 0x180051f11
cmp qword [rsp + 0x48], rsi
je 0x180052b0e
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], r15
mov ecx, 0x60
call fcn.18007b1ec
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.180039d20
mov rbx, rax
lea rdx, [rbx + 0x40]
cmp qword [rdx + 0x18], 0x10
jb 0x180051f1f
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 [0x1801d8218]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800520e3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800525e9
call fcn.18007b5a8
jmp 0x1800520e3
call fcn.1800398d0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.18005bc70
mov rbx, qword [rbp - 0x40]
cmp byte [rbx + 0x19], 0
jne 0x180051fcc
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.18005be30
test al, al
je 0x18005206f
cmp qword [rsp + 0x48], rsi
je 0x180052b08
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], r15
mov ecx, 0x60
call fcn.18007b1ec
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.180039d20
mov rbx, rax
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x120]
call fcn.18003a5f0
mov word [rsp + 0x20], di
mov r9, rax
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1a8]
lea rcx, [0x1801d8218]
call fcn.180059cd0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800520dc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800520d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800525f0
call fcn.18007b5a8
mov r12, qword [rbp + 0x1a8]
test r12, r12
je 0x180052a7c
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, [0x18008eef4]
lea rcx, [rsp + 0x50]
call fcn.1800398d0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.18005bc70
mov rbx, qword [rbp - 0x40]
cmp byte [rbx + 0x19], 0
jne 0x180052153
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x50]
call fcn.18005be30
test al, al
je 0x1800521f6
cmp qword [rsp + 0x48], rsi
je 0x180052b02
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], r15
mov ecx, 0x60
call fcn.18007b1ec
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.180039d20
mov rbx, rax
lea r8, [rbx + 0x40]
cmp qword [r8 + 0x18], 0x10
jb 0x180052204
mov r8, qword [r8]
lea rdx, [r13 + 0x80]
cmp qword [rdx + 0x18], 0x10
jb 0x180052215
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 0x18005227f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005227a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800525f7
call fcn.18007b5a8
test rbx, rbx
je 0x180052a54
lea r8, [rsp + 0x40]
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.1800558d0
nop
lea rdx, [rbp - 0x70]
cmp dword [0x1801d8234], 0
jne 0x1800522e3
mov eax, dword [0x1801d8110]
lea r9, [0x1801d8100]
cmp qword [0x1801d8118], 0x10
cmovae r9, qword [0x1801d8100]
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 0x180052305
lea rcx, [rbp + 0x120]
call fcn.18003a5f0
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.180059960
movzx eax, al
test eax, eax
je 0x180052991
mov r9, r13
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1a8]
lea rcx, [rsp + 0x70]
call fcn.180056670
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp - 0x30]
call fcn.1800567f0
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.180056980
cmp byte [0x1801d8211], 0
je 0x1800525fe
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 0x18005239e
mov r8, r14
lea rdx, str.absolute
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800524c7
lea rcx, [rbp - 0x30]
cmp rsi, 0x10
cmovae rcx, rdi
cmp r14, 8
jne 0x1800525fe
mov r8, r14
lea rdx, str.relative
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800525fe
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180052410
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005240b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052898
call fcn.18007b5a8
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18005245c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052457
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800528e7
call fcn.18007b5a8
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800524a8
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800524a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052a0c
call fcn.18007b5a8
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
movabs rsi, 0x2aaaaaaaaaaaaaa
jmp 0x1800520f0
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 0x180052515
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052898
call fcn.18007b5a8
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180052561
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005255c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800528e7
call fcn.18007b5a8
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800525ad
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800525a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052a0c
call fcn.18007b5a8
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.18005b420
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18007b5a8
jmp 0x180051dbc
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.180057cb0
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1800583b0
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.1800398d0
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.1800398d0
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 0x1800526c4
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 0x1800526a2
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 0x1800527db
mov r8, rdx
lea rdx, str.__doctype_html
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800527db
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x120]
call fcn.18003a5f0
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.18005a0c0
mov rdi, rax
lea rax, [rbp + 0x70]
cmp rax, rdi
je 0x180052792
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x180052758
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052753
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800527cd
call fcn.18007b5a8
movdqa xmm0, xmmword [0x180091b50]
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 0x180052795
xor r14d, r14d
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1800527f9
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800527d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800527d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007b5a8
jmp 0x1800527f9
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.1800398d0
xor r14d, r14d
lea rcx, [0x1801d80c0]
call fcn.180051250
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.180052d70
nop
cmp r15, 0x10
jb 0x180052866
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18005285d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005285d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18007b5a8
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800528a4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005289f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005289f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007b5a8
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800528f3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800528ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800528ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007b5a8
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18005293f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005293a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052a0c
call fcn.18007b5a8
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.18005b420
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18007b5a8
nop
lea rcx, [rbp - 0x10]
call fcn.180052b20
nop
mov rcx, r13
call fcn.180051790
mov rax, rbx
jmp 0x180051da8
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 0x1800529b0
lea rcx, [rbp + 0xb0]
call fcn.1800398d0
lea rdx, [rbp - 0x10]
mov rsi, qword [rbp + 0x190]
mov rcx, rsi
call fcn.180052d70
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180052a18
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052a13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052a13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007b5a8
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.18005b420
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18007b5a8
jmp 0x180051d93
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 0x180052a70
jmp 0x180052a9f
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 0x180052a95
lea rcx, [rbp + 0xb0]
call fcn.1800398d0
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp + 0x190]
call fcn.180052d70
nop
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18005b420
mov edx, 0x60
mov rcx, qword [rsp + 0x40]
call fcn.18007b5a8
nop
lea rcx, [rbp - 0x10]
call fcn.180052b20
nop
mov rcx, r13
call fcn.180051790
mov rax, qword [rbp + 0x190]
jmp 0x180051da8
call fcn.180001b20
nop
call fcn.180001b20
nop
call fcn.180001b20
int3