Function at 0x14005e190
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa0
mov r13, rcx
mov rbx, r9
mov rcx, rdx
mov rsi, r8
call fcn.14005ce20
mov r15d, eax
test eax, eax
je 0x14005e608
mov rdx, qword [rbp + 0x7f]
mov r9, qword [rbp + 0x77]
mov r8, qword [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp + 0x67]
call fcn.14004d660
mov r14, rax
test rax, rax
je 0x14005e608
mov rdx, rbx
mov rcx, rax
call fcn.14008cb10
mov rdi, rax
test rax, rax
je 0x14005e608
lea eax, [r15 - 1]
cmp eax, 0x10
ja case.default.0x14005e22e
movsxd rcx, eax
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x5e9fc]
add rdx, rax
jmp rdx
lea rax, [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0x7d0
mov edx, 0xf0
mov rcx, rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
xor ebx, ebx
cmp r15d, 1
mov eax, ebx
sete al
cmp qword [rbp - 0x49], rax
je case.default.0x14005e22e
xor edx, edx
mov rcx, r14
xor r15b, r15b
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
test eax, eax
je 0x14005e2bb
cmp eax, dword [0x1401052c0]
je 0x14005e2bb
mov rcx, r14
call fcn.14008d130
test al, al
jne 0x14005e2bb
mov ecx, dword [0x1401052c0]
lea r8d, [rbx + 1]
mov edx, esi
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r15b
cmp r14, rdi
jne 0x14005e2cb
mov rcx, rdi
call fcn.14008d0d0
mov r14, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_SetActiveWindow]
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x14005e2f8
mov qword [rbp - 0x35], rbx
mov ecx, ebx
mov r8d, ebx
mov dword [rbp - 0x39], ebx
mov eax, ebx
mov dword [rbp - 0x2d], ebx
jmp 0x14005e305
mov eax, dword [rbp - 0x2d]
mov ecx, dword [rbp - 0x31]
mov ebx, dword [rbp - 0x35]
mov r8d, dword [rbp - 0x39]
sub eax, ebx
sub ecx, r8d
cdq
mov r8d, 1
sub eax, edx
sar eax, 1
movzx ebx, ax
mov eax, ecx
cdq
shl rbx, 0x10
sub eax, edx
mov edx, 0x201
sar eax, 1
movzx ecx, ax
or rbx, rcx
mov rcx, rdi
mov r9, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov r9, rbx
xor r8d, r8d
mov edx, 0x202
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
test r15b, r15b
je case.default.0x14005e22e
mov ecx, dword [0x1401052c0]
xor r8d, r8d
mov edx, esi
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x14005e22e
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x14005e22e
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x14005e22e
mov edx, 4
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x14005e22e
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x14005e22e
cmp word [rsi], 0
jne 0x14005e3c3
mov eax, 1
jmp 0x14005e9d8
mov edx, 0xfffffff0
cmp r15d, 7
mov r12d, 0xffffffec
mov rcx, rdi
cmove r12d, edx
mov edx, r12d
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx edx, word [rsi]
lea rcx, [0x1400e59f8]
mov r14d, eax
call fcn.1400a5a98
test rax, rax
jne 0x14005e406
mov rcx, rsi
call fcn.1400155f0
mov rbx, rax
jmp 0x14005e437
lea rcx, [rsi + 2]
call fcn.1400155f0
movzx ecx, word [rsi]
cmp ecx, 0x2b
je 0x14005e432
cmp ecx, 0x2d
je 0x14005e42b
cmp ecx, 0x5e
jne 0x14005e426
xor eax, r14d
jmp 0x14005e435
mov ebx, dword [rbp - 0x49]
jmp 0x14005e437
not eax
and eax, r14d
jmp 0x14005e435
or eax, r14d
mov ebx, eax
cmp ebx, r14d
je 0x14005e489
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, ebx
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x14005e465
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005e608
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, r14d
je 0x14005e608
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x140100e80]
lea rdx, [0x1400cc014]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008ab40
jmp 0x14005e9d8
xor ebx, ebx
mov edx, 0x14f
cmp r15d, 9
sete bl
xor r9d, r9d
mov r8, rbx
jmp 0x14005e979
cmp word [rsi], 0
je 0x14005e4d9
mov rcx, rsi
call fcn.14000ed00
mov r13d, eax
jmp 0x14005e4df
mov r13d, 1
mov eax, 0x25
cmp r15d, 0xb
mov ebx, 0x27
cmove ebx, eax
xor edx, edx
movzx ecx, bl
call fcn.140014ad0
movzx eax, ax
shl eax, 0x10
movsxd rsi, eax
test r13d, r13d
jle case.default.0x14005e22e
mov r12, rsi
movzx r14d, bl
mov eax, 0xc0000001
mov r15d, r13d
or r12, 1
or rsi, rax
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
mov r9, r12
mov r8, r14
mov edx, 0x100
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 1
mov dword [0x1400fca50], ebx
xor ecx, ecx
call fcn.1400016e0
mov r9, rsi
mov dword [0x1400fca50], 1
mov r8, r14
mov edx, 0x101
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
sub r15, 1
jne 0x14005e530
jmp case.default.0x14005e22e
cmp word [rbx], 0
jne 0x14005e59c
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rbx, [rbp - 0x29]
lea rdx, str.Combo
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e5b7
mov edx, 0x143
jmp 0x14005e5d0
lea rdx, str.List
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e608
mov edx, 0x180
lea rax, [rbp - 0x49]
mov r9, rsi
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0x7d0
mov rcx, rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
cmp qword [rbp - 0x49], 0xfffffffffffffffe
jb case.default.0x14005e22e
mov rax, qword [0x1400fca58]
lea rdx, [0x1400df728]
cmp byte [rax + 0x150], 0
jne 0x14005e9c6
mov rcx, qword [0x140100e80]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008ab40
jmp 0x14005e9d8
cmp word [rsi], 0
je 0x14005e608
mov rcx, rsi
call fcn.14000ed00
mov esi, eax
sub esi, 1
js 0x14005e608
cmp word [rbx], 0
jne 0x14005e672
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rbx, [rbp - 0x29]
lea rdx, str.Combo
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e68d
mov edx, 0x144
jmp 0x14005e6aa
lea rdx, str.List
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e608
mov edx, 0x182
lea rax, [rbp - 0x49]
movsxd r8, esi
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x7d0
mov rcx, rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
cmp qword [rbp - 0x49], 0xffffffffffffffff
jmp 0x14005e99e
cmp word [rsi], 0
je 0x14005e608
mov rcx, rsi
call fcn.14000ed00
mov esi, eax
sub esi, 1
js 0x14005e608
cmp word [rbx], 0
jne 0x14005e71f
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rbx, [rbp - 0x29]
lea rdx, str.Combo
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e7fe
mov edx, 0x14e
mov ebx, 9
movsxd r8, esi
xor r9d, r9d
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
cmp qword [rbp - 0x49], 0xffffffffffffffff
je 0x14005e608
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
test rax, rax
je 0x14005e608
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x14005e608
movzx r14d, ax
mov r9, rdi
lea rax, [rbp - 0x49]
movsxd r8, r14d
mov qword [rsp + 0x30], rax
bts r8, 0x10
mov dword [rsp + 0x28], 0x7d0
mov edx, 0x111
mov rcx, rsi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
movzx eax, bx
mov r9, rdi
shl eax, 0x10
mov edx, 0x111
movsxd r8, eax
mov rcx, rsi
or r8, r14
jmp 0x14005e97c
lea rdx, str.List
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e608
mov ebx, 2
mov rcx, rdi
lea edx, [rbx - 0x12]
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
neg eax
sbb edx, edx
add edx, 0x186
cmp edx, 0x185
jne 0x14005e741
lea rax, [rbp - 0x49]
movsxd r9, esi
mov qword [rsp + 0x30], rax
lea r8d, [rbx - 1]
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], ebx
jmp 0x14005e760
cmp word [rbx], 0
jne 0x14005e880
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rbx, [rbp - 0x29]
lea rdx, str.Combo
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e8ac
mov edx, 0x14d
mov ebx, 9
mov r9, rsi
mov r8d, 1
jmp 0x14005e747
lea rdx, str.List
mov rcx, rbx
call fcn.140087a90
test rax, rax
je 0x14005e608
mov ebx, 2
mov rcx, rdi
lea edx, [rbx - 0x12]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x808
mov edx, 0x18f
mov eax, 0x18c
cmove edx, eax
cmp edx, 0x18f
jne 0x14005e89e
lea rax, [rbp - 0x41]
mov r9, rsi
mov qword [rsp + 0x30], rax
or r8, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x7d0
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
mov r9, qword [rbp - 0x41]
cmp r9, 0xffffffffffffffff
je 0x14005e608
lea rax, [rbp - 0x49]
mov edx, 0x185
mov qword [rsp + 0x30], rax
lea r8d, [rbx - 1]
mov dword [rsp + 0x28], 0x7d0
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
cmp qword [rbp - 0x49], 0xffffffffffffffff
jne 0x14005e77d
jmp 0x14005e608
mov r9, rsi
mov edx, 0xc2
mov r8d, 1
mov rcx, rdi
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14005e608
mov rax, qword [0x1400fca58]
mov ecx, dword [rax + 0x78]
cmp ecx, 0xffffffff
jle 0x14005e489
mov edx, 1
call fcn.1400016e0
jmp 0x14005e489
lea r9, [0x1400cbf2c]
xor r8d, r8d
mov rcx, r13
call fcn.140035470
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret