Function at 0x47a203
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
movzx eax, bx
add eax, 0xffffff9b
cmp eax, 0x20
ja case.0x47a178.110
jmp dword [eax*4 + 0x47a17f]
cmp dword [0x4d4920], 0
jne 0x47a227
cmp dword [0x4d4900], 0xffffffff
jne 0x47a227
cmp dword [0x4d490c], 0
jne 0x47a227
cmp dword [0x4d4908], 0
je 0x47a231
call fcn.0042b968
jmp 0x47aa50
cmp dword [0x4d4900], 0xffffffff
jne 0x47aa50
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jl 0x47a27b
mov esi, 0x4e4f77
mov edi, 0x4d187c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x4e4f77
call fcn.004a0ca8
push 1
call fcn.0042b3d8
jmp 0x47aa50
cmp dword [0x4d16e4], 0
jne 0x47aa50
xor eax, eax
mov dword [0x4d1cb4], eax
mov edx, dword [ebp + 0x10]
mov dword [0x4d12a0], edx
push 0x483ef0
push 0x51
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434b58
xor eax, eax
mov dword [0x4d12a0], eax
jmp 0x47aa50
cmp dword [0x4d16e4], 0
jne 0x47aa50
mov edx, dword [ebp + 0x10]
mov dword [0x4d12a0], edx
push 0x483ef0
push 0x51
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434b58
xor eax, eax
mov dword [0x4d12a0], eax
jmp 0x47aa50
push 0
push 0
push 0x10
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_PostMessageA
jmp 0x47aa50
cmp dword [0x4caac4], 0
jne 0x47aa50
mov ecx, dword [ebp + 0x10]
mov dword [0x4d12a0], ecx
mov eax, dword [0x4d42a8]
test eax, eax
je 0x47a33a
cmp eax, dword [0x4d42b0]
jne 0x47a33a
mov dword [ebp + 8], eax
mov dword [0x4d12a0], 2
push 0x40ebc4
push 0x4d
mov edx, dword [ebp + 8]
push edx
call fcn.00434b58
xor ecx, ecx
mov dword [0x4d12a0], ecx
jmp 0x47aa50
cmp dword [0x4d12cc], 0
jne 0x47a3b8
cmp dword [0x4cab6c], 0
jne 0x47a3b8
mov dword [0x4d12cc], 1
mov eax, dword [ebp + 0x10]
mov dword [0x4d12a0], eax
cmp eax, 2
jne 0x47a394
mov eax, dword [0x4d42a8]
test eax, eax
je 0x47a394
cmp eax, dword [0x4d42b0]
jne 0x47a394
mov dword [ebp + 8], eax
push 0x410658
push 0x3c
mov edx, dword [ebp + 8]
push edx
call fcn.00434b58
xor ecx, ecx
mov dword [0x4d12a0], ecx
xor eax, eax
mov dword [0x4d12cc], eax
jmp 0x47aa50
push 0
call sub.USER32.dll_MessageBeep
jmp 0x47aa50
cmp dword [0x4d2c6c], 0
jne 0x47a3df
xor edx, edx
mov dword [0x4d2c70], edx
call fcn.0049d210
jmp 0x47aa50
push 0
call fcn.0049d290
jmp 0x47aa50
cmp dword [0x4d2c6c], 0
jne 0x47a408
mov dword [0x4d2c70], 1
call fcn.0049d210
jmp 0x47aa50
push 1
call fcn.0049d290
jmp 0x47aa50
cmp dword [0x4d2c6c], 0
jne 0x47a43a
cmp dword [0x4d2c70], 2
jge 0x47a430
mov dword [0x4d2c70], 2
call fcn.0049d210
jmp 0x47aa50
cmp dword [0x4d2c70], 2
jge 0x47a44f
push 2
call fcn.0049d290
jmp 0x47aa50
mov ecx, dword [0x4d2c70]
push ecx
call fcn.0049d290
jmp 0x47aa50
cmp dword [0x4ca1a0], 0
jne 0x47aa50
cmp dword [0x4d42a8], 0
je 0x47a4ba
mov eax, dword [0x4d42a8]
push eax
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x47a4ba
mov edx, dword [0x4d42a8]
push edx
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x47a4ba
mov ecx, dword [0x4d42a8]
push ecx
call fcn.004b5f6c
test eax, eax
je 0x47a4af
mov eax, dword [0x4d429c]
mov dword [ebp + 8], eax
jmp 0x47a4c3
mov edx, dword [0x4d42a8]
mov dword [ebp + 8], edx
jmp 0x47a4c3
mov ecx, dword [0x4d429c]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0x10]
mov dword [0x4d12a0], eax
mov eax, dword [0x4d42a8]
test eax, eax
je 0x47a4f1
push eax
call fcn.004b5f6c
test eax, eax
jne 0x47a4f1
mov edx, dword [0x4d42a8]
mov dword [ebp + 8], edx
mov dword [0x4d12a0], 2
push 0x4040bc
push 0x34
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434b58
xor eax, eax
mov dword [0x4d12a0], eax
jmp 0x47aa50
cmp dword [0x4d12d0], 0
jne 0x47aa50
mov dword [0x4d12d0], 1
cmp dword [0x4cded8], 0
je 0x47a55a
mov ebx, dword [0x4d42c0]
test ebx, ebx
je 0x47a550
mov eax, dword [0x4cb05c]
push eax
push 0
push 0xf46
call fcn.0040a8fc
push eax
push ebx
call fcn.0048d7dc
push 0x4d1412
call fcn.0044708c
mov edx, dword [ebp + 0x10]
mov dword [0x4d12a0], edx
mov eax, dword [0x4d42a8]
test eax, eax
je 0x47a583
cmp eax, dword [0x4d42c0]
jne 0x47a583
mov dword [ebp + 8], eax
mov dword [0x4d12a0], 2
jmp 0x47a58f
cmp dword [0x4d12a0], 2
jne 0x47a58f
mov dword [ebp + 8], eax
push 0x4364f0
push 0x4a
mov edx, dword [ebp + 8]
push edx
call fcn.00434b58
xor ecx, ecx
mov dword [0x4d12a0], ecx
xor eax, eax
mov dword [0x4d12d0], eax
jmp 0x47aa50
cmp dword [0x4d12d4], 0
jne 0x47aa50
mov dword [0x4d12d4], 1
mov edx, dword [ebp + 0x10]
mov dword [0x4d12a0], edx
push 0x434e50
push 0x58
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434b58
xor eax, eax
mov dword [0x4d12a0], eax
xor edx, edx
mov dword [0x4d12d4], edx
jmp 0x47aa50
cmp dword [0x4d12d8], 0
jne 0x47aa50
mov dword [0x4d12d8], 1
mov ecx, dword [ebp + 0x10]
mov dword [0x4d12a0], ecx
push 0x4160fc
push 0x3a
mov eax, dword [ebp + 8]
push eax
call fcn.00434b58
xor edx, edx
mov dword [0x4d12a0], edx
xor ecx, ecx
mov dword [0x4d12d8], ecx
jmp 0x47aa50
cmp dword [0x4d12dc], 0
jne 0x47aa50
mov dword [0x4d12dc], 1
mov eax, dword [0x4d42a8]
push eax
call fcn.0044a3b0
xor edx, edx
mov dword [0x4d12dc], edx
jmp 0x47aa50
cmp dword [0x4d12e0], 0
jne 0x47aa50
mov dword [0x4d12e0], 1
mov ecx, dword [ebp + 0x10]
mov dword [0x4d12a0], ecx
push 0
push 0
push 0
call fcn.0049ea08
xor eax, eax
mov dword [0x4d12a0], eax
xor edx, edx
mov dword [0x4d12e0], edx
jmp 0x47aa50
cmp dword [0x4d12e4], 0
jne 0x47aa50
mov dword [0x4d12e4], 1
mov ecx, dword [ebp + 0x10]
mov dword [0x4d12a0], ecx
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00411590
xor eax, eax
mov dword [0x4d12a0], eax
xor edx, edx
mov dword [0x4d12e4], edx
jmp 0x47aa50
cmp dword [0x4d16e4], 0
jne 0x47aa50
mov dword [0x4d1cbc], 5
mov dword [0x4d1cdc], 1
push 0x483ef0
push 0x51
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434b58
jmp 0x47aa50
push 0
call fcn.0042b390
test eax, eax
je 0x47a75c
mov eax, dword [0x4d42b8]
test eax, eax
je 0x47a752
cmp eax, dword [0x4d42a8]
jne 0x47a752
push 0
push 0
push 0x10
push eax
call sub.USER32.dll_PostMessageA
jmp 0x47aa50
call fcn.00480328
jmp 0x47aa50
push 0
call sub.USER32.dll_MessageBeep
jmp 0x47aa50
mov eax, dword [0x4d42b4]
test eax, eax
je 0x47a78a
cmp eax, dword [0x4d42a8]
jne 0x47a78a
push 0
push 0
push 0x10
push eax
call sub.USER32.dll_PostMessageA
jmp 0x47aa50
call fcn.004b1c44
jmp 0x47aa50
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x47a7ba
push 0
push 0
push 0x226
mov edx, dword [0x4d42a0]
push edx
call sub.USER32.dll_SendMessageA
jmp 0x47aa50
push 0
push 1
push 0x226
mov ecx, dword [0x4d42a0]
push ecx
call sub.USER32.dll_SendMessageA
jmp 0x47aa50
push 0
push 0
push 0x227
mov eax, dword [0x4d42a0]
push eax
call sub.USER32.dll_SendMessageA
jmp 0x47aa50
mov ebx, dword [0x4d4294]
test ebx, ebx
je 0x47a82d
mov eax, dword [ebx]
push eax
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x47a80f
mov edx, dword [ebx]
push edx
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x47a823
push 0x13
push 0
push 0
push 0
push 0
push 1
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SetWindowPos
mov ebx, dword [ebx + 0x744]
test ebx, ebx
jne 0x47a7f7
push 0
push 0
push 0x228
mov eax, dword [0x4d42a0]
push eax
call sub.USER32.dll_SendMessageA
jmp 0x47aa50
mov eax, dword [0x4d42a8]
test eax, eax
je 0x47aa50
push 0
push 0
push 0x10
push eax
call sub.USER32.dll_SendMessageA
jmp 0x47aa50
mov eax, dword [0x4d128c]
cmp eax, 1
sbb eax, eax
neg eax
mov dword [0x4d128c], eax
test eax, eax
je 0x47a8a8
push 8
push 0x7e
mov edx, dword [0x4e4a8c]
push edx
call sub.USER32.dll_CheckMenuItem
push 0
push 0x80
mov ecx, dword [0x4e4a8c]
push ecx
call sub.USER32.dll_CheckMenuItem
xor eax, eax
mov dword [0x4d1290], eax
jmp 0x47aa50
push 0
push 0x7e
mov edx, dword [0x4e4a8c]
push edx
call sub.USER32.dll_CheckMenuItem
jmp 0x47aa50
mov eax, dword [0x4d1290]
cmp eax, 1
sbb eax, eax
neg eax
mov dword [0x4d1290], eax
test eax, eax
je 0x47a901
push 8
push 0x80
mov edx, dword [0x4e4a8c]
push edx
call sub.USER32.dll_CheckMenuItem
push 0
push 0x7e
mov ecx, dword [0x4e4a8c]
push ecx
call sub.USER32.dll_CheckMenuItem
xor eax, eax
mov dword [0x4d128c], eax
jmp 0x47aa50
push 0
push 0x80
mov edx, dword [0x4e4a8c]
push edx
call sub.USER32.dll_CheckMenuItem
jmp 0x47aa50
mov eax, dword [0x4d1294]
cmp eax, 1
sbb eax, eax
neg eax
mov dword [0x4d1294], eax
test eax, eax
je 0x47a943
push 8
push 0x7f
mov edx, dword [0x4e4a8c]
push edx
call sub.USER32.dll_CheckMenuItem
jmp 0x47aa50
push 0
push 0x7f
mov ecx, dword [0x4e4a8c]
push ecx
call sub.USER32.dll_CheckMenuItem
jmp 0x47aa50
mov eax, dword [0x4d2530]
test eax, eax
je 0x47a974
push eax
call fcn.0040ad18
xor edx, edx
mov dword [0x4d2530], edx
jmp 0x47aa50
push 0xa
call fcn.0040ad18
jmp 0x47aa50
push 0
call fcn.0040ad18
jmp 0x47aa50
cmp dword [0x4d12e8], 0
jne 0x47aa50
mov dword [0x4d12e8], 1
mov ecx, dword [ebp + 0x10]
mov dword [0x4d12a0], ecx
push 0x401330
push 0x32
mov eax, dword [ebp + 8]
push eax
call fcn.00434b58
xor edx, edx
mov dword [0x4d12a0], edx
cmp dword [0x4ca0f8], 0
je 0x47a9da
xor ecx, ecx
mov dword [0x4ca0f8], ecx
call fcn.00477c9c
xor eax, eax
mov dword [0x4d12e8], eax
jmp 0x47aa50
cmp dword [0x4d12ec], 0
jne 0x47aa50
mov dword [0x4d12ec], 1
push 0x436cb0
push 0x55
mov edx, dword [ebp + 8]
push edx
call fcn.00434b58
xor ecx, ecx
mov dword [0x4d12ec], ecx
jmp 0x47aa50
movzx esi, bx
push esi
mov eax, dword [0x4d42a8]
push eax
call fcn.00475558
test eax, eax
je 0x47aa2a
mov eax, 1
jmp 0x47aa55
push esi
call fcn.00473ce4
test eax, eax
je 0x47aa3b
mov eax, 1
jmp 0x47aa55
push ebx
call fcn.00474278
test eax, eax
je 0x47aa4c
mov eax, 1
jmp 0x47aa55
xor eax, eax
jmp 0x47aa55
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc