Function at 0x10012e3f
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
je 0x10012e5d
jmp 0x100130b0
call fcn.1001b9af
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x1c
div ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10012e83
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jge 0x100130b0
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 8]
add edx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x200
jb 0x10012eed
cmp dword [ebp - 0x1c], 0x208
jbe 0x10012eba
jmp 0x10012eed
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
and eax, 0xffff
and eax, 0xffff
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x203
ja 0x10012f65
cmp dword [ebp - 0x20], 0x203
je 0x10012fd9
cmp dword [ebp - 0x20], 0x105
ja 0x10012f4e
cmp dword [ebp - 0x20], 0x105
je 0x1001308a
cmp dword [ebp - 0x20], 0x100
je 0x10013067
cmp dword [ebp - 0x20], 0x101
je 0x1001308a
cmp dword [ebp - 0x20], 0x104
je 0x10013067
jmp case.0x10012f7e.5
cmp dword [ebp - 0x20], 0x201
je 0x10012f85
cmp dword [ebp - 0x20], 0x202
je 0x10012f9a
jmp case.0x10012f7e.5
mov ecx, dword [ebp - 0x20]
sub ecx, 0x204
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 6
ja case.0x10012f7e.5
mov edx, dword [ebp - 0x20]
jmp dword [edx*4 + 0x100130b6]
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 8
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 0x10
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 6
call dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 6
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 0x18
call dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 0x18
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 0x20
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
push 0
push 0x40
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call dword [sym.imp.USER32.dll_mouse_event]
jmp case.0x10012f7e.5
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 8]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x10012f7e.5
push 0
push 2
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x10012e7a
mov esp, ebp
pop ebp
ret 8