Function at 0x1006cd80
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov ecx, ecx
call fcn.1000d440
test eax, eax
jne 0x1006cdbc
mov edx, dword [ebp + 8]
mov dword [edx + 0x2650], 0xf
test dh, dh
mov eax, dword [ebp + 8]
mov dword [eax + 0x264c], 1
mov dh, dh
jmp 0x1006cdcb
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x264c], 0
test esi, esi
cmp dword [0x101d00ac], 0x1000
je 0x1006cdf7
mov edx, dword [ebp + 8]
mov dword [edx + 0x2650], 0x28
test dl, dl
mov eax, dword [ebp + 8]
mov dword [eax + 0x264c], 1
test cl, cl
jmp 0x1006ce06
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x264c], 0
xchg ebx, eax
xchg ebx, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x264c], 0
je 0x1006ce3b
call fcn.1000cba0
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
test edi, edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2650]
cmp eax, dword [ebp - 0x18]
jl 0x1006ce3b
mov dword [ebp - 0x1c], 0
jmp 0x1006ce42
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x1006ce52
mov eax, 1
jmp 0x1006d26b
cmp dword [ebp + 0xc], 0xa0
je 0x1006ce64
cmp dword [ebp + 0xc], 0xa1
jne 0x1006ce6d
mov dword [ebp + 0xc], 0x10
test bl, bl
cmp dword [ebp + 0xc], 0xa4
je 0x1006ce7f
cmp dword [ebp + 0xc], 0xa5
jne 0x1006ce88
mov dword [ebp + 0xc], 0x12
mov al, al
cmp dword [ebp + 0xc], 0xa2
je 0x1006ce9a
cmp dword [ebp + 0xc], 0xa3
jne 0x1006cea3
mov dword [ebp + 0xc], 0x11
test ebx, ebx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3374], 0
jne 0x1006cecb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3360]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3360], eax
test dl, dl
test eax, 0x292c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jne 0x1006ceec
push 0
mov eax, dword [ebp + 8]
push eax
mov ebx, dword [ebp + 0xc]
call fcn.1006c770
add esp, 8
mov ebp, ebp
jmp 0x1006d266
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 1
jne 0x1006d1d6
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
mov dh, dh
mov eax, dword [ebp - 0x14]
shl eax, 0x10
or eax, 1
mov dword [ebp - 8], eax
mov ah, ah
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
test eax, 0x3262
mov edx, dword [ebp + 0xc]
push edx
call fcn.100643b0
add esp, 4
test eax, eax
je 0x1006cf40
mov eax, dword [ebp - 8]
or eax, 0x1000000
mov dword [ebp - 8], eax
push edx
pop edx
mov dword [ebp - 0xc], 0
mov ah, ah
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x1006cf8a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32c8], 0
jne 0x1006cf8a
push 0x717be38b
mov eax, dword [ebp + 8]
push eax
call fcn.10066700
add esp, 8
test eax, eax
jne 0x1006cf8a
mov ecx, dword [ebp - 8]
or ecx, 0x4000000
mov dword [ebp - 8], ecx
mov edx, edx
mov dword [ebp - 0xc], 0x4000000
mov dh, dh
cmp dword [ebp + 0xc], 0x12
jne 0x1006cf9c
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
mov esi, esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jne 0x1006cfab
cmp dword [ebp + 0xc], 0x79
jne 0x1006d01e
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov dh, dh
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1006cfcd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
test dl, dl
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x1006d004
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32ac]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x104
mov eax, dword [ebp - 4]
push eax
call fcn.1006a6a0
add esp, 0x1c
test ecx, ecx
jmp 0x1006d01c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x104
mov eax, dword [ebp - 4]
push eax
call fcn.1006a720
test edi, edi
jmp 0x1006d081
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1006d032
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
test ecx, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a4], 0
je 0x1006d069
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 0x100
mov edx, dword [ebp - 4]
push edx
call fcn.1006a6a0
add esp, 0x1c
test dl, dl
jmp 0x1006d081
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100
mov edx, dword [ebp - 4]
push edx
call fcn.1006a720
test ah, ah
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2600], 0
je 0x1006d0a6
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2634]
call fcn.10064440
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
jmp 0x1006d0b8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2634]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
cmp dword [ebp + 0xc], 0x12
jne 0x1006d0ca
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
test ebx, ebx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x60], 0
jne 0x1006d0dd
cmp dword [ebp + 0xc], 0x79
jne 0x1006d15d
mov eax, dword [ebp - 8]
or eax, 0x20000000
mov dword [ebp - 8], eax
mov ch, ch
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov bh, bh
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1006d10c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push ebx
pop ebx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x1006d143
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32ac]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x105
mov eax, dword [ebp - 4]
push eax
call fcn.1006a6a0
add esp, 0x1c
mov ebx, ebx
jmp 0x1006d15b
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x105
mov eax, dword [ebp - 4]
push eax
call fcn.1006a720
mov cl, cl
jmp 0x1006d1d1
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov eax, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1006d182
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
test eax, 0x5a37
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x1006d1b9
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32ac]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x101
mov eax, dword [ebp - 4]
push eax
call fcn.1006a6a0
add esp, 0x1c
test ebx, ebx
jmp 0x1006d1d1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x101
mov eax, dword [ebp - 4]
push eax
call fcn.1006a720
mov ebx, ebx
jmp 0x1006d266
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 2
jne 0x1006d266
cmp dword [ebp + 0xc], 0x12
jne 0x1006d1f5
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
mov dl, dl
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cc190
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2600], 0
je 0x1006d22e
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2638]
call fcn.10064440
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, bl
jmp 0x1006d240
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2638]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
test al, al
cmp dword [ebp + 0xc], 0x12
jne 0x1006d252
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
test esi, esi
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100cc190
add esp, 0xc
test eax, eax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret