Function at 0x140044a30
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0x90
xor esi, esi
mov rbx, r8
mov r12b, sil
mov qword [rbp - 0x11], rsi
mov r15d, esi
mov qword [rbp - 0x19], rsi
mov r13d, esi
mov qword [rbp - 0x21], rsi
mov r14, rcx
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140044ab1
test byte [rcx + 0x1c], 1
je 0x140044ab1
cmp byte [rcx + 0x19], 4
jb 0x140044ab1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, VarUI4FromDisp
call fcn.140004c6c
mov rcx, qword [0x1401782b0]
test rbx, rbx
jne 0x140044ac0
mov esi, 0x80004003
jmp 0x140044dfd
mov r13, qword [rbp + 0x67]
test r13, r13
jne 0x140044ad6
mov esi, 0x80004003
mov r13, r15
jmp 0x140044dfd
mov r12, qword [rbp + 0xa7]
test r12, r12
jne 0x140044af2
mov r13, r15
mov esi, 0x80004003
mov r12b, r13b
jmp 0x140044dfd
lea rcx, [0x140179190]
mov qword [r12], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x29], 1
cmp qword [r14 + 0x10], rsi
jne 0x140044b1a
mov esi, 0x8078000a
mov r13, r15
jmp 0x140044df2
mov rdi, qword [rbp + 0x77]
test rdi, rdi
cmove rdi, qword [r14 + 0x10]
cmp byte [r14 + 0x18], sil
je 0x140044b80
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140044b73
test byte [rcx + 0x1c], 1
je 0x140044b73
cmp byte [rcx + 0x19], 2
jb 0x140044b73
mov eax, dword [r14 + 8]
lea r8, [0x140152588]
mov r9d, dword [r14 + 0x38]
mov edx, reloc.OLEAUT32.dll_VarUI4FromDisp
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400103bc
mov rcx, qword [0x1401782b0]
mov esi, 0x80780017
mov r13, r15
jmp 0x140044df9
lea rcx, [rbp - 0x11]
call fcn.140050eec
mov esi, eax
test eax, eax
jns 0x140044bde
mov rcx, qword [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x140044bcd
test byte [rcx + 0x1c], 1
je 0x140044bcd
cmp byte [rcx + 0x19], 2
jb 0x140044bcd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x116
mov r9d, eax
call fcn.140004c90
mov rcx, qword [0x1401782b0]
mov r15, qword [rbp - 0x11]
mov r13, qword [rbp - 0x21]
mov r12b, byte [rbp - 0x29]
jmp 0x140044e04
mov r15, qword [rbp - 0x11]
mov rax, qword [r15]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, r15
call rbx
lea rbx, [r15 + 8]
mov rdx, rdi
mov rcx, rbx
mov qword [rbp - 0x11], rbx
call fcn.140005b20
mov rdx, qword [rbp + 0x7f]
mov rcx, rbx
call fcn.140005708
xor edi, edi
mov esi, eax
test eax, eax
js 0x140044def
mov rax, qword [r15]
mov rbx, qword [rax]
mov rcx, rbx
call qword [0x14014cce0]
lea r8, [rbp - 0x19]
mov rcx, r15
lea rdx, [0x140162058]
call rbx
mov esi, eax
test eax, eax
jns 0x140044c8d
mov rcx, qword [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x140044c85
test byte [rcx + 0x1c], 1
je 0x140044c85
cmp byte [rcx + 0x19], 2
jb 0x140044c85
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x117
mov r9d, eax
call fcn.140004c90
mov rcx, qword [0x1401782b0]
mov r13, rdi
jmp 0x140044bd5
mov rax, qword [rbp + 0x4f]
lea r8, [rbp - 9]
mov r9, qword [rbp + 0x57]
mov rdx, r14
mov rcx, r15
movups xmm0, xmmword [rax]
mov eax, dword [rbp + 0x9f]
mov dword [rsp + 0x50], eax
mov al, byte [rbp + 0x97]
mov byte [rsp + 0x48], al
mov al, byte [rbp + 0x8f]
mov byte [rsp + 0x40], al
mov al, byte [rbp + 0x87]
mov byte [rsp + 0x38], al
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x5f]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
movdqu xmmword [rbp - 9], xmm0
call fcn.140068818
mov esi, eax
test eax, eax
js 0x140044def
mov qword [rsp + 0x28], rdi
lea r8, [0x14006b7e0]
mov r9, r15
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
test rax, rax
jne 0x140044d71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x140044d5e
test byte [rcx + 0x1c], 1
je 0x140044d5e
cmp byte [rcx + 0x19], 2
jb 0x140044d5e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x118
mov r9d, eax
call fcn.140004c90
mov rcx, qword [0x1401782b0]
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
jmp 0x140044bd5
mov byte [r14 + 0x18], 1
cmp qword [r14 + 0x28], rdi
jne 0x140044d82
cmp qword [r14 + 0x30], rdi
je 0x140044d9a
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x170e
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008624c
mov rax, qword [rbp - 0x11]
mov r15, rdi
mov rdi, qword [rbp - 0x19]
mov qword [r14 + 0x28], rax
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 [rbp - 0x19]
lea rcx, [0x140179190]
and qword [rbp - 0x19], r15
mov dword [r14 + 0x38], 4
mov qword [r12], rax
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401782b0]
jmp 0x140044dfd
mov r13, rdi
mov rcx, qword [0x1401782b0]
mov r12b, byte [rbp - 0x29]
lea r14, [0x1401782b0]
mov rdi, qword [rbp - 0x19]
test rdi, rdi
je 0x140044e29
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, rdi
call rbx
mov rcx, qword [0x1401782b0]
test r13, r13
je 0x140044e3e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401782b0]
test r15, r15
je 0x140044e5f
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, r15
call rbx
mov rcx, qword [0x1401782b0]
test esi, esi
jns 0x140044e93
cmp rcx, r14
je 0x140044eb9
test byte [rcx + 0x1c], 1
je 0x140044e93
cmp byte [rcx + 0x19], 2
jb 0x140044e93
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x119
mov r9d, esi
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x140044eb9
test byte [rcx + 0x1c], 1
je 0x140044eb9
cmp byte [rcx + 0x19], 4
jb 0x140044eb9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152588]
mov edx, 0x11a
call fcn.140004c6c
test r12b, r12b
je 0x140044ecb
lea rcx, [0x140179190]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret