Function at 0x140094010
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa0
mov rcx, rdx
mov rbx, r9
mov rsi, r8
call fcn.140034a20
mov r15d, eax
test eax, eax
je 0x140094509
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.140077860
mov r14, rax
test rax, rax
je 0x140094509
mov rdx, rbx
mov rcx, rax
call fcn.1400d5630
mov rdi, rax
test rax, rax
je 0x140094509
mov r13d, dword gs:[0x48]
lea eax, [r15 - 1]
cmp eax, 0x10
ja case.default.0x1400940b9
movsxd rcx, eax
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x948fc]
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 0x140094509
xor esi, esi
cmp r15d, 1
mov eax, esi
sete al
cmp qword [rbp - 0x49], rax
je case.default.0x1400940b9
xor edx, edx
mov rcx, r14
xor r12b, r12b
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r15d, eax
test eax, eax
je 0x140094148
cmp eax, dword [0x14012af90]
je 0x140094148
mov rcx, r14
call fcn.1400d5bd0
test al, al
jne 0x140094148
mov ecx, dword [0x14012af90]
lea r8d, [rsi + 1]
mov edx, r15d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
cmp r14, rdi
jne 0x140094195
mov r14d, 0xfffffff0
mov rcx, rdi
mov edx, r14d
mov rbx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140094198
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140094198
mov edx, r14d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x140094170
jmp 0x140094198
mov rbx, r14
mov rcx, rbx
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 0x1400941c5
mov ecx, esi
mov qword [rbp - 0x39], rsi
mov eax, esi
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x2d], eax
mov r8d, esi
jmp 0x1400941d2
mov eax, dword [rbp - 0x2d]
mov ecx, dword [rbp - 0x31]
mov esi, dword [rbp - 0x35]
mov r8d, dword [rbp - 0x39]
sub eax, esi
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 r12b, r12b
je case.default.0x1400940b9
mov ecx, dword [0x14012af90]
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x1400940b9
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x1400940b9
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x1400940b9
mov edx, 4
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x1400940b9
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x1400940b9
cmp word [rsi], 0
jne 0x140094291
mov eax, 1
jmp 0x140094514
cmp r15d, 7
mov r12d, 0xffffffec
mov r14d, 0xfffffff0
mov rcx, rdi
cmove r12d, r14d
mov edx, r12d
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx edx, word [rsi]
lea rcx, [0x14010f6d8]
mov r14d, eax
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x1400942d6
mov rcx, rsi
call fcn.140005c40
mov rbx, rax
jmp 0x14009430a
lea rcx, [rsi + 2]
call fcn.140005c40
movzx ecx, word [rsi]
cmp cx, 0x2b
je 0x140094305
cmp cx, 0x2d
je 0x1400942fe
cmp cx, 0x5e
jne 0x1400942f9
xor eax, r14d
jmp 0x140094308
mov ebx, dword [rbp - 0x49]
jmp 0x14009430a
not eax
and eax, r14d
jmp 0x140094308
or eax, r14d
mov ebx, eax
cmp ebx, r14d
je 0x14009435c
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 0x140094338
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140094509
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, r14d
je 0x140094509
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x140127a38]
lea rdx, [0x1400ef8c4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x140094514
xor esi, esi
mov edx, 0x14f
cmp r15d, 9
sete sil
xor r9d, r9d
mov r8, rsi
jmp 0x14009488d
cmp word [rsi], 0
je 0x1400943d8
mov rcx, rsi
call fcn.14001de50
mov ecx, 0x25
cmp r15d, 0xb
mov ebx, 0x27
mov esi, eax
cmove ebx, ecx
xor edx, edx
movzx ecx, bl
call fcn.140024e60
movzx ecx, ax
shl ecx, 0x10
movsxd r15, ecx
test esi, esi
jle case.default.0x1400940b9
jmp 0x140094401
mov ecx, 0x25
cmp r15d, 0xb
mov ebx, 0x27
mov esi, 1
cmove ebx, ecx
xor edx, edx
movzx ecx, bl
call fcn.140024e60
movzx eax, ax
shl eax, 0x10
movsxd r15, eax
mov r12, r15
mov r14d, esi
mov eax, 0xc0000001
movzx ebx, bl
or r12, 1
or r15, rax
xor esi, esi
nop dword [rax + rax]
mov r9, r12
mov r8, rbx
mov edx, 0x100
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
mov dword [0x1401241f4], esi
cmp dword [0x14012af90], r13d
je 0x14009444d
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140094457
mov edx, 1
call fcn.140001a20
mov r9, r15
mov dword [0x1401241f4], 1
mov r8, rbx
mov edx, 0x101
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
sub r14, 1
jne 0x140094420
jmp case.default.0x1400940b9
cmp word [rbx], 0
jne 0x14009449d
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.1400ce7b0
test rax, rax
je 0x1400944b8
mov edx, 0x143
jmp 0x1400944d1
lea rdx, [0x140107ce0]
mov rcx, rbx
call fcn.1400ce7b0
test rax, rax
je 0x140094509
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 0x140094509
cmp qword [rbp - 0x49], 0xfffffffffffffffd
jbe case.default.0x1400940b9
mov rcx, qword [rbp + 0x47]
mov dl, 1
call fcn.14005f650
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp word [rsi], 0
je 0x140094509
mov rcx, rsi
call fcn.14001de50
mov esi, eax
sub esi, 1
js 0x140094509
cmp word [rbx], 0
jne 0x140094567
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.1400ce7b0
test rax, rax
je 0x140094582
mov edx, 0x144
jmp 0x14009459f
lea rdx, [0x140107ce0]
mov rcx, rbx
call fcn.1400ce7b0
test rax, rax
je 0x140094509
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 0x140094509
cmp qword [rbp - 0x49], 0xffffffffffffffff
jmp 0x1400948b2
cmp word [rsi], 0
je 0x140094509
mov rcx, rsi
call fcn.14001de50
mov esi, eax
sub esi, 1
js 0x140094509
cmp word [rbx], 0
jne 0x140094614
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.1400ce7b0
test rax, rax
je 0x14009463d
mov edx, 0x14e
movsxd r8, esi
mov ebx, 9
xor r9d, r9d
jmp 0x1400946ec
lea rdx, [0x140107ce0]
mov rcx, rbx
call fcn.1400ce7b0
test rax, rax
je 0x140094509
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, 2
movsxd r8, esi
and eax, 0x808
mov ecx, eax
neg ecx
sbb edx, edx
add edx, 0x186
test eax, eax
je 0x140094635
lea rax, [rbp - 0x49]
mov r9, r8
mov qword [rsp + 0x30], rax
lea r8d, [rbx - 1]
mov dword [rsp + 0x28], 0x7d0
mov edx, 0x185
mov dword [rsp + 0x20], ebx
jmp 0x140094705
cmp word [rbx], 0
jne 0x1400946c0
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.1400ce7b0
test rax, rax
je 0x1400947b5
mov edx, 0x14d
mov ebx, 9
mov r9, rsi
mov r8, 0xffffffffffffffff
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 0x140094509
cmp qword [rbp - 0x49], 0xffffffffffffffff
je 0x140094509
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
test rax, rax
je 0x140094509
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov r14d, eax
test eax, eax
jne 0x14009475d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140094509
lea rax, [rbp - 0x49]
movzx r14d, r14w
mov qword [rsp + 0x30], rax
mov r8d, r14d
bts r8, 0x10
mov dword [rsp + 0x28], 0x7d0
mov r9, rdi
mov dword [rsp + 0x20], 2
mov edx, 0x111
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x140094509
shl ebx, 0x10
mov r9, rdi
mov r8d, ebx
mov edx, 0x111
or r8, r14
mov rcx, rsi
jmp 0x140094890
lea rdx, [0x140107ce0]
mov rcx, rbx
call fcn.1400ce7b0
test rax, rax
je 0x140094509
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0x18f
mov ecx, 0x18c
and eax, 0x808
mov ebx, 2
cmove edx, ecx
test eax, 0x808
je 0x1400946e2
lea rax, [rbp - 0x41]
mov r9, rsi
mov qword [rsp + 0x30], rax
lea edx, [rcx + 3]
mov dword [rsp + 0x28], 0x7d0
mov r8, 0xffffffffffffffff
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x140094509
mov r9, qword [rbp - 0x41]
cmp r9, 0xffffffffffffffff
je 0x140094509
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 0x140094509
cmp qword [rbp - 0x49], 0xffffffffffffffff
jne 0x140094722
jmp 0x140094509
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 0x140094509
mov rax, qword [0x140124200]
cmp dword [rax + 0x78], 0xffffffff
jle 0x14009435c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14012af90], eax
mov rax, qword [0x140124200]
mov ecx, dword [rax + 0x78]
je 0x1400948ec
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14009435c
mov edx, 1
call fcn.140001a20
jmp 0x14009435c