Function at 0x10035880
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
mov ebp, ebp
call fcn.1000d170
test eax, eax
jne 0x100358bb
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0xf
mov esi, esi
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
mov ah, ah
jmp 0x100358ca
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
mov edx, edx
cmp dword [0x10134f8c], 0x1000
je 0x100358f6
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0x28
mov edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
xchg ebx, eax
xchg ebx, eax
jmp 0x10035905
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
mov eax, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2654], 0
je 0x1003593a
call fcn.1000c8d0
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
mov ah, ah
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2658]
cmp eax, dword [ebp - 0x18]
jl 0x1003593a
mov dword [ebp - 0x1c], 0
jmp 0x10035941
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10035951
mov eax, 1
jmp 0x10035d5e
cmp dword [ebp + 0xc], 0xa0
je 0x10035963
cmp dword [ebp + 0xc], 0xa1
jne 0x1003596c
mov dword [ebp + 0xc], 0x10
push edx
pop edx
cmp dword [ebp + 0xc], 0xa4
je 0x1003597e
cmp dword [ebp + 0xc], 0xa5
jne 0x10035987
mov dword [ebp + 0xc], 0x12
mov bl, bl
cmp dword [ebp + 0xc], 0xa2
je 0x10035999
cmp dword [ebp + 0xc], 0xa3
jne 0x100359a2
mov dword [ebp + 0xc], 0x11
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x337c], 0
jne 0x100359c7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3368]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3368], eax
mov esi, esi
mov ch, ch
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x100359e9
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10035270
add esp, 0xc
push ecx
pop ecx
jmp 0x10035d59
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 1
jne 0x10035cc9
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
push ecx
pop ecx
mov ecx, dword [ebp - 0x14]
shl ecx, 0x10
or ecx, 1
mov dword [ebp - 8], ecx
xchg ebx, eax
xchg ebx, eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dl, dl
mov eax, dword [ebp + 0xc]
push eax
call fcn.1002fdd0
add esp, 4
test eax, eax
je 0x10035a3b
mov ecx, dword [ebp - 8]
or ecx, 0x1000000
mov dword [ebp - 8], ecx
mov dh, dh
mov dword [ebp - 0xc], 0
mov dl, dl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x10035a85
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d0], 0
jne 0x10035a85
push 0x717be38b
mov ecx, dword [ebp + 8]
push ecx
call fcn.100323a0
add esp, 8
test eax, eax
jne 0x10035a85
mov edx, dword [ebp - 8]
or edx, 0x4000000
mov dword [ebp - 8], edx
mov ch, ch
mov dword [ebp - 0xc], 0x4000000
push ebx
pop ebx
cmp dword [ebp + 0xc], 0x12
jne 0x10035a96
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
nop
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x10035aa5
cmp dword [ebp + 0xc], 0x79
jne 0x10035b16
mov edx, dword [ebp - 8]
or edx, 0x20000000
mov dword [ebp - 8], edx
nop
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10035ac6
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
push edx
pop edx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10035afd
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.10033a10
add esp, 0x1c
push eax
pop eax
jmp 0x10035b14
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.10033a90
nop
jmp 0x10035b79
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32b0], 0
je 0x10035b2a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov edx, edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32ac], 0
je 0x10035b61
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32b4]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x100
mov eax, dword [ebp - 4]
push eax
call fcn.10033a10
add esp, 0x1c
mov ebx, ebx
jmp 0x10035b79
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x100
mov eax, dword [ebp - 4]
push eax
call fcn.10033a90
push ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2608], 0
je 0x10035b9e
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x263c]
call fcn.1002fe60
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, ebp
jmp 0x10035bb0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x263c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
pop ecx
cmp dword [ebp + 0xc], 0x12
jne 0x10035bc2
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
mov ah, ah
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x10035bd5
cmp dword [ebp + 0xc], 0x79
jne 0x10035c55
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov edi, edi
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov edi, edi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10035c04
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
nop
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10035c3b
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x105
mov ecx, dword [ebp - 4]
push ecx
call fcn.10033a10
add esp, 0x1c
mov edi, edi
jmp 0x10035c53
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x105
mov ecx, dword [ebp - 4]
push ecx
call fcn.10033a90
push eax
pop eax
jmp 0x10035cc4
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
nop
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10035c76
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov ebx, ebx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10035cad
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x101
mov ecx, dword [ebp - 4]
push ecx
call fcn.10033a10
add esp, 0x1c
push ecx
pop ecx
jmp 0x10035cc4
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x101
mov ecx, dword [ebp - 4]
push ecx
call fcn.10033a90
nop
jmp 0x10035d59
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 2
jne 0x10035d59
cmp dword [ebp + 0xc], 0x12
jne 0x10035ce8
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
mov edx, edx
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10065340
add esp, 0xc
push edx
pop edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2608], 0
je 0x10035d21
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2640]
call fcn.1002fe60
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov cl, cl
jmp 0x10035d33
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2640]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, esi
cmp dword [ebp + 0xc], 0x12
jne 0x10035d45
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 0
push ecx
pop ecx
push 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10065340
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret