Function at 0x140043da0
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
lea rbp, [rax - 0x2f]
sub rsp, 0x90
and qword [rbp - 1], 0
mov rsi, r9
and qword [rbp - 9], 0
mov r13d, r8d
xor r15d, r15d
mov r14, rcx
mov rcx, qword [0x14016a048]
lea r12, [0x14016a048]
cmp rcx, r12
je 0x140043e11
test byte [rcx + 0x1c], 1
je 0x140043e11
cmp byte [rcx + 0x19], 4
jb 0x140043e11
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x22f
call fcn.14000c0e8
lea rcx, [rbp - 1]
call fcn.140045e94
mov ebx, eax
test eax, eax
jns 0x140043e62
mov rcx, qword [0x14016a048]
cmp rcx, r12
je 0x140043e59
test byte [rcx + 0x1c], 1
je 0x140043e59
cmp byte [rcx + 0x19], 2
jb 0x140043e59
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x230
mov r9d, eax
call fcn.14000c114
mov rdi, qword [rbp - 1]
jmp 0x1400440d0
mov rdi, qword [rbp - 1]
jmp 0x1400440d7
mov rdi, qword [rbp - 1]
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 + 0x97]
lea r12, [rdi + 8]
mov rcx, r12
call fcn.14000ba78
mov rdx, qword [rbp + 0x9f]
mov rcx, r12
call fcn.14000bad8
mov ebx, eax
test eax, eax
js 0x1400440c9
mov rax, qword [rdi]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 9]
lea rdx, [0x14015a638]
mov rcx, rdi
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x140043f1e
mov rcx, qword [0x14016a048]
lea r12, [0x14016a048]
cmp rcx, r12
je 0x1400440d7
test byte [rcx + 0x1c], 1
je 0x1400440d7
cmp byte [rcx + 0x19], 2
jb 0x1400440d7
mov edx, 0x231
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov r9d, eax
call fcn.14000c114
jmp 0x1400440d0
mov eax, dword [rbp + 0xb7]
mov rdx, r14
mov r9, qword [rbp + 0x3f]
mov rcx, rdi
mov r8, qword [rbp + 0x87]
mov dword [rsp + 0x70], eax
mov rax, qword [rbp + 0xaf]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp + 0xa7]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x8f]
mov dword [rsp + 0x58], eax
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x67]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x5f]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x57]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r13d
call fcn.14007dce4
xor r13d, r13d
mov ebx, eax
test eax, eax
jns 0x140043fd3
mov rcx, qword [0x14016a048]
lea r12, [0x14016a048]
cmp rcx, r12
je 0x1400440d7
test byte [rcx + 0x1c], 1
je 0x1400440d7
cmp byte [rcx + 0x19], 2
jb 0x1400440d7
mov edx, 0x232
jmp 0x140043f06
mov qword [rsp + 0x28], r13
lea r8, [0x14005ae70]
mov r9, rdi
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14004405e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
lea r12, [0x14016a048]
cmp rcx, r12
je 0x14004404b
test byte [rcx + 0x1c], 1
je 0x14004404b
cmp byte [rcx + 0x19], 2
jb 0x14004404b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x233
mov r9d, eax
call fcn.14000c23c
mov rcx, qword [0x14016a048]
test ebx, ebx
jle 0x1400440d7
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400440d7
lea rsi, [r14 + 0x30]
mov byte [r14 + 0x18], 1
cmp qword [r14 + 0x28], r13
jne 0x140044072
cmp qword [rsi], r13
je 0x14004408a
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x2dd1
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140088f60
mov rcx, qword [rbp - 9]
mov rdi, r13
mov qword [r14 + 0x28], r12
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 - 9]
mov rcx, qword [rbp + 0xbf]
mov dword [r14 + 0x38], 2
mov qword [rbp - 9], r13
mov qword [rcx], rax
lea r12, [0x14016a048]
mov rcx, qword [0x14016a048]
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x140044101
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 0x14004411c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rdi, rdi
je 0x140044142
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, r12
je 0x140044168
test byte [rcx + 0x1c], 1
je 0x140044168
cmp byte [rcx + 0x19], 4
jb 0x140044168
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x234
call fcn.14000c0e8
lea r11, [rsp + 0x90]
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