Function at 0x140055a04
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp - 0x10], 0
mov r12d, r8d
xor r15d, r15d
mov r13, rdx
mov r14, rcx
mov rcx, qword [0x14016a048]
lea rdi, [0x14016a048]
cmp rcx, rdi
je 0x140055a70
test byte [rcx + 0x1c], 1
je 0x140055a70
cmp byte [rcx + 0x19], 4
jb 0x140055a70
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x192
call fcn.14000c0e8
lea rcx, [rbp - 8]
call fcn.14004600c
mov ebx, eax
test eax, eax
jns 0x140055ac1
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140055ab8
test byte [rcx + 0x1c], 1
je 0x140055ab8
cmp byte [rcx + 0x19], 2
jb 0x140055ab8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x193
mov r9d, eax
call fcn.14000c114
mov rdi, qword [rbp - 8]
jmp 0x140055cdc
mov rdi, qword [rbp - 8]
jmp 0x140055ce3
mov rdi, qword [rbp - 8]
mov rax, qword [rdi]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
mov rcx, rdi
call qword [vtable.H_MA8HI.0]
mov rdx, qword [rbp + 0x78]
lea rbx, [rdi + 8]
mov rcx, rbx
mov qword [rbp - 8], rbx
call fcn.14000ba78
mov rdx, qword [rbp + 0x80]
mov rcx, rbx
call fcn.14000bad8
mov ebx, eax
test eax, eax
js 0x140055cdc
mov rax, qword [rdi]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x10]
lea rdx, [0x14015a638]
mov rcx, rdi
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x140055b85
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
cmp rcx, rsi
je 0x140055cea
test byte [rcx + 0x1c], 1
je 0x140055cea
cmp byte [rcx + 0x19], 2
jb 0x140055cea
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x194
mov r9d, eax
call fcn.14000c114
mov rcx, qword [0x14016a048]
jmp 0x140055cea
mov cl, byte [rbp + 0x70]
mov r9, r13
mov eax, dword [rbp + 0x88]
and cl, 1
mov r8, qword [rbp + 0x68]
mov rdx, r14
mov dword [rsp + 0x58], eax
mov rax, qword [rbp + 0x60]
mov byte [rsp + 0x50], cl
mov rcx, rdi
and qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call fcn.14005d0e0
xor r12d, r12d
mov ebx, eax
test eax, eax
js 0x140055cdc
mov qword [rsp + 0x28], r12
lea r8, [0x14005ae70]
mov r9, rdi
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x140055c6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
cmp rcx, rsi
je 0x140055c5a
test byte [rcx + 0x1c], 1
je 0x140055c5a
cmp byte [rcx + 0x19], 2
jb 0x140055c5a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x195
mov r9d, eax
call fcn.14000c23c
mov rcx, qword [0x14016a048]
test ebx, ebx
jle 0x140055cea
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140055cea
lea rsi, [r14 + 0x30]
mov byte [r14 + 0x18], 1
cmp qword [r14 + 0x28], r12
jne 0x140055c81
cmp qword [rsi], r12
je 0x140055c99
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x1f31
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140088f60
mov rcx, qword [rbp - 0x10]
mov rdi, r12
mov rax, qword [rbp - 8]
mov qword [r14 + 0x28], rax
mov qword [rsi], rcx
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [vtable.H_MA8HI.0]
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x90]
mov dword [r14 + 0x38], 2
mov qword [rbp - 0x10], r12
mov qword [rcx], rax
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140055d14
mov rax, qword [rdx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rdx
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14016a048]
test r15, r15
je 0x140055d2f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rdi, rdi
je 0x140055d55
mov rax, qword [rdi]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140055d7b
test byte [rcx + 0x1c], 1
je 0x140055d7b
cmp byte [rcx + 0x19], 4
jb 0x140055d7b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x196
call fcn.14000c0e8
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret