Function at 0x140009b44
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12d, r9d
mov r15, r8
mov r13, rdx
mov r14, rcx
and qword [rsp + 0x40], 0
and qword [rsp + 0x60], 0
xor edi, edi
mov qword [rax - 0x60], rdi
xor ebx, ebx
mov qword [rax - 0x68], rbx
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x140025600]
mov rax, qword [rax]
call qword [0x140024fd8]
mov esi, eax
test eax, eax
js 0x14000a178
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov edx, dword [rsp + 0x110]
mov rax, qword [rax + 0x70]
call qword [0x140024fd8]
mov esi, eax
test eax, eax
jns 0x140009c32
mov edx, 0xc1500003
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r8d, esi
lea rdx, str.Could_not_set_configuration_settings._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004d18
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000a178
test byte [rsp + 0x110], 1
je 0x140009c46
mov eax, 0x409
mov word [r14 + 0x58], ax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov edx, dword [rsp + 0x118]
mov rax, qword [rax + 0x80]
call qword [0x140024fd8]
mov esi, eax
test eax, eax
jns 0x140009c8d
mov edx, 0xc1500003
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r8d, esi
lea rdx, str.Could_not_set_configuration_settings._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004d18
jmp 0x140009c19
mov rsi, qword [rsp + 0x120]
mov rax, qword [rsi]
cmp dword [rax - 0x10], 0
je 0x140009d36
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x140025500]
mov rax, qword [rax]
call qword [0x140024fd8]
test eax, eax
js 0x140009d36
mov rsi, qword [rsi]
test rsi, rsi
je 0x140009cf0
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14000a210
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x90]
call qword [0x140024fd8]
mov esi, eax
test eax, eax
jns 0x140009d36
mov edx, 0xc1500003
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r8d, esi
lea rdx, str.Could_not_set_configuration_settings._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004d18
jmp 0x140009c19
mov rax, qword [r15]
cmp dword [rax - 0x10], 0
je 0x140009def
mov rbx, qword [r15]
test rbx, rbx
je 0x140009d70
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14000a21b
mov rcx, qword [r15]
call fcn.140019628
mov esi, eax
test eax, eax
jns 0x140009da9
mov edx, 0xc1500028
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r9d, esi
mov r8, qword [r15]
lea rdx, str.Scratchdir___s__is_not_writable._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004d18
jmp 0x140009c19
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 0x30]
call qword [0x140024fd8]
mov esi, eax
test eax, eax
jns 0x140009def
mov edx, 0xc1500003
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r9d, esi
mov r8, qword [r15]
lea rdx, str.Failed_to_set_the_scratch_directory_to___s_._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004d18
jmp 0x140009c19
mov r8d, r12d
mov rdx, r13
mov rcx, r14
call fcn.140011710
mov esi, eax
test eax, eax
jns 0x140009e4f
mov r8d, eax
lea rdx, str.Failed_to_setup_logging_parameters._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004d18
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x50]
call fcn.1400125ac
test eax, eax
js 0x140009e3c
cmp eax, 1
jne 0x14000a178
mov edx, 0xc1500010
mov rcx, qword [r14 + 0x50]
call fcn.140018198
jmp 0x14000a178
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, [r14 + 8]
mov rax, qword [rax + 0x40]
call qword [0x140024fd8]
mov esi, eax
test eax, eax
jns 0x140009f90
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, esi
mov edx, 0xc1500003
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r8d, esi
lea rdx, str.Failed_to_get_the_local_provider_store._HRESULT_X
lea rcx, [rsp + 0x48]
call fcn.140004d18
nop
cmp qword [r14 + 0x30], 0
je 0x140009f32
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
lea r8, [rax + 0x18]
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x20], esi
lea r9, str.CDismWrapper::Initialize
lea rdx, str._s____s_hr:0x_x_
lea rcx, [rsp + 0x68]
call fcn.140004d18
mov rbx, qword [rsp + 0x68]
mov r8, rbx
mov edx, 1
mov rcx, qword [r14 + 0x30]
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009f32
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a178
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
jmp 0x14000a178
lea rbx, [r14 + 0x28]
mov r8, rbx
call fcn.140012640
mov esi, eax
test eax, eax
jns 0x14000a07f
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8d, esi
mov edx, 0x81500027
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r8d, esi
lea rdx, str.Failed_to_create_event_sink_for_dism._HRESULT_X
lea rcx, [rsp + 0x50]
call fcn.140004d18
nop
cmp qword [r14 + 0x30], 0
je 0x14000a06b
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
lea r8, [rax + 0x18]
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x20], esi
lea r9, str.CDismWrapper::Initialize
lea rdx, str._s____s_hr:0x_x_
lea rcx, [rsp + 0x70]
call fcn.140004d18
mov rbx, qword [rsp + 0x70]
mov r8, rbx
mov edx, 1
mov rcx, qword [r14 + 0x30]
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a06b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
nop
mov rdx, qword [rsp + 0x50]
jmp 0x140009f37
mov rdx, qword [r14]
mov rcx, qword [rbx]
call fcn.14000908c
mov esi, eax
test eax, eax
jns 0x14000a16d
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r8d, esi
mov edx, 0x81500027
mov rcx, qword [r14 + 0x50]
call fcn.140018198
nop
mov r8d, esi
lea rdx, str.Failed_to_connect_to_event_source_for_dism._HRESULT_X
lea rcx, [rsp + 0x58]
call fcn.140004d18
nop
cmp qword [r14 + 0x30], 0
je 0x14000a159
mov rax, qword [0x140039148]
lea rcx, [0x140039148]
mov rax, qword [rax + 0x18]
call qword [0x140024fd8]
lea r8, [rax + 0x18]
mov qword [rsp + 0x78], r8
mov dword [rsp + 0x20], esi
lea r9, str.CDismWrapper::Initialize
lea rdx, str._s____s_hr:0x_x_
lea rcx, [rsp + 0x78]
call fcn.140004d18
mov rbx, qword [rsp + 0x78]
mov r8, rbx
mov edx, 1
mov rcx, qword [r14 + 0x30]
call fcn.140017ad0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a159
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
nop
mov rdx, qword [rsp + 0x58]
jmp 0x140009f37
mov rcx, qword [r14 + 0x48]
mov rax, qword [rbx]
mov qword [rax + 0x30], rcx
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a19f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140024fd8]
nop
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000a1d5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140024fd8]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000a1ec
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140024fd8]
mov eax, esi
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
mov ecx, 0x8007000e
call fcn.1400054d4
nop
mov ecx, 0x8007000e
call fcn.1400054d4
int3