Function at 0x1000d9c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1003800c]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x10038954]
movss xmm0, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 4]
push edi
push dword [esp + 0x40]
mov eax, dword [eax + 0x48]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push esi
call eax
mov ecx, dword [0x10038940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1003894c]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x1003894c]
mov dword [esp + 0x24], eax
push dword [eax + 0xb38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov ecx, eax
test ecx, ecx
jne 0x1000da32
mov dword [esp + 0x1c], eax
jmp 0x1000da3d
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x1003895c]
test ecx, ecx
je 0x1000e222
mov byte [0x1022631d], 1
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
cmp byte [0x100386f6], 0
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1000da84
push 1
call edi
test ax, ax
jne 0x1000da7d
push 2
call edi
test ax, ax
je 0x1000da84
and dword [esi + 0x24], 0xfffff1e6
movss xmm0, dword [esi + 0x1c]
lea edi, [esi + 0xc]
movss dword [0x10217b48], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [0x10217b4c], xmm0
movss xmm0, dword [edi]
movss dword [0x10217b5c], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10217b60], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10217b64], xmm0
movss xmm0, dword [edi]
movss dword [0x10217b50], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10217b54], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10217b58], xmm0
call fcn.10026fd0
inc dword [0x10038958]
cmp byte [0x100499f0], 0
je 0x1000dbde
push 0x75
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x10038138]
test ax, ax
mov eax, 1
cmovne ecx, eax
push 0x76
mov dword [0x10038138], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000db43
lea eax, [esp + 0x28]
mov word [0x10038c5c], 1
mov dword [0x10038c58], eax
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000db62
lea eax, [esp + 0x28]
mov word [0x10038c5c], 0x100
mov dword [0x10038c58], eax
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x10038138]
test ax, ax
mov edx, 2
cmovne ecx, edx
push 0x7a
mov dword [0x10038138], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x10038138]
xor edx, edx
test ax, ax
push 0x7b
cmovne ecx, edx
mov dword [0x10038138], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x10038138]
test ax, ax
mov edx, 3
cmovne ecx, edx
sub esp, 0xc
mov dword [0x10038138], ecx
mov ecx, esp
movq xmm0, qword [edi]
mov eax, dword [edi + 8]
push dword [esp + 0x30]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x1003812c
push esi
call fcn.100233e0
mov ecx, dword [esp + 0x24]
call fcn.10002d90
cmp dword [eax], 0
jne 0x1000e222
cmp byte [0x10049394], 0
je 0x1000dc6b
mov ecx, dword [esp + 0x24]
call fcn.10002ac0
mov ecx, dword [eax]
mov dword [0x10217ba8], ecx
not cl
and cl, 1
cmp byte [0x10226328], 0
mov byte [0x10226329], cl
jne 0x1000dc2d
cmp byte [0x1022631f], 0
je 0x1000dc2d
or dword [esi + 0x24], 2
jmp 0x1000dc64
mov eax, dword [esi + 0x24]
test al, 2
je 0x1000dc5d
test cl, cl
jne 0x1000dc48
mov al, 1
mov byte [0x1022631f], 1
mov byte [0x10226328], al
jmp 0x1000dc6b
and eax, 0xfffffffd
or eax, 2
and eax, 0xfffffffd
mov dword [esi + 0x24], eax
xor al, al
mov byte [0x10226328], al
jmp 0x1000dc6b
mov byte [0x10226328], 0
mov byte [0x1022631f], 0
push dword [esp + 0x24]
mov ecx, 0x1003a880
push esi
call fcn.10022fd0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x1004939b], 0
mov ecx, dword [esp + 0x24]
movss xmm3, dword [eax + 4]
movss xmm1, dword [eax + 8]
movss xmm4, dword [ecx + 0xd8]
movss xmm2, dword [ecx + 0xdc]
addss xmm3, xmm4
movss xmm0, dword [ecx + 0xd4]
addss xmm1, xmm2
addss xmm0, dword [eax]
movss dword [0x10039658], xmm3
movss dword [0x1003965c], xmm1
movss dword [0x10039654], xmm0
je 0x1000dce8
push dword [esp + 0x1c]
push ecx
push esi
mov ecx, 0x10217ba4
call fcn.10029bd0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x1000dd1b.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js case.0x1000dd1b.0
cmp eax, 0x1d
jg case.0x1000dd1b.0
cmp eax, 0x1c
ja case.0x1000dd1b.1
movzx eax, byte [eax + 0x1000e240]
jmp dword [eax*4 + 0x1000e238]
cmp byte [0x10049340], 0
je 0x1000dd39
push dword [esp + 0x1c]
push dword [esp + 0x28]
push esi
call fcn.10028300
cmp byte [0x1004916c], 0
je 0x1000df05
push dword [esp + 0x24]
movq xmm0, qword [edi]
mov ecx, 0x10038db8
mov eax, dword [edi + 8]
push esi
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
call fcn.10004bd0
cmp byte [0x1004917a], 0
je 0x1000df05
movss xmm2, dword [edi]
subss xmm2, dword [esp + 8]
movss xmm5, dword [0x10034f70]
comiss xmm2, dword [0x10034e6c]
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm2
mulss xmm0, dword [0x10034c50]
movss dword [esp + 0x20], xmm0
ja 0x1000ddb7
movss xmm4, dword [0x10034f18]
comiss xmm4, xmm2
ja 0x1000ddb7
xorps xmm3, xmm3
jmp 0x1000de1e
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x1000ddc8
xorps xmm0, xmm5
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm2, dword [esp + 0x18]
xorps xmm3, xmm3
movss xmm4, dword [0x10034f18]
add esp, 4
comiss xmm3, xmm2
movss xmm5, dword [0x10034f70]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x10034e94]
jbe 0x1000de14
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1000de1e
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
movss xmm1, dword [esi + 0x10]
movss xmm6, dword [esp + 0xc]
movss xmm2, dword [0x10034e6c]
subss xmm1, xmm6
comiss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x10034c50]
movss dword [esp + 0x20], xmm0
ja 0x1000de56
comiss xmm4, xmm1
jbe 0x1000deac
comiss xmm3, xmm0
jbe 0x1000de64
xorps xmm0, xmm5
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm6, dword [esp + 0x10]
add esp, 4
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x10034e94]
comiss xmm2, xmm1
movss xmm2, dword [0x10034e6c]
jbe 0x1000dea8
addss xmm1, xmm0
jmp 0x1000deac
subss xmm1, xmm0
mov eax, dword [0x10049190]
cmp eax, 0xb4
jge 0x1000dec7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, dword [0x100492a0]
movss xmm0, dword [esp + 0x14]
comiss xmm2, xmm0
jbe 0x1000deeb
movaps xmm3, xmm2
xorps xmm3, xmmword [0x10034f70]
comiss xmm0, xmm3
jbe 0x1000deeb
comiss xmm2, xmm1
jbe 0x1000deeb
comiss xmm1, xmm3
ja 0x1000df05
movss xmm0, dword [esp + 8]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [edi + 4], xmm6
movss dword [edi + 8], xmm0
test byte [esi + 0x24], 1
je 0x1000e121
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.100295d0
test al, al
je 0x1000e0d6
mov eax, dword [0x10038f54]
cmp eax, 0xffffffff
je 0x1000df35
inc dword [eax*4 + 0x10038960]
mov cl, byte [0x10049340]
mov byte [0x1022631e], 0
mov byte [0x1022631c], 1
mov dword [0x10226318], 0
test cl, cl
je 0x1000df64
cmp byte [0x10049342], 0
jne 0x1000df64
mov al, 1
jmp 0x1000df66
xor al, al
test cl, cl
je 0x1000df72
test al, al
je 0x1000e0b6
cmp byte [0x10049338], 0
je 0x1000dfa7
mov ecx, dword [esi + 4]
call fcn.100257a0
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
je 0x1000dfa7
nop
inc dword [esi + 4]
mov ecx, dword [esi + 4]
call fcn.100257a0
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
jne 0x1000df90
cmp byte [0x10049339], 0
je 0x1000e0b6
mov eax, dword [0x1004933c]
sub eax, 1
je 0x1000dff4
sub eax, 1
je 0x1000dfde
sub eax, 1
movzx eax, byte [0x100493b6]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
jne 0x1000e003
call fcn.1001d660
jmp 0x1000e008
movzx eax, byte [0x100493b6]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001e6e0
jmp 0x1000e008
movzx eax, byte [0x100493b6]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001e090
mov ecx, dword [0x100387c4]
mov al, byte [0x100493b6]
mov byte [esp + 0x1b], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x100493b4], 0
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax + 0xbb0]
addss xmm1, xmm1
je 0x1000e076
cmp byte [esp + 0x1b], 0
je 0x1000e076
movss xmm0, dword [0x10034e6c]
subss xmm0, dword [edi]
subss xmm0, xmm1
movss dword [edi], xmm0
movss xmm1, dword [eax + 0xbb4]
movss xmm0, dword [esi + 0x10]
addss xmm1, xmm1
subss xmm0, dword [0x10034e6c]
subss xmm0, xmm1
movss dword [esi + 0x10], xmm0
jmp 0x1000e0b6
movss xmm0, dword [edi]
movss xmm2, dword [eax + 0xbb4]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xbb8]
addss xmm2, xmm2
addss xmm3, xmm3
movss dword [edi], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, xmm2
movss dword [edi + 4], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, xmm3
movss dword [edi + 8], xmm0
movzx eax, byte [0x1022631d]
xor ecx, ecx
cmp byte [0x10049177], cl
cmovne eax, ecx
mov ecx, esi
mov byte [0x1022631d], al
call fcn.1000d510
jmp case.0x1000dd1b.0
cmp byte [0x10049178], 0
je 0x1000e0f9
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000dd1b.0
cmp byte [0x10049412], 0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov edx, esi
cmovne eax, dword [0x10049418]
push eax
call fcn.1000cfc0
add esp, 4
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000dd1b.0
cmp byte [0x10049178], 0
je 0x1000e140
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp case.0x1000dd1b.0
push dword [0x10049418]
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1000cfc0
add esp, 4
cmp byte [0x10049396], 0
je 0x1000e19b
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000e175
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.10029040
push 0x56
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1000e19b
cmp byte [0x10049397], 0
je 0x1000e19b
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.10028be0
push ecx
push esi
push ecx
mov ecx, 0x10217b78
call fcn.10026070
push dword [esp + 0x24]
push ecx
mov ecx, 0x1003a880
call fcn.100231b0
cmp byte [0x1004939e], 0
je 0x1000e1f3
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1000e1dd
cmp byte [0x1004939d], 0
sete al
mov byte [0x1004939d], al
jmp 0x1000e1e2
mov al, byte [0x1004939d]
test al, al
je 0x1000e1f3
test byte [esi + 0x24], 1
jne 0x1000e1f3
mov dword [esi + 8], 0x7fffffff
cmp byte [0x1022631d], 0
je 0x1000e222
movss xmm0, dword [edi]
movss dword [0x1003963c], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10039640], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10039644], xmm0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.1002a7ae
add esp, 0x2c
ret 0xc