Function at 0x10054820
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 bl, bl
call fcn.10011070
test eax, eax
jne 0x1005485b
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0xf
mov al, al
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
push ecx
pop ecx
jmp 0x1005486a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
mov cl, cl
cmp dword [0x101b249c], 0x1000
je 0x10054896
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0x28
mov cl, cl
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
push eax
pop eax
jmp 0x100548a5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
xchg ebx, eax
xchg ebx, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2654], 0
je 0x100548da
call fcn.10010880
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
push ecx
pop ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2658]
cmp eax, dword [ebp - 0x18]
jl 0x100548da
mov dword [ebp - 0x1c], 0
jmp 0x100548e1
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x100548f1
mov eax, 1
jmp 0x10054cfe
cmp dword [ebp + 0xc], 0xa0
je 0x10054903
cmp dword [ebp + 0xc], 0xa1
jne 0x1005490c
mov dword [ebp + 0xc], 0x10
mov esi, esi
cmp dword [ebp + 0xc], 0xa4
je 0x1005491e
cmp dword [ebp + 0xc], 0xa5
jne 0x10054927
mov dword [ebp + 0xc], 0x12
mov eax, eax
cmp dword [ebp + 0xc], 0xa2
je 0x10054939
cmp dword [ebp + 0xc], 0xa3
jne 0x10054942
mov dword [ebp + 0xc], 0x11
push eax
pop eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x337c], 0
jne 0x10054967
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3368]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3368], eax
mov ah, ah
mov al, al
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x10054989
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10054210
add esp, 0xc
mov dh, dh
jmp 0x10054cf9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 1
jne 0x10054c6c
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
push edx
pop edx
mov ecx, dword [ebp - 0x14]
shl ecx, 0x10
or ecx, 1
mov dword [ebp - 8], ecx
nop
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov ecx, ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1004be20
add esp, 4
test eax, eax
je 0x100549da
mov ecx, dword [ebp - 8]
or ecx, 0x1000000
mov dword [ebp - 8], ecx
mov esi, esi
mov dword [ebp - 0xc], 0
mov eax, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x10054a24
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d0], 0
jne 0x10054a24
push 0x717be38b
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004e4a0
add esp, 8
test eax, eax
jne 0x10054a24
mov edx, dword [ebp - 8]
or edx, 0x4000000
mov dword [ebp - 8], edx
mov bh, bh
mov dword [ebp - 0xc], 0x4000000
mov edi, edi
cmp dword [ebp + 0xc], 0x12
jne 0x10054a36
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
mov bl, bl
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x10054a45
cmp dword [ebp + 0xc], 0x79
jne 0x10054ab7
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 0x10054a66
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 0x10054a9d
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.10052250
add esp, 0x1c
xchg ebx, eax
xchg ebx, eax
jmp 0x10054ab5
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.100522d0
mov bl, bl
jmp 0x10054b19
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32b0], 0
je 0x10054aca
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
nop
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32ac], 0
je 0x10054b01
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 pe_nt_image_headers32
mov eax, dword [ebp - 4]
push eax
call fcn.10052250
add esp, 0x1c
mov ebp, ebp
jmp 0x10054b19
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
push eax
call fcn.100522d0
push ebx
pop ebx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2608], 0
je 0x10054b3e
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x263c]
call fcn.1004beb0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edx, edx
jmp 0x10054b50
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x263c]
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
xchg ebx, eax
xchg ebx, eax
cmp dword [ebp + 0xc], 0x12
jne 0x10054b62
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
mov ch, ch
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x10054b75
cmp dword [ebp + 0xc], 0x79
jne 0x10054bf6
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov dh, dh
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10054ba5
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov bl, bl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10054bdc
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.10052250
add esp, 0x1c
mov ch, ch
jmp 0x10054bf4
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.100522d0
mov edi, edi
jmp 0x10054c67
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
push eax
pop eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10054c18
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
push eax
pop eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10054c4f
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.10052250
add esp, 0x1c
xchg ebx, eax
xchg ebx, eax
jmp 0x10054c67
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.100522d0
mov eax, eax
jmp 0x10054cf9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 2
jne 0x10054cf9
cmp dword [ebp + 0xc], 0x12
jne 0x10054c8a
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
nop
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b44b0
add esp, 0xc
mov ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2608], 0
je 0x10054cc2
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2640]
call fcn.1004beb0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
nop
jmp 0x10054cd4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2640]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dh, dh
cmp dword [ebp + 0xc], 0x12
jne 0x10054ce5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 0
nop
push 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100b44b0
add esp, 0xc
mov esi, esi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret