Function at 0x1400452b0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0x90
xor ebx, ebx
mov r13, r8
mov r15b, bl
mov qword [rbp - 0x19], rbx
mov esi, ebx
mov qword [rbp - 0x21], rbx
mov r14d, ebx
mov qword [rbp - 0x29], rbx
mov rdi, rcx
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x14004532c
test byte [rcx + 0x1c], 1
je 0x14004532c
cmp byte [rcx + 0x19], 4
jb 0x14004532c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x11a
call fcn.140004c10
mov rcx, qword [0x14017b048]
test r13, r13
jne 0x14004533b
mov ebx, 0x80004003
jmp 0x140045679
mov r12, qword [rbp + 0x67]
test r12, r12
jne 0x14004534e
mov ebx, 0x80004003
jmp 0x140045672
mov r15, qword [rbp + 0xa7]
test r15, r15
jne 0x140045367
mov ebx, 0x80004003
mov r15b, sil
jmp 0x140045672
lea rcx, [0x14017c300]
mov qword [r15], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rbp + 0x57], 1
cmp qword [rdi + 0x10], rbx
jne 0x140045391
mov ebx, 0x8078000a
jmp 0x140045667
mov r14, qword [rbp + 0x77]
test r14, r14
cmove r14, qword [rdi + 0x10]
cmp byte [rdi + 0x18], bl
je 0x1400453f9
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x1400453e8
test byte [rcx + 0x1c], 1
je 0x1400453e8
cmp byte [rcx + 0x19], 2
jb 0x1400453e8
mov eax, dword [rdi + 8]
lea r8, [0x140156d68]
mov r9d, dword [rdi + 0x38]
mov edx, 0x11b
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.140010290
mov rcx, qword [0x14017b048]
mov ebx, 0x80780017
mov r14, rsi
mov r15b, byte [rbp + 0x57]
jmp 0x140045679
lea rcx, [rbp - 0x19]
call fcn.1400515e8
mov ebx, eax
test eax, eax
jns 0x140045456
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140045450
test byte [rcx + 0x1c], 1
je 0x140045450
cmp byte [rcx + 0x19], 2
jb 0x140045450
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x11c
mov r9d, eax
call fcn.140004c3c
mov rsi, qword [rbp - 0x19]
mov rcx, qword [0x14017b048]
mov r14, qword [rbp - 0x29]
jmp 0x1400453f0
mov rsi, qword [rbp - 0x19]
jmp 0x14004544a
mov rsi, qword [rbp - 0x19]
mov rcx, rsi
mov rax, qword [rsi]
mov rax, qword [rax + 8]
call qword [case.0x140005bb3.0]
lea rbx, [rsi + 8]
mov rdx, r14
mov rcx, rbx
mov qword [rbp - 0x19], rbx
call fcn.140005b6c
mov rdx, qword [rbp + 0x7f]
mov rcx, rbx
call fcn.140005738
mov ebx, eax
test eax, eax
js 0x140045663
mov rax, qword [rsi]
lea r8, [rbp - 0x21]
lea rdx, [0x140166448]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140005bb3.0]
mov ebx, eax
test eax, eax
jns 0x1400454f7
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x14004544a
test byte [rcx + 0x1c], 1
je 0x14004544a
cmp byte [rcx + 0x19], 2
jb 0x14004544a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x11d
mov r9d, eax
call fcn.140004c3c
jmp 0x140045443
mov rax, qword [rbp + 0x4f]
lea r8, [rbp - 9]
mov r9, r13
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
mov eax, dword [rbp + 0x9f]
mov dword [rsp + 0x50], eax
mov al, byte [rbp + 0x97]
mov byte [rsp + 0x48], al
mov al, byte [rbp + 0x8f]
mov byte [rsp + 0x40], al
mov al, byte [rbp + 0x87]
mov byte [rsp + 0x38], al
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x5f]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
movdqu xmmword [rbp - 9], xmm0
call fcn.1400696fc
xor r12d, r12d
mov ebx, eax
test eax, eax
js 0x140045663
mov qword [rsp + 0x28], r12
lea r8, [0x14006c790]
mov r9, rsi
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x1400455ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400455d7
test byte [rcx + 0x1c], 1
je 0x1400455d7
cmp byte [rcx + 0x19], 2
jb 0x1400455d7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x11e
mov r9d, edi
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14004566e
mov byte [rdi + 0x18], 1
cmp qword [rdi + 0x28], r12
jne 0x1400455fa
cmp qword [rdi + 0x30], r12
je 0x140045612
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x1740
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140087b08
mov rcx, qword [rbp - 0x21]
mov rsi, r12
mov rax, qword [rbp - 0x19]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140005bb3.0]
mov rax, qword [rbp - 0x21]
lea rcx, [0x14017c300]
mov dword [rdi + 0x38], 4
mov qword [r15], rax
mov r15b, r12b
mov qword [rbp - 0x21], r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
jmp 0x140045672
mov r14, qword [rbp - 0x29]
mov rcx, qword [0x14017b048]
mov r15b, byte [rbp + 0x57]
lea r12, [0x14017b048]
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x140045699
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov rcx, qword [0x14017b048]
test r14, r14
je 0x1400456b4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test rsi, rsi
je 0x1400456d0
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov rcx, qword [0x14017b048]
test ebx, ebx
jns 0x140045704
cmp rcx, r12
je 0x14004572a
test byte [rcx + 0x1c], 1
je 0x140045704
cmp byte [rcx + 0x19], 2
jb 0x140045704
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x11f
mov r9d, ebx
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14004572a
test byte [rcx + 0x1c], 1
je 0x14004572a
cmp byte [rcx + 0x19], 4
jb 0x14004572a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x120
call fcn.140004c10
test r15b, r15b
je 0x140045742
lea rcx, [0x14017c300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret