Function at 0x140094d70
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov ebp, edx
mov rsi, rcx
lea rcx, str._RTK__DTS_set_DC_value_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsi + 0xc0], 0
jne 0x140094db0
xor eax, eax
jmp 0x140095516
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsi + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x140094dde
call fcn.140060410
test eax, eax
jne 0x140094dde
mov r12d, ebx
jmp 0x140094de4
mov r12d, 1
mov rcx, qword [rsi + 0xe8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x48]
lea r13, str.WOWHDX_Focus_Level
lea r14, str.DC_Level
test eax, eax
js 0x14009514b
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
xor edx, edx
call qword [rax + 0x18]
mov rdx, rbx
mov qword [rsp + 0x178], rbx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140094e59
mov rax, qword [rcx]
lea r8, [rsp + 0x178]
lea rdx, [0x1401afe88]
call qword [rax]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x178]
test rdx, rdx
je 0x14009512d
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x140094fbd
mov rdx, r13
lea rcx, [rsp + 0xc0]
call fcn.140005060
mov r8, rax
lea rdx, [rsp + 0x160]
mov rcx, rsi
call fcn.14008eb10
nop
mov rdi, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x160]
cmp dword [rdx - 8], 1
jle 0x140094ec2
mov edx, dword [rdx - 0x10]
lea rcx, [rsp + 0x160]
call fcn.140001cf0
mov rdx, qword [rsp + 0x160]
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x20]
mov r11d, eax
mov rdx, qword [rsp + 0x160]
test rdx, rdx
jne 0x140094ee4
mov ecx, ebx
jmp 0x140094eff
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140094fb2
cmp ecx, dword [rdx - 0xc]
jg 0x140094fb2
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x160]
mov word [rax + rcx*2], 0
test r11d, r11d
jne 0x140094f85
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov edx, ebp
call qword [rax + 0x40]
test eax, eax
je 0x140094f5c
mov rdx, r13
lea rcx, [rsp + 0xb8]
call fcn.140005060
mov dword [rsp + 0x20], ebx
mov r9d, ebp
mov r8d, 1
mov rdx, rax
mov rcx, rsi
call fcn.14008ee50
jmp 0x140094f85
mov rdx, r13
lea rcx, [rsp + 0x80]
call fcn.140005060
mov dword [rsp + 0x20], ebx
mov r9d, ebp
mov r8d, 1
mov rdx, rax
mov rcx, rsi
call fcn.14008ee50
nop
mov rdx, qword [rsp + 0x160]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400950f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400950f4
mov ecx, 0x80070057
call fcn.140001c70
nop
mov rdx, r14
lea rcx, [rsp + 0xd0]
call fcn.140005060
mov r8, rax
lea rdx, [rsp + 0x170]
mov rcx, rsi
call fcn.14008eb10
nop
mov rdi, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x170]
cmp dword [rdx - 8], 1
jle 0x14009500f
mov edx, dword [rdx - 0x10]
lea rcx, [rsp + 0x170]
call fcn.140001cf0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x20]
mov r11d, eax
mov rdx, qword [rsp + 0x170]
test rdx, rdx
jne 0x140095031
mov ecx, ebx
jmp 0x14009504c
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140095122
cmp ecx, dword [rdx - 0xc]
jg 0x140095122
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x170]
mov word [rax + rcx*2], 0
test r11d, r11d
jne 0x1400950cf
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov edx, ebp
call qword [rax + 0x40]
test eax, eax
je 0x1400950a6
mov rdx, r14
lea rcx, [rsp + 0xa8]
call fcn.140005060
mov dword [rsp + 0x20], ebx
mov r9d, ebp
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.14008ee50
jmp 0x1400950cf
mov rdx, r14
lea rcx, [rsp + 0xc8]
call fcn.140005060
mov dword [rsp + 0x20], ebx
mov r9d, ebp
mov r8d, 1
mov rdx, rax
mov rcx, rsi
call fcn.14008ee50
nop
mov rdx, qword [rsp + 0x170]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400950f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140095113
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x178]
jmp 0x14009512d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x178]
jmp 0x14009512d
mov ecx, 0x80070057
call fcn.140001c70
nop
test rdx, rdx
je 0x140095140
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14009514b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov word [rsp + 0x68], 3
mov dword [rsp + 0x70], ebp
test r12d, r12d
je 0x14009532c
cmp dword [rsi + 0x38], 0
je 0x140095282
mov rdx, r13
lea rcx, [rsp + 0x88]
call fcn.140005060
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14008eb10
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rdi, qword [rsi + 0xc8]
mov rdx, qword [rsp + 0x30]
cmp dword [rdx - 8], 1
jle 0x1400951d1
mov edx, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140001cf0
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdi]
lea r9, [rsp + 0xe0]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x48]
mov r11d, eax
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x1400951f6
mov ecx, ebx
jmp 0x14009520d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140095277
cmp ecx, dword [rdx - 0xc]
jg 0x140095277
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], 0
test r11d, r11d
jne 0x140095254
mov rdx, r13
lea rcx, [rsp + 0x90]
call fcn.140005060
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.14008ee50
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140095282
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140095282
mov ecx, 0x80070057
call fcn.140001c70
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x160], rax
call fcn.14013e120
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x1400952ac
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test r13, 0xffffffffffff0000
jne 0x1400952e6
movzx edi, r13w
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140095307
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005140
jmp 0x140095307
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.1400038f0
nop
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x70]
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14008ee50
jmp 0x1400954f5
cmp dword [rsi + 0x38], 0
je 0x14009544f
mov rdx, r14
lea rcx, [rsp + 0xa0]
call fcn.140005060
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14008eb10
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rdi, qword [rsi + 0xc8]
mov rdx, qword [rsp + 0x40]
cmp dword [rdx - 8], 1
jle 0x14009539e
mov edx, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001cf0
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdi]
lea r9, [rsp + 0x100]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x48]
mov r11d, eax
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x1400953c3
mov ecx, ebx
jmp 0x1400953da
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140095444
cmp ecx, dword [rdx - 0xc]
jg 0x140095444
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2], 0
test r11d, r11d
jne 0x140095421
mov rdx, r14
lea rcx, [rsp + 0xb0]
call fcn.140005060
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.14008ee50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14009544f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14009544f
mov ecx, 0x80070057
call fcn.140001c70
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x160], rax
call fcn.14013e120
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x140095479
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
test r14, 0xffffffffffff0000
jne 0x1400954b3
movzx edi, r14w
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x1400954d4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005140
jmp 0x1400954d4
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400038f0
nop
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x70]
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14008ee50
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140095506
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
add rsp, 0x120
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret