Function at 0x452480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x40c]
call fcn.0044a330
mov ebx, dword [ebp + 8]
test eax, eax
jle 0x4524db
nop
push esi
lea ecx, [edi + 0x40c]
mov byte [ebp + 0xb], 0
call fcn.004498b0
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push ebx
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x4526c1
lea ecx, [edi + 0x40c]
inc esi
call fcn.0044a330
cmp esi, eax
jl 0x4524a0
sub ebx, 0x100
je 0x4525fd
sub ebx, 4
je 0x45254c
sub ebx, 2
jne 0x4525f2
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov ecx, dword [edi + 0x104]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x4558f0
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x4525f2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x108], 0
je 0x4525f2
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [edi + 0x11c]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x120]
push 0x11
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call ebx
test ax, ax
mov ecx, 8
push 1
cmovs esi, ecx
call ebx
test ax, ax
jns 0x4525af
or esi, 1
push 2
call ebx
test ax, ax
jns 0x4525bb
or esi, 2
push 0x10
call ebx
test ax, ax
jns 0x4525c7
or esi, 4
push 0x12
call ebx
test ax, ax
jns 0x4525d3
or esi, 0x20
mov word [ebp - 0xa], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4525f2
mov ecx, dword [edi + 0x108]
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
test ecx, ecx
je 0x45265e
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x45265e
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x45265e
mov ecx, dword [edi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call esi
add esp, 8
test eax, eax
je 0x45265e
mov ecx, dword [edi + 0x108]
call fcn.00482f30
test al, al
jne 0x4525f2
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4526a8
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4526a8
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x4526a8
mov ecx, dword [edi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call esi
add esp, 8
test eax, eax
jne 0x4525f2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, edi
setns al
movzx eax, al
push eax
call fcn.00454c30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10