Function at 0x140054e10
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, 0xa0
xor ebx, ebx
lea rax, [0x14014cf30]
mov qword [rbp - 0x19], rax
mov r13, r8
lea rax, [0x1401746f0]
mov byte [rbp - 9], bl
mov qword [rbp - 0x11], rax
mov rdi, rcx
mov esi, ebx
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x39], rbx
mov r14d, ebx
mov qword [rbp + 0x57], rbx
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140054ea9
test byte [rcx + 0x1c], 1
je 0x140054ea9
cmp byte [rcx + 0x19], 4
jb 0x140054ea9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x11a
call fcn.14000c328
mov rcx, qword [0x140173048]
lea rax, [0x1401746f0]
test r13, r13
jne 0x140054eb8
mov ebx, 0x80004003
jmp 0x1400551f5
mov r12, qword [rbp + 0x67]
test r12, r12
je 0x140054eae
mov r15, qword [rbp + 0xa7]
test r15, r15
jne 0x140054ed7
mov ebx, 0x80004003
jmp 0x1400551ee
mov rcx, rax
mov qword [r15], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rbp - 9], 1
cmp qword [rdi + 0x10], rbx
jne 0x140054efd
mov ebx, 0x8078000a
jmp 0x1400551e7
mov r14, qword [rbp + 0x77]
test r14, r14
cmove r14, qword [rdi + 0x10]
cmp byte [rdi + 0x18], bl
je 0x140054f61
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140054f54
test byte [rcx + 0x1c], 1
je 0x140054f54
cmp byte [rcx + 0x19], 2
jb 0x140054f54
mov eax, dword [rdi + 8]
lea r8, [0x140153368]
mov r9d, dword [rdi + 0x38]
mov edx, 0x11b
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14004099c
mov rcx, qword [0x140173048]
mov ebx, 0x80780017
mov r14, rsi
jmp 0x1400551f5
lea rcx, [rbp - 0x31]
call fcn.140046378
mov ebx, eax
test eax, eax
jns 0x140054fc1
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140054fbb
test byte [rcx + 0x1c], 1
je 0x140054fbb
cmp byte [rcx + 0x19], 2
jb 0x140054fbb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x11c
mov r9d, eax
call fcn.14000c354
mov rsi, qword [rbp - 0x31]
mov rcx, qword [0x140173048]
mov r14, qword [rbp + 0x57]
jmp 0x1400551f5
mov rsi, qword [rbp - 0x31]
jmp 0x140054fb2
mov rsi, qword [rbp - 0x31]
mov rax, qword [rsi]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
lea rbx, [rsi + 8]
mov rdx, r14
mov rcx, rbx
mov qword [rbp - 0x31], rbx
call fcn.14000bcb8
mov rdx, qword [rbp + 0x7f]
mov rcx, rbx
call fcn.14000bd18
mov ebx, eax
test eax, eax
js 0x1400551e3
mov rax, qword [rsi]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x39]
lea rdx, [0x140162d18]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x14005507a
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140054fb2
test byte [rcx + 0x1c], 1
je 0x140054fb2
cmp byte [rcx + 0x19], 2
jb 0x140054fb2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x11d
mov r9d, eax
call fcn.14000c354
jmp 0x140054fab
mov rax, qword [rbp + 0x4f]
lea r8, [rbp - 0x29]
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 - 0x29], xmm0
call fcn.140073de0
xor r12d, r12d
mov ebx, eax
test eax, eax
js 0x1400551e3
mov qword [rsp + 0x28], r12
lea r8, [0x140071350]
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 qword [rbp + 0x57], rax
mov r14, rax
test rax, rax
jne 0x140055174
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x14005515e
test byte [rcx + 0x1c], 1
je 0x14005515e
cmp byte [rcx + 0x19], 2
jb 0x14005515e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x11e
mov r9d, eax
call fcn.14000c47c
mov rcx, qword [0x140173048]
test ebx, ebx
jle 0x1400551f5
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400551f5
lea r14, [rdi + 0x30]
mov byte [rdi + 0x18], 1
cmp qword [rdi + 0x28], r12
jne 0x140055187
cmp qword [r14], r12
je 0x14005519f
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x1740
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.1400906e0
mov rcx, qword [rbp - 0x39]
mov rsi, r12
mov rax, qword [rbp - 0x31]
mov qword [rdi + 0x28], rax
mov qword [r14], rcx
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [vtable.H_MA8HI.0]
mov rax, qword [rbp - 0x39]
lea rcx, [rbp - 0x19]
mov dword [rdi + 0x38], 4
mov qword [r15], rax
mov qword [rbp - 0x39], r12
call fcn.140054cc4
mov r14, qword [rbp + 0x57]
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
mov rdx, qword [rbp - 0x39]
test rdx, rdx
je 0x14005521f
mov rax, qword [rdx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rdx
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x140173048]
test r14, r14
je 0x14005523a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test rsi, rsi
je 0x140055260
mov rax, qword [rsi]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x140055294
cmp rcx, r15
je 0x1400552ba
test byte [rcx + 0x1c], 1
je 0x140055294
cmp byte [rcx + 0x19], 2
jb 0x140055294
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x11f
mov r9d, ebx
call fcn.14000c354
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x1400552ba
test byte [rcx + 0x1c], 1
je 0x1400552ba
cmp byte [rcx + 0x19], 4
jb 0x1400552ba
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x120
call fcn.14000c328
lea rcx, [rbp - 0x19]
call fcn.140041bbc
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret