Function at 0x473f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a40
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x536364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x34]
call eax
test al, al
jne 0x473f57
mov eax, dword [edi]
cmp eax, 8
jbe 0x473f57
cmp eax, 0x14
jb 0x473f64
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x473f85
mov ecx, dword [esi + 0x294]
push edi
test ecx, ecx
je 0x473f79
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x4743a5
mov ecx, esi
call fcn.00460600
jmp 0x4743a5
mov ecx, dword [edi]
cmp ecx, 0x24
jne 0x47403e
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
add edi, 0xc
lea eax, [ebp - 0x28]
push eax
sub esp, 8
mov eax, dword [edi]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi - 4]
call fcn.00476220
test al, al
je 0x474013
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4743a5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47402f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743c3
jmp 0x47402f
mov ecx, dword [esi + 0x35c]
test ecx, ecx
je 0x474028
push edi
push ecx
call fcn.00472980
test eax, eax
jne 0x473fdd
push 0x7f01
jmp 0x473fce
push edx
push ecx
call fcn.004a1b67
add esp, 8
jmp 0x4743a5
cmp ecx, 5
jne 0x4740b4
push 9
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x474078
cmp byte [esi + 0x361], 0
jne 0x474078
mov ecx, dword [esi + 0x2b0]
test ecx, ecx
je 0x4743a5
push 0
push 0
push 0x2a
push esi
call fcn.0043ea30
jmp 0x4743a5
cmp byte [esi + 0x368], 0
je 0x474096
mov eax, dword [edi + 0x18]
cmp eax, 0x30
jb 0x4743a5
cmp eax, 0x39
ja 0x4743a5
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0x102
call dword [eax + 0x1c8]
jmp 0x4743a5
cmp ecx, 3
jne 0x4740c7
push edi
lea ecx, [esi - 4]
call fcn.00474520
jmp 0x4743a5
cmp ecx, 9
jne 0x4740d7
push edi
push 0x200
jmp 0x47439d
cmp ecx, 0x13
jne 0x4740fa
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4743a5
push edi
mov ecx, esi
call fcn.0045b490
jmp 0x4743a5
cmp ecx, 0xd
je 0x4742cc
cmp ecx, 0x1b
je 0x4742cc
cmp ecx, 0xe
je 0x474255
cmp ecx, 0x1d
je 0x474255
cmp ecx, 0xfffffc18
jne 0x474167
cmp byte [esi + 0x365], 0
lea ecx, [esi - 4]
je 0x47415c
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push edx
push 0
push 0x437
mov dword [ebp - 0x30], 0xffffffff
call dword [eax + 0x1c8]
jmp 0x4743a5
push edi
push 0x203
jmp 0x4743a0
cmp ecx, 0xf
jne 0x474177
push edi
push 0x204
jmp 0x47439d
cmp ecx, 0x10
jne 0x474187
push edi
push 0x205
jmp 0x47439d
cmp ecx, 0x21
jne 0x474206
mov eax, dword [esi + 0x2b0]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4743a5
push edi
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ebx, eax
test ebx, ebx
je 0x4743a5
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0045e9c0
mov ecx, dword [esi + 0x374]
mov edx, 1
sub ecx, dword [ebp - 0x34]
mov eax, dword [esi + 0x378]
sub eax, dword [ebp - 0x30]
cmp ecx, edx
mov dword [ebp - 0x2c], 2
cmovl ecx, edx
cmp eax, edx
mov dword [ebp - 0x28], ecx
cmovl eax, edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.IMM32.dll_ImmSetCompositionWindow]
push ebx
push edi
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov byte [esi + 0x370], 1
jmp 0x4743a5
cmp ecx, 0x22
jne 0x474217
mov byte [esi + 0x370], 0
jmp 0x4743a5
cmp ecx, 0xfffffc1a
jne 0x47422d
push ecx
lea ecx, [esi - 4]
call fcn.004743d0
jmp 0x4743a5
cmp ecx, 0xfffffc1b
jne 0x4740ed
push ecx
lea ecx, [esi - 4]
call fcn.00474430
push 0
call fcn.0047e170
mov ecx, eax
call fcn.0047e1c0
jmp 0x4743a5
cmp byte [esi + 0x1c], 0
je 0x4742c1
cmp byte [esi + 0x36b], 0
jne 0x4742c1
cmp byte [esi + 0x36d], 0
mov byte [esi + 0x36b], 1
je 0x4742c1
mov eax, dword [esi - 4]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
lea ecx, [esi - 4]
mov dword [ebp - 0x30], 0xffffffff
push edx
push 0
push 0x437
call dword [eax + 0x1c8]
test byte [esi + 0x3a0], 4
mov ecx, esi
mov eax, dword [esi]
je 0x4742bb
call dword [eax + 0x134]
push edi
push 0x202
jmp 0x47439d
call dword [eax + 0x144]
push edi
push 0x202
jmp 0x47439d
mov eax, dword [esi + 0x4b0]
sub eax, dword [esi + 0x4ac]
sar eax, 5
test eax, eax
je 0x474384
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov eax, dword [edi + 0xc]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [esi - 4]
call fcn.00476220
test al, al
je 0x474345
mov ecx, dword [esi + 0x2b0]
test ecx, ecx
je 0x473fdd
push 0
xor eax, eax
cmp esi, 4
push 0
push 0x2b
cmove esi, eax
push esi
call fcn.0043ea30
jmp 0x473fdd
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x474382
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474378
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743c3
push edx
push ecx
call fcn.004a1b67
add esp, 8
mov ecx, dword [edi]
cmp ecx, 0x1b
jne 0x474397
push 1
call fcn.0047e170
mov ecx, eax
call fcn.0047e1c0
push edi
push 0x201
lea ecx, [esi - 4]
call fcn.004747a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret 4
call fcn.004c43e9
int3