Function at 0x1400436c0
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 [0x140173708]
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, [0x1401746f0]
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rax, [0x14014cf30]
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 [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140043783
test byte [rcx + 0x1c], 1
je 0x140043783
cmp byte [rcx + 0x19], 4
jb 0x140043783
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0xf1
call fcn.14000c328
mov rcx, qword [0x140173048]
lea rdx, [0x1401746f0]
test r15, r15
jne 0x140043795
mov ebx, 0x80004003
mov r12b, sil
jmp 0x140043b5a
movups xmm0, xmmword [0x14014fdf0]
movdqu xmmword [r15], xmm0
test r13, r13
jne 0x1400437b3
mov ebx, 0x80004003
mov r12b, sil
jmp 0x140043b53
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.140044d68
mov ebx, eax
test eax, eax
js 0x140043b4e
cmp byte [rdi + 0x18], sil
je 0x140043835
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140043828
test byte [rcx + 0x1c], 1
je 0x140043828
cmp byte [rcx + 0x19], 2
jb 0x140043828
mov eax, dword [rdi + 8]
lea r8, [0x140153368]
mov r9d, dword [rdi + 0x38]
mov edx, 0xf2
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14004099c
mov rcx, qword [0x140173048]
mov ebx, 0x80780017
mov r12b, sil
jmp 0x140043b61
cmp byte [rdi + 0x20], sil
je 0x140043881
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x14004387a
test byte [rcx + 0x1c], 1
je 0x14004387a
cmp byte [rcx + 0x19], 2
jb 0x14004387a
mov r9d, dword [rdi + 8]
lea r8, [0x140153368]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
call fcn.1400155dc
mov rcx, qword [0x140173048]
mov ebx, 0x8078011c
jmp 0x14004382d
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 0x140043b4e
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.140045f90
mov ebx, eax
test eax, eax
jns 0x140043943
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140043939
test byte [rcx + 0x1c], r12b
je 0x140043939
cmp byte [rcx + 0x19], 2
jb 0x140043939
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0xf4
mov r9d, eax
call fcn.14000c354
mov rcx, qword [0x140173048]
mov rsi, qword [rsp + 0x50]
jmp 0x140043b61
mov rsi, qword [rsp + 0x50]
jmp 0x140043b61
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.14000bcb8
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.14000bd18
mov ebx, eax
test eax, eax
js 0x140043b4e
mov rax, qword [rsi]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rsp + 0x48]
lea rdx, [0x140162d48]
mov rcx, rsi
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x1400439fc
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x1400439f2
test byte [rcx + 0x1c], 1
je 0x1400439f2
cmp byte [rcx + 0x19], 2
jb 0x1400439f2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0xf5
mov r9d, eax
call fcn.14000c354
mov rcx, qword [0x140173048]
mov r12b, byte [rsp + 0x40]
jmp 0x140043b61
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.14002b4a4
mov ebx, eax
test eax, eax
js 0x140043b4e
and qword [rsp + 0x28], r14
lea r8, [0x14001b7e0]
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 0x140043acf
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 0x140043ab4
test byte [rcx + 0x1c], 1
je 0x140043ab4
cmp byte [rcx + 0x19], 2
jb 0x140043ab4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0xf6
mov r9d, eax
call fcn.14000c47c
mov rcx, qword [0x140173048]
mov r12b, byte [rsp + 0x40]
test ebx, ebx
jle 0x140043b61
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140043b61
cmp qword [rdi + 0x28], 0
lea r14, [rdi + 0x30]
mov byte [rdi + 0x18], 1
jne 0x140043ae4
cmp qword [r14], 0
je 0x140043afc
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x1318
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.1400906e0
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.140054cc4
mov r14, qword [rsp + 0x58]
mov r12b, byte [rsp + 0x40]
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140043b8c
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 0x140043ba7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test rsi, rsi
je 0x140043bcd
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 r12b, r12b
je 0x140043be2
lea rcx, [rbp - 0x50]
call fcn.1400a91f8
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x140043c16
cmp rcx, r15
je 0x140043c3c
test byte [rcx + 0x1c], 1
je 0x140043c16
cmp byte [rcx + 0x19], 2
jb 0x140043c16
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0xf7
mov r9d, ebx
call fcn.14000c354
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x140043c3c
test byte [rcx + 0x1c], 1
je 0x140043c3c
cmp byte [rcx + 0x19], 4
jb 0x140043c3c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, pe_nt_image_headers64
call fcn.14000c328
lea rcx, [rsp + 0x70]
call fcn.140041bbc
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140007410
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret