Function at 0x47f230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x47f2af
lea ecx, [ebp + 0x2c]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0xa8]
movzx edx, byte [ecx]
test edx, edx
je 0x47f270
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x47f2aa
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx], 0x6457
jge 0x47f2aa
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
push eax
call fcn.004bef16
add esp, 4
jmp 0x47f5f7
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x6c], edx
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp + 0x38]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xcc]
movzx eax, byte [edx]
test eax, eax
je 0x47f33a
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
push ecx
push 0xa9b5f0
call fcn.00408780
add esp, 8
jmp 0x47f5f7
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
push 1
mov ecx, dword [ebp - 0xc]
call fcn.004281c0
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
cmp dword [eax], ecx
jge 0x47f3f7
mov dword [ebp - 0x44], 1
jmp 0x47f3fe
mov dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.004281c0
mov edx, dword [ebp - 0x44]
cmp edx, dword [eax]
je 0x47f418
mov dword [ebp - 0x24], 1
jmp 0x47f41f
mov dword [ebp - 0x24], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.004281c0
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jge 0x47f439
mov dword [ebp - 0x4c], 1
jmp 0x47f440
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
sub eax, 4
mov ecx, dword [ebp - 4]
imul eax, dword [ecx]
neg eax
mov ecx, dword [ebp - 8]
imul eax, dword [ecx]
cmp dword [edx], eax
jl 0x47f464
mov dword [ebp - 0x1c], 1
jmp 0x47f46b
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
cmp dword [ebp - 0x1c], eax
jl 0x47f47e
mov dword [ebp - 0x34], 1
jmp 0x47f485
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x34174aa7
jne 0x47f497
mov dword [ebp - 0x54], 1
jmp 0x47f49e
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x54]
jne 0x47f4b1
mov dword [ebp - 0x3c], 1
jmp 0x47f4b8
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
neg eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x47f4db
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x47f4db
mov dword [ebp - 0x14], 1
jmp 0x47f4e2
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
cmp dword [ebp - 0x14], 0xffffffff
jb 0x47f4f9
mov dword [ebp - 0x20], 1
jmp 0x47f500
mov dword [ebp - 0x20], 0
push 3
mov ecx, dword [ebp - 0xc]
call fcn.004281c0
mov ecx, dword [ebp - 0x20]
imul ecx, dword [eax]
mov edx, dword [ebp - 8]
cmp ecx, dword [edx]
jne 0x47f520
mov dword [ebp - 0x28], 1
jmp 0x47f527
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xfffffff8
jne 0x47f536
mov dword [ebp - 0x30], 1
jmp 0x47f53d
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
cmp ecx, 0xf606
je 0x47f556
mov dword [ebp - 0x38], 1
jmp 0x47f55d
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp dword [ebp - 0x38], eax
jge 0x47f573
mov dword [ebp - 0xb4], 1
jmp 0x47f57d
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 0xfff7
jbe 0x47f5b2
mov dword [ebp - 0x48], 1
jmp 0x47f5b9
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xe38e
jle 0x47f5cb
mov dword [ebp - 0x50], 1
jmp 0x47f5d2
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
cmp dword [ebp - 0x50], eax
jle 0x47f5e8
mov dword [ebp - 0x58], 1
jmp 0x47f5ef
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x58]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret