Function at 0x140005a10
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov r15, r8
mov r13, rdx
mov r14, rcx
xor esi, esi
mov dword [r8], esi
mov word [rdx], si
lea ecx, [rsi + 8]
call fcn.14000b534
test rax, rax
je 0x140005a5f
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x140005a62
mov rax, rsi
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140009600
mov qword [rsp + 0x60], rax
mov byte [rax + 0x69], 1
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rax], rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x68], rsi
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
dec rcx
lea rax, vtable.MemReaderW.0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rsi
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.140004920
nop
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
mov r12d, 1
mov r8, r12
lea rdx, [0x14001ed00]
lea rcx, [rsp + 0x70]
call fcn.140007dc0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.140004d90
nop
cmp qword [rax + 0x20], 8
jb 0x140005b41
mov rsi, qword [rax + 8]
jmp 0x140005b45
lea rsi, [rax + 8]
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x178], rbx
test rsi, rsi
je 0x140005bb1
test rsi, 0xffffffffffff0000
jne 0x140005b9e
movzx edi, si
xor edx, edx
mov ecx, edi
call fcn.140001140
test rax, rax
je 0x140005bce
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.140009760
mov rbx, qword [rsp + 0x178]
jmp 0x140005bce
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140005bb3
xor ecx, ecx
mov r8d, ecx
mov rdx, rsi
lea rcx, [rsp + 0x178]
call fcn.140008bd0
mov rbx, qword [rsp + 0x178]
cmp qword [rsp + 0xe0], 8
jb 0x140005be6
mov rcx, qword [rsp + 0xc8]
call fcn.14000a1ec
mov qword [rsp + 0xe0], 7
xor esi, esi
mov qword [rsp + 0xd8], rsi
mov word [rsp + 0xc8], si
cmp qword [rsp + 0x90], 8
jb 0x140005c19
mov rcx, qword [rsp + 0x78]
call fcn.14000a1ec
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
movsxd rdi, dword [rbx - 0x10]
sub r12d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r12d
jge 0x140005c5b
mov edx, edi
lea rcx, [rsp + 0x178]
call fcn.140008cc0
mov rbx, qword [rsp + 0x178]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14000aeb8
test edi, edi
js 0x140006055
cmp edi, dword [rbx - 0xc]
jg 0x140006055
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], si
xor eax, eax
lea rdi, str.POPUPDIALOG
mov rsi, rbx
mov ecx, 0xc
repe cmpsw word [rsi], word [rdi]
je 0x140005c9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x140005f60
lea rcx, str._PI_EXE__GetAnswerToRequest_____Popup_Dialog
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x180], rsi
mov rcx, r14
call fcn.140005570
mov rbx, rax
test rax, rax
je 0x140005e9e
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x188], rax
xor eax, eax
mov rcx, rbp
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x188]
call fcn.1400079a0
mov rdi, qword [rsp + 0x188]
cmp dword [rdi - 0x10], 0
jl 0x140005e07
lea rdx, str.___CDATA_
mov rcx, rdi
call fcn.14000b228
test rax, rax
je 0x140005e07
sub rax, rdi
sar rax, 1
test eax, eax
jne 0x140005e07
lea r8d, [rax + 9]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x188]
call fcn.140006c50
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x140005dd4
cmp dword [rsi + 0x10], 0
jl 0x140005dc2
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140005dc2
call fcn.140008d20
mov rdi, rax
mov ecx, ebp
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140005db4
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x180], rax
jmp 0x140005dd4
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x180]
call fcn.140008bd0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140005dfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x188]
jmp 0x140005e6d
mov rdi, qword [rsp + 0x188]
jmp 0x140005e6d
lea rcx, [rdi - 0x18]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x140005e6d
cmp dword [rsi + 0x10], 0
jl 0x140005e59
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140005e59
call fcn.140008d20
mov rdi, rax
mov ecx, ebp
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140005e43
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x180], rax
mov rdi, qword [rsp + 0x188]
jmp 0x140005e6d
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.140008bd0
lea rdx, [0x14001f3a4]
lea rcx, [rsp + 0x180]
call fcn.140006b70
nop
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140005ec8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140005ec8
xor eax, eax
mov rcx, rbp
lea rdi, str.ConfirmResultIDCANCEL
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.ConfirmResultIDCANCEL
lea rcx, [rsp + 0x180]
call fcn.140008bd0
mov edx, 0x800
mov rcx, r13
mov rdi, qword [rsp + 0x180]
mov rsi, rdi
sub rsi, r13
nop
lea rax, [rdx + 0x7ffff7fe]
test rax, rax
je 0x140005f04
movzx eax, word [rsi + rcx]
test ax, ax
je 0x140005f04
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140005ee0
jmp 0x140005f09
test rdx, rdx
jne 0x140005f0d
sub rcx, 2
xor esi, esi
mov word [rcx], si
lea rcx, str._PI_EXE__Call_SetEvent_____GetInfo
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140026d08]
call qword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.140006080
nop
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140005f56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x178]
jmp 0x140005fa4
mov rbx, qword [rsp + 0x178]
jmp 0x140005fa4
xor eax, eax
lea rdi, str.EXIT
mov rsi, rbx
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
je 0x140005f7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x140005fa2
lea rcx, str._PI_EXE__GetAnswerToRequest_____Exit
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140026d18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor esi, esi
jmp 0x140005fa4
xor esi, esi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [r15], eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
dec ebp
test ebp, ebp
jg 0x140005fcd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xa0], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x110], xmm0
movaps xmm1, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xf0], xmm1
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x30]
call fcn.140008480
mov rcx, qword [rsp + 0x60]
call fcn.14000a1ec
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov rcx, qword [rsp + 0x30]
call fcn.14000a1ec
jmp 0x140006060
mov ecx, 0x80070057
call fcn.140001000
nop
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret