Function at 0x1005dca0
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 0x1005e040
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 0x1005df65
test cl, cl
je 0x1005dcf5
movzx eax, cl
cmp byte [eax + edx], 1
jne 0x1005df65
push edx
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x10]
call fcn.100669a0
test al, al
je 0x1005dfee
cmp byte [esi + 0x15], 0
jne 0x1005dfee
cmp dword [edi + 0x54], 0
je 0x1005dd2d
push dword [ebp - 0xc]
mov ecx, edi
call fcn.1005ee80
test al, al
jne 0x1005dfee
movzx eax, bl
mov byte [eax + edi + 0x5c4], 1
mov al, byte [esi + 0x5c]
mov byte [esi + 0x15], 1
test al, al
je 0x1005dd5f
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 0x1005dfd2
cmp byte [esi + 0x59], 0
je 0x1005ddd5
mov ecx, dword [edi + 0x6f0]
push 0x7d
call fcn.10055e40
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.10031360
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.10031360
jmp 0x1005dfee
cmp byte [esi + 0x5a], 0
je 0x1005de79
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x1005de79
mov byte [eax], 0
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 0x5c], 5
mov dword [ebp - 0x4c], 0
movzx eax, byte [ecx + 0x14]
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.10031360
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.10031360
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.10031360
jmp 0x1005dfeb
cmp byte [esi + 0x5b], 0
je 0x1005df36
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x1005df36
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]
movzx eax, byte [eax + 0x17]
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.10031360
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.10031360
jmp 0x1005dfeb
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.100311f0
jmp 0x1005dfee
cmp byte [esi + 0x15], 0
je 0x1005dff1
movzx eax, bl
cmp byte [eax + edx], 0
jne 0x1005dff1
mov byte [eax + edi + 0x5c4], 0
mov al, byte [esi + 0x5c]
mov byte [esi + 0x15], 0
test al, al
jne 0x1005dfbb
cmp byte [esi + 0x14], al
je 0x1005dff1
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.100311f0
jmp 0x1005dfee
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.10024a00
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 0x1005e037
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1005e01c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1005e037
lea ebx, [ebx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1005e010
jmp 0x1005e037
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1005e035
cmp esi, dword [eax + 8]
jne 0x1005e035
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1005e025
mov esi, eax
cmp esi, dword [edi + 8]
jne 0x1005dcc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4