Function at 0x140016ba0
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x120
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x120], rbx
lea rcx, [rbp]
mov qword [rbp + 0x128], rsi
xor edx, edx
mov qword [rbp + 0x130], rdi
mov r8d, 0x100
mov qword [rbp + 0x138], r12
call fcn.1400d8190
movzx eax, word [0x14014376c]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140016bf9
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400f31b0
sub rsp, rcx
xor r15d, r15d
cmp r15w, word [0x14014376c]
mov r14d, r15d
lea r12, [rsp + 0x20]
jae 0x140016ce9
mov rdi, r12
mov esi, r15d
nop word [rax + rax]
cmp byte [0x140142810], r15b
mov rax, qword [0x140143758]
mov rbx, qword [rsi + rax]
je 0x140016c50
mov rcx, rbx
call fcn.1400109b0
test al, al
je 0x140016c97
cmp word [rbx + 6], r15w
je 0x140016c7f
cmp byte [rbx + 0x19], r15b
je 0x140016c97
mov byte [rdi], r15b
movzx eax, byte [rbx + 0x12]
cmp byte [rbx + 0x14], r15b
je 0x140016ed0
test al, al
jne 0x140016ed8
mov byte [rbx + 0x12], 1
jmp 0x140016ed8
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x140016c97
cmp byte [rax + 0x28], r15b
jne 0x140016c5d
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140016c88
mov byte [rdi], 1
cmp byte [rbx + 0x18], r15b
je 0x140016ccf
movzx edx, word [rbx + 4]
mov rcx, qword [0x140142730]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
test eax, eax
sete al
mov byte [rbx + 0x18], al
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x140016ccf
mov byte [rax + 0x27], r15b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140016cc2
movzx eax, word [0x14014376c]
inc r14d
add rsi, 8
inc rdi
cmp r14d, eax
jl 0x140016c30
movzx ecx, word [0x14014376c]
mov ebx, r15d
test ecx, ecx
je 0x140016df4
mov rdi, r15
mov r11, r12
cmp byte [r11], r15b
jne 0x140016ddc
mov rax, qword [0x140143758]
mov rdx, qword [rdi + rax]
cmp byte [rdx + 0x16], r15b
je 0x140016d6a
cmp byte [rdx + 0x10], r15b
je 0x140016d6a
mov r8d, r15d
test ecx, ecx
je 0x140016d6a
mov r9, r15
nop dword [rax + rax]
mov rax, qword [0x140143758]
mov rcx, qword [r9 + rax]
movzx eax, byte [rdx + 0x10]
cmp byte [rcx + 0x10], al
jne 0x140016d57
cmp byte [rcx + 0x12], r15b
jne 0x140016d57
movzx eax, byte [rdx + 0xf]
cmp byte [rcx + 0xf], al
jne 0x140016d57
mov byte [rcx + 0x12], 1
movzx eax, word [0x14014376c]
inc r8d
add r9, 8
cmp r8d, eax
jl 0x140016d30
cmp byte [rdx + 0x15], r15b
je 0x140016ddc
cmp byte [rdx + 0x10], r15b
je 0x140016ddc
cmp byte [rdx + 0xe], r15b
jne 0x140016ddc
cmp word [rdx + 0xa], r15w
jne 0x140016ddc
cmp byte [rdx + 0x11], r15b
jne 0x140016ddc
cmp r15w, word [0x14014376c]
mov r9d, r15d
jae 0x140016ddc
mov r10, r15
nop dword [rax]
mov rax, qword [0x140143758]
mov r8, qword [r10 + rax]
movzx eax, byte [rdx + 0x10]
cmp byte [r8 + 0x10], al
jne 0x140016dc9
cmp byte [r8 + 0x12], r15b
jne 0x140016dc9
mov eax, dword [rdx]
and eax, dword [r8]
cmp eax, dword [rdx]
jne 0x140016dc9
mov byte [r8 + 0x12], 1
movzx eax, word [0x14014376c]
inc r9d
add r10, 8
cmp r9d, eax
jl 0x140016da0
movzx ecx, word [0x14014376c]
inc ebx
inc r11
add rdi, 8
cmp ebx, ecx
jl 0x140016d01
cmp qword [0x140142718], r15
setne byte [0x1401436a6]
cmp r15w, word [0x14014376c]
jae 0x140017055
mov rsi, r15
cmp byte [r12], 0
jne 0x14001703b
mov rax, qword [0x140143758]
mov rdi, qword [rsi + rax]
movzx ecx, byte [rdi + 0x12]
test cl, cl
jne 0x140016f1a
movzx eax, byte [rdi + 0x10]
mov cl, 1
mov byte [rdi + 0x12], 1
cmp byte [rbp + rax], 0
jne 0x140016f1a
mov rbx, qword [rdi + 0x28]
test rbx, rbx
je 0x140016f1a
nop word [rax + rax]
cmp qword [rbx + 8], 0
jne 0x140016f09
cmp byte [rbx + 0x28], 0
je 0x140016f09
cmp byte [0x140142810], 0
je 0x140016ec8
mov r9, qword [rbx]
mov rcx, r9
call fcn.1400aaba0
test eax, eax
je 0x140016e92
sub eax, 1
jne 0x140016f09
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140016f09
cmp byte [rcx], 0xcd
jne 0x140016f09
movzx eax, byte [rcx + 1]
test al, al
je 0x140016ec8
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx]
test al, al
jne 0x140016ef1
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140016ec2
cmp qword [rax], 0
jne 0x140016ec8
cmp byte [rcx + 1], 0
je 0x140016ef5
mov byte [rdi + 0x12], 0
xor cl, cl
jmp 0x140016f1a
cmp al, 1
jne 0x140016ed8
mov byte [rbx + 0x12], r15b
movzx eax, byte [rbx + 0x11]
test al, al
je 0x140016ccf
movzx eax, al
mov byte [rbp + rax], 1
jmp 0x140016ccf
cmp al, 1
je 0x140016ec8
mov rcx, qword [rcx + 8]
lea rdx, [0x140119f84]
call fcn.1400da874
test eax, eax
jne 0x140016ec8
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016e60
movzx ecx, byte [rdi + 0x12]
cmp cl, 2
jne 0x140016f8c
cmp word [rdi + 0xa], 0
jne 0x140016f86
cmp word [rdi + 8], 0
jne 0x140016f86
cmp word [rdi + 6], 0
jne 0x140016f86
movzx eax, byte [rdi + 0xf]
test al, 0xc0
je 0x140016f40
test al, 0xc
je 0x140016f86
movzx ecx, byte [rdi + 0x10]
test cl, cl
je 0x140016f5c
lea eax, [rcx - 1]
cmp al, 5
ja 0x140016f54
cmp cl, 3
jne 0x140016f5c
add cl, 0x66
cmp cl, 5
ja 0x140016f86
movzx edx, byte [rdi + 0x11]
mov cl, 2
test dl, dl
je 0x140016f8c
lea eax, [rdx - 1]
cmp al, 5
ja 0x140016f72
cmp dl, 3
jne 0x140016f7a
add dl, 0x66
cmp dl, 5
ja 0x140016f7e
mov al, 1
jmp 0x140016f80
xor al, al
mov cl, 2
test al, al
jne 0x140016f8c
mov byte [rdi + 0x12], 3
mov cl, 3
movzx eax, byte [rdi + 0x18]
test cl, cl
jne 0x140016ff2
test al, al
jne 0x14001700f
movzx ecx, byte [rdi + 0x10]
mov r8d, dword [rdi]
cmp cl, 0x10
je 0x140016fc7
cmp cl, 0x11
je 0x140016fc1
cmp cl, 0x12
je 0x140016fbb
lea eax, [rcx - 0x5b]
cmp al, 1
ja 0x140016fcb
or r8d, 8
jmp 0x140016fcb
or r8d, 1
jmp 0x140016fcb
or r8d, 2
jmp 0x140016fcb
or r8d, 4
movzx edx, word [rdi + 4]
movzx r9d, cl
mov rcx, qword [0x140142730]
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
setne cl
mov byte [rdi + 0x18], cl
test eax, eax
jne 0x14001700f
mov byte [rdi + 0x12], 1
jmp 0x14001700f
test al, al
je 0x14001700f
movzx edx, word [rdi + 4]
mov rcx, qword [0x140142730]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
test eax, eax
sete al
mov byte [rdi + 0x18], al
movzx ecx, byte [rdi + 0x12]
sub ecx, 1
je 0x140017034
sub ecx, 1
je 0x14001702b
sub ecx, 1
jne 0x14001703b
or byte [0x1401436a6], 3
jmp 0x14001703b
or byte [0x1401436a6], 2
jmp 0x14001703b
or byte [0x1401436a6], 1
movzx eax, word [0x14014376c]
inc r15d
inc r12
add rsi, 8
cmp r15d, eax
jl 0x140016e13
mov eax, dword [0x140143764]
test eax, eax
jne 0x14001707a
cmp dword [reloc.OLEAUT32.dll_VariantInit], 7
jne 0x14001707a
cmp dword [reloc.OLEAUT32.dll_VariantInit], 7
jne 0x14001707a
cmp dword [reloc.OLEAUT32.dll_VariantInit], 7
je 0x140017081
or byte [0x1401436a6], 1
cmp byte [0x140142811], 0
jne 0x140017097
cmp byte [0x14013f4cc], 0
je 0x14001709e
test eax, eax
je 0x14001709e
or byte [0x1401436a6], 2
movzx edx, word [0x14014376c]
call fcn.1400147f0
cmp dword [0x140143754], 0
je 0x1400170de
cmp byte [0x14014254e], 0
jne 0x1400170de
mov rcx, qword [0x140142730]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x14014254e]
mov rbx, qword [rbp + 0x120]
mov rsi, qword [rbp + 0x128]
mov rdi, qword [rbp + 0x130]
mov r12, qword [rbp + 0x138]
lea rsp, [rbp + 0x100]
pop r15
pop r14
pop rbp
ret