Function at 0x1400f5a60
Capabilities:
Initialize winhttp library

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov qword [r11 - 0x218], 0xfffffffffffffffe
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r13, r9
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x58], r8d
mov r12, qword [rsp + 0x310]
mov eax, dword [rsp + 0x318]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x48], rdi
lea ebx, [rdi + 7]
mov qword [r11 - 0x130], rbx
mov qword [r11 - 0x138], rdi
mov word [rsp + 0x1a0], di
mov qword [r11 - 0x150], rbx
mov qword [r11 - 0x158], rdi
mov word [rsp + 0x180], di
mov qword [r11 - 0x170], rbx
mov qword [r11 - 0x178], rdi
mov word [rsp + 0x160], di
mov r15d, edi
mov dword [rsp + 0x40], edi
mov rcx, qword [0x140331a80]
call fcn.1400a5ab0
movzx ecx, byte [rsp + 0x320]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x60], ecx
test cl, cl
jne 0x1400f5b55
lea eax, [rdi + 1]
lock xadd dword [rsi + 0x28], eax
mov eax, dword [rsi + 0x28]
test eax, eax
jne 0x1400f5b4e
lea eax, [rdi + 1]
lock xadd dword [rsi + 0x28], eax
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x40], eax
test r14, r14
je 0x1400f5bd6
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1d0], rdi
mov word [rsp + 0x1c0], di
cmp word [r14], di
jne 0x1400f5b7d
mov r8, rdi
jmp 0x1400f5b8b
or r8, 0xffffffffffffffff
inc r8
cmp word [r14 + r8*2], di
jne 0x1400f5b81
mov rdx, r14
lea rcx, [rsp + 0x1c0]
call fcn.14000b6f8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1a0]
call fcn.14000b190
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x1a0]
call fcn.14000ae7c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1c0]
call fcn.14000b190
test r13, r13
je 0x1400f5c59
mov qword [rsp + 0x1f8], rbx
mov qword [rsp + 0x1f0], rdi
mov word [rsp + 0x1e0], di
cmp word [r13], di
jne 0x1400f5bff
mov r8, rdi
jmp 0x1400f5c0e
or r8, 0xffffffffffffffff
inc r8
cmp word [r13 + r8*2], di
jne 0x1400f5c03
mov rdx, r13
lea rcx, [rsp + 0x1e0]
call fcn.14000b6f8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x180]
call fcn.14000b190
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x180]
call fcn.14000ae7c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1e0]
call fcn.14000b190
test r12, r12
je 0x1400f5cdb
mov qword [rsp + 0x218], rbx
mov qword [rsp + 0x210], rdi
mov word [rsp + 0x200], di
cmp word [r12], di
jne 0x1400f5c82
mov r8, rdi
jmp 0x1400f5c90
or r8, 0xffffffffffffffff
inc r8
cmp word [r12 + r8*2], di
jne 0x1400f5c86
mov rdx, r12
lea rcx, [rsp + 0x200]
call fcn.14000b6f8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x160]
call fcn.14000b190
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x160]
call fcn.14000ae7c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x200]
call fcn.14000b190
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x68]
call fcn.1400f5318
nop
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x80], edi
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lock inc dword [rsp + 0x80]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xd8]
mov rcx, rsi
call fcn.1400f68b8
mov rbx, qword [rax]
cmp byte [rsp + 0x60], dil
jne 0x1400f5e10
mov rax, qword [rsi]
mov qword [rsp + 0xe0], rax
cmp rbx, rax
je 0x1400f5e10
mov eax, 1
lock xadd dword [rsi + 0x28], eax
mov eax, dword [rsi + 0x28]
test eax, eax
jne 0x1400f5d8f
mov eax, 1
lock xadd dword [rsi + 0x28], eax
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x120]
call fcn.1400f5318
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1401d6bf0
lea rcx, [rsp + 0x120]
call fcn.1400d0208
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xe8]
mov rcx, rsi
call fcn.1400f68b8
mov rbx, qword [rax]
jmp 0x1400f5d60
jmp 0x1400f5e28
lock dec dword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [rsp + 0x80]
test eax, eax
jne 0x1400f5e12
mov rax, qword [rsi]
mov qword [rsp + 0xf0], rax
cmp rbx, rax
jne 0x1400f6015
lea rdx, [rsi + 0x18]
mov r8b, 1
lea rcx, [rsp + 0x140]
call fcn.1400f5490
nop
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call fcn.1400f68b8
mov rbx, qword [rax]
cmp byte [rsp + 0x60], dil
jne 0x1400f5f2f
mov rax, qword [rsi]
mov qword [rsp + 0x100], rax
cmp rbx, rax
je 0x1400f5f2f
mov eax, 1
lock xadd dword [rsi + 0x28], eax
mov eax, dword [rsi + 0x28]
test eax, eax
jne 0x1400f5eae
mov eax, 1
lock xadd dword [rsi + 0x28], eax
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x130]
call fcn.1400f5318
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1401d6bf0
lea rcx, [rsp + 0x130]
call fcn.1400d0208
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x108]
mov rcx, rsi
call fcn.1400f68b8
mov rbx, qword [rax]
jmp 0x1400f5e7f
mov rax, qword [rsi]
mov qword [rsp + 0x110], rax
cmp rbx, rax
jne 0x1400f6001
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, r12
mov r8, r13
mov edx, dword [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.1400f5404
nop
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1400f5fea
cmp qword [rsp + 0x90], rdi
sete al
test al, al
jne 0x1400f5fe1
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x220]
call fcn.1400f4b2c
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400f4c7c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x150]
mov rcx, rsi
call fcn.1400f4f54
nop
lea rcx, [rsp + 0x220]
call fcn.1400f5684
jmp 0x1400f5ff2
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r14, rdi
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x90]
call fcn.1400d0208
jmp 0x1400f6006
mov r14, qword [rsp + 0x48]
lea rcx, [rsp + 0x140]
call fcn.14001e688
jmp 0x1400f601a
mov r14, qword [rsp + 0x48]
mov rax, qword [rsi]
mov qword [rsp + 0x118], rax
cmp rbx, rax
je 0x1400f604c
mov rax, qword [rbx + 0x90]
mov rdx, qword [rax + 8]
mov qword [rsp + 0x48], rdx
mov rdx, rax
mov eax, 1
lock xadd dword [rdx + 0x10], eax
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1400f6064
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call fcn.14007c954
nop
lea rcx, [rsp + 0x68]
call fcn.1400d0208
nop
jmp 0x1400f608b
test r15d, r15d
jns 0x1400f612e
lea rax, str.SH_ErrorCode
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], r15d
lea rax, [0x140249dd0]
mov qword [rsp + 0xa0], rax
lea rax, str.Message
mov qword [rsp + 0xc0], rax
lea rax, str.Exception_was_thrown
mov qword [rsp + 0xc8], rax
lea rax, method.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.virtual_0
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, qword [str._CWinHttpSessionManager__WinHttpOpen]
mov edx, 0x33f
mov ecx, 0x7e325d
mov r8d, 0xa
call fcn.1400f4be0
test r14, r14
je 0x1400f612e
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r14, rdi
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x160]
call fcn.14000b190
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x180]
call fcn.14000b190
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1a0]
call fcn.14000b190
mov rax, r14
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140135130
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret