Function at 0x47de30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x100]
call eax
movzx ecx, al
test ecx, ecx
jne 0x47de97
mov edx, dword [ebp + 8]
cmp dword [edx], 8
jle 0x47de97
mov eax, dword [ebp + 8]
cmp dword [eax], 0x16
jge 0x47de97
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x48], 0
je 0x47de86
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x48]
mov edx, dword [eax + 0x130]
call edx
jmp 0x47de92
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00477340
jmp 0x47e2bd
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x18
jne 0x47deae
mov edx, dword [ebp - 8]
mov byte [edx + 0x19d], 1
jmp 0x47e2bd
mov eax, dword [ebp + 8]
cmp dword [eax], 0x17
jne 0x47dec5
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x19d], 0
jmp 0x47e2bd
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
je 0x47dee2
cmp dword [ebp - 0x10], 0x15
je 0x47e195
jmp 0x47e2b1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
sub eax, 0xd
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x34
ja case.0x47df09.1
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x47e2e8]
jmp dword [edx*4 + 0x47e2c4]
mov ecx, dword [ebp - 8]
add ecx, 0x638
call fcn.00432f80
test eax, eax
jle 0x47df8d
mov ecx, dword [ebp - 8]
call fcn.00480700
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x628]
mov eax, dword [edx + 0x40]
call eax
cmp dword [ebp - 0x14], 0
jle 0x47df6f
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0xc]
call edx
mov byte [ebp - 1], al
jmp 0x47df8d
push 1
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x628]
mov eax, dword [edx + 0xc]
call eax
mov byte [ebp - 1], al
jmp 0x47e2bd
mov ecx, dword [ebp - 8]
add ecx, 0x638
call fcn.00432f80
test eax, eax
jle 0x47e054
mov ecx, dword [ebp - 8]
call fcn.00480670
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0x40]
call edx
mov esi, dword [ebp - 0x18]
add esi, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x650]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x650]
add eax, 0x4b8
mov edx, dword [ecx + 0x4b8]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
cmp esi, eax
jle 0x47e034
push 1
mov ecx, dword [ebp - 8]
add ecx, 0x4b8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4b8]
mov edx, dword [eax + 0xc]
call edx
sub eax, 1
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x628]
mov eax, dword [edx + 0xc]
call eax
mov byte [ebp - 2], al
jmp 0x47e054
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0xc]
call edx
mov byte [ebp - 2], al
jmp 0x47e2bd
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1bc]
call eax
jmp 0x47e2bd
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1c0]
call eax
jmp 0x47e2bd
push 1
push 0
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x19c]
call eax
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0xc]
call edx
jmp 0x47e2bd
push 1
push 1
mov ecx, dword [ebp - 8]
add ecx, 0x4b8
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4b8]
mov eax, dword [edx + 0xc]
call eax
sub eax, 1
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x19c]
call eax
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0xc]
call edx
jmp 0x47e2bd
mov eax, dword [ebp - 8]
cmp dword [eax + 0x630], 0xffffffff
je 0x47e13e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x630]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x4b8
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4b8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
call eax
jmp 0x47e2bd
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0x38]
call edx
movzx eax, al
test eax, eax
je 0x47e18b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x47e18b
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0x3c]
call edx
jmp 0x47e2bd
jmp 0x47e2b1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x47e1bc
cmp dword [ebp - 0x20], 1
je 0x47e238
jmp 0x47e2b1
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x62c]
test ecx, ecx
je 0x47e223
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0x38]
call edx
movzx eax, al
test eax, eax
jne 0x47e223
push 1
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x630]
sub edx, 1
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x19c]
call eax
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0xc]
call edx
jmp 0x47e233
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1b4]
call eax
jmp 0x47e2bd
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x62c]
test edx, edx
je 0x47e29f
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x628]
mov eax, dword [edx + 0x38]
call eax
movzx ecx, al
test ecx, ecx
jne 0x47e29f
push 1
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x630]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x19c]
call eax
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x628
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x628]
mov edx, dword [eax + 0xc]
call edx
jmp 0x47e2af
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1b8]
call eax
jmp 0x47e2bd
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00477340
pop esi
mov esp, ebp
pop ebp
ret 4