Function at 0x14000f360
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe0
mov rax, qword [0x14010a010]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13, r9
mov rsi, rdx
mov r14, rcx
mov r15, qword [rbp + 0x7f]
xor r12d, r12d
mov qword [rbp - 1], r12
mov qword [rbp - 9], r12
mov ebx, r12d
mov qword [rbp - 0x11], rbx
mov edi, r12d
mov qword [rsp + 0x40], r12
mov qword [r9 + 0xf0], r12
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14000f3cb
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [r14 + 0x38], r12
mov rcx, qword [r14 + 0x30]
test rcx, rcx
je 0x14000f3de
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [r14 + 0x30], r12
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x14000f3f1
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [r14 + 0x28], r12
mov qword [r14 + 0x60], 0x11
mov byte [r14 + 0x68], 0
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14000f40b
mov rcx, qword [r14]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [r14 + 0x28], rax
test rax, rax
je 0x14000f71f
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14 + 0x44]
mov r8d, dword [r14 + 0x40]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x71], xmm0
movups xmmword [rbp - 0x61], xmm0
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rax
mov dword [rsp + 0x50], 0x68
mov dword [rbp - 0x61], 1
mov dword [rbp - 0x31], 1
mov dword [rbp - 0x51], 1
mov dword [rbp - 0x41], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x14000f727
cmp dword [rbp - 0x6d], 2
jne 0x14000f4b2
mov byte [r14 + 0x20], 1
mov eax, dword [rbp - 0x51]
cmp qword [rbp - 0x59], 0
cmove eax, r12d
mov dword [rbp - 0x51], eax
mov eax, dword [rbp - 0x41]
cmp qword [rbp - 0x49], 0
cmove eax, r12d
mov dword [rbp - 0x41], eax
mov r8d, dword [rbp - 0x61]
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 1]
call fcn.14000eb80
test eax, eax
je 0x14000f727
mov r8d, dword [rbp - 0x31]
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.14000eb80
test eax, eax
je 0x14000f727
mov r8d, dword [rbp - 0x51]
test r8d, r8d
je 0x14000f524
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.14000eb80
mov rbx, qword [rbp - 0x11]
test eax, eax
je 0x14000f727
mov r8d, dword [rbp - 0x41]
test r8d, r8d
je 0x14000f548
mov rdx, qword [rbp - 0x49]
lea rcx, [rsp + 0x40]
call fcn.14000eb80
mov rdi, qword [rsp + 0x40]
test eax, eax
je 0x14000f727
xor r9d, r9d
movzx r8d, word [rbp - 0x5d]
mov rdx, qword [rbp - 1]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r10, rax
mov qword [r14 + 0x30], rax
test rax, rax
jne 0x14000f577
mov dword [r14 + 0x60], 1
jmp 0x14000f727
movzx eax, byte [r14 + 0x20]
neg al
sbb ecx, ecx
and ecx, 0x800000
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rbp - 9]
lea rdx, [0x1400d94c0]
mov rcx, r10
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [r14 + 0x38], rax
test rax, rax
je 0x14000f71f
cmp byte [r14 + 0x20], 0
je 0x14000f5dd
mov dword [rbp - 0x11], 0x3301
mov r9d, 4
lea r8, [rbp - 0x11]
lea edx, [r9 + 0x1b]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
call fcn.140069274
mov rsi, rax
call fcn.140069258
cmp rsi, 0x989680
jne 0x14000f5f9
imul rsi, rax, 0x64
jmp 0x14000f615
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
lea rsi, [rax + rcx]
mov rcx, qword [r14 + 0x38]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
test r15, r15
jne 0x14000f637
xor r8d, r8d
xor edx, edx
jmp 0x14000f640
mov r8d, 0xffffffff
mov rdx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
sete al
test al, al
jne 0x14000f6aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov qword [rsp + 0x40], r12
lea rcx, str.winhttp.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, esi
mov ecx, 0xb00
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [r14 + 0x60], 3
jmp 0x14000f727
xor edx, edx
mov rcx, qword [r14 + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000f71f
call fcn.140069274
mov r15, rax
call fcn.140069258
cmp r15, 0x989680
jne 0x14000f6d6
imul rcx, rax, 0x64
jmp 0x14000f6f1
cqo
idiv r15
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv r15
add rcx, rax
sub rcx, rsi
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [r13 + 0xf0], rdx
mov dword [r14 + 0x60], r12d
mov sil, 1
jmp 0x14000f72a
mov dword [r14 + 0x60], 2
xor sil, sil
test rdi, rdi
je 0x14000f738
mov rcx, rdi
call fcn.140061000
nop
test rbx, rbx
je 0x14000f746
mov rcx, rbx
call fcn.140061000
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14000f755
call fcn.140061000
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14000f763
call fcn.140061000
movzx eax, sil
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140060fe0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret