Function at 0x10012060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x690394]
mov dword [ebp - 0x40], eax
mov ecx, dword [0x68fb6c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xaca7c]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0xaca94]
mov dword [ebp - 0x10], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov dword [ebp - 0x80], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x1001256a
cmp dword [ebp - 0x78], 1
jne 0x1001256a
cmp dword [ebp - 0x10], 0xffff
jle 0x1001256a
mov edx, dword [ebp - 8]
add edx, 0x508
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, 0x41d6c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 0x34780
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
add edx, 0x82ed0
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
add eax, 0x32424
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1e7c0
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 8]
add edx, 0x4ab78
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x41d6c], 0
jbe 0x1001225a
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x418c8], 0
je 0x1001225a
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x64], 0
je 0x1001225a
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x94], 0
je 0x1001225a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x350]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x294]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1001225a
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1001225a
cmp dword [ebp - 0x10], 0x109a00
je 0x100121bb
cmp dword [ebp - 0x10], 0x109a01
je 0x100121bb
cmp dword [ebp - 0x10], 0x109a02
jne 0x100121fd
push 0
push 2
push 0x201
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 2
push 0x202
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x100121ee
mov dword [ebp - 0x4c], 1
jmp 0x100121f5
mov dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
jmp 0x10012581
cmp dword [ebp - 0x10], 0x109a00
je 0x1001225a
cmp dword [ebp - 0x10], 0x109a01
je 0x1001225a
cmp dword [ebp - 0x10], 0x109a02
je 0x1001225a
push 0
push 2
push 0x201
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 2
push 0x202
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x1001224b
mov dword [ebp - 0x54], 1
jmp 0x10012252
mov dword [ebp - 0x54], 0
mov al, byte [ebp - 0x54]
jmp 0x10012581
cmp dword [ebp - 0x20], 0
jle 0x100122ec
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xd0b7], 0
je 0x100122ec
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x64], 0
je 0x100122ec
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x78], 0
je 0x100122ec
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x9f8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x100122ec
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100122ec
push 0
push 2
push 0x201
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 2
push 0x202
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x100122dd
mov dword [ebp - 0x58], 1
jmp 0x100122e4
mov dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
jmp 0x10012581
cmp dword [ebp - 0x1c], 0
jle 0x10012394
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x82a08], 0
je 0x10012394
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x60], 0
je 0x10012394
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x78], 0
je 0x10012394
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x10012394
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10012394
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10012394
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xb90]
mov dword [ebp - 0x5c], eax
push 0
push 2
push 0x201
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 2
push 0x202
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x10012385
mov dword [ebp - 0x60], 1
jmp 0x1001238c
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
jmp 0x10012581
cmp dword [ebp - 0x28], 0
jle 0x10012426
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x31f80], 0
je 0x10012426
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x64], 0
je 0x10012426
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x6c], 0
je 0x10012426
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10012426
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10012426
push 0
push 2
push 0x201
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 2
push 0x202
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x10012417
mov dword [ebp - 0x64], 1
jmp 0x1001241e
mov dword [ebp - 0x64], 0
mov al, byte [ebp - 0x64]
jmp 0x10012581
cmp dword [ebp - 0x30], 0
jle 0x100124c8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1e318], 0
je 0x100124c8
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x60], 0
je 0x100124c8
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x7c], 0
je 0x100124c8
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x2ca8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x100124c8
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100124c8
mov dword [ebp - 0x7c], 0x3d006e
push 0x3d006e
push 1
push 0x201
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp - 0x7c]
push edx
push 1
push 0x202
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x100124b9
mov dword [ebp - 0x68], 1
jmp 0x100124c0
mov dword [ebp - 0x68], 0
mov al, byte [ebp - 0x68]
jmp 0x10012581
cmp dword [ebp - 0x38], 0
jle 0x10012564
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x4a6d4], 0
je 0x10012564
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x64], 0
je 0x10012564
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x1484]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10012564
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10012564
push 0
push 2
push 0x201
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 2
push 0x202
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x1001254f
mov dword [ebp - 0x74], 1
jmp 0x10012556
mov dword [ebp - 0x74], 0
mov dl, byte [ebp - 0x74]
mov byte [ebp - 9], dl
mov al, byte [ebp - 9]
mov byte [ebp - 1], al
jmp 0x10012568
mov byte [ebp - 1], 0
jmp 0x1001256e
xor al, al
jmp 0x10012581
cmp byte [ebp - 1], 0
je 0x1001257a
mov byte [ebp - 2], 1
jmp 0x1001257e
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret