Function at 0x1400430c0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xb8]
xor edi, edi
mov r12, qword [rbp + 0xc0]
mov r15d, edi
mov r13, qword [rbp + 0xc8]
mov rbx, rdx
mov qword [rsp + 0x68], rax
mov r14, rcx
mov byte [rsp + 0x41], dil
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x60], r8
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140043165
test byte [rcx + 0x1c], 1
je 0x140043165
cmp byte [rcx + 0x19], 4
jb 0x140043165
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0xeb
call fcn.140004c6c
mov rcx, qword [0x1401782b0]
test r12, r12
jne 0x140043177
mov esi, 0x80004003
mov r14b, dil
jmp 0x140043513
movups xmm0, xmmword [0x140154f98]
movdqu xmmword [r12], xmm0
test r13, r13
jne 0x140043196
mov esi, 0x80004003
mov r14b, dil
jmp 0x14004350c
lea rcx, [0x140179190]
mov qword [r13], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r14
mov byte [rsp + 0x40], 1
call fcn.14004cb54
mov esi, eax
test eax, eax
js 0x140043507
cmp byte [r14 + 0x18], dil
je 0x14004321a
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x14004320b
test byte [rcx + 0x1c], 1
je 0x14004320b
cmp byte [rcx + 0x19], 2
jb 0x14004320b
mov eax, dword [r14 + 8]
lea r8, [0x140152588]
mov r9d, dword [r14 + 0x38]
mov edx, 0xec
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400103bc
mov rcx, qword [0x1401782b0]
mov esi, 0x80780017
mov r14b, byte [rsp + 0x40]
jmp 0x14004351a
cmp byte [r14 + 0x20], dil
je 0x140043266
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x14004325f
test byte [rcx + 0x1c], 1
je 0x14004325f
cmp byte [rcx + 0x19], 2
jb 0x14004325f
mov r9d, dword [r14 + 8]
lea r8, [0x140152588]
mov rcx, qword [rcx + 0x10]
mov edx, 0xed
call fcn.140004c90
mov rcx, qword [0x1401782b0]
mov esi, 0x8078011c
jmp 0x140043210
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, SysAllocStringByteLen
call sub.msvcrt.dll_memset
movups xmm0, xmmword [rbx]
mov rdi, qword [r14 + 0x10]
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x14014cce0]
lea r8, [rbp - 0x60]
mov rcx, rdi
lea rdx, [rbp - 0x80]
call rbx
mov esi, eax
test eax, eax
js 0x140043507
lea rcx, [rbp - 0x70]
mov byte [rsp + 0x41], 1
call qword [sym.imp.RPCRT4.dll_UuidCreate]
lea rcx, [rsp + 0x50]
call fcn.140050910
mov esi, eax
test eax, eax
jns 0x14004331b
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x140043311
test byte [rcx + 0x1c], 1
je 0x140043311
cmp byte [rcx + 0x19], 2
jb 0x140043311
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0xee
mov r9d, eax
call fcn.140004c90
mov r15, qword [rsp + 0x50]
mov rcx, qword [0x1401782b0]
jmp 0x140043210
mov r15, qword [rsp + 0x50]
jmp 0x140043210
mov r15, qword [rsp + 0x50]
mov rax, qword [r15]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, r15
call rbx
mov rdx, qword [r14 + 0x10]
lea rdi, [r15 + 0x18]
mov rcx, rdi
call fcn.140005b20
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.140005708
mov esi, eax
test eax, eax
js 0x140043507
mov rax, qword [r15]
mov rbx, qword [rax]
mov rcx, rbx
call qword [0x14014cce0]
lea r8, [rsp + 0x48]
mov rcx, r15
lea rdx, [0x140162088]
call rbx
xor ebx, ebx
mov esi, eax
test eax, eax
jns 0x1400433cc
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x140043210
test byte [rcx + 0x1c], 1
je 0x140043210
cmp byte [rcx + 0x19], 2
jb 0x140043210
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0xef
mov r9d, eax
call fcn.140004c90
jmp 0x140043305
mov eax, dword [rbp + 0xb0]
lea r9, [rbp - 0x70]
mov r8, qword [rsp + 0x68]
mov rdx, r14
mov dword [rsp + 0x30], eax
mov rcx, r15
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.140015514
mov esi, eax
test eax, eax
js 0x140043507
mov qword [rsp + 0x28], rbx
lea r8, [0x140036200]
mov r9, r15
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140043487
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x140043474
test byte [rcx + 0x1c], 1
je 0x140043474
cmp byte [rcx + 0x19], 2
jb 0x140043474
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0xf0
mov r9d, eax
call fcn.140004c90
mov rcx, qword [0x1401782b0]
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
jmp 0x140043210
mov byte [r14 + 0x18], 1
cmp qword [r14 + 0x28], rbx
jne 0x140043498
cmp qword [r14 + 0x30], rbx
je 0x1400434b0
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x12e6
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008624c
mov qword [r14 + 0x28], rdi
mov r15, rbx
mov rdi, qword [rsp + 0x48]
mov qword [r14 + 0x30], rdi
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, rdi
call rbx
mov rax, qword [rsp + 0x48]
lea rcx, [0x140179190]
movups xmm0, xmmword [rbp - 0x70]
and qword [rsp + 0x48], r15
mov dword [r14 + 0x38], 1
xor r14b, r14b
movdqu xmmword [r12], xmm0
mov qword [r13], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14004350c
mov r14b, byte [rsp + 0x40]
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140043540
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, rdi
call rbx
mov rcx, qword [0x1401782b0]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14004355a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401782b0]
test r15, r15
je 0x14004357b
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, r15
call rbx
mov rcx, qword [0x1401782b0]
cmp byte [rsp + 0x41], 0
je 0x140043592
lea rcx, [rbp - 0x60]
call fcn.14009e6ac
mov rcx, qword [0x1401782b0]
test esi, esi
jns 0x1400435c6
cmp rcx, r12
je 0x1400435ec
test byte [rcx + 0x1c], 1
je 0x1400435c6
cmp byte [rcx + 0x19], 2
jb 0x1400435c6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0xf1
mov r9d, esi
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x1400435ec
test byte [rcx + 0x1c], 1
je 0x1400435ec
cmp byte [rcx + 0x19], 4
jb 0x1400435ec
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0xf2
call fcn.140004c6c
test r14b, r14b
je 0x1400435fe
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401474d0
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret