Function at 0x4ca601
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0x20
call fcn.00535595
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x10]
push 0x80000601
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 1
mov ebx, 0x5c
call fcn.0053cf00
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.0053ad40
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x20], 0
ja 0x4ca681
mov eax, 0
jmp 0x4cab4f
cmp dword [ebp + 0x24], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4ca717
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4ca6b9
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x20]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4ca6ea
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ca717
push 6
call fcn.0053559b
add esp, 4
mov ebx, dword [0x6378b5]
call fcn.0049ecb4
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4ca9ba
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca759
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca76c
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], eax
jne 0x4ca82a
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca7a7
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca7ba
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], eax
jne 0x4ca82a
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca7f5
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca808
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], eax
jne 0x4ca82a
mov eax, 1
jmp 0x4ca82f
mov eax, 0
test eax, eax
je 0x4ca9b2
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca857
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca86a
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca89f
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca8b2
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x4ca90f
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca8e8
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca8fb
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
jmp 0x4cab4f
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca92f
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca942
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x619544]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0049d9a9
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [0x6378b5]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4ca98b
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ca99e
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
jmp 0x4cab4f
pop eax
pop ebx
pop ecx
jmp 0x4ca72b
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x9d4
call fcn.0053ad40
add esp, 0x10
and eax, 0xff
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push dword [ebp + 0x18]
push 1
mov ebx, 0x9d4
call fcn.0053ad40
add esp, 0x10
and eax, 0xff
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [0x6378b5]
call fcn.0049ecb4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x61954c]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0049d9a9
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
push 0x6378b5
push 4
mov eax, 2
call fcn.00536400
add esp, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ebx, dword [0x6378b5]
mov dword [ebp - 0x10], ebx
call fcn.0049d8c2
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x10]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4caab7
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x10]
call fcn.005355ad
add esp, 8
mov dword [0x6378b5], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x14]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0xc]
push edi
push eax
push 0x20
call fcn.00535595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0x1e8481
jne 0x4cab3f
mov dword [ebp - 0xc], esp
push 0x4cb5e9
push 0x32
push 0x1a06
push 0
call dword [sym.imp.user32.dll_SetTimer]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4cab3f
push 6
call fcn.0053559b
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
jmp 0x4cab4f
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20