Function at 0x1000d182
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1003400c]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x100349e4]
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 [0x100349d0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100349dc]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x100349dc]
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 0x1000ce92
mov dword [esp + 0x1c], eax
jmp 0x1000ce9d
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x100349ec]
test ecx, ecx
je 0x1000d65c
mov byte [0x1022233d], 1
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
cmp byte [0x100346aa], 0
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1000cee4
push 1
call edi
test ax, ax
jne 0x1000cedd
push 2
call edi
test ax, ax
je 0x1000cee4
and dword [esi + 0x24], 0xfffff1e6
movss xmm0, dword [esi + 0x1c]
lea edi, [esi + 0xc]
movss dword [0x10213b68], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [0x10213b6c], xmm0
movss xmm0, dword [edi]
movss dword [0x10213b7c], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10213b80], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10213b84], xmm0
movss xmm0, dword [edi]
movss dword [0x10213b70], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x10213b74], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x10213b78], xmm0
call fcn.10024640
inc dword [0x100349e8]
cmp byte [0x10045a1c], 0
je 0x1000d03e
push 0x75
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003413c]
test ax, ax
mov eax, 1
cmovne ecx, eax
push 0x76
mov dword [0x1003413c], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000cfa3
lea eax, [esp + 0x28]
mov word [0x10034ce8], 1
mov dword [0x10034ce4], eax
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000cfc2
lea eax, [esp + 0x28]
mov word [0x10034ce8], 0x100
mov dword [0x10034ce4], eax
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003413c]
test ax, ax
mov edx, 2
cmovne ecx, edx
push 0x79
mov dword [0x1003413c], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003413c]
xor edx, edx
test ax, ax
push 0x7a
cmovne ecx, edx
mov dword [0x1003413c], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1003413c]
test ax, ax
mov edx, 3
cmovne ecx, edx
sub esp, 0xc
mov dword [0x1003413c], 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, 0x10034130
push esi
call fcn.10020840
mov ecx, dword [esp + 0x24]
call fcn.10002d90
cmp dword [eax], 0
jne 0x1000d65c
cmp byte [0x100453fc], 0
je 0x1000d0cb
mov ecx, dword [esp + 0x24]
call fcn.10002ac0
mov ecx, dword [eax]
mov dword [0x10213bc8], ecx
not cl
and cl, 1
cmp byte [0x10222348], 0
mov byte [0x10222349], cl
jne 0x1000d08d
cmp byte [0x1022233f], 0
je 0x1000d08d
or dword [esi + 0x24], 2
jmp 0x1000d0c4
mov eax, dword [esi + 0x24]
test al, 2
je 0x1000d0bd
test cl, cl
jne 0x1000d0a8
mov al, 1
mov byte [0x1022233f], 1
mov byte [0x10222348], al
jmp 0x1000d0cb
and eax, 0xfffffffd
or eax, 2
and eax, 0xfffffffd
mov dword [esi + 0x24], eax
xor al, al
mov byte [0x10222348], al
jmp 0x1000d0cb
mov byte [0x10222348], 0
mov byte [0x1022233f], 0
push dword [esp + 0x24]
mov ecx, 0x10036904
push esi
call fcn.10020430
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x10045402], 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 [0x1003689c], xmm3
movss dword [0x100368a0], xmm1
movss dword [0x10036898], xmm0
je 0x1000d148
push dword [esp + 0x1c]
push ecx
push esi
mov ecx, 0x10213bc4
call fcn.10026f40
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x1000d17b.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js case.0x1000d17b.0
cmp eax, 0x1d
jg case.0x1000d17b.0
cmp eax, 0x1c
ja case.0x1000d17b.1
movzx eax, byte [eax + 0x1000d678]
jmp dword [eax*4 + 0x1000d670]
cmp byte [0x100453c4], 0
je 0x1000d199
push dword [esp + 0x1c]
push dword [esp + 0x28]
push esi
call fcn.10025960
cmp byte [0x100451fc], 0
je 0x1000d365
push dword [esp + 0x24]
movq xmm0, qword [edi]
mov ecx, 0x10034e48
mov eax, dword [edi + 8]
push esi
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
call fcn.100049d0
cmp byte [0x10045206], 0
je 0x1000d365
movss xmm2, dword [edi]
subss xmm2, dword [esp + 8]
movss xmm5, dword [0x10031070]
comiss xmm2, dword [0x10030f84]
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm2
mulss xmm0, dword [0x10030da0]
movss dword [esp + 0x20], xmm0
ja 0x1000d217
movss xmm4, dword [0x1003101c]
comiss xmm4, xmm2
ja 0x1000d217
xorps xmm3, xmm3
jmp 0x1000d27e
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x1000d228
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 [0x1003101c]
add esp, 4
comiss xmm3, xmm2
movss xmm5, dword [0x10031070]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x10030fac]
jbe 0x1000d274
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1000d27e
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
movss xmm1, dword [esi + 0x10]
movss xmm6, dword [esp + 0xc]
movss xmm2, dword [0x10030f84]
subss xmm1, xmm6
comiss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm1
mulss xmm0, dword [0x10030da0]
movss dword [esp + 0x20], xmm0
ja 0x1000d2b6
comiss xmm4, xmm1
jbe 0x1000d30c
comiss xmm3, xmm0
jbe 0x1000d2c4
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 [0x10030fac]
comiss xmm2, xmm1
movss xmm2, dword [0x10030f84]
jbe 0x1000d308
addss xmm1, xmm0
jmp 0x1000d30c
subss xmm1, xmm0
mov eax, dword [0x10045218]
cmp eax, 0xb4
jge 0x1000d327
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, dword [0x10045324]
movss xmm0, dword [esp + 0x14]
comiss xmm2, xmm0
jbe 0x1000d34b
movaps xmm3, xmm2
xorps xmm3, xmmword [0x10031070]
comiss xmm0, xmm3
jbe 0x1000d34b
comiss xmm2, xmm1
jbe 0x1000d34b
comiss xmm1, xmm3
ja 0x1000d365
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 0x1000d581
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.10026930
test al, al
je 0x1000d536
mov eax, dword [0x10034fe4]
cmp eax, 0xffffffff
je 0x1000d395
inc dword [eax*4 + 0x100349f0]
mov cl, byte [0x100453c4]
mov byte [0x1022233e], 0
mov byte [0x1022233c], 1
mov dword [0x10222338], 0
test cl, cl
je 0x1000d3c4
cmp byte [0x100453c6], 0
jne 0x1000d3c4
mov al, 1
jmp 0x1000d3c6
xor al, al
test cl, cl
je 0x1000d3d2
test al, al
je 0x1000d516
cmp byte [0x100453bc], 0
je 0x1000d407
mov ecx, dword [esi + 4]
call fcn.10022d20
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
je 0x1000d407
nop
inc dword [esi + 4]
mov ecx, dword [esi + 4]
call fcn.10022d20
and eax, 0x7fffffff
mov dword [esi + 0x34], eax
cmp al, 0x8d
jne 0x1000d3f0
cmp byte [0x100453bd], 0
je 0x1000d516
mov eax, dword [0x100453c0]
sub eax, 1
je 0x1000d454
sub eax, 1
je 0x1000d43e
sub eax, 1
movzx eax, byte [0x10045411]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
jne 0x1000d463
call fcn.1001ab40
jmp 0x1000d468
movzx eax, byte [0x10045411]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001bbc0
jmp 0x1000d468
movzx eax, byte [0x10045411]
push eax
push dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.1001b570
mov ecx, dword [0x100346b4]
mov al, byte [0x10045411]
mov byte [esp + 0x1b], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x10045410], 0
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax + 0xbb0]
addss xmm1, xmm1
je 0x1000d4d6
cmp byte [esp + 0x1b], 0
je 0x1000d4d6
movss xmm0, dword [0x10030f84]
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 [0x10030f84]
subss xmm0, xmm1
movss dword [esi + 0x10], xmm0
jmp 0x1000d516
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 [0x1022233d]
xor ecx, ecx
cmp byte [0x10045203], cl
cmovne eax, ecx
mov ecx, esi
mov byte [0x1022233d], al
call fcn.1000c980
jmp case.0x1000d17b.0
cmp byte [0x10045204], 0
je 0x1000d559
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000d17b.0
cmp byte [0x1004543d], 0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov edx, esi
cmovne eax, dword [0x10045444]
push eax
call fcn.1000c550
add esp, 4
and dword [esi + 0x24], 0xfffffffe
jmp case.0x1000d17b.0
cmp byte [0x10045204], 0
je 0x1000d5a0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp case.0x1000d17b.0
push dword [0x10045444]
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1000c550
add esp, 4
cmp byte [0x100453fd], 0
je 0x1000d5d5
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000d5d5
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.100263a0
push ecx
push esi
push ecx
mov ecx, 0x10213b98
call fcn.100236d0
push dword [esp + 0x24]
push ecx
mov ecx, 0x10036904
call fcn.10020610
cmp byte [0x10045405], 0
je 0x1000d62d
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1000d617
cmp byte [0x10045406], 0
sete al
mov byte [0x10045406], al
jmp 0x1000d61c
mov al, byte [0x10045406]
test al, al
je 0x1000d62d
test byte [esi + 0x24], 1
jne 0x1000d62d
mov dword [esi + 8], 0x7fffffff
cmp byte [0x1022233d], 0
je 0x1000d65c
movss xmm0, dword [edi]
movss dword [0x100356c0], xmm0
movss xmm0, dword [edi + 4]
movss dword [0x100356c4], xmm0
movss xmm0, dword [edi + 8]
movss dword [0x100356c8], xmm0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.10027a7e
add esp, 0x2c
ret 0xc