Function at 0x47bfc0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d1d98
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x44]
mov eax, dword [ebp + 0x58]
test eax, eax
push esi
push edi
je 0x47c2f6
lea esi, [esp + 0x4c]
mov ecx, ebp
call fcn.0047b9f0
mov dword [esp + 0x44], 0
mov eax, dword [eax]
push eax
push 0x57478c
xor edi, edi
call fcn.00487080
or ebx, 0xffffffff
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c031
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esi, [esp + 0x4c]
mov ecx, ebp
call fcn.0047b9f0
mov dword [esp + 0x44], 1
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004be903
mov edi, eax
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47c079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esi, [esp + 0x4c]
mov ecx, ebp
call fcn.0047b9f0
mov eax, dword [eax]
push eax
push edi
call fcn.004add2c
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c0ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esi, [esp + 0x10]
mov ecx, ebp
call fcn.0047b9f0
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov word [edi + eax*2 + 2], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x47c0df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 0x10
mov word [esp + 0x3c], ax
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], edi
mov word [esp + 0x30], 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, ah
jns 0x47c126
and byte [esp + 0x2c], 0xbf
lea ecx, [esp + 0x1c]
push ecx
call dword [0x5066d4]
push edi
mov esi, eax
call fcn.004be908
add esp, 4
test esi, esi
je 0x47c1d8
lea esi, [esp + 0x10]
mov ecx, ebp
call fcn.0047b9f0
mov edi, eax
mov ebx, 2
lea esi, [esp + 0x4c]
mov ecx, ebp
mov dword [esp + 0x44], ebx
call fcn.0047b9f0
mov byte [esp + 0x44], 3
mov eax, dword [eax]
mov edi, dword [edi]
push eax
push 0x57478c
call fcn.00487080
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47c19b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c1c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov eax, dword [ebp + 0xf8]
test eax, eax
jne 0x47c1fd
mov eax, dword [ebp + 0x10c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x47c1fd
mov eax, dword [ebp + 0x108]
test eax, eax
jle 0x47c307
mov ecx, dword [ebp + 0x58]
push 0x4ddf00
add ecx, 0x54
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0041c280
push 0x5c
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x5c], 4
call fcn.00412730
add ebp, 0x5c
push ebp
push eax
lea edx, [esp + 0x34]
mov bl, 5
push edx
mov byte [esp + 0x68], bl
call fcn.0041e120
push str..xml
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x74], 6
call fcn.0041c280
mov byte [esp + 0x74], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x30
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c27b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x44], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c29e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
push esi
call dword [0x50660c]
test eax, eax
mov edi, dword [esp + 0x4c]
je 0x47c2b8
push edi
call dword [0x50669c]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c2d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c307
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x47c307
mov edi, ebp
call fcn.0044fb60
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4