Function at 0x10054e30
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 edx, edx
call fcn.100119d0
test eax, eax
jne 0x10054e6b
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0xf
push eax
pop eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
mov ch, ch
jmp 0x10054e7a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
mov ebp, ebp
cmp dword [0x101b449c], 0x1000
je 0x10054ea6
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0x28
mov ah, ah
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
mov ch, ch
jmp 0x10054eb5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
mov ch, ch
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2654], 0
je 0x10054eea
call fcn.100111e0
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
mov edx, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2658]
cmp eax, dword [ebp - 0x18]
jl 0x10054eea
mov dword [ebp - 0x1c], 0
jmp 0x10054ef1
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10054f01
mov eax, 1
jmp 0x10055313
cmp dword [ebp + 0xc], 0xa0
je 0x10054f13
cmp dword [ebp + 0xc], 0xa1
jne 0x10054f1b
mov dword [ebp + 0xc], 0x10
nop
cmp dword [ebp + 0xc], 0xa4
je 0x10054f2d
cmp dword [ebp + 0xc], 0xa5
jne 0x10054f36
mov dword [ebp + 0xc], 0x12
mov ah, ah
cmp dword [ebp + 0xc], 0xa2
je 0x10054f48
cmp dword [ebp + 0xc], 0xa3
jne 0x10054f51
mov dword [ebp + 0xc], 0x11
mov edx, edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x337c], 0
jne 0x10054f76
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 cl, cl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x10054f98
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10054820
add esp, 0xc
mov edi, edi
jmp 0x1005530e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 1
jne 0x1005527e
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
mov bh, bh
mov ecx, dword [ebp - 0x14]
shl ecx, 0x10
or ecx, 1
mov dword [ebp - 8], ecx
mov edi, edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov al, al
mov eax, dword [ebp + 0xc]
push eax
call fcn.1004c860
add esp, 4
test eax, eax
je 0x10054fea
mov ecx, dword [ebp - 8]
or ecx, 0x1000000
mov dword [ebp - 8], ecx
mov edx, edx
mov dword [ebp - 0xc], 0
push ecx
pop ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x10055034
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d0], 0
jne 0x10055034
push 0x717be38b
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004eee0
add esp, 8
test eax, eax
jne 0x10055034
mov edx, dword [ebp - 8]
or edx, 0x4000000
mov dword [ebp - 8], edx
mov eax, eax
mov dword [ebp - 0xc], 0x4000000
mov eax, eax
cmp dword [ebp + 0xc], 0x12
jne 0x10055046
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
push edx
pop edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x10055055
cmp dword [ebp + 0xc], 0x79
jne 0x100550c8
mov edx, dword [ebp - 8]
or edx, 0x20000000
mov dword [ebp - 8], edx
mov ebp, ebp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10055077
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov bl, bl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x100550ae
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.100528d0
add esp, 0x1c
mov edx, edx
jmp 0x100550c6
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.10052950
mov dl, dl
jmp 0x1005512b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32b0], 0
je 0x100550dc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ah, ah
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32ac], 0
je 0x10055113
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.100528d0
add esp, 0x1c
mov dh, dh
jmp 0x1005512b
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.10052950
mov ecx, ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2608], 0
je 0x10055150
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x263c]
call fcn.1004c8f0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ch, ch
jmp 0x10055162
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x263c]
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, edi
cmp dword [ebp + 0xc], 0x12
jne 0x10055174
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
mov al, al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x10055187
cmp dword [ebp + 0xc], 0x79
jne 0x10055208
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
push ecx
pop ecx
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov al, al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x100551b7
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
push ebx
pop ebx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x100551ee
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.100528d0
add esp, 0x1c
mov cl, cl
jmp 0x10055206
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.10052950
push ebx
pop ebx
jmp 0x10055279
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x1005522a
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dh, dh
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10055261
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.100528d0
add esp, 0x1c
push ebx
pop ebx
jmp 0x10055279
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.10052950
push ecx
pop ecx
jmp 0x1005530e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 2
jne 0x1005530e
cmp dword [ebp + 0xc], 0x12
jne 0x1005529d
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
mov al, al
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b5730
add esp, 0xc
push ecx
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2608], 0
je 0x100552d6
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2640]
call fcn.1004c8f0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, eax
jmp 0x100552e8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2640]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ecx
pop ecx
cmp dword [ebp + 0xc], 0x12
jne 0x100552fa
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 0
mov edi, edi
push 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100b5730
add esp, 0xc
mov eax, eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret