Function at 0x1400162a0
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc88]
sub rsp, 0xd88
mov rax, qword [0x1400a50e8]
xor rax, rsp
mov qword [rbp + 0xc70], rax
mov r14, r9
mov r13, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x20], rdx
mov r15, qword [rbp + 0xcf0]
xor r12b, r12b
cmp qword [rcx], 0
jne 0x140016301
mov rcx, rdx
call fcn.140002870
xor al, al
jmp 0x140016866
xor esi, esi
mov qword [rbp + 8], rsi
movdqa xmm0, xmmword [0x1400817f0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], si
mov qword [rbp - 0x18], rsi
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], si
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x18]
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.140003360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.140052c50
xor edx, edx
mov r8d, 0xa28
lea rcx, [rbp + 0x240]
call fcn.140052c50
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x70], 0x68
lea rax, [rbp + 0x30]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0x104
lea rax, [rbp + 0x240]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0x514
mov eax, 1
mov dword [rbp - 0x80], eax
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400163bf
mov rcx, qword [rdi]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, dword [rdi + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x140016776
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400163e3
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.140002d30
xor r9d, r9d
movzx r8d, word [rbp - 0x6c]
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140016511
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140016460
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001645b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001689b
call fcn.1400501b4
movdqa xmm0, xmmword [0x1400817f0]
movdqu xmmword [rbp - 8], xmm0
xor ebx, ebx
mov word [rbp - 0x18], bx
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x1400164b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400164ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001688f
call fcn.1400501b4
movdqa xmm0, xmmword [0x1400817f0]
mov word [rbp + 8], bx
movdqu xmmword [rbp + 0x18], xmm0
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140016503
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x1400164fe
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400168a1
mov rcx, r8
call fcn.1400501b4
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
xor al, al
jmp 0x14001685e
lea rax, [0x1400822e0]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov ecx, 0x800000
cmp dword [rbp - 0x7c], 2
cmove eax, ecx
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
lea r9, str.HTTP_1.1
mov r8, qword [rbp - 0x48]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x140016605
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1400165aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400165a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001689b
call fcn.1400501b4
movdqa xmm0, xmmword [0x1400817f0]
movdqu xmmword [rbp - 8], xmm0
xor ebx, ebx
mov word [rbp - 0x18], bx
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x1400164b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400164ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001688f
jmp 0x1400164ae
cmp dword [rbp - 0x7c], 2
jne 0x14001662b
mov dword [rsp + 0x44], 0x3100
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x1b]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov r9d, 1
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x140016762
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0xcf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140016762
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140016762
xor eax, eax
mov r15d, eax
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140016744
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140016744
lea ecx, [rax + 1]
call fcn.14005c174
mov rsi, rax
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140052c50
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140016737
mov r9d, dword [rsp + 0x40]
add r9, rsi
mov rdx, qword [r13 + 8]
mov byte [rsp + 0x20], bl
mov r8, rsi
mov rcx, r13
call fcn.140015810
add r15d, dword [rsp + 0x44]
mov rcx, rsi
call fcn.14005c160
cmp dword [rsp + 0x40], 0
mov eax, 0
ja 0x1400166a0
jmp 0x140016744
test rsi, rsi
je 0x140016744
mov rcx, rsi
call fcn.14005c160
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x18], r15d
movzx r12d, r12b
test r15d, r15d
mov eax, 1
cmovne r12d, eax
mov rsi, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor esi, esi
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1400167b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400167b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400168a7
call fcn.1400501b4
movdqa xmm0, xmmword [0x1400817f0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], si
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140016807
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016889
call fcn.1400501b4
movdqa xmm0, xmmword [0x1400817f0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140016853
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001684e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016895
mov rcx, r8
call fcn.1400501b4
mov qword [rdi + 0x10], rsi
mov word [rdi], si
movzx eax, r12b
mov qword [rdi + 0x18], 7
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.140050250
add rsp, 0xd88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140057064
nop
call fcn.140057064
nop
call fcn.140057064
nop
call fcn.140057064
nop
call fcn.140057064
nop
call fcn.140057064
int3