Function at 0x1000d1cd
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10039040]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x10039bfc]
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 [0x10039be8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10039bf4]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x10039bf4]
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 0x1000cf02
mov dword [esp + 0x1c], eax
jmp 0x1000cf0d
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10039c04]
test ecx, ecx
je 0x1000d6a5
mov byte [0x1003a745], 1
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
cmp byte [0x10039712], 0
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1000cf54
push 1
call edi
test ax, ax
jne 0x1000cf4d
push 2
call edi
test ax, ax
je 0x1000cf54
and dword [esi + 0x24], 0xfffff1e6
movss xmm0, dword [esi + 0x1c]
lea edi, [esi + 0xc]
movss dword [0x10218bd0], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [0x10218bd4], xmm0
movss xmm0, dword [edi]
movss dword [0x10218be4], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10218be8], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10218bec], xmm0
movss xmm0, dword [edi]
movss dword [0x10218bd8], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10218bdc], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10218be0], xmm0
call fcn.10028660
inc dword [0x10039c00]
cmp byte [0x1004aa84], 0
je 0x1000d091
push 0x75
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000cfec
mov dword [0x100391bc], 1
push 0x76
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d00b
lea eax, [esp + 0x28]
mov word [0x10039d58], 1
mov dword [0x10039d54], eax
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d02a
lea eax, [esp + 0x28]
mov word [0x10039d58], 0x100
mov dword [0x10039d54], eax
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d041
mov dword [0x100391bc], 2
push 0x79
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d058
mov dword [0x100391bc], 0
push 0x7a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d06f
mov dword [0x100391bc], 3
movq xmm0, qword [edi]
sub esp, 0xc
mov eax, dword [edi + 8]
mov ecx, esp
push dword [esp + 0x30]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x100391b0
push esi
call fcn.100247d0
mov ecx, dword [esp + 0x24]
call fcn.10002d90
cmp dword [eax], 0
jne 0x1000d6a5
cmp byte [0x1004a464], 0
je 0x1000d116
mov ecx, dword [esp + 0x24]
call fcn.10002ac0
mov eax, dword [eax]
mov dword [0x10218c30], eax
not al
and al, 1
cmp byte [0x1004a0d4], 0
mov byte [0x1004a0d5], al
jne 0x1000d0dd
cmp byte [0x1003a747], 0
je 0x1000d0dd
or dword [esi + 0x24], 2
jmp 0x1000d10f
mov ecx, dword [esi + 0x24]
test cl, 2
je 0x1000d108
test al, al
jne 0x1000d0f9
mov al, 1
mov byte [0x1003a747], 1
mov byte [0x1004a0d4], al
jmp 0x1000d116
and ecx, 0xfffffffd
xor al, al
mov dword [esi + 0x24], ecx
mov byte [0x1004a0d4], al
jmp 0x1000d116
mov byte [0x1004a0d4], 0
mov byte [0x1003a747], 0
push dword [esp + 0x24]
mov ecx, 0x1003b974
push esi
call fcn.100243c0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x1004a46a], 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 [0x1003b90c], xmm3
movss dword [0x1003b910], xmm1
movss dword [0x1003b908], xmm0
je 0x1000d193
push dword [esp + 0x1c]
push ecx
push esi
mov ecx, 0x10218c2c
call fcn.1002af40
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x1000d1c6.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js case.0x1000d1c6.0
cmp eax, 0x1d
jg case.0x1000d1c6.0
cmp eax, 0x1c
ja case.0x1000d1c6.1
movzx eax, byte [eax + 0x1000d6c0]
jmp dword [eax*4 + 0x1000d6b8]
cmp byte [0x1004a42c], 0
je 0x1000d1e4
push dword [esp + 0x1c]
push dword [esp + 0x28]
push esi
call fcn.10029970
cmp byte [0x1004a264], 0
je 0x1000d3b0
push dword [esp + 0x24]
movq xmm0, qword [edi]
mov ecx, 0x10039ea8
mov eax, dword [edi + 8]
push esi
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
call fcn.10004990
cmp byte [0x1004a26e], 0
je 0x1000d3b0
movss xmm2, dword [edi]
subss xmm2, dword [esp + 8]
movss xmm5, dword [0x100355b0]
comiss xmm2, dword [0x100354cc]
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm2
mulss xmm0, dword [0x100352d8]
movss dword [esp + 0x20], xmm0
ja 0x1000d262
movss xmm4, dword [0x1003556c]
comiss xmm4, xmm2
ja 0x1000d262
xorps xmm3, xmm3
jmp 0x1000d2c9
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x1000d273
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 [0x1003556c]
add esp, 4
comiss xmm3, xmm2
movss xmm5, dword [0x100355b0]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x100354fc]
jbe 0x1000d2bf
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1000d2c9
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
movss xmm1, dword [esi + 0x10]
movss xmm6, dword [esp + 0xc]
movss xmm2, dword [0x100354cc]
subss xmm1, xmm6
comiss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x100352d8]
movss dword [esp + 0x20], xmm0
ja 0x1000d301
comiss xmm4, xmm1
jbe 0x1000d357
comiss xmm3, xmm0
jbe 0x1000d30f
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 [0x100354fc]
comiss xmm2, xmm1
movss xmm2, dword [0x100354cc]
jbe 0x1000d353
addss xmm1, xmm0
jmp 0x1000d357
subss xmm1, xmm0
mov eax, dword [0x1004a280]
cmp eax, 0xb4
jge 0x1000d372
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, dword [0x1004a38c]
movss xmm0, dword [esp + 0x14]
comiss xmm2, xmm0
jbe 0x1000d396
movaps xmm3, xmm2
xorps xmm3, xmmword [0x100355b0]
comiss xmm0, xmm3
jbe 0x1000d396
comiss xmm2, xmm1
jbe 0x1000d396
comiss xmm1, xmm3
ja 0x1000d3b0
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 0x1000d5ca
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.1002a940
test al, al
je 0x1000d57f
mov eax, dword [0x1003a044]
cmp eax, 0xffffffff
je 0x1000d3e0
inc dword [eax*4 + 0x10039c08]
mov cl, byte [0x1004a42c]
mov byte [0x1003a746], 0
mov byte [0x1003a744], 1
mov dword [0x10218c34], 0
test cl, cl
je 0x1000d40f
cmp byte [0x1004a42e], 0
jne 0x1000d40f
mov al, 1
jmp 0x1000d411
xor al, al
test cl, cl
je 0x1000d41d
test al, al
je 0x1000d566
cmp byte [0x1004a424], 0
je 0x1000d457
mov ecx, dword [esi + 4]
call fcn.10026d70
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
je 0x1000d457
nop word [eax + eax]
inc dword [esi + 4]
mov ecx, dword [esi + 4]
call fcn.10026d70
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
jne 0x1000d440
cmp byte [0x1004a425], 0
je 0x1000d566
mov eax, dword [0x1004a428]
sub eax, 1
je 0x1000d4a4
sub eax, 1
je 0x1000d48e
sub eax, 1
movzx eax, byte [0x1004a479]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
jne 0x1000d4b3
call fcn.1001eb50
jmp 0x1000d4b8
movzx eax, byte [0x1004a479]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001fbc0
jmp 0x1000d4b8
movzx eax, byte [0x1004a479]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001f580
mov ecx, dword [0x10039a68]
mov al, byte [0x1004a479]
mov byte [esp + 0x1b], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x1004a478], 0
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax + 0xbb0]
addss xmm1, xmm1
je 0x1000d526
cmp byte [esp + 0x1b], 0
je 0x1000d526
movss xmm0, dword [0x100354cc]
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 [0x100354cc]
subss xmm0, xmm1
movss dword [esi + 0x10], xmm0
jmp 0x1000d566
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
cmp byte [0x1004a26b], 0
je 0x1000d576
mov byte [0x1003a745], 0
mov ecx, esi
call fcn.1000c9c0
jmp case.0x1000d1c6.0
cmp byte [0x1004a26c], 0
je 0x1000d5a2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000d1c6.0
cmp byte [0x1004a4a5], 0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov edx, esi
cmovne eax, dword [0x1004a4ac]
push eax
call fcn.1000c5c0
add esp, 4
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000d1c6.0
cmp byte [0x1004a26c], 0
je 0x1000d5e9
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp case.0x1000d1c6.0
push dword [0x1004a4ac]
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1000c5c0
add esp, 4
cmp byte [0x1004a465], 0
je 0x1000d61e
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d61e
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.1002a3b0
push ecx
push esi
push ecx
mov ecx, 0x10218c00
call fcn.10027740
push dword [esp + 0x24]
push ecx
mov ecx, 0x1003b974
call fcn.100245a0
cmp byte [0x1004a46d], 0
je 0x1000d676
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1000d660
cmp byte [0x1004a46e], 0
sete al
mov byte [0x1004a46e], al
jmp 0x1000d665
mov al, byte [0x1004a46e]
test al, al
je 0x1000d676
test byte [esi + 0x24], 1
jne 0x1000d676
mov dword [esi + 8], 0x7fffffff
cmp byte [0x1003a745], 0
je 0x1000d6a5
movss xmm0, dword [edi]
movss dword [0x1003a72c], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x1003a730], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x1003a734], xmm0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.1002ba3e
add esp, 0x2c
ret 0xc