Function at 0x1000d4d4
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1003800c]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x10038c88]
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 [0x10038da0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10038dac]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x10038dac]
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 0x1000cdb2
mov dword [esp + 0x1c], eax
jmp 0x1000cdbd
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10038c90]
test ecx, ecx
je 0x1000d57c
mov byte [0x10226345], 1
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
cmp byte [0x10038792], 0
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1000ce04
push 1
call edi
test ax, ax
jne 0x1000cdfd
push 2
call edi
test ax, ax
je 0x1000ce04
and dword [esi + 0x24], 0xfffff1e6
movss xmm0, dword [esi + 0x1c]
lea edi, [esi + 0xc]
movss dword [0x10217b70], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [0x10217b74], xmm0
movss xmm0, dword [edi]
movss dword [0x10217b84], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10217b88], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10217b8c], xmm0
movss xmm0, dword [edi]
movss dword [0x10217b78], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10217b7c], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10217b80], xmm0
call fcn.10027c60
inc dword [0x10038c8c]
cmp byte [0x10049a24], 0
je 0x1000cf5e
push 0x75
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003821c]
test ax, ax
mov eax, 1
cmovne ecx, eax
push 0x76
mov dword [0x1003821c], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000cec3
lea eax, [esp + 0x28]
mov word [0x10038dd0], 1
mov dword [0x10038dcc], eax
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000cee2
lea eax, [esp + 0x28]
mov word [0x10038dd0], 0x100
mov dword [0x10038dcc], eax
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003821c]
test ax, ax
mov edx, 2
cmovne ecx, edx
push 0x79
mov dword [0x1003821c], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003821c]
xor edx, edx
test ax, ax
push 0x7a
cmovne ecx, edx
mov dword [0x1003821c], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003821c]
test ax, ax
mov edx, 3
cmovne ecx, edx
sub esp, 0xc
mov dword [0x1003821c], 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, 0x10038210
push esi
call fcn.10023ed0
mov ecx, dword [esp + 0x24]
call fcn.10002df0
cmp dword [eax], 0
jne 0x1000d57c
cmp byte [0x10049404], 0
je 0x1000cfeb
mov ecx, dword [esp + 0x24]
call fcn.10002b20
mov ecx, dword [eax]
mov dword [0x10217bd0], ecx
not cl
and cl, 1
cmp byte [0x10226350], 0
mov byte [0x10226351], cl
jne 0x1000cfad
cmp byte [0x10226347], 0
je 0x1000cfad
or dword [esi + 0x24], 2
jmp 0x1000cfe4
mov eax, dword [esi + 0x24]
test al, 2
je 0x1000cfdd
test cl, cl
jne 0x1000cfc8
mov al, 1
mov byte [0x10226347], 1
mov byte [0x10226350], al
jmp 0x1000cfeb
and eax, 0xfffffffd
or eax, 2
and eax, 0xfffffffd
mov dword [esi + 0x24], eax
xor al, al
mov byte [0x10226350], al
jmp 0x1000cfeb
mov byte [0x10226350], 0
mov byte [0x10226347], 0
push dword [esp + 0x24]
mov ecx, 0x1003a90c
push esi
call fcn.10023ac0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x1004940a], 0
mov ecx, dword [esp + 0x24]
movss xmm2, dword [eax]
movss xmm1, dword [ecx + 0xd8]
movss xmm0, dword [ecx + 0xdc]
addss xmm2, dword [ecx + 0xd4]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
movss dword [0x1003a8a0], xmm2
movss dword [0x1003a8a4], xmm1
movss dword [0x1003a8a8], xmm0
je 0x1000d060
push dword [esp + 0x1c]
push ecx
push esi
mov ecx, 0x10217bcc
call fcn.1002a5c0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x1000d093.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js case.0x1000d093.0
cmp eax, 0x1d
jg case.0x1000d093.0
cmp eax, 0x1c
ja case.0x1000d093.1
movzx eax, byte [eax + 0x1000d598]
jmp dword [eax*4 + 0x1000d590]
cmp byte [0x100493cc], 0
je 0x1000d0b1
push dword [esp + 0x1c]
push dword [esp + 0x28]
push esi
call fcn.10028f80
cmp byte [0x10049204], 0
je 0x1000d27d
push dword [esp + 0x24]
movq xmm0, qword [edi]
mov ecx, 0x10038f30
mov eax, dword [edi + 8]
push esi
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
call fcn.10004a50
cmp byte [0x1004920e], 0
je 0x1000d27d
movss xmm2, dword [edi]
subss xmm2, dword [esp + 8]
movss xmm5, dword [0x10034650]
comiss xmm2, dword [0x10034574]
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm2
mulss xmm0, dword [0x10034380]
movss dword [esp + 0x20], xmm0
ja 0x1000d12f
movss xmm4, dword [0x10034614]
comiss xmm4, xmm2
ja 0x1000d12f
xorps xmm3, xmm3
jmp 0x1000d196
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x1000d140
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 [0x10034614]
add esp, 4
comiss xmm3, xmm2
movss xmm5, dword [0x10034650]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x100345a4]
jbe 0x1000d18c
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1000d196
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
movss xmm1, dword [esi + 0x10]
movss xmm6, dword [esp + 0xc]
movss xmm2, dword [0x10034574]
subss xmm1, xmm6
comiss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x10034380]
movss dword [esp + 0x20], xmm0
ja 0x1000d1ce
comiss xmm4, xmm1
jbe 0x1000d224
comiss xmm3, xmm0
jbe 0x1000d1dc
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 [0x100345a4]
comiss xmm2, xmm1
movss xmm2, dword [0x10034574]
jbe 0x1000d220
addss xmm1, xmm0
jmp 0x1000d224
subss xmm1, xmm0
mov eax, dword [0x10049220]
cmp eax, 0xb4
jge 0x1000d23f
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, dword [0x1004932c]
movss xmm0, dword [esp + 0x14]
comiss xmm2, xmm0
jbe 0x1000d263
movaps xmm3, xmm2
xorps xmm3, xmmword [0x10034650]
comiss xmm0, xmm3
jbe 0x1000d263
comiss xmm2, xmm1
jbe 0x1000d263
comiss xmm1, xmm3
ja 0x1000d27d
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 0x1000d4a1
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.10029fc0
test al, al
je 0x1000d456
mov eax, dword [0x100390cc]
cmp eax, 0xffffffff
je 0x1000d2ad
inc dword [eax*4 + 0x10038ca0]
mov cl, byte [0x100493cc]
mov byte [0x10226346], 0
mov byte [0x10226344], 1
mov dword [0x10226340], 0
test cl, cl
je 0x1000d2dc
cmp byte [0x100493ce], 0
jne 0x1000d2dc
mov al, 1
jmp 0x1000d2de
xor al, al
test cl, cl
je 0x1000d2ea
test al, al
je 0x1000d436
cmp byte [0x100493c4], 0
je 0x1000d327
mov ecx, dword [esi + 4]
call fcn.100263a0
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
je 0x1000d327
nop word [eax + eax]
inc dword [esi + 4]
mov ecx, dword [esi + 4]
call fcn.100263a0
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
jne 0x1000d310
cmp byte [0x100493c5], 0
je 0x1000d436
mov eax, dword [0x100493c8]
sub eax, 1
je 0x1000d374
sub eax, 1
je 0x1000d35e
sub eax, 1
movzx eax, byte [0x10049419]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
jne 0x1000d383
call fcn.1001e3e0
jmp 0x1000d388
movzx eax, byte [0x10049419]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001f430
jmp 0x1000d388
movzx eax, byte [0x10049419]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001ee10
mov ecx, dword [0x10038b0c]
mov al, byte [0x10049419]
mov byte [esp + 0x1b], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x10049418], 0
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax + 0xbb0]
addss xmm1, xmm1
je 0x1000d3f6
cmp byte [esp + 0x1b], 0
je 0x1000d3f6
movss xmm0, dword [0x10034574]
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 [0x10034574]
subss xmm0, xmm1
movss dword [esi + 0x10], xmm0
jmp 0x1000d436
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 [0x10226345]
xor ecx, ecx
cmp byte [0x1004920b], cl
cmovne eax, ecx
mov ecx, esi
mov byte [0x10226345], al
call fcn.1000c8a0
jmp case.0x1000d093.0
cmp byte [0x1004920c], 0
je 0x1000d479
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000d093.0
cmp byte [0x10049445], 0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov edx, esi
cmovne eax, dword [0x1004944c]
push eax
call fcn.1000c4a0
add esp, 4
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000d093.0
cmp byte [0x1004920c], 0
je 0x1000d4c0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp case.0x1000d093.0
push dword [0x1004944c]
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1000c4a0
add esp, 4
cmp byte [0x10049405], 0
je 0x1000d4f5
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d4f5
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.10029a00
push ecx
push esi
push ecx
mov ecx, 0x10217ba0
call fcn.10026cf0
push dword [esp + 0x24]
push ecx
mov ecx, 0x1003a90c
call fcn.10023ca0
cmp byte [0x1004940d], 0
je 0x1000d54d
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1000d537
cmp byte [0x1004940e], 0
sete al
mov byte [0x1004940e], al
jmp 0x1000d53c
mov al, byte [0x1004940e]
test al, al
je 0x1000d54d
test byte [esi + 0x24], 1
jne 0x1000d54d
mov dword [esi + 8], 0x7fffffff
cmp byte [0x10226345], 0
je 0x1000d57c
movss xmm0, dword [edi]
movss dword [0x100397a8], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x100397ac], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x100397b0], xmm0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.1002b17d
add esp, 0x2c
ret 0xc