Function at 0x140044c90
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
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
xor r15d, r15d
and qword [rbp - 0x19], rsi
xor r14b, r14b
and qword [rbp - 9], rsi
mov rbx, r9
mov rdi, rcx
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x21], r15
mov byte [rbp - 0x28], sil
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140044d16
test byte [rcx + 0x1c], 1
je 0x140044d16
cmp byte [rcx + 0x19], 4
jb 0x140044d16
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x110
call fcn.140004c10
mov rcx, qword [0x14017b048]
test rbx, rbx
jne 0x140044d25
mov ebx, 0x80004003
jmp 0x1400451ba
mov r15, qword [rbp + 0x67]
test r15, r15
jne 0x140044d3b
mov ebx, 0x80004003
mov r15, rsi
jmp 0x1400451ba
mov r13, qword [rbp + 0x77]
test r13, r13
je 0x140044d2e
mov r12, qword [rbp + 0xaf]
test r12, r12
jne 0x140044d5d
mov ebx, 0x80004003
mov r15, rsi
jmp 0x1400451b3
and qword [r12], rsi
lea rcx, [0x14017c300]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r14b, 1
mov byte [rbp - 0x29], r14b
cmp qword [rdi + 0x10], rsi
jne 0x140044d8e
mov ebx, 0x8078000a
mov r15, rsi
jmp 0x1400451ac
mov r14, qword [rbp + 0x97]
test r14, r14
cmove r14, qword [rdi + 0x10]
cmp byte [rdi + 0x18], sil
je 0x140044dfa
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140044de9
test byte [rcx + 0x1c], 1
je 0x140044de9
cmp byte [rcx + 0x19], 2
jb 0x140044de9
mov eax, dword [rdi + 8]
lea r8, [0x140156d68]
mov r9d, dword [rdi + 0x38]
mov edx, VarUI4FromDisp
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.140010290
mov rcx, qword [0x14017b048]
mov ebx, 0x80780017
mov r15, rsi
mov r14b, byte [rbp - 0x29]
jmp 0x1400451ba
lea rcx, [rbp - 0x11]
call fcn.1400517e4
mov ebx, eax
test eax, eax
jns 0x140044e57
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140044e51
test byte [rcx + 0x1c], 1
je 0x140044e51
cmp byte [rcx + 0x19], 2
jb 0x140044e51
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, VarUI4FromDisp
mov r9d, eax
call fcn.140004c3c
mov rsi, qword [rbp - 0x11]
mov rcx, qword [0x14017b048]
mov r15, qword [rbp - 0x21]
jmp 0x140044df1
mov rsi, qword [rbp - 0x11]
jmp 0x140044e4b
mov rsi, qword [rbp - 0x11]
mov rcx, rsi
mov rax, qword [rsi]
mov rax, qword [rax + 8]
call qword [case.0x140005bb3.0]
lea rbx, [rsi + 0x10]
mov rdx, r14
mov rcx, rbx
mov qword [rbp - 0x11], rbx
call fcn.140005b6c
mov rdx, qword [rbp + 0x9f]
mov rcx, rbx
call fcn.140005738
mov ebx, eax
test eax, eax
js 0x1400451a4
mov rax, qword [rsi]
lea r8, [rbp - 0x19]
lea rdx, [0x140166458]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140005bb3.0]
mov ebx, eax
test eax, eax
jns 0x140044efb
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140044e4b
test byte [rcx + 0x1c], 1
je 0x140044e4b
cmp byte [rcx + 0x19], 2
jb 0x140044e4b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, VarUI4FromDisp
mov r9d, eax
call fcn.140004c3c
jmp 0x140044e44
lea rdx, [rbp - 9]
mov rcx, r15
call fcn.1400887a0
mov r14, qword [rbp - 9]
xor r15d, r15d
mov ebx, eax
test eax, eax
jns 0x140044f5c
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140045180
test byte [rcx + 0x1c], 1
je 0x140045180
cmp byte [rcx + 0x19], 2
jb 0x140045180
mov edx, VarUI4FromDisp
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov r9d, eax
call fcn.140004c3c
jmp 0x140045179
mov rax, qword [rdi]
lea r9, [rbp - 0x28]
mov r8d, 5
mov qword [rsp + 0x20], r15
mov rdx, r14
mov rcx, rdi
mov rax, qword [rax + 0x68]
call qword [case.0x140005bb3.0]
mov ebx, eax
test eax, eax
jns 0x140044fc3
cmp eax, 0x80780057
jne 0x1400450ba
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140044fc3
test byte [rcx + 0x1c], 1
je 0x140044fc3
cmp byte [rcx + 0x19], 4
jb 0x140044fc3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, reloc.OLEAUT32.dll_VarUI4FromDisp
call fcn.140004c10
mov rax, qword [rbp + 0x4f]
lea r8, [rbp - 9]
mov r9d, dword [rbp + 0x57]
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
mov eax, dword [rbp + 0xa7]
mov dword [rsp + 0x58], eax
mov al, byte [rbp + 0x8f]
mov byte [rsp + 0x50], al
mov eax, dword [rbp + 0x87]
mov dword [rsp + 0x48], eax
mov al, byte [rbp + 0x7f]
mov byte [rsp + 0x40], al
mov al, byte [rbp + 0x6f]
mov qword [rsp + 0x38], r13
mov byte [rsp + 0x30], al
mov rax, qword [rbp + 0x5f]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 9], xmm0
call fcn.14006f060
mov ebx, eax
test eax, eax
js 0x140045172
mov qword [rsp + 0x28], r15
lea r8, [0x1400715b0]
mov r9, rsi
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x1400450ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x1400450a7
test byte [rcx + 0x1c], 1
je 0x1400450a7
cmp byte [rcx + 0x19], 2
jb 0x1400450a7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x117
mov r9d, eax
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140045180
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140045180
test byte [rcx + 0x1c], 1
je 0x140045180
cmp byte [rcx + 0x19], 2
jb 0x140045180
mov edx, 0x116
jmp 0x140044f44
cmp qword [rdi + 0x28], 0
mov byte [rdi + 0x18], 1
jne 0x140045101
cmp qword [rdi + 0x30], 0
je 0x140045119
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x166e
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140087b08
mov rcx, qword [rbp - 0x19]
xor esi, esi
mov rax, qword [rbp - 0x11]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140005bb3.0]
mov rax, qword [rbp - 0x19]
lea rcx, [0x14017c300]
and qword [rbp - 0x19], rsi
mov dword [rdi + 0x38], 5
mov qword [r12], rax
mov byte [rbp - 0x29], sil
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
jmp 0x140045180
lea r12, [0x14017b048]
mov rcx, qword [0x14017b048]
test r14, r14
je 0x140044df1
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
jmp 0x140044df1
mov r15, qword [rbp - 0x21]
mov r14b, byte [rbp - 0x29]
mov rcx, qword [0x14017b048]
lea r12, [0x14017b048]
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x1400451da
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov rcx, qword [0x14017b048]
test r15, r15
je 0x1400451f5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test rsi, rsi
je 0x140045211
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov rcx, qword [0x14017b048]
test ebx, ebx
jns 0x140045245
cmp rcx, r12
je 0x14004526b
test byte [rcx + 0x1c], 1
je 0x140045245
cmp byte [rcx + 0x19], 2
jb 0x140045245
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x118
mov r9d, ebx
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14004526b
test byte [rcx + 0x1c], 1
je 0x14004526b
cmp byte [rcx + 0x19], 4
jb 0x14004526b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x119
call fcn.140004c10
test r14b, r14b
je 0x140045283
lea rcx, [0x14017c300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret