Function at 0x1005c440
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x1005c7e0
mov edx, dword [ebp + 8]
mov edi, edi
movzx ecx, word [esi + 0x10]
mov bl, byte [esi + 0x10]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x10], al
mov eax, ecx
movzx eax, al
shr ecx, 8
mov byte [ebp - 0xc], bl
cmp byte [eax + edx], 1
jne 0x1005c705
test cl, cl
je 0x1005c495
movzx eax, cl
cmp byte [eax + edx], 1
jne 0x1005c705
push edx
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x10]
call fcn.100650a0
test al, al
je 0x1005c78e
cmp byte [esi + 0x15], 0
jne 0x1005c78e
cmp dword [edi + 0x54], 0
je 0x1005c4cd
push dword [ebp - 0xc]
mov ecx, edi
call fcn.1005d620
test al, al
jne 0x1005c78e
movzx eax, bl
mov byte [eax + edi + 0x5c4], 1
mov al, byte [esi + 0x5c]
mov byte [esi + 0x15], 1
test al, al
je 0x1005c4ff
mov edi, dword [edi + 0x6f0]
movzx eax, al
push 0
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 1
jmp 0x1005c772
cmp byte [esi + 0x59], 0
je 0x1005c575
mov ecx, dword [edi + 0x6f0]
push 0x7d
call fcn.10054880
movzx edi, al
neg edi
sbb edi, edi
and edi, 0x37
call dword [sym.imp.WINMM.dll_timeGetTime]
movzx ecx, word [esi + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x18]
lea ebx, [edi + eax]
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x48]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x3c], ecx
push eax
lea ecx, [edi + 0x6cc]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], 1
call fcn.100305d0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], 0
add ebx, 0x1f
lea ecx, [edi + 0x6cc]
push eax
mov dword [ebp - 0x48], ebx
call fcn.100305d0
jmp 0x1005c78e
cmp byte [esi + 0x5a], 0
je 0x1005c619
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x1005c619
mov byte [eax], 0
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 0x5c], 5
mov dword [ebp - 0x4c], 0
movzx eax, byte [ecx + 0x13]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x34]
add ecx, 0x64
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100305d0
call dword [sym.imp.WINMM.dll_timeGetTime]
movzx ecx, word [esi + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x18]
lea ebx, [eax + 0x20]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
lea ecx, [edi + 0x6cc]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], 1
call fcn.100305d0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], 0
add ebx, 0x1f
lea ecx, [edi + 0x6cc]
push eax
mov dword [ebp - 0x48], ebx
call fcn.100305d0
jmp 0x1005c78b
cmp byte [esi + 0x5b], 0
je 0x1005c6d6
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x1005c6d6
movzx eax, byte [eax + 0x13]
mov byte [eax + edi + 0xc4], 0
mov eax, dword [edi + 0x8c]
movzx eax, byte [eax + 0x14]
mov byte [eax + edi + 0xc4], 0
mov eax, dword [edi + 0x8c]
movzx eax, byte [eax + 0x15]
mov byte [eax + edi + 0xc4], 0
mov eax, dword [edi + 0x8c]
movzx eax, byte [eax + 0x16]
mov byte [eax + edi + 0xc4], 0
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x4c], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
movzx ecx, word [esi + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x18]
lea ebx, [eax + 0x30]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
lea ecx, [edi + 0x6cc]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], 1
call fcn.100305d0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], 0
add ebx, 0x4f
lea ecx, [edi + 0x6cc]
push eax
mov dword [ebp - 0x48], ebx
call fcn.100305d0
jmp 0x1005c78b
movzx eax, word [esi + 0x10]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov byte [esi + 0x14], 1
mov dword [ebp - 0x18], 1
call fcn.10030460
jmp 0x1005c78e
cmp byte [esi + 0x15], 0
je 0x1005c791
movzx eax, bl
cmp byte [eax + edx], 0
jne 0x1005c791
mov byte [eax + edi + 0x5c4], 0
mov al, byte [esi + 0x5c]
mov byte [esi + 0x15], 0
test al, al
jne 0x1005c75b
cmp byte [esi + 0x14], al
je 0x1005c791
mov byte [esi + 0x14], al
lea ecx, [esi + 0x20]
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x28], 0
call fcn.10030460
jmp 0x1005c78e
mov edi, dword [edi + 0x6f0]
movzx eax, al
push 0
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
mov edi, dword [edi + 0xc]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [edi]
call fcn.10023c90
add esp, 4
mov ecx, edi
push eax
call dword [ebx + 8]
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 8]
cmp byte [esi + 0xd], 0
jne 0x1005c7d7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1005c7bc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1005c7d7
lea ebx, [ebx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1005c7b0
jmp 0x1005c7d7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1005c7d5
cmp esi, dword [eax + 8]
jne 0x1005c7d5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1005c7c5
mov esi, eax
cmp esi, dword [edi + 8]
jne 0x1005c460
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4