Function at 0x1005c7e0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
push edx
pop edx
call fcn.10014610
test eax, eax
jne 0x1005c81b
mov edx, dword [ebp + 8]
mov dword [edx + 0x2650], 0xf
push ebx
pop ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x264c], 1
mov bl, bl
jmp 0x1005c82a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x264c], 0
mov esi, esi
cmp dword [0x101c739c], 0x1000
je 0x1005c856
mov edx, dword [ebp + 8]
mov dword [edx + 0x2650], 0x28
push ebx
pop ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x264c], 1
mov bh, bh
jmp 0x1005c865
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x264c], 0
push edx
pop edx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x264c], 0
je 0x1005c89a
call fcn.10013d70
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
push eax
pop eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2650]
cmp eax, dword [ebp - 0x18]
jl 0x1005c89a
mov dword [ebp - 0x1c], 0
jmp 0x1005c8a1
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x1005c8b1
mov eax, 1
jmp 0x1005ccc1
cmp dword [ebp + 0xc], 0xa0
je 0x1005c8c3
cmp dword [ebp + 0xc], 0xa1
jne 0x1005c8cc
mov dword [ebp + 0xc], 0x10
mov dh, dh
cmp dword [ebp + 0xc], 0xa4
je 0x1005c8de
cmp dword [ebp + 0xc], 0xa5
jne 0x1005c8e7
mov dword [ebp + 0xc], 0x12
mov ah, ah
cmp dword [ebp + 0xc], 0xa2
je 0x1005c8f9
cmp dword [ebp + 0xc], 0xa3
jne 0x1005c902
mov dword [ebp + 0xc], 0x11
push eax
pop eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3374], 0
jne 0x1005c927
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3360]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3360], eax
push eax
pop eax
mov edx, edx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jne 0x1005c948
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.1005c1e0
add esp, 8
mov eax, eax
jmp 0x1005ccbc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 1
jne 0x1005cc2c
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
mov bl, bl
mov eax, dword [ebp - 0x14]
shl eax, 0x10
or eax, 1
mov dword [ebp - 8], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
push ecx
pop ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10053660
add esp, 4
test eax, eax
je 0x1005c999
mov eax, dword [ebp - 8]
or eax, 0x1000000
mov dword [ebp - 8], eax
mov ebx, ebx
mov dword [ebp - 0xc], 0
mov ah, ah
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x1005c9e3
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32c8], 0
jne 0x1005c9e3
push 0x717be38b
mov eax, dword [ebp + 8]
push eax
call fcn.10055ce0
add esp, 8
test eax, eax
jne 0x1005c9e3
mov ecx, dword [ebp - 8]
or ecx, 0x4000000
mov dword [ebp - 8], ecx
mov ebx, ebx
mov dword [ebp - 0xc], 0x4000000
mov al, al
cmp dword [ebp + 0xc], 0x12
jne 0x1005c9f5
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
mov al, al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jne 0x1005ca04
cmp dword [ebp + 0xc], 0x79
jne 0x1005ca77
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov cl, cl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1005ca26
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov bl, bl
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x1005ca5d
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.10059600
add esp, 0x1c
mov al, al
jmp 0x1005ca75
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.10059680
mov edx, edx
jmp 0x1005cada
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1005ca8b
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
push ecx
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a4], 0
je 0x1005cac2
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.10059600
add esp, 0x1c
mov ah, ah
jmp 0x1005cada
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.10059680
mov ecx, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2600], 0
je 0x1005caff
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2634]
call fcn.100536f0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ebp, ebp
jmp 0x1005cb11
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2634]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ah, ah
cmp dword [ebp + 0xc], 0x12
jne 0x1005cb23
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov ecx, ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x60], 0
jne 0x1005cb36
cmp dword [ebp + 0xc], 0x79
jne 0x1005cbb6
mov eax, dword [ebp - 8]
or eax, 0x20000000
mov dword [ebp - 8], eax
push eax
pop eax
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov ah, ah
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1005cb65
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 0x1005cb9c
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.10059600
add esp, 0x1c
mov dl, dl
jmp 0x1005cbb4
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.10059680
mov dh, dh
jmp 0x1005cc27
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov esi, esi
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1005cbd8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push edx
pop edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x1005cc0f
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.10059600
add esp, 0x1c
mov eax, eax
jmp 0x1005cc27
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.10059680
mov ecx, ecx
jmp 0x1005ccbc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 2
jne 0x1005ccbc
cmp dword [ebp + 0xc], 0x12
jne 0x1005cc4b
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
push ecx
pop ecx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100c5040
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2600], 0
je 0x1005cc84
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2638]
call fcn.100536f0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov bh, bh
jmp 0x1005cc96
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2638]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ebx, ebx
cmp dword [ebp + 0xc], 0x12
jne 0x1005cca8
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
mov bh, bh
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100c5040
add esp, 0xc
mov eax, eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret