Function at 0x10023664
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1006a924
call fcn.10029b1c
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.1004f8c2
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x1002368f
and dword [ebp - 0x20], eax
jmp 0x10023695
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x100236a1
and dword [ebp - 0x24], ecx
jmp 0x100236a7
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
cmp ebx, 0x100
mov dword [ebp - 0x18], ebx
jb 0x100236c0
cmp ebx, 0x108
jbe 0x100236d8
cmp ebx, 0x200
jb 0x1002377d
cmp ebx, 0x209
ja 0x1002377d
test eax, eax
mov esi, eax
je 0x1002372e
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x38], 0
jne 0x1002370b
push dword [esi + 0x1c]
call edi
push eax
call fcn.1004f8c2
cmp eax, dword [ebp + 8]
je 0x1002370b
push dword [esi + 0x1c]
call edi
push eax
call fcn.1004f8c2
mov esi, eax
test esi, esi
jne 0x100236e4
test esi, esi
je 0x1002372e
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1002372e
mov eax, dword [eax + 0x54]
test eax, eax
je 0x1002372e
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x10023802
cmp ebx, 0x101
je 0x10023746
cmp ebx, 0x100
je 0x10023746
cmp ebx, 0x102
jne 0x1002377d
test esi, esi
je 0x1002377d
mov esi, dword [esi + 0x38]
test esi, esi
je 0x1002377d
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x10023767
test byte [esi + 0x80], 1
jne 0x10023776
cmp ax, 0x1b
jne 0x1002377d
test byte [esi + 0x80], 2
je 0x1002377d
xor eax, eax
jmp 0x100238e4
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.1004f8c2
mov edi, eax
mov eax, dword [ebp - 0x18]
xor esi, esi
push 2
sub eax, 0x100
mov dword [ebp - 0x1c], esi
pop ebx
je 0x1002382c
sub eax, ebx
je 0x100237d2
sub eax, 4
jne 0x10023866
cmp dword [ebp - 0x14], esi
jne 0x100237c2
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10023866
mov esi, dword [ebp + 0xc]
cmp word [esi + 8], 0x20
je 0x10023866
jmp 0x100237d5
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
je 0x10023802
push esi
push edi
call fcn.10023083
cmp dword [ebp - 0x18], 0x102
jne 0x100237ee
test al, 0x84
jne 0x10023866
mov cx, word [esi + 8]
cmp cx, 9
jne 0x100237fc
test bl, al
jne 0x10023866
cmp cx, 0x20
jne 0x1002380a
push 1
pop eax
jmp 0x100238e4
push esi
push edi
push dword [ebp + 8]
call fcn.100232de
test eax, eax
je 0x10023866
mov eax, dword [eax + 0x38]
test eax, eax
je 0x10023866
push esi
mov ecx, eax
call fcn.1001ee67
jmp 0x100239e5
push dword [ebp + 0xc]
push edi
call fcn.10023083
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp ecx, 0x1b
jg 0x1002394a
je 0x10023995
cmp ecx, 3
je 0x10023995
cmp ecx, 9
je 0x100238f5
cmp ecx, 0xd
je 0x1002396e
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test edi, edi
je 0x1002389d
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.1004f8c2
cmp eax, dword [ebp - 0x14]
je 0x1002389d
call esi
push eax
call fcn.1004f8c2
push eax
call fcn.10023353
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x100238e2
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.1004f8c2
push eax
push dword [ebp - 0x14]
call fcn.100233b0
pop ecx
pop ecx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x100238e2
call ebx
push eax
call fcn.1004f8c2
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.10023577
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
test al, 2
jne 0x10023866
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
je 0x10023916
mov edi, dword [edi + 0x1c]
push eax
mov eax, dword [ebp + 8]
push edi
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.1004f8c2
mov esi, eax
test esi, esi
je 0x100239e5
push esi
call fcn.100230b1
push esi
push dword [ebp - 0x14]
call fcn.100233b0
pop ecx
pop ecx
jmp 0x100239e5
cmp ecx, 0x25
jl 0x10023866
cmp ecx, 0x26
jle 0x100239fb
cmp ecx, 0x28
jle 0x10023a02
cmp ecx, 0x2b
jne 0x10023866
push dword [ebp - 0x14]
call fcn.100234c7
test al, 0x10
pop ecx
je 0x10023987
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10052d4b
jmp 0x1002398f
push dword [ebp + 8]
call fcn.1002354a
test esi, esi
mov ebx, eax
jne 0x100239a8
push ebx
push dword [ebp + 8]
call fcn.10023423
mov esi, eax
test esi, esi
je 0x10023866
mov ecx, esi
call fcn.10052e46
test eax, eax
jne 0x100239bf
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10023866
cmp dword [esi + 0x38], 0
je 0x10023866
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], eax
call fcn.10052ea9
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push 1
pop edi
jmp 0x1002389d
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.10023083
test al, 1
jne 0x10023866
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10023a1f
mov eax, dword [eax + 0x1c]
push dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call fcn.1004f8c2
test eax, eax
je 0x10023866
cmp dword [eax + 0x38], 0
je 0x10023866
push eax
call fcn.100230b1
jmp 0x100239e5