Function at 0x61f03a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd4
push esi
push edi
push ecx
lea edi, [ebp - 0xd4]
mov ecx, 0x35
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 1
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0x200
ja 0x61ef17
cmp dword [ebp - 0x94], 0x200
je 0x61f4df
mov edx, dword [ebp - 0x94]
sub edx, 0x7b
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0x8a
ja case.0x61ef3c.1
mov eax, dword [ebp - 0x94]
movzx ecx, byte [eax + 0x61f5f0]
jmp dword [ecx*4 + 0x61f5d8]
mov edx, dword [ebp - 0x94]
sub edx, 0x201
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 9
ja case.0x61ef3c.1
mov eax, dword [ebp - 0x94]
jmp dword [eax*4 + 0x61f67c]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x230], 0
je case.0x61ef10.0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x230]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00663e90
test eax, eax
je case.0x61ef10.0
mov eax, 1
jmp 0x61f57c
call fcn.00415ef0
cmp dword [eax + 0x1a4], 0
jne 0x61efba
call fcn.00415ef0
cmp dword [eax + 0x1a0], 0
jne 0x61efba
call fcn.00415ef0
mov dword [eax + 0x1a0], 1
call fcn.004607f0
nop
cmp dword [0x887b78], 0
je 0x61f005
mov esi, esp
mov eax, dword [0x887b78]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x61f005
mov edx, dword [ebx + 8]
cmp dword [edx + 8], 0x12
jne 0x61f005
push 0
push 0
push 0x10
mov ecx, dword [0x887b78]
call fcn.0041f5a0
mov eax, 1
jmp 0x61f57c
mov eax, dword [ebp - 4]
add eax, 0x134
mov dword [ebp - 0x9c], eax
push 0
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x9c]
call fcn.0051ee00
test eax, eax
je 0x61f035
mov eax, 1
jmp 0x61f57c
jmp case.0x61ef3c.1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x230], 0
je 0x61f080
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x230]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xa0]
call fcn.006640c0
test eax, eax
je 0x61f080
mov eax, 1
jmp 0x61f57c
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00784930
movsx edx, ax
and edx, 0x8000
je 0x61f0a8
mov dword [ebp - 0xa4], 1
jmp 0x61f0b2
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00784930
movsx ecx, ax
and ecx, 0x8000
je 0x61f0e3
mov dword [ebp - 0xa8], 1
jmp 0x61f0ed
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x61f124
mov edx, dword [ebp - 0x1c]
push edx
call sub.IMM32.dll_ImmGetOpenStatus
test eax, eax
je 0x61f124
mov dword [ebp - 0xac], 1
jmp 0x61f12e
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x61f14e
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call sub.IMM32.dll_ImmReleaseContext
nop
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1e0], 0
je 0x61f1c9
mov edx, dword [ebx + 8]
cmp dword [edx + 8], 0x12
je 0x61f17e
mov eax, dword [ebx + 8]
cmp dword [eax + 8], 0x79
jne 0x61f1c9
cmp dword [ebp - 0x14], 0
jne 0x61f1c9
cmp dword [ebp - 0x18], 0
jne 0x61f1c9
cmp dword [ebp - 0x20], 0
jne 0x61f1c9
call fcn.0041d460
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1e0], eax
jne 0x61f199
mov ecx, dword [ebp - 4]
call fcn.00449640
nop
jmp 0x61f1bf
mov edx, dword [ebx + 8]
cmp dword [edx + 8], 0x12
je 0x61f1b0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x20000000
jne 0x61f1bf
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1e0]
call fcn.00449640
nop
mov eax, 1
jmp 0x61f57c
cmp dword [0x887b78], 0
je 0x61f1f8
mov esi, esp
mov eax, dword [0x887b78]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x61f1f8
mov eax, 1
jmp 0x61f57c
jmp case.0x61ef3c.1
mov edx, dword [ebx + 8]
push edx
call fcn.0051b590
test eax, eax
jne 0x61f23c
mov eax, dword [ebp - 4]
add eax, 0x134
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0xb0]
call fcn.0051ee00
test eax, eax
je 0x61f23c
mov eax, 1
jmp 0x61f57c
mov ecx, dword [ebx + 8]
cmp dword [ecx + 8], 0x1b
jne 0x61f2db
mov ecx, dword [ebp - 4]
call fcn.0061d080
test eax, eax
je 0x61f274
mov edx, dword [ebp - 4]
add edx, 0x1ec
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.005b16d0
nop
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 4]
add ecx, 0x238
call fcn.00484270
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x61f2a7
mov ecx, dword [ebp - 0x24]
call fcn.00484a20
test eax, eax
je 0x61f2a7
mov ecx, dword [ebp - 0x24]
call fcn.0063d7f0
nop
call fcn.0041cf20
push eax
push 0x819674
call fcn.0047cc80
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x61f2db
push 0
push 0
push 0x1f
mov ecx, dword [ebp - 0x28]
call fcn.0041f5a0
mov eax, 1
jmp 0x61f57c
cmp dword [ebp - 0xc], 0
jne 0x61f2e8
xor eax, eax
jmp 0x61f57c
jmp case.0x61ef3c.1
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movsx eax, dx
push eax
lea ecx, [ebp - 0x34]
call fcn.00405460
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push edx
call fcn.00436870
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x61f352
mov esi, esp
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x61f352
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0041c9c0
nop
mov eax, dword [ebp - 4]
add eax, 0x134
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.0051f2e0
test eax, eax
je 0x61f3ca
mov eax, 1
jmp 0x61f57c
mov esi, esp
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x61f3ed
mov eax, 1
jmp 0x61f57c
jmp case.0x61ef3c.1
mov edx, dword [ebp - 4]
add edx, 0x134
mov dword [ebp - 0xc4], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
push ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movsx ecx, ax
push ecx
lea ecx, [ebp - 0x78]
call fcn.00405460
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.0051f2e0
test eax, eax
je 0x61f49f
mov eax, 1
jmp 0x61f57c
jmp case.0x61ef3c.1
mov edx, dword [ebp - 4]
add edx, 0x134
mov dword [ebp - 0xd0], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0xd0]
call fcn.00520090
test eax, eax
je 0x61f4da
mov eax, 1
jmp 0x61f57c
jmp case.0x61ef3c.1
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movsx eax, dx
push eax
lea ecx, [ebp - 0x48]
call fcn.00405460
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push edx
call fcn.00436870
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x61f52b
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0041c9c0
nop
mov ecx, dword [ebp - 4]
add ecx, 0x134
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0xd4]
call fcn.0051fee0
test eax, eax
je case.0x61ef3c.1
mov eax, 1
jmp 0x61f57c
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0042eac0
push edx
mov ecx, ebp
push eax
lea edx, [0x61f598]
call fcn.007848d0
pop eax
pop edx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4