Function at 0x46b020
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6adfc1
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x5df8]
xor ebp, ebp
cmp eax, ebp
push edi
jne 0x46b111
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x46b111
mov ecx, dword [0x223f100]
lea eax, [eax + eax*2]
shl eax, 5
mov dl, byte [eax + ecx + 0x64]
test dl, dl
je 0x46b111
push 0xc48
call fcn.005cc96d
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebp
mov dword [esp + 0x3c], ebp
je 0x46b0b4
push 0x276a
call fcn.0041d4a0
add esp, 4
push eax
push 0xff
push 0xff
push 0xff
push 1
mov ecx, edi
call fcn.004c4d10
jmp 0x46b0b6
xor eax, eax
mov dword [esi + 0x5df8], eax
mov dword [eax + 0xbd4], ebp
xor edx, edx
lea eax, [esi + 0x5dfc]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
push 1
mov ecx, 0x2203adc
mov dword [esp + 0x40], 0xffffffff
mov byte [eax + 0x14], dl
call fcn.005325b0
mov ecx, 0x2203adc
call fcn.005347d0
push 0xd
mov dword [esi + 0x5e14], 1
mov dword [esi + 0x5e18], ebp
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x5e1c], ebp
jne 0x46b18c
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x46b18c
mov edx, dword [0x223f100]
lea ecx, [eax + eax*2]
shl ecx, 5
mov al, byte [ecx + edx + 0x65]
test al, al
je 0x46b18c
push 0xc48
call fcn.005cc96d
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebp
mov dword [esp + 0x3c], 1
je 0x46b17c
push 0x276d
call fcn.0041d4a0
add esp, 4
push eax
push 0xff
push 0xff
push 0xff
push 1
mov ecx, edi
call fcn.004c4d10
jmp 0x46b17e
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esi + 0x5e1c], eax
mov ecx, dword [esi + 0x44]
cmp ecx, ebp
je 0x46b19c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x44], ebp
push 0x3f0
call fcn.005cc96d
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebp
mov dword [esp + 0x3c], 2
je 0x46b1c2
mov ecx, eax
call fcn.00416cc0
jmp 0x46b1c4
xor eax, eax
cmp eax, ebp
mov dword [esp + 0x3c], 0xffffffff
mov dword [esi + 0x44], eax
je 0x46b508
mov ecx, dword [esi + 0x4c]
mov edx, dword [0x223f100]
lea ecx, [ecx + ecx*2]
shl ecx, 5
cmp byte [ecx + edx + 0x65], 0
je 0x46b1f4
mov byte [eax + 0x285], 2
mov eax, dword [esi + 0x44]
mov dword [eax + 0x188], 1
mov edx, dword [0x223f100]
mov ecx, dword [esi + 0x44]
mov eax, dword [esp + 0x44]
lea edi, [eax + eax*2]
shl edi, 5
mov al, byte [edi + edx + 0x1c]
mov byte [ecx + 0x180], al
mov edx, dword [0x223f100]
mov al, byte [edi + edx + 0x1d]
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x181], al
mov edx, dword [0x223f100]
mov al, byte [edi + edx + 0x1e]
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x182], al
mov edx, dword [0x223f100]
mov al, byte [edi + edx + 0x20]
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x183], al
mov edx, dword [0x223f100]
mov al, byte [edi + edx + 0x1f]
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x184], al
mov edx, dword [0x223f100]
mov eax, dword [edi + edx + 0x10]
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x34], eax
mov edx, dword [0x223f100]
mov al, byte [edi + edx + 0x1a]
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x283], al
mov ecx, dword [0x223f100]
mov eax, dword [esi + 0x44]
lea edx, [edi + ecx + 0x36]
mov ecx, dword [edx]
add eax, 0x18c
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov dl, byte [edx + 0xc]
mov byte [eax + 0xc], dl
mov eax, dword [0x223f100]
mov edx, dword [esi + 0x44]
lea ecx, [edi + eax + 0x43]
mov eax, dword [ecx]
add edx, 0x199
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov cl, byte [ecx + 0xc]
mov byte [edx + 0xc], cl
mov edx, dword [0x223f100]
mov ecx, dword [esi + 0x44]
lea eax, [edi + edx + 0x66]
mov edx, dword [eax]
add ecx, 0x398
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
mov ecx, dword [esi + 0x44]
call fcn.00417220
mov ecx, dword [0x223f100]
mov eax, dword [esi + 0x44]
lea ecx, [edi + ecx + 0x50]
add eax, 0xf0
mov dl, byte [ecx]
inc ecx
mov byte [eax], dl
inc eax
test dl, dl
jne 0x46b316
mov edx, dword [0x709020]
mov eax, dword [0x709024]
mov ecx, dword [0x709028]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0x3f66a7f0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
fld dword [esp + 0x1c]
fmul dword [0x6bca08]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fmul dword [0x6bca08]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0x3eddb22d
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x24]
fmul dword [0x6bca08]
fstp dword [esp + 0x30]
fxch st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fadd dword [esp + 0x14]
fld dword [esp + 0x30]
fadd dword [esp + 0x18]
fld dword [esp + 0x20]
fmul dword [0x6bb5fc]
fld dword [esp + 0x24]
fsub st(1)
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fld dword [esp + 0x1c]
mov dword [esp + 0x28], 0x3fa6872b
fmul dword [0x6bb5fc]
fld dword [esp + 0x24]
fmul dword [0x6bb5fc]
fsubp st(1)
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
fsub dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x28]
lea edx, [esi + 0x5ddc]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
fmul dword [0x6bca00]
mov edi, edx
fld dword [esp + 0x20]
mov dword [edi], eax
fmul dword [0x6bca00]
mov dword [esp + 0x2c], 0
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
fmul dword [0x6bca00]
mov dword [edi + 4], ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x10]
fsub st(2)
fstp dword [esp + 0x10]
fxch st(3)
fsub st(3)
fstp dword [esp + 0x14]
fstp st(2)
fstp st(1)
fsub dword [esp + 0x30]
mov dword [esp + 0x30], 0x3e6e978d
mov edx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov edi, dword [esi + 0x44]
fstp dword [esp + 0x18]
add edi, 0x1c
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x14]
add eax, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x44]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], eax
mov al, byte [0x71d0f9]
test al, al
mov dword [esp + 0x44], edx
je 0x46b4c9
mov ecx, edx
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, 0x859d2c
call fcn.005a4d20
jmp 0x46b4dd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, 0x71d0fc
call fcn.005a2c30
mov edx, dword [esi + 0x44]
fstp dword [edx + 0x14]
mov eax, dword [esi + 0x44]
lea ecx, [eax + 0x10]
mov edx, dword [ecx]
add eax, 0x154
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x44]
push 0x13
call fcn.004105b0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 4