Function at 0x4810b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov al, byte [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x4c]
mov byte [0x685169], al
lea eax, [esp + 0x20]
push eax
push dword [0x68516c]
call dword [sym.imp.USER32.dll_GetWindowRect]
cvttss2si edx, dword [edi]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
cmp edx, eax
jne 0x481107
cvttss2si eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
cmp eax, ecx
je 0x48117b
cvttss2si eax, dword [edi + 4]
push 0x40000
push 0
push 0x80000000
mov byte [0x6851e4], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push 0x14
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
push eax
cvttss2si eax, dword [ecx + 4]
add eax, dword [esp + 0x30]
push eax
cvttss2si eax, dword [ecx]
add eax, dword [esp + 0x30]
push eax
push 0
push dword [0x68516c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esp + 0x20]
push eax
push dword [0x68516c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xc]
cvttss2si ecx, dword [eax]
cvttss2si edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
cvttss2si eax, dword [edi]
mov dword [esp + 0x14], edx
add eax, ecx
mov dword [esp + 0x18], eax
cvttss2si eax, dword [edi + 4]
add eax, edx
mov dword [esp + 0x1c], eax
call fcn.0040cb20
mov eax, dword [0x6851a8]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x6851a8]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x6851a8]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x6851a8]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0xff728c99
push 3
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x6851a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x48124a
call fcn.00415a50
call fcn.0040dfb0
push eax
call fcn.0045b7e0
mov eax, dword [0x6851a8]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa8]
mov ecx, dword [0x6851a8]
lea edx, [esp + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x481294
mov eax, dword [0x6851a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x481294
call fcn.0045b650
mov eax, dword [0x6851a8]
push 0x6851ac
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.0045b4c0
cmp byte [0x6851e4], 0
je 0x4812b1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4812f4
mov byte [0x6851e4], 0
movss xmm0, dword [edi]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 8], xmm0
call fcn.0040e260
movss xmm0, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
pop edi
movss dword [eax + 8], xmm0
movss xmm0, dword [esp + 4]
pop esi
movss dword [eax + 0xc], xmm0
xor ecx, esp
mov al, 1
call fcn.0059a5ad
add esp, 0x3c
ret
cmp byte [0x6851e4], 0
je 0x4812b1
movss xmm0, dword [0x5d7310]
movss dword [esp + 0xc], xmm0
jmp 0x4812c0