Function at 0x4b9110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x64f5a8]
sub esp, 0x78
mov edx, 1
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
test esi, esi
cmovne eax, edx
xor ecx, ecx
mov dword [0x64f5a8], eax
movzx eax, word [ecx + str.start___]
lea ecx, [ecx + 2]
mov word [ecx + 0x64e19e], ax
test ax, ax
jne 0x4b9134
test esi, esi
je 0x4b91bf
mov ecx, 0xe
mov eax, dword [0x64f5a4]
mov ebx, dword [0x64f424]
mov dword [ebp + 8], eax
mov dword [0x64f5a4], edx
cmp dword [ebp + 0xc], edi
je 0x4b918c
cmp dword [0x64f58c], edi
mov eax, 0x7e
mov ecx, 0x3e
cmovne ecx, eax
test bl, 9
mov eax, ebx
cmove eax, edx
mov dword [0x64f424], eax
push ecx
push 0x400
push 0x64e1a0
call fcn.00483380
mov edi, eax
mov dword [0x64f424], ebx
mov eax, dword [ebp + 8]
mov ebx, 0x64e1a0
mov dword [0x64f5a4], eax
mov eax, 0x400
mov dword [ebp + 8], 0x3ff
jmp 0x4b91f5
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
or eax, 0x12000
shr eax, 0xd
push eax
push 0x3f7
push 0x64e1b2
call fcn.00483380
mov ebx, 0x64e1b2
mov dword [ebp + 8], 0x3f6
mov eax, 0x3f7
add esp, 0xc
mov dword [ebp - 4], ebx
push eax
push ebx
call fcn.004843f0
add esp, 8
test edi, edi
jne 0x4b953b
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 5
test edi, edi
jne 0x4b9301
push edi
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
push 0x15b
call fcn.0050e8f0
push eax
push 0x15a
call fcn.004b2dc0
add esp, 0x14
cmp eax, 1
jne 0x4b950b
push 0x800
call fcn.00479f2b
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x4b950b
push 0x800
push edi
push ebx
call fcn.005c9220
push 0x58
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.005c9220
add esp, 0x18
cmp dword [0x649190], 2
jne 0x4b929f
cmp dword [0x649184], 4
mov dword [ebp - 0x78], 0x58
ja 0x4b92a6
mov dword [ebp - 0x78], 0x4c
mov eax, dword [0x6492a4]
mov dword [ebp - 0x74], eax
mov eax, dword [0x649150]
or eax, 0x806
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x58], 0x200
mov dword [ebp - 0x6c], str.Batch_Files
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x3c], 0x5f7aa0
mov dword [ebp - 0x34], 0x4b5f60
call dword [0x648dbc]
test eax, eax
jne 0x4b9306
push 2
push ebx
call fcn.0058bb51
add esp, 8
xor ebx, ebx
mov dword [ebp + 8], ebx
jmp 0x4b9306
mov ebx, edi
mov dword [ebp + 8], edi
test ebx, ebx
je 0x4b950b
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0050fdf0
add esp, 8
test eax, eax
je 0x4b94b7
push str..tbs
push dword [ebp - 8]
call fcn.005d09f9
add esp, 8
test eax, eax
jne 0x4b9436
test esi, esi
je 0x4b939e
mov ecx, 0x64e1a0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b9347
sub ecx, edx
mov eax, 0x400
sar ecx, 1
sub eax, ecx
cmp eax, 0x4c
jbe 0x4b939e
lea eax, [ecx*2 + 2]
push eax
push 0x64e1a0
push 0x64e238
call fcn.005c9380
push 0x11
push str._X:Program_Files
push 0x64e1a0
call fcn.005d2c75
push 0x3b
push str.TeraByte_Drive_Image_Backup_and_Restore_Suiteimagew.exe_
push 0x64e1c2
call fcn.005d2c75
add esp, 0x24
push 0x20
push dword [ebp - 4]
call fcn.0050ea10
mov esi, eax
add esp, 8
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4b94b7
mov ecx, 0x20
mov edi, esi
mov dword [ebp - 4], ecx
lea ebx, [ecx + 0x3e]
movzx eax, word [edi]
test ax, ax
je 0x4b940a
cmp eax, 0x22
jne 0x4b9403
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b93d7
sub ecx, edx
lea esi, [edi + 2]
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edi
push esi
call fcn.005c9380
mov ecx, dword [ebp - 4]
add esp, 0xc
dec ecx
mov word [edi], bx
mov dword [ebp - 4], ecx
mov edi, esi
add edi, 2
test ecx, ecx
jne 0x4b93c5
mov esi, dword [ebp - 0xc]
push esi
push str.sub_main___r_n__exec___s___1__r_nend_sub_r_n
push 0x400
push 0x64e1a0
call fcn.00502130
push esi
call fcn.0058bb5f
mov ebx, dword [ebp + 8]
add esp, 0x14
mov edi, dword [ebp + 0xc]
jmp 0x4b94b7
test esi, esi
je 0x4b94b7
push str..IFW
push dword [ebp - 8]
call fcn.005d09f9
add esp, 8
test eax, eax
je 0x4b94b7
mov ecx, 0x64e1a0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b9460
sub ecx, edx
mov eax, 0x400
sar ecx, 1
sub eax, ecx
cmp eax, 0x53
jbe 0x4b94b7
lea eax, [ecx*2 + 2]
push eax
push 0x64e1a0
push 0x64e246
call fcn.005c9380
push 0x18
push str.start______ProgramFiles_
push 0x64e1a0
call fcn.005d2c75
push 0x3b
push str.TeraByte_Drive_Image_Backup_and_Restore_Suiteimagew.exe_
push 0x64e1d0
call fcn.005d2c75
add esp, 0x24
mov ecx, 0x64e1a0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b94c0
lea eax, [ebp - 0x10]
sub ecx, edx
push eax
push 1
sar ecx, 1
push ecx
push 0x64e1a0
push ebx
call fcn.0051e6d0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4b94fc
push ebx
push 0
push 0x10
push 0x1ba
call fcn.004b84a0
add esp, 0x10
cmp ebx, edi
je 0x4b9510
push ebx
call fcn.0058bb5f
add esp, 4
jmp 0x4b9510
mov esi, 1
lea ecx, [ebp - 0x20]
call fcn.0050e8a0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b9528
push eax
call fcn.005d1ed0
add esp, 4
pop edi
mov eax, esi
mov dword [0x64f5a8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov dword [0x64f5a8], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret