Function at 0x140001f60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1f0
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rbx, r8
mov r12d, edx
mov r14, rcx
mov rax, qword [0x14003a140]
lea r13, [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x80], rax
xor edi, edi
mov qword [rsp + 0x88], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xa8], edi
movdqa xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xc0], edi
mov qword [rsp + 0xc8], rdi
movdqa xmmword [rsp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xe0], xmm1
mov qword [rsp + 0xf0], rdi
mov dword [rsp + 0xf8], edi
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], rdi
mov dword [rsp + 0x118], edi
lea rcx, [rsp + 0x50]
call fcn.1400054e4
lea rcx, [rsp + 0x58]
call fcn.1400054e4
lea rcx, [rsp + 0x60]
call fcn.1400054e4
mov qword [rsp + 0x100], rdi
lea rcx, [rsp + 0x78]
call fcn.1400054e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x140], xmm1
movdqa xmmword [rsp + 0x150], xmm0
movdqa xmmword [rsp + 0x160], xmm1
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x170], rax
mov eax, 0x400
mov word [rsp + 0x188], ax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x1a0], xmm1
movdqa xmm0, xmmword [0x14002cd30]
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmmword [rsp + 0x1c0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x14002cd30]
movdqa xmmword [rsp + 0x1e0], xmm1
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x248], edi
mov r15d, edi
lea r9, [rsp + 0x248]
mov r8, rbx
mov edx, r12d
mov rcx, r14
call fcn.14000281c
mov esi, eax
test eax, eax
jns 0x140002231
lea rcx, str.Failed_to_parse_the_command_line._n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
jmp 0x140002587
cmp qword [0x14003c0d0], rdi
jne 0x1400022a6
lea rdx, [0x140026580]
mov ecx, 0x10
call fcn.14002172c
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140002272
mov qword [rax], rdi
mov dword [rax + 8], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
nop dword [rax + rax]
mov word [rbx + 0xc], ax
jmp 0x140002275
mov rbx, rdi
mov qword [0x14003c0d0], rbx
test rbx, rbx
je 0x1400022d9
mov edx, dword [rsp + 0x248]
lea rcx, [0x1400269a8]
call fcn.140019bc0
mov esi, eax
test eax, eax
jns 0x1400022a6
lea rcx, str.Failed_to_find_the_resources_for_this_executable._n
jmp 0x140002220
lea rdx, [0x140026580]
mov ecx, 0x10
call fcn.14002172c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400022cd
mov dword [rax], 1
mov qword [rax + 8], rdi
jmp 0x1400022d0
mov rax, rdi
mov qword [r14 + 8], rax
test rax, rax
jne 0x140002330
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002300
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002326
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
mov esi, 0x8007000e
jmp 0x140002735
cmp qword [0x14003c190], rdi
jne 0x140002359
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
cmove rax, rdi
mov qword [0x14003c190], rax
lea rdx, [0x140026580]
mov ecx, 0x40
call fcn.14002172c
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400023b8
mov rbx, qword [r14 + 8]
mov rcx, qword [0x14003a140]
mov rax, qword [rcx + 0x18]
mov rcx, r13
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop dword [rax + rax]
mov rcx, rsi
call fcn.140018f78
jmp 0x1400023bb
mov rsi, rdi
mov qword [r14 + 0x10], rsi
test rsi, rsi
jne 0x1400023ce
mov esi, 0x8007000e
jmp 0x140002587
mov dword [rsp + 0x114], r12d
lea rcx, [rsp + 0x80]
call fcn.1400054e4
mov r8, qword [r14 + 0x10]
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0x130]
call fcn.14000a028
mov esi, eax
test eax, eax
js 0x140002587
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x240]
mov edx, r12d
mov rcx, r14
call fcn.140002a04
mov esi, eax
test eax, eax
jns 0x14000243a
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.14000276c
jmp 0x140002587
cmp dword [rsp + 0xcc], edi
je 0x140002452
cmp dword [rsp + 0x88], edi
jne 0x140002452
mov rax, qword [r14 + 8]
mov dword [rax], edi
lea rcx, [rsp + 0x28]
call fcn.140019f70
test eax, eax
js 0x14000247b
mov r9, qword [rsp + 0x28]
mov edx, 3
lea r8d, [rdx + 0x61]
mov rcx, qword [r14 + 8]
call fcn.140005614
test eax, eax
jns 0x1400024a1
mov r8d, eax
lea rdx, str.Failed_to_write_preamble_text_to_stdout._HRESULT_X
lea rcx, [rsp + 0x38]
call fcn.140004dd8
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [rax + rax]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.1400031e8
mov esi, eax
test eax, eax
js 0x140002587
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400074cc
mov esi, eax
test eax, eax
jns 0x1400024e7
mov edx, dword [rsp + 0x30]
mov rcx, qword [r14 + 0x10]
call fcn.140019110
jmp 0x140002587
cmp qword [r14], rdi
je 0x140002556
mov rax, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x28]
lea rdx, str.Dism.exe_version:__s
lea rcx, [rsp + 0x40]
call fcn.140004dd8
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov edx, 3
mov rcx, qword [r14]
call fcn.1400189f0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002556
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.140003558
mov esi, eax
jmp 0x140002587
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x130]
call fcn.1400116e8
mov r12d, eax
test eax, eax
js 0x140002635
mov r15d, edi
cmp dword [rsp + 0x48], 1
sete r15b
cmp qword [r14], rdi
je 0x140002643
mov rdx, qword [0x14003a140]
mov rcx, r13
mov rax, qword [rdx + 0x18]
call qword [0x140025fc8]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [0x140026ac8]
lea r8, [0x140026ad0]
test r15d, r15d
cmovne r8, rax
lea rdx, str.Image_session_has_been_closed._Reboot_required_s.
lea rcx, [rsp + 0x20]
call fcn.140004dd8
mov rbx, qword [rsp + 0x20]
mov r8, rbx
mov edx, 3
mov rcx, qword [r14]
call fcn.1400189f0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002643
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
jmp 0x140002643
mov edx, 0xc1500013
mov rcx, qword [r14 + 0x10]
call fcn.140019110
test esi, esi
js 0x140002661
mov esi, r12d
test r12d, r12d
js 0x140002661
lea r8, [rsp + 0x50]
mov edx, r15d
mov rcx, r14
call fcn.140003ce4
mov esi, eax
cmp qword [r14], rdi
je 0x14000266e
mov rcx, qword [r14]
call fcn.140018db4
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1400026c7
mov edx, esi
call fcn.140019234
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x1400026c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x38]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400026bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
mov rcx, rbx
call sub.msvcrt.dll_free
mov qword [r14 + 0x10], rdi
lea rcx, [rsp + 0x130]
call fcn.140011938
mov eax, esi
and eax, 0x1fff0000
movzx ebx, si
cmp eax, 0x70000
cmovne ebx, esi
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000270d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002733
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140025fc8]
mov esi, ebx
lea rcx, [rsp + 0x130]
call fcn.140009f1c
nop
lea rcx, [rsp + 0x50]
call fcn.1400065b8
mov eax, esi
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret