Function at 0x140043480
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0xc8]
xor ebx, ebx
mov r15, qword [rbp + 0xd0]
mov r12, rdx
mov r13, qword [rbp + 0xd8]
lea rdx, [0x14016b200]
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rax, [0x140144f30]
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x70], rax
mov esi, ebx
mov qword [rsp + 0x60], r8
mov r14d, ebx
mov qword [rsp + 0x78], rdx
mov byte [rbp - 0x80], bl
mov byte [rsp + 0x40], bl
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140043543
test byte [rcx + 0x1c], 1
je 0x140043543
cmp byte [rcx + 0x19], 4
jb 0x140043543
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0xf1
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
lea rdx, [0x14016b200]
test r15, r15
jne 0x140043555
mov ebx, 0x80004003
mov r12b, sil
jmp 0x14004391a
movups xmm0, xmmword [0x140147ba0]
movdqu xmmword [r15], xmm0
test r13, r13
jne 0x140043573
mov ebx, 0x80004003
mov r12b, sil
jmp 0x140043913
mov rcx, rdx
mov qword [r13], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rcx, rdi
mov byte [rbp - 0x80], 1
call fcn.140044b28
mov ebx, eax
test eax, eax
js 0x14004390e
cmp byte [rdi + 0x18], sil
je 0x1400435f5
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x1400435e8
test byte [rcx + 0x1c], 1
je 0x1400435e8
cmp byte [rcx + 0x19], 2
jb 0x1400435e8
mov eax, dword [rdi + 8]
lea r8, [0x14014b118]
mov r9d, dword [rdi + 0x38]
mov edx, 0xf2
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14004075c
mov rcx, qword [0x14016a048]
mov ebx, 0x80780017
mov r12b, sil
jmp 0x140043921
cmp byte [rdi + 0x20], sil
je 0x140043641
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x14004363a
test byte [rcx + 0x1c], 1
je 0x14004363a
cmp byte [rcx + 0x19], 2
jb 0x14004363a
mov r9d, dword [rdi + 8]
lea r8, [0x14014b118]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
call fcn.14001539c
mov rcx, qword [0x14016a048]
mov ebx, 0x8078011c
jmp 0x1400435ed
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, SysAllocStringByteLen
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x10]
movups xmm0, xmmword [r12]
mov rax, qword [rcx]
movdqu xmmword [rbp - 0x70], xmm0
movabs r10, 0xc9751663545acb70
mov rax, qword [rax + 0x18]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
js 0x14004390e
mov r12b, 1
lea rcx, [rbp - 0x60]
mov byte [rsp + 0x40], r12b
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140045d50
mov ebx, eax
test eax, eax
jns 0x140043703
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x1400436f9
test byte [rcx + 0x1c], r12b
je 0x1400436f9
cmp byte [rcx + 0x19], 2
jb 0x1400436f9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0xf4
mov r9d, eax
call fcn.14000c114
mov rcx, qword [0x14016a048]
mov rsi, qword [rsp + 0x50]
jmp 0x140043921
mov rsi, qword [rsp + 0x50]
jmp 0x140043921
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
mov rdx, qword [rdi + 0x10]
lea r12, [rsi + 0x18]
mov rcx, r12
call fcn.14000ba78
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.14000bad8
mov ebx, eax
test eax, eax
js 0x14004390e
mov rax, qword [rsi]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rsp + 0x48]
lea rdx, [0x14015a678]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x1400437bc
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x1400437b2
test byte [rcx + 0x1c], 1
je 0x1400437b2
cmp byte [rcx + 0x19], 2
jb 0x1400437b2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0xf5
mov r9d, eax
call fcn.14000c114
mov rcx, qword [0x14016a048]
mov r12b, byte [rsp + 0x40]
jmp 0x140043921
mov eax, dword [rbp + 0xc0]
lea r9, [rbp - 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14002b264
mov ebx, eax
test eax, eax
js 0x14004390e
and qword [rsp + 0x28], r14
lea r8, [0x14001b5a0]
and dword [rsp + 0x20], r14d
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
mov r14, rax
test rax, rax
jne 0x14004388f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x140043874
test byte [rcx + 0x1c], 1
je 0x140043874
cmp byte [rcx + 0x19], 2
jb 0x140043874
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0xf6
mov r9d, eax
call fcn.14000c23c
mov rcx, qword [0x14016a048]
mov r12b, byte [rsp + 0x40]
test ebx, ebx
jle 0x140043921
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140043921
cmp qword [rdi + 0x28], 0
lea r14, [rdi + 0x30]
mov byte [rdi + 0x18], 1
jne 0x1400438a4
cmp qword [r14], 0
je 0x1400438bc
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x1318
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140088f60
mov rcx, qword [rsp + 0x48]
xor esi, esi
mov qword [rdi + 0x28], r12
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 [rsp + 0x48]
lea rcx, [rsp + 0x70]
movups xmm0, xmmword [rbp - 0x60]
and qword [rsp + 0x48], rsi
mov dword [rdi + 0x38], 1
movdqu xmmword [r15], xmm0
mov qword [r13], rax
call fcn.140054a84
mov r14, qword [rsp + 0x58]
mov r12b, byte [rsp + 0x40]
mov rcx, qword [0x14016a048]
lea r15, [0x14016a048]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14004394c
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 r14, r14
je 0x140043967
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rsi, rsi
je 0x14004398d
mov rax, qword [rsi]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14016a048]
test r12b, r12b
je 0x1400439a2
lea rcx, [rbp - 0x50]
call fcn.1400a1a78
mov rcx, qword [0x14016a048]
test ebx, ebx
jns 0x1400439d6
cmp rcx, r15
je 0x1400439fc
test byte [rcx + 0x1c], 1
je 0x1400439d6
cmp byte [rcx + 0x19], 2
jb 0x1400439d6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0xf7
mov r9d, ebx
call fcn.14000c114
mov rcx, qword [0x14016a048]
cmp rcx, r15
je 0x1400439fc
test byte [rcx + 0x1c], 1
je 0x1400439fc
cmp byte [rcx + 0x19], 4
jb 0x1400439fc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0xf8
call fcn.14000c0e8
lea rcx, [rsp + 0x70]
call fcn.14004197c
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400071e0
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret