Function at 0x4bf5e9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630a92
mov eax, dword fs:[0]
push eax
mov eax, 0x14a0
call fcn.0058f710
push ebx
push esi
push edi
mov eax, dword [0x6ba0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x1f0]
mov ecx, esi
call fcn.00499578
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4bff85
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0049958c
push eax
mov ecx, esi
call fcn.00559100
mov ebx, eax
mov eax, dword [ebx]
dec eax
je 0x4bff2c
sub eax, 3
je 0x4bfd13
sub eax, 4
je 0x4bfab2
sub eax, 8
je 0x4bf74f
sub eax, 0x30
jne 0x4bff85
cmp dword [edi + 0x1908], 0xb
jne 0x4bff85
push dword [ebx + 0x28]
mov ecx, edi
call fcn.004ac7be
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x28]
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.004bf317
lea esi, [edi + 0x2a0]
mov ecx, esi
call fcn.00402576
jmp 0x4bf6da
push ebx
mov ecx, esi
call fcn.005592a1
test eax, eax
je 0x4bf6d2
mov ecx, dword [ebp - 0x10]
cmp dword [eax + 8], ecx
jne 0x4bf6d2
push ebx
push 9
push 0x110b
push dword [edi + 0x2c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov ecx, esi
call fcn.0040266e
mov ebx, eax
test ebx, ebx
jne 0x4bf6aa
lea ebx, [edi + 0x1f0]
mov ecx, ebx
xor esi, esi
call fcn.0040634b
test eax, eax
jle 0x4bff85
push esi
mov ecx, ebx
call fcn.00559100
test eax, eax
je 0x4bf73e
mov ecx, dword [ebp - 0x14]
cmp dword [eax + 0x28], ecx
jne 0x4bf73e
push 2
push 2
push esi
mov ecx, ebx
call fcn.0055905f
push 0
push esi
mov ecx, ebx
call fcn.004a8c2c
push esi
push esi
mov ecx, ebx
call fcn.004a8c47
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, edi
call fcn.004b97bb
mov ecx, ebx
call fcn.0055c0cc
mov ecx, ebx
inc esi
call fcn.0040634b
cmp esi, eax
jl 0x4bf6f7
jmp 0x4bff85
push dword [ebx + 0x28]
mov ecx, dword [edi + 0x18b4]
call fcn.00409909
mov esi, eax
test esi, esi
je 0x4bff85
cmp byte [esi + 0xa0], 0
je 0x4bff85
push edi
lea ecx, [ebp - 0x14ac]
call fcn.004ca5e7
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x774], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0x770], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 0x76c], eax
mov eax, dword [esi + 0xc0]
mov edx, eax
mov ecx, dword [esi + 0xc4]
and edx, 1
mov dword [ebp - 0x754], edx
mov edx, eax
shr edx, 1
and edx, 1
mov dword [ebp - 0x74c], edx
mov edx, eax
shr eax, 3
not eax
and eax, 1
mov dword [ebp - 0x748], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x764], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x760], eax
mov eax, dword [esi + 0xb8]
shr edx, 2
and edx, 1
mov dword [ebp - 0x75c], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 4], 5
mov dword [ebp - 0x768], ecx
mov dword [ebp - 0x750], edx
mov dword [ebp - 0x758], eax
cmp ecx, 6
jne 0x4bf83a
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x764], eax
mov eax, dword [esi + 0xb4]
jmp 0x4bf84e
lea eax, [ebp - 0x50]
push eax
call fcn.0040a60c
mov ecx, dword [eax]
mov dword [ebp - 0x764], ecx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14ac]
mov dword [ebp - 0x760], eax
call fcn.00566c09
cmp eax, 1
jne 0x4bfa9e
mov eax, dword [ebp - 0x770]
mov ecx, dword [ebp - 0x768]
mov edx, dword [ebp - 0x774]
mov dword [esi + 0xcc], eax
mov eax, dword [ebp - 0x76c]
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc8], edx
cmp dword [ebp - 0x754], eax
je 0x4bf8a3
inc eax
cmp dword [ebp - 0x74c], 0
je 0x4bf8ae
inc eax
inc eax
cmp dword [ebp - 0x750], 0
je 0x4bf8ba
add eax, 4
cmp dword [ebp - 0x748], 0
jne 0x4bf8c6
add eax, 8
mov dword [esi + 0xc0], eax
cmp ecx, 6
jne 0x4bf8eb
mov eax, dword [ebp - 0x764]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0x760]
mov dword [esi + 0xb4], eax
jmp 0x4bf91d
push eax
push dword [ebp - 0x760]
push dword [ebp - 0x764]
push dword [ebp - 0x76c]
push dword [ebp - 0x770]
push edx
push ecx
mov ecx, dword [edi + 0x18b4]
call fcn.0040a806
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
mov eax, dword [ebp - 0x764]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp - 0x760]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x75c]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x758]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xb0]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0xb4]
lea ecx, [edi + 0x1f0]
mov dword [ebx + 0x14], eax
call fcn.004c6092
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xb4]
push ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], esp
push eax
mov ecx, edi
call fcn.004b3ddc
mov ebx, eax
push 0x100
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0050b7ca
mov dword [ebp - 0x14], eax
push dword [esi + 0xd0]
lea eax, [ebp - 0x34]
push dword [esi + 0xcc]
mov ecx, edi
push dword [esi + 0xc8]
mov byte [ebp - 4], 7
push dword [esi + 0xc4]
push eax
call fcn.004b403a
push 0x6465d0
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 8
call fcn.0040e47a
push dword [ebp - 0x14]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e423
push 0x65ec68
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e47a
push ebx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040e423
add esp, 0x30
lea ecx, [edi + 0x1f88]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401dd7
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401493
mov ecx, edi
call fcn.004a9f40
mov ecx, edi
call fcn.004bc6ab
mov ecx, dword [edi + 0x18b4]
push 3
push esi
push dword [esi]
call fcn.00412679
mov ecx, dword [edi + 0x18b4]
push esi
call fcn.0040b4b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14ac]
call fcn.004a8794
jmp 0x4bff85
push dword [ebx + 0x28]
mov ecx, dword [edi + 0x18b4]
call fcn.00409909
mov esi, eax
test esi, esi
je 0x4bff85
push edi
lea ecx, [ebp - 0x744]
call fcn.004ea8e2
mov byte [ebp - 0x24b], 1
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x254], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x250], eax
mov eax, dword [edi + 0x18b4]
mov ecx, dword [eax + 0x198]
and dword [ebp - 4], 0
mov dword [ebp - 0x248], ecx
mov eax, dword [eax + 0x19c]
mov dword [ebp - 0x244], eax
mov eax, dword [esi + 0xc0]
and eax, 1
mov dword [ebp - 0x240], eax
mov eax, dword [esi + 0xc0]
shr eax, 1
and eax, 1
mov dword [ebp - 0x6c8], eax
mov eax, dword [esi + 0xc0]
shr eax, 2
and eax, 1
lea ecx, [ebp - 0x744]
mov dword [ebp - 0x6cc], eax
call fcn.00566c09
cmp eax, 1
jne 0x4bfcff
mov ecx, dword [edi + 0x18b4]
mov eax, dword [ebp - 0x248]
cmp dword [ecx + 0x198], eax
je 0x4bfb8f
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.sleep.last.value
call fcn.00402035
mov ecx, dword [edi + 0x18b4]
call fcn.00422db6
mov ecx, dword [edi + 0x18b4]
mov eax, dword [ebp - 0x244]
cmp dword [ecx + 0x19c], eax
je 0x4bfbc1
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.sleep.last.period
call fcn.00402035
mov ecx, dword [edi + 0x18b4]
call fcn.00422db6
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x240], ecx
je 0x4bfbce
inc eax
cmp dword [ebp - 0x6c8], ecx
je 0x4bfbd8
inc eax
inc eax
cmp dword [ebp - 0x6cc], ecx
je 0x4bfbe3
add eax, 4
mov dword [esi + 0xc0], eax
cmp byte [ebp - 0x24c], 0
je 0x4bfc0c
mov eax, dword [ebp - 0x254]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0x250]
mov dword [esi + 0xb4], eax
jmp 0x4bfc2f
mov ecx, dword [edi + 0x18b4]
call fcn.00408d83
add eax, dword [ebp - 0x254]
adc edx, dword [ebp - 0x250]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
mov eax, dword [esi + 0xb0]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0xb4]
lea ecx, [edi + 0x1f0]
mov dword [ebx + 0x14], eax
call fcn.004c6092
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xb4]
lea eax, [edi + 0x1f90]
push edx
mov dword [eax], ecx
mov dword [eax + 4], edx
push ecx
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.004b3ddc
mov ebx, eax
push 0x39
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0050b7ca
push 0x65ec68
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.0040e47a
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.0040e423
add esp, 0x18
lea ecx, [edi + 0x1f88]
push eax
mov byte [ebp - 4], 4
call fcn.00401dd7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401493
mov ecx, edi
call fcn.004a9f40
mov ecx, edi
call fcn.004bc6ab
mov ecx, dword [edi + 0x18b4]
push esi
call fcn.0040b4b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x744]
call fcn.004a86ac
jmp 0x4bff85
push dword [ebx + 0x28]
mov ecx, dword [edi + 0x18b4]
call fcn.004098d0
mov ebx, eax
test ebx, ebx
je 0x4bff85
push edi
lea ecx, [ebp - 0x23c]
call fcn.00499739
lea esi, [ebx + 0x88]
push esi
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], 0xd
call fcn.00401dd7
lea eax, [ebx + 0x8c]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.00401dd7
movzx eax, byte [ebx + 0x90]
mov dword [ebp - 0x1b8], eax
movzx eax, byte [ebx + 0x91]
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x18b4]
movzx eax, byte [eax + 0xbcb]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x1c0], eax
call fcn.00566c09
test eax, eax
je 0x4bff05
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402e5b
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401493
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402e5b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x8c]
mov byte [ebp - 4], 0xf
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401493
cmp dword [ebp - 0x1b8], 0
mov esi, 0x6401e8
setne al
mov byte [ebx + 0x90], al
cmp dword [ebp - 0x1bc], 0
push esi
setne al
lea ecx, [ebp - 0x1c8]
mov byte [ebx + 0x91], al
call fcn.00406897
test eax, eax
jne 0x4bfef9
push esi
lea ecx, [ebp - 0x1c4]
call fcn.00406897
test eax, eax
jne 0x4bfef9
push esi
lea ecx, [ebp - 0x18]
call fcn.00402035
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x8c]
mov byte [ebp - 4], 0x10
call fcn.00401dd7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401493
push esi
lea ecx, [ebp - 0x1c]
call fcn.00402035
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x88]
mov byte [ebp - 4], 0x11
call fcn.00401dd7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401493
push 0xffffffffffffffff
push 0
push 1
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push str.unattached
call fcn.00402035
push 0
sub esp, 0xe8
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
mov byte [ebp - 4], 0x12
call fcn.0040c44e
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 0x18b4]
call fcn.004199ae
mov ecx, eax
call fcn.004f0a1f
push ebx
mov ecx, edi
call fcn.004ac85b
push 0xffffffffffffffff
push 5
mov ecx, edi
call fcn.004be817
mov ecx, dword [edi + 0x18b4]
push ebx
call fcn.0040b4b4
cmp dword [ebp - 0x1c0], 0
mov ecx, dword [edi + 0x18b4]
setne al
or dword [ebp - 4], 0xffffffff
mov byte [ecx + 0xbcb], al
lea ecx, [ebp - 0x23c]
call fcn.00499605
jmp 0x4bff85
push dword [ebx + 0x28]
mov ecx, dword [edi + 0x18b4]
call fcn.0040988c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4bff85
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
call edi
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 0
call ebx
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
call edi
push eax
push 0
call ebx
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8