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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3c0
xor eax, eax
mov r13, rcx
mov rdi, r8
mov r12, rdx
xor r15d, r15d
lea rcx, [rbp + 0xb2]
mov r8d, 0x206
xor edx, edx
mov qword [rsp + 0x42], rax
mov word [rsp + 0x40], r15w
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
mov word [rbp + 0xb0], r15w
call fcn.18001cca0
lea rax, [0x180038768]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
mov dword [rbp + 0x318], 0x800100
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea r8d, [r15 + 0x26]
lea rcx, [rbp - 0x7e]
xor edx, edx
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x54], gethostbyname
mov dword [rsp + 0x58], 0x3f
mov dword [rsp + 0x5c], 0x25
mov dword [rsp + 0x60], 0x3d
mov word [rbp - 0x80], r15w
call fcn.18001cca0
movzx eax, word [rsp + 0x4a]
lea rcx, [rsp + 0x78]
imul ebx, eax, 0x3c
movzx eax, word [rsp + 0x4c]
add ebx, eax
movzx eax, word [rsp + 0x4e]
imul ebx, eax
call fcn.18001dec4
lea ecx, [rbx + rax]
call fcn.18001df50
lea edx, [r15 + 6]
xor r8d, r8d
lea ecx, [rdx - 3]
mov r14d, r15d
call fcn.1800062c0
mov ebx, r15d
mov esi, eax
test eax, eax
jle 0x18000749c
lea r15d, [rax - 1]
mov edi, 0xf
lea ecx, [rbx + 2]
mov r8d, r14d
mov edx, edi
call fcn.1800062c0
lea rdx, [rbp - 0x80]
mov r8d, ebx
mov ecx, eax
mov r14d, eax
call fcn.180006308
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0xb0]
mov edx, 0x104
call fcn.18001e904
cmp ebx, r15d
jge 0x18000748a
call fcn.18001df24
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
mov edx, 0x104
sub r8d, ecx
lea rcx, [rbp + 0xb0]
movsxd rax, r8d
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*4]
call fcn.18001e904
inc ebx
dec edi
cmp ebx, esi
jl 0x180007416
mov rdi, qword [rbp + 0x310]
xor r15d, r15d
mov eax, dword [rbp + 0x318]
mov rcx, qword [r13 + 0x278]
lea r8, [rbp + 0xb0]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rdx, r12
mov qword [rsp + 0x20], r15
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
je 0x1800075b5
mov r14d, 4
lea r8, [rbp + 0x318]
mov rcx, rax
lea edx, [r14 + 2]
mov r9d, r14d
mov dword [rbp + 0x318], 0x2bf20
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea esi, [r14 + 0x1b]
lea r9, [rbp + 0x300]
lea r8, [rbp + 0x318]
mov edx, esi
mov rcx, rbx
mov dword [rbp + 0x300], r14d
mov dword [rbp + 0x318], r15d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
or dword [rbp + 0x318], 0x3300
lea r8, [rbp + 0x318]
mov r9d, r14d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [r13 + 0x270]
lea edx, [rsi + 0x10]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea rcx, [rbp - 0x4e]
xor edx, edx
mov r8d, 0xfe
mov word [rbp - 0x50], r15w
call fcn.18001cca0
lea r8, str.Host:__s
lea edx, [rsi + 0x61]
lea rcx, [rbp - 0x50]
mov r9, rdi
call fcn.18001d8d8
lea rcx, [rbp - 0x50]
call fcn.18001d570
lea rdx, [rbp - 0x50]
mov r9d, 0x20000000
mov r8, rax
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
neg eax
sbb rax, rax
and rax, rbx
mov rbx, qword [rsp + 0x408]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret