Function at 0x1006c240
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
test eax, 0x3133
mov edx, dword [ebp + 8]
push edx
call fcn.10063560
add esp, 4
test eax, eax
jne 0x1006c270
mov eax, 1
jmp 0x1006c689
cmp dword [ebp + 0xc], 0xa0
je 0x1006c282
cmp dword [ebp + 0xc], 0xa1
jne 0x1006c28e
mov dword [ebp + 0xc], 0x10
test eax, 0x1330
cmp dword [ebp + 0xc], 0xa4
je 0x1006c2a0
cmp dword [ebp + 0xc], 0xa5
jne 0x1006c2a9
mov dword [ebp + 0xc], 0x12
xchg ebx, eax
xchg ebx, eax
cmp dword [ebp + 0xc], 0xa2
je 0x1006c2bb
cmp dword [ebp + 0xc], 0xa3
jne 0x1006c2c4
mov dword [ebp + 0xc], 0x11
mov ebp, ebp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3374], 0
jne 0x1006c2e9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3360]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x3360], edx
mov edi, edi
mov ebx, ebx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x1006c30a
push 0
mov edx, dword [ebp + 8]
push edx
mov ebx, dword [ebp + 0xc]
call fcn.1006bc20
add esp, 8
mov cl, cl
jmp 0x1006c684
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 1
jne 0x1006c5f4
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
mov al, al
mov edx, dword [ebp - 0x14]
shl edx, 0x10
or edx, 1
mov dword [ebp - 8], edx
mov ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
test bh, bh
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10063690
add esp, 4
test eax, eax
je 0x1006c35c
mov edx, dword [ebp - 8]
or edx, 0x1000000
mov dword [ebp - 8], edx
test cl, cl
mov dword [ebp - 0xc], 0
mov bh, bh
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x1006c3a5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32c8], 0
jne 0x1006c3a5
push 0x717be38b
mov edx, dword [ebp + 8]
push edx
call fcn.100659c0
add esp, 8
test eax, eax
jne 0x1006c3a5
mov eax, dword [ebp - 8]
or eax, 0x4000000
mov dword [ebp - 8], eax
mov cl, cl
mov dword [ebp - 0xc], 0x4000000
test bh, bh
cmp dword [ebp + 0xc], 0x12
jne 0x1006c3ba
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 1
test eax, 0xee1
mov edx, dword [ebp + 8]
cmp dword [edx + 0x60], 0
jne 0x1006c3c9
cmp dword [ebp + 0xc], 0x79
jne 0x1006c43e
mov eax, dword [ebp - 8]
or eax, 0x20000000
mov dword [ebp - 8], eax
test eax, 0x1baf
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1006c3ed
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
push eax
pop eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a4], 0
je 0x1006c424
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x32ac]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x104
mov edx, dword [ebp - 4]
push edx
call fcn.10069c80
add esp, 0x1c
push ebx
pop ebx
jmp 0x1006c43c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x104
mov edx, dword [ebp - 4]
push edx
call fcn.10069d00
mov edi, edi
jmp 0x1006c4a1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a8], 0
je 0x1006c452
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
test al, al
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a4], 0
je 0x1006c489
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32ac]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x100
mov ecx, dword [ebp - 4]
push ecx
call fcn.10069c80
add esp, 0x1c
test dh, dh
jmp 0x1006c4a1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x100
mov ecx, dword [ebp - 4]
push ecx
call fcn.10069d00
mov al, al
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2600], 0
je 0x1006c4c5
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2634]
call fcn.10063720
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
nop
jmp 0x1006c4d7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2634]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, ecx
cmp dword [ebp + 0xc], 0x12
jne 0x1006c4e9
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
test eax, eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x60], 0
jne 0x1006c4fc
cmp dword [ebp + 0xc], 0x79
jne 0x1006c57f
mov edx, dword [ebp - 8]
or edx, 0x20000000
mov dword [ebp - 8], edx
test dl, dl
mov eax, dword [ebp - 8]
or eax, 0xc0000000
mov dword [ebp - 8], eax
mov dl, dl
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1006c52e
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
test eax, 0x13a1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a4], 0
je 0x1006c565
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x32ac]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x105
mov edx, dword [ebp - 4]
push edx
call fcn.10069c80
add esp, 0x1c
push ebx
pop ebx
jmp 0x1006c57d
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x105
mov edx, dword [ebp - 4]
push edx
call fcn.10069d00
mov ebp, ebp
jmp 0x1006c5ef
mov eax, dword [ebp - 8]
or eax, 0xc0000000
mov dword [ebp - 8], eax
mov eax, eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1006c5a0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
test edx, edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a4], 0
je 0x1006c5d7
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x32ac]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x101
mov edx, dword [ebp - 4]
push edx
call fcn.10069c80
add esp, 0x1c
mov esi, esi
jmp 0x1006c5ef
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x101
mov edx, dword [ebp - 4]
push edx
call fcn.10069d00
mov esi, esi
jmp 0x1006c684
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 2
jne 0x1006c684
cmp dword [ebp + 0xc], 0x12
jne 0x1006c613
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 1
mov ch, ch
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100ce310
add esp, 0xc
test ecx, ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2600], 0
je 0x1006c64c
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x2638]
call fcn.10063720
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
test cl, cl
jmp 0x1006c65e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2638]
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
test edi, edi
cmp dword [ebp + 0xc], 0x12
jne 0x1006c670
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 0
test cl, cl
push 2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100ce310
add esp, 0xc
mov edi, edi
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret