Function at 0x4b62e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b89f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
lea esi, [esp + 0x28]
call fcn.004376d9
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
test al, 1
je 0x4b635a
lea esi, [esp + 0x2c]
mov ecx, edi
call fcn.004b76bc
mov esi, edi
call fcn.004b6142
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x4b6433
mov dword [esp + 0x18], ebx
mov byte [esp + 0x58], 1
mov al, byte [edi + 0x48]
cmp al, bl
je 0x4b6385
mov ecx, dword [edi + 0x84]
jmp 0x4b6388
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x14], ecx
cmp al, bl
je 0x4b6398
mov esi, dword [edi + 0x88]
jmp 0x4b639b
mov esi, dword [edi + 0x78]
cmp byte [edi + 0x6c], bl
je 0x4b63f4
cmp dword [esp + 0x14], ebx
je 0x4b63f4
cmp esi, ebx
je 0x4b63f4
mov eax, dword [edi + 0x64]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [edi + 0x68]
fld qword [0x4e6800]
mov dword [esp + 0x20], eax
fld st(0)
push ecx
fdivrp st(2)
push ecx
fild dword [esp + 0x28]
fmulp st(2)
fdivp st(1)
fstp qword [esp]
push esi
push dword [esp + 0x20]
call dword [edi + 0x50]
add esp, 0x10
cmp eax, ebx
je 0x4b63f4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x14]
je 0x4b63f4
cmp eax, esi
je 0x4b63f4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
lea esi, [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.0047a91d
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4b642d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x18], ebx
jmp 0x4b6449
push ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea eax, [esp + 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
test al, al
je 0x4b64a6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041f0fb
mov byte [esp + 0x58], 2
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x24]
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, dword [ebp + 8]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
push 0x25
mov eax, esi
call fcn.0047af6e
add esp, 0x14
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x1c]
call fcn.004058e3
lea esi, [edi + 0x8c]
cmp byte [esi], bl
jne 0x4b64c9
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov byte [esi], al
cmp al, bl
je 0x4b6513
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
test al, al
je 0x4b6513
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
test al, al
je 0x4b6513
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
test al, al
je 0x4b6513
lea esi, [esp + 0x2c]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffe
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffe
lea eax, [esp + 0x44]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawFocusRect]
or dword [esp + 0x58], 0xffffffff
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4