Function at 0x140054930
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor ebx, ebx
mov r13, r9
mov esi, ebx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x28], rbx
mov r12d, ebx
mov qword [rbp - 0x10], rbx
mov r14, r8
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400549ad
test byte [rcx + 0x1c], 1
je 0x1400549ad
cmp byte [rcx + 0x19], 4
jb 0x1400549ad
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x220
call fcn.140006b98
mov rcx, qword [0x14017a048]
mov r15, qword [rbp + 0x80]
test r15, r15
jne 0x1400549c6
mov ebx, 0x80004003
mov dil, sil
jmp 0x140054cd0
test r13, r13
je 0x1400549b9
lea rcx, [0x14017b300]
mov qword [r15], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rbp - 0x30], 1
cmp qword [rdi + 0x10], rbx
jne 0x1400549f5
mov ebx, 0x8078000a
jmp 0x140054cc5
test r14, r14
cmove r14, qword [rdi + 0x10]
cmp byte [rdi + 0x18], bl
je 0x140054a56
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140054a48
test byte [rcx + 0x1c], 1
je 0x140054a48
cmp byte [rcx + 0x19], 2
jb 0x140054a48
mov eax, dword [rdi + 8]
lea r8, [0x14015aeb8]
mov r9d, dword [rdi + 0x38]
mov edx, 0x221
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14003dbf0
mov rcx, qword [0x14017a048]
mov ebx, 0x80780017
mov dil, byte [rbp - 0x30]
jmp 0x140054cd7
lea rcx, [rbp - 0x20]
call fcn.140043ef8
mov ebx, eax
test eax, eax
jns 0x140054aaf
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140054aa9
test byte [rcx + 0x1c], 1
je 0x140054aa9
cmp byte [rcx + 0x19], 2
jb 0x140054aa9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x222
mov r9d, eax
call fcn.140006bc4
mov rcx, qword [0x14017a048]
mov rsi, qword [rbp - 0x20]
jmp 0x140054a4d
mov rsi, qword [rbp - 0x20]
jmp 0x140054a4d
mov rsi, qword [rbp - 0x20]
lea r12, [rsi + 0x88]
mov rax, qword [r12]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
mov rcx, r12
call qword [vtable.H_MA8HI.0]
mov rdx, r14
mov rcx, rsi
call fcn.140006528
mov rdx, qword [rbp + 0x70]
mov rcx, rsi
call fcn.140006588
mov ebx, eax
test eax, eax
js 0x140054cc1
mov rax, qword [r12]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x28]
lea rdx, [0x14016a498]
mov rcx, r12
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x140054b68
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140054b5f
test byte [rcx + 0x1c], 1
je 0x140054b5f
cmp byte [rcx + 0x19], 2
jb 0x140054b5f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x223
mov r9d, eax
call fcn.140006bc4
mov rcx, qword [0x14017a048]
mov r12, qword [rbp - 0x10]
jmp 0x140054a4d
mov rax, qword [rbp + 0x38]
lea r8, [rbp - 0x20]
mov r9, r13
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
mov eax, dword [rbp + 0x78]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140077a40
mov ebx, eax
test eax, eax
js 0x140054cc1
and qword [rsp + 0x28], 0
lea r8, [0x1400761e0]
and dword [rsp + 0x20], 0
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x140054c48
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140054c2e
test byte [rcx + 0x1c], 1
je 0x140054c2e
cmp byte [rcx + 0x19], 2
jb 0x140054c2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x224
mov r9d, eax
call fcn.140006cec
mov rcx, qword [0x14017a048]
mov dil, byte [rbp - 0x30]
test ebx, ebx
jle 0x140054cd7
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140054cd7
cmp qword [rdi + 0x28], 0
mov byte [rdi + 0x18], 1
jne 0x140054c5a
cmp qword [rdi + 0x30], 0
je 0x140054c72
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x2c24
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008ac24
mov rcx, qword [rbp - 0x28]
mov qword [rdi + 0x28], rsi
xor esi, esi
mov qword [rdi + 0x30], rcx
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [vtable.H_MA8HI.0]
mov rax, qword [rbp - 0x28]
lea rcx, [0x14017b300]
and qword [rbp - 0x28], rsi
mov dword [rdi + 0x38], 6
xor dil, dil
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
jmp 0x140054cc9
mov r12, qword [rbp - 0x10]
mov dil, byte [rbp - 0x30]
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140054d01
mov rax, qword [rdx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rdx
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14017a048]
test r12, r12
je 0x140054d1c
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test rsi, rsi
je 0x140054d46
lea rcx, [rsi + 0x88]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x140054d7a
cmp rcx, r14
je 0x140054da0
test byte [rcx + 0x1c], 1
je 0x140054d7a
cmp byte [rcx + 0x19], 2
jb 0x140054d7a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x225
mov r9d, ebx
call fcn.140006bc4
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140054da0
test byte [rcx + 0x1c], 1
je 0x140054da0
cmp byte [rcx + 0x19], 4
jb 0x140054da0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x226
call fcn.140006b98
test dil, dil
je 0x140054db8
lea rcx, [0x14017b300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret