Function at 0x468d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xd8]
push 0x3ff
push eax
lea ecx, [ebp - 0x804]
push ecx
mov dword [ebp - 0x814], edi
call fcn.00475727
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x804]
mov word [ebp - 6], dx
lea edx, [eax + 2]
jmp 0x468db0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468db0
movzx ebx, word [edi + 0x508]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 0x1b]
and edx, 0xfffffffc
xor ecx, ecx
mov dword [ebp - 0x80c], eax
test ebx, ebx
jle 0x468e28
lea eax, [edi + 4]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x808]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
lea esi, [eax + 2]
mov dword [ebp - 0x810], esi
mov si, word [eax]
add eax, 2
test si, si
jne 0x468df6
sub eax, dword [ebp - 0x810]
lea esi, [ebx - 1]
sar eax, 1
lea eax, [eax + eax + 0x1a]
cmp ecx, esi
je 0x468e1a
add eax, 3
and eax, 0xfffffffc
add dword [ebp - 0x808], 4
inc ecx
add edx, eax
cmp ecx, ebx
jl 0x468de2
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x834], esi
test esi, esi
je 0x468e57
push esi
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov ebx, eax
mov dword [ebp - 0x838], ebx
test ebx, ebx
jne 0x468e6d
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x500]
mov dword [ebx], ecx
mov edx, dword [edi + 0x504]
mov dword [ebx + 4], edx
mov eax, dword [edi + 0x508]
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0x50c]
mov dword [ebx + 0xc], ecx
mov dx, word [edi + 0x510]
xor eax, eax
mov word [ebx + 0x10], dx
mov dword [ebx + 0x12], eax
mov eax, dword [ebp - 0x80c]
lea esi, [ebx + 0x12]
xor ecx, ecx
add eax, 0x64
mov edx, 2
add esi, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047125f
mov ecx, dword [ebp - 0x80c]
add ecx, ecx
add ecx, 2
push ecx
push 0
push eax
mov dword [ebp - 0x808], eax
call fcn.00479dd0
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 0x808]
add eax, eax
push eax
lea eax, [ebp - 0x804]
push eax
push ecx
call fcn.00476580
mov eax, dword [ebp - 0x80c]
mov edx, dword [ebp - 0x808]
lea eax, [eax + eax + 2]
push eax
push edx
push esi
mov dword [ebp - 0x810], eax
call fcn.00476580
mov eax, dword [ebp - 0x808]
add esi, dword [ebp - 0x810]
push eax
call fcn.00473121
xor ecx, ecx
add esp, 0x2c
mov dword [ebp - 0x808], 0
cmp cx, word [edi + 0x508]
jae 0x46903b
add edi, 4
mov dword [ebp - 0x80c], edi
jmp 0x468f58
mov edi, dword [ebp - 0x80c]
mov eax, dword [edi]
mov edx, dword [eax + 4]
add esi, 3
and esi, 0xfffffffc
mov dword [esi], edx
mov ecx, dword [eax + 8]
mov dword [esi + 4], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0xc], ecx
movzx edx, word [eax + 0x14]
mov word [esi + 0x10], dx
mov eax, 0xffff
mov word [esi + 0x12], ax
mov ecx, dword [edi]
movzx edx, word [ecx + 0x18]
mov word [esi + 0x14], dx
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
add esi, 0x16
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x468fa0
sub eax, ecx
sar eax, 1
mov ebx, eax
xor ecx, ecx
lea eax, [ebx + 0x65]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047125f
mov edi, eax
lea ebx, [ebx + ebx + 2]
lea eax, [ebx + 2]
push eax
push 0
push edi
call fcn.00479dd0
mov ecx, dword [ebp - 0x80c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push ebx
push eax
push edi
call fcn.00476580
push ebx
push edi
push esi
call fcn.00476580
push edi
add esi, ebx
call fcn.00473121
mov edx, dword [ebp - 0x814]
mov eax, dword [ebp - 0x808]
add dword [ebp - 0x80c], 4
xor ecx, ecx
mov word [esi], cx
movzx ecx, word [edx + 0x508]
inc eax
add esp, 0x2c
add esi, 2
mov dword [ebp - 0x808], eax
cmp eax, ecx
jl 0x468f52
mov ebx, dword [ebp - 0x838]
mov edi, edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [edi + 0xb8]
push edi
push 0x467ed0
push edx
push ebx
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov ebx, eax
test ebx, ebx
je 0x469182
mov eax, dword [edi + 0xb8]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], eax
cmp dword [edi + 0xb0], eax
jne 0x469145
lea esp, [esp]
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x830]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x469129
mov eax, dword [ebp - 0x82c]
cmp eax, 0x12
je 0x46914e
cmp eax, 0x100
jne 0x4690fb
mov esi, dword [ebp - 0x828]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4690fb
push esi
push edi
mov ecx, ebx
call fcn.00468aa0
test eax, eax
jne 0x469138
lea edx, [ebp - 0x830]
push edx
push ebx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x469138
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x830]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x469138
cmp dword [edi + 0xb0], 0
jne 0x469145
call dword [sym.imp.USER32.dll_WaitMessage]
cmp dword [edi + 0xb0], 0
je 0x4690b0
cmp dword [ebp - 0x82c], 0x12
jne 0x46915b
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [edi + 0xb8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46917b
mov ecx, dword [edi + 0xb8]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [ebp - 0x834]
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi + 0x88]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474985
mov esp, ebp
pop ebp
ret