Function at 0x1400576f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebp, r9d
mov r15, r8
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [0x140183048]
lea r14, [0x140183048]
cmp rcx, r14
je 0x140057755
test byte [rcx + 0x1c], 1
je 0x140057755
cmp byte [rcx + 0x19], 4
jb 0x140057755
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0xc
call fcn.140004e50
mov rdi, qword [rsp + 0x100]
test rdi, rdi
jne 0x14005777a
lea r8, str.pParentContext
mov edx, 0x18b
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov qword [rbx + 0xa8], rdi
mov dword [rbx + 0x14], 0xa
mov rcx, qword [0x140183048]
cmp rcx, r14
je 0x1400577b8
test byte [rcx + 0x1c], 1
je 0x1400577b8
cmp byte [rcx + 0x19], 4
jb 0x1400577b8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0xd
mov r9, rbx
call fcn.140010758
movups xmm0, xmmword [rsi]
lea r14, [rbx + 0x50]
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rbx + 0x3c], xmm0
mov eax, dword [rsi + 0x10]
movaps xmm0, xmmword [r15]
mov dword [rbx + 0x4c], eax
movdqu xmmword [r14], xmm0
mov dword [rbx + 0x60], ebp
mov eax, dword [rsi + 0x40]
and dword [rbx + 0xa0], 0
mov dword [rbx + 0x9c], eax
lea rax, [rbx + 0xb0]
mov qword [rax + 8], rax
mov qword [rax], rax
call fcn.140098a3c
mov edi, eax
test eax, eax
js 0x14005795a
cmp byte [rsp + 0x20], 0
je 0x140057853
mov al, byte [rsi + 0x29]
mov byte [rbx + 0x98], al
mov rcx, qword [0x140183048]
lea rbp, [0x140183048]
cmp rcx, rbp
je 0x14005785a
test byte [rcx + 0x1c], 1
je 0x14005785a
cmp byte [rcx + 0x19], 4
jb 0x14005785a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0xe
call fcn.140004e50
jmp 0x14005785a
lea rbp, [0x140183048]
mov rcx, qword [rsi + 0x20]
lea rdx, [rbx + 0x90]
xor r8d, r8d
call fcn.14009039c
mov edi, eax
test eax, eax
js 0x140057961
mov rcx, qword [rsi + 0x18]
lea rdx, [rbx + 0x88]
xor r8d, r8d
call fcn.14009039c
mov edi, eax
test eax, eax
js 0x140057961
mov rax, qword [r14]
cmp rax, qword [0x140162618]
jne 0x1400578b1
mov rax, qword [r14 + 8]
cmp rax, qword [0x140162620]
je 0x140057931
lea r8, [rbx + 0x70]
xor r9d, r9d
xor edx, edx
mov rcx, r14
call fcn.1400932a4
mov edi, eax
test eax, eax
js 0x140057961
mov edx, dword [rbx + 0x60]
lea r9, [rbx + 0x68]
mov r8d, 2
mov rcx, r14
call fcn.1401172a0
mov edi, eax
test eax, eax
jns 0x140057931
mov rax, qword [0x140183048]
cmp rax, rbp
je 0x14005792b
test byte [rax + 0x1c], 1
je 0x14005792b
cmp byte [rax + 0x19], 3
jb 0x14005792b
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400900a8
mov rcx, qword [0x140183048]
lea r8, [0x14015e430]
mov edx, 0xf
mov r9, rax
mov rcx, qword [rcx + 0x10]
call fcn.140005f10
xor edi, edi
and qword [rbx + 0x68], rdi
test byte [rsi + 0x10], 1
je 0x140057961
cmp qword [rbx + 0x70], 0
jne 0x140057961
mov rdx, qword [rsi + 0x48]
lea r9, [rbx + 0x78]
movzx ecx, word [rsi + 0x44]
lea r8, [rbx + 0x80]
call fcn.1400933c0
mov edi, eax
jmp 0x140057961
lea rbp, [0x140183048]
mov rcx, qword [0x140183048]
cmp rcx, rbp
je 0x14005798e
test byte [rcx + 0x1c], 1
je 0x14005798e
cmp byte [rcx + 0x19], 4
jb 0x14005798e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x10
call fcn.140004e50
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401534b0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret