Function at 0x140099c50
Capabilities:
Prepare http request
Set http header

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x130], rbx
mov rax, qword [0x14024a080]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15, r9
mov r12, r8
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x11], rdx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c7324
mov rbx, rax
mov qword [rbp - 0x11], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, qword [r14]
movzx eax, byte [rcx + 0x478]
neg al
sbb r9d, r9d
and r9d, 0x800000
lea r8, [rcx + 0x67c]
mov edx, dword [rcx + 0x880]
shl rdx, 6
lea rax, [0x1401e15f0]
add rdx, rax
mov dword [rsp + 0x30], r9d
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, qword [rcx + 0x450]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbx + 8], rax
lea rcx, vtable.http::sync_request_t.0
mov qword [rbx], rcx
test rax, rax
je 0x140099efd
mov rcx, qword [r14 + 8]
mov qword [r14 + 8], rbx
test rcx, rcx
je 0x140099d2f
mov rax, qword [rcx]
lea edx, [rdi + 1]
call qword [rax]
nop
mov rax, qword [r12]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140099e78
nop
mov rsi, qword [r14 + 8]
lea r8, [0x1401f2db0]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x51]
call fcn.14007de90
nop
lea rdx, [rbx + 0x40]
cmp qword [rbx + 0x58], 8
jb 0x140099d68
mov rdx, qword [rbx + 0x40]
mov r8, qword [rbx + 0x50]
mov rcx, rax
call fcn.14007ddb0
xor edi, edi
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x69], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8d, [rdi + 2]
lea rdx, [0x1401f2da8]
lea rcx, [rsp + 0x40]
call fcn.14007ddb0
mov qword [rbp - 1], rdi
mov qword [rbp + 7], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x40]
call fcn.14007dbb0
nop
lea rcx, [rbp - 0x51]
call fcn.14007dbb0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
mov r9d, 0x20000000
mov r8d, dword [rbp - 1]
mov rcx, qword [rsi + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov edi, eax
lea rcx, [rbp - 0x11]
call fcn.14007dbb0
cmp edi, 1
jne 0x140099f20
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140099e4e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140099e49
cmp rbx, qword [rax + 0x10]
jne 0x140099e49
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140099e36
mov rbx, rax
jmp 0x140099e6c
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140099e6c
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140099e60
cmp rbx, qword [r12]
jne 0x140099d40
xor edi, edi
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x140099e86
mov r15, qword [r15]
mov qword [rbp - 0x11], r15
mov dword [rbp - 9], eax
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x69], 7
mov word [rsp + 0x40], di
xor r8d, r8d
lea rdx, [0x1401f1958]
lea rcx, [rsp + 0x40]
call fcn.14007dc20
nop
lea r9, [rbp - 0x11]
lea r8, [rsp + 0x40]
mov rdx, r13
mov rcx, qword [r14 + 8]
call fcn.14009a1e0
nop
lea rcx, [rsp + 0x40]
call fcn.14007dbb0
mov rax, r13
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c7300
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.14009cdf0
lea rdx, [0x140248648]
lea rcx, [rbp - 0x51]
call fcn.140158fa0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.14009cdf0
lea rdx, [0x140248648]
lea rcx, [rbp - 0x51]
call fcn.140158fa0
int3