Function at 0x1400178e0
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.1400f1130
movzx eax, word [0x14016179c]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140017939
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401119a0
sub rsp, rcx
xor r15d, r15d
cmp r15w, word [0x14016179c]
mov r14d, r15d
lea r12, [rsp + 0x20]
jae 0x140017a29
mov rdi, r12
mov esi, r15d
nop word [rax + rax]
cmp byte [0x140160840], r15b
mov rax, qword [0x140161788]
mov rbx, qword [rsi + rax]
je 0x140017990
mov rcx, rbx
call fcn.140011810
test al, al
je 0x1400179d7
cmp word [rbx + 6], r15w
je 0x1400179bf
cmp byte [rbx + 0x19], r15b
je 0x1400179d7
mov byte [rdi], r15b
movzx eax, byte [rbx + 0x12]
cmp byte [rbx + 0x14], r15b
je 0x140017c15
test al, al
jne 0x140017c1d
mov byte [rbx + 0x12], 1
jmp 0x140017c1d
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1400179d7
cmp byte [rax + 0x28], r15b
jne 0x14001799d
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400179c8
mov byte [rdi], 1
cmp byte [rbx + 0x18], r15b
je 0x140017a0f
movzx edx, word [rbx + 4]
mov rcx, qword [0x140160760]
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 0x140017a0f
mov byte [rax + 0x27], r15b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140017a02
movzx eax, word [0x14016179c]
inc r14d
add rsi, 8
inc rdi
cmp r14d, eax
jl 0x140017970
movzx ecx, word [0x14016179c]
mov ebx, r15d
test ecx, ecx
je 0x140017b34
mov rdi, r15
mov r11, r12
cmp byte [r11], r15b
jne 0x140017b1c
mov rax, qword [0x140161788]
mov rdx, qword [rdi + rax]
cmp byte [rdx + 0x16], r15b
je 0x140017aaa
cmp byte [rdx + 0x10], r15b
je 0x140017aaa
mov r8d, r15d
test ecx, ecx
je 0x140017aaa
mov r9, r15
nop dword [rax + rax]
mov rax, qword [0x140161788]
mov rcx, qword [r9 + rax]
movzx eax, byte [rdx + 0x10]
cmp byte [rcx + 0x10], al
jne 0x140017a97
cmp byte [rcx + 0x12], r15b
jne 0x140017a97
movzx eax, byte [rdx + 0xf]
cmp byte [rcx + 0xf], al
jne 0x140017a97
mov byte [rcx + 0x12], 1
movzx eax, word [0x14016179c]
inc r8d
add r9, 8
cmp r8d, eax
jl 0x140017a70
cmp byte [rdx + 0x15], r15b
je 0x140017b1c
cmp byte [rdx + 0x10], r15b
je 0x140017b1c
cmp byte [rdx + 0xe], r15b
jne 0x140017b1c
cmp word [rdx + 0xa], r15w
jne 0x140017b1c
cmp byte [rdx + 0x11], r15b
jne 0x140017b1c
cmp r15w, word [0x14016179c]
mov r9d, r15d
jae 0x140017b1c
mov r10, r15
nop dword [rax]
mov rax, qword [0x140161788]
mov r8, qword [r10 + rax]
movzx eax, byte [rdx + 0x10]
cmp byte [r8 + 0x10], al
jne 0x140017b09
cmp byte [r8 + 0x12], r15b
jne 0x140017b09
mov eax, dword [rdx]
and eax, dword [r8]
cmp eax, dword [rdx]
jne 0x140017b09
mov byte [r8 + 0x12], 1
movzx eax, word [0x14016179c]
inc r9d
add r10, 8
cmp r9d, eax
jl 0x140017ae0
movzx ecx, word [0x14016179c]
inc ebx
inc r11
add rdi, 8
cmp ebx, ecx
jl 0x140017a41
cmp qword [0x140160748], r15
setne byte [0x1401616d6]
cmp r15w, word [0x14016179c]
jae 0x140017daa
mov rsi, r15
cmp byte [r12], 0
jne 0x140017d90
mov rax, qword [0x140161788]
mov rdi, qword [rsi + rax]
movzx ecx, byte [rdi + 0x12]
test cl, cl
jne 0x140017c5c
movzx eax, byte [rdi + 0x10]
mov cl, 1
mov byte [rdi + 0x12], 1
cmp byte [rbp + rax], 0
jne 0x140017c5c
mov rbx, qword [rdi + 0x28]
test rbx, rbx
je 0x140017c5c
nop word [rax + rax]
cmp qword [rbx + 8], 0
jne 0x140017c4b
cmp byte [rbx + 0x28], 0
je 0x140017c4b
cmp byte [0x140160840], 0
je 0x140017c08
mov r9, qword [rbx]
mov rcx, r9
call fcn.1400c1010
test eax, eax
je 0x140017bd2
cmp eax, 1
jne 0x140017c4b
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140017c4b
cmp byte [rcx], 0xcd
jne 0x140017c4b
movzx eax, byte [rcx + 1]
test al, al
je 0x140017c08
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx]
test al, al
jne 0x140017c33
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140017c02
cmp qword [rax], 0
jne 0x140017c08
cmp byte [rcx + 1], 0
je 0x140017c37
movzx eax, byte [rdi + 0x18]
mov byte [rdi + 0x12], 0
jmp 0x140017d18
cmp al, 1
jne 0x140017c1d
mov byte [rbx + 0x12], r15b
movzx eax, byte [rbx + 0x11]
test al, al
je 0x140017a0f
mov byte [rbp + rax], 1
jmp 0x140017a0f
cmp al, 1
je 0x140017c08
mov rcx, qword [rcx + 8]
lea rdx, [0x140136e94]
call fcn.1400f55a0
test eax, eax
jne 0x140017c08
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140017ba0
movzx ecx, byte [rdi + 0x12]
cmp cl, 2
jne 0x140017d10
cmp word [rdi + 0xa], 0
jne 0x140017cc0
cmp word [rdi + 8], 0
jne 0x140017cc0
cmp word [rdi + 6], 0
jne 0x140017cc0
movzx eax, byte [rdi + 0xf]
test al, 0xc0
je 0x140017c86
test al, 0xc
je 0x140017cc0
movzx edx, byte [rdi + 0x10]
test dl, dl
je 0x140017ca4
lea eax, [rdx - 1]
cmp al, 5
ja 0x140017c9c
cmp dl, 3
jne 0x140017ca4
jmp 0x140017cc0
add dl, 0x66
cmp dl, 5
ja 0x140017cc0
movzx edx, byte [rdi + 0x11]
test dl, dl
je 0x140017d10
lea eax, [rdx - 1]
cmp al, 5
ja 0x140017cb8
cmp dl, 3
jne 0x140017cc4
add dl, 0x66
cmp dl, 5
jbe 0x140017cc4
mov byte [rdi + 0x12], 3
movzx eax, byte [rdi + 0x18]
test al, al
je 0x140017ce5
movzx edx, word [rdi + 4]
mov rcx, qword [0x140160760]
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 0x140017d89
sub ecx, 1
je 0x140017d80
cmp ecx, 1
jne 0x140017d90
or byte [0x1401616d6], 3
jmp 0x140017d90
movzx eax, byte [rdi + 0x18]
test cl, cl
jne 0x140017cc8
test al, al
jne 0x140017ce5
movzx r9d, byte [rdi + 0x10]
mov r8d, dword [rdi]
mov ecx, r9d
sub ecx, 0x10
je 0x140017d52
sub ecx, 1
je 0x140017d4c
sub ecx, 1
je 0x140017d46
sub ecx, 0x49
je 0x140017d40
cmp ecx, 1
jne 0x140017d56
or r8d, 8
jmp 0x140017d56
or r8d, 1
jmp 0x140017d56
or r8d, 2
jmp 0x140017d56
or r8d, 4
movzx edx, word [rdi + 4]
mov rcx, qword [0x140160760]
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
setne cl
mov byte [rdi + 0x18], cl
test eax, eax
jne 0x140017ce5
mov byte [rdi + 0x12], 1
jmp 0x140017ce5
or byte [0x1401616d6], 2
jmp 0x140017d90
or byte [0x1401616d6], 1
movzx eax, word [0x14016179c]
inc r15d
inc r12
add rsi, 8
cmp r15d, eax
jl 0x140017b53
mov eax, dword [0x140161794]
test eax, eax
jne 0x140017dcf
cmp dword [reloc.OLEAUT32.dll_VariantInit], 7
jne 0x140017dcf
cmp dword [reloc.OLEAUT32.dll_VariantInit], 7
jne 0x140017dcf
cmp dword [reloc.OLEAUT32.dll_VariantInit], 7
je 0x140017dd6
or byte [0x1401616d6], 1
cmp byte [0x140160841], 0
jne 0x140017dec
cmp byte [0x14015d4fc], 0
je 0x140017df3
test eax, eax
je 0x140017df3
or byte [0x1401616d6], 2
movzx edx, word [0x14016179c]
movzx r9d, byte [0x1401616d7]
movzx r8d, byte [0x1401616d6]
mov rcx, qword [0x140161788]
call fcn.140015550
cmp dword [0x140161784], 0
je 0x140017e4a
cmp byte [0x14016057e], 0
jne 0x140017e4a
mov rcx, qword [0x140160760]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x14016057e]
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