Function at 0x4b1e5c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4b1e65
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046f4
xor eax, eax
push ebp
push 0x4b21c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
cmp byte [ebp - 5], 0
je 0x4b1eec
mov edx, 0x4b21e4
mov eax, dword [ebx + 0x58]
call fcn.0049802c
mov esi, eax
push 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
pop ecx
call fcn.004a2e64
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x45], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x49], eax
jmp 0x4b1f3b
mov edx, 0x4b21e4
mov eax, dword [ebx + 0x60]
call fcn.0049802c
mov esi, eax
push 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov edx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
pop ecx
call fcn.004a2e64
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x45], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x49], eax
cmp dword [ebx + 0x45], 0
jle 0x4b1f47
cmp dword [ebx + 0x49], 0
jg 0x4b1f59
mov edx, 0x4b21f0
mov eax, dword [ebx + 8]
call fcn.004a25b0
jmp 0x4b2189
lea eax, [ebx + 0x45]
call fcn.004a4134
cmp byte [ebp - 5], 0
jne 0x4b1f8c
mov edx, 0x3e8
mov eax, 0x1f4
call fcn.00498010
mov ecx, eax
mov edx, 0x4b2210
mov eax, dword [ebx + 8]
call fcn.004a2108
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
call fcn.004a42a0
mov edx, 0x7d0
mov eax, 0x3e8
call fcn.00498010
mov ecx, eax
mov edx, 0x4b2228
mov eax, dword [ebx + 8]
call fcn.004a2108
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00404ab4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
call fcn.004a26b4
test al, al
jne 0x4b1fe0
mov edx, 0x4b2240
mov eax, dword [ebx + 8]
call fcn.004a25b0
jmp 0x4b2189
mov edx, 0x7d0
mov eax, 0x3e8
call fcn.00498010
mov ecx, eax
mov edx, 0x4b2260
mov eax, dword [ebx + 8]
call fcn.004a2108
mov eax, dword [ebx + 0x50]
mov edx, 0x4b2274
call fcn.00404650
jne 0x4b205a
push 0
push 0
push 0
push 0xd
call sub.user32.dll_MapVirtualKeyA
push eax
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_MapVirtualKeyA
push eax
push 0xd
call sub.user32.dll_keybd_event
mov edx, 0x1388
mov eax, 0xfa0
call fcn.00498010
mov ecx, eax
mov edx, 0x4b2288
mov eax, dword [ebx + 8]
call fcn.004a2108
jmp 0x4b2148
cmp byte [ebp - 5], 0
je 0x4b20b1
mov edx, 0x4b21e4
mov eax, dword [ebx + 0x5c]
call fcn.0049802c
mov esi, eax
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
pop ecx
call fcn.004a2e64
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x45], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x49], eax
jmp 0x4b2100
mov edx, 0x4b21e4
mov eax, dword [ebx + 0x64]
call fcn.0049802c
mov esi, eax
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
mov edx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
pop ecx
call fcn.004a2e64
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x45], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x49], eax
cmp dword [ebx + 0x45], 0
jle 0x4b210c
cmp dword [ebx + 0x49], 0
jg 0x4b211b
mov edx, 0x4b229c
mov eax, dword [ebx + 8]
call fcn.004a25b0
jmp 0x4b2189
lea eax, [ebx + 0x45]
call fcn.004a4134
mov edx, 0x7d0
mov eax, 0x3e8
call fcn.00498010
mov ecx, eax
mov edx, 0x4b2288
mov eax, dword [ebx + 8]
call fcn.004a2108
xor eax, eax
call fcn.004a42a0
mov edx, 0x1388
mov eax, 0xfa0
call fcn.00498010
mov ecx, eax
mov edx, 0x4b22bc
mov eax, dword [ebx + 8]
call fcn.004a2108
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
call fcn.004a2bcc
cmp dword [ebp - 0x38], 0
je 0x4b2189
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
call fcn.004a42e0
mov byte [ebp - 6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b21d0
lea eax, [ebp - 0x38]
call fcn.00405e98
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404268
lea eax, [ebp - 0x24]
call fcn.00404950
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404268
lea eax, [ebp - 4]
call fcn.00404244
ret