Function at 0x10058887
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x38]
push 4
call fcn.1001b10b
xor eax, eax
mov dword [ebp - 8], 9
mov dword [ebp - 0xc], eax
jmp 0x100588ba
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + edx*4], 0xe57bf5cd
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x100588aa
push 1
pop ebx
cmp dword [ebp - 8], eax
jne 0x100588da
mov ecx, dword [ebp - 8]
xor edx, edx
cmp ecx, 0xfffffffb
mov esi, eax
setg dl
cmp dword [ebp - 8], edx
jg 0x100588dc
mov esi, ebx
mov ecx, dword [ebp - 0x38]
cmp ebx, esi
mov edx, dword [ecx + 8]
mov dword [ecx + 8], edx
sbb ecx, ecx
neg ecx
xor ebx, ebx
sub edx, ecx
mov ecx, dword [ebp - 8]
cmp edx, ecx
mov ecx, dword [ebp - 8]
setne bl
xor edx, edx
cmp ebx, ecx
setne dl
xor ebx, ebx
mov dword [ebp - 8], edx
inc ebx
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
je 0x10058920
push ebx
push 0x1690
push 0x231
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea ecx, [ebp - 0x38]
call fcn.1001b9cb
push ebx
push 0x5d5e
push edi
call fcn.100529a9
mov dword [ebp - 0xc], 8
add esp, 0xc
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 0x14], 0xffff
mov dword [ebp - 0xc], 0xc0ec0dce
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0xc], esi
jmp 0x1005896d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0x2971
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x1005895f
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
inc eax
jne 0x100589a3
imul eax, dword [ebp - 0x1c], 0xb5b3
test eax, eax
jne 0x1005898a
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jle 0x100589a5
mov edx, ebx
mov eax, dword [ebp - 8]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x14]
cmp edx, eax
push 6
setg cl
imul eax, ecx, 0x5116
pop ecx
cmp ecx, eax
sbb eax, eax
inc eax
mov dword [ebp - 0xc], eax
jne 0x100589ca
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x14]
neg ecx
push edi
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 8]
sete dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
call fcn.10037745
movdqa xmm0, xmmword [0x100097d0]
mov edi, eax
pop ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], esi
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x28], esi
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], esi
movdqu xmmword [ebp - 0x48], xmm0
call fcn.1001c75f
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
jmp 0x10058a4f
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x10], 7
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x10058a41
mov dword [ebp - 0x10], esi
jmp 0x10058a62
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jle 0x10058a59
lea ecx, [ebp - 0x2c]
call fcn.1001b9cb
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret