Function at 0x100278a9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x10065010]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x100a789c]
movss xmm0, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [eax + 4]
push edi
push dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x48]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push esi
call eax
mov ecx, dword [0x100a7888]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100a7894]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x100a7894]
mov dword [esp + 8], eax
push dword [eax + 0xb38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov ecx, eax
test ecx, ecx
jne 0x10026f49
mov dword [esp + 0x14], eax
jmp 0x10026f54
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x14], eax
mov ecx, dword [0x100a78a4]
test ecx, ecx
je 0x100279b6
mov byte [0x102946f1], 1
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
cmp byte [0x100a697b], 0
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10026f9b
push 1
call esi
test ax, ax
jne 0x10026f94
push 2
call esi
test ax, ax
je 0x10026f9b
and dword [edi + 0x24], 0xfffff1e6
movss xmm0, dword [edi + 0x1c]
lea esi, [edi + 0xc]
movss dword [0x10285f18], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [0x10285f1c], xmm0
movss xmm0, dword [esi]
movss dword [0x10285f2c], xmm0
movss xmm0, dword [esi + 4]
movss dword [0x10285f30], xmm0
movss xmm0, dword [esi + 8]
movss dword [0x10285f34], xmm0
movss xmm0, dword [esi]
movss dword [0x10285f20], xmm0
movss xmm0, dword [esi + 4]
movss dword [0x10285f24], xmm0
movss xmm0, dword [esi + 8]
movss dword [0x10285f28], xmm0
call fcn.1003f500
inc dword [0x100a78a0]
cmp byte [0x100a4cdc], 0
je 0x100270f5
push 0x75
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1009ab78]
test ax, ax
mov eax, 1
cmovne ecx, eax
push 0x76
mov dword [0x1009ab78], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002705a
lea eax, [esp + 0x2c]
mov word [0x100a7a40], 1
mov dword [0x100a7a3c], eax
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10027079
lea eax, [esp + 0x2c]
mov word [0x100a7a40], 0x100
mov dword [0x100a7a3c], eax
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1009ab78]
test ax, ax
mov edx, 2
cmovne ecx, edx
push 0x79
mov dword [0x1009ab78], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1009ab78]
xor edx, edx
test ax, ax
push 0x7a
cmovne ecx, edx
mov dword [0x1009ab78], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1009ab78]
test ax, ax
mov edx, 3
cmovne ecx, edx
sub esp, 0xc
mov dword [0x1009ab78], ecx
mov ecx, esp
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
push dword [esp + 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x1009ab6c
push edi
call fcn.1003b420
mov ecx, dword [esp + 8]
call fcn.1001d5b0
cmp dword [eax], 0
jne 0x100279b6
cmp byte [0x100a4684], 0
je 0x10027182
mov ecx, dword [esp + 8]
call fcn.1001d2e0
mov ecx, dword [eax]
mov dword [0x10285f7c], ecx
not cl
and cl, 1
cmp byte [0x10294705], 0
mov byte [0x10294706], cl
jne 0x10027144
cmp byte [0x10294704], 0
je 0x10027144
or dword [edi + 0x24], 2
jmp 0x1002717b
mov eax, dword [edi + 0x24]
test al, 2
je 0x10027174
test cl, cl
jne 0x1002715f
mov al, 1
mov byte [0x10294704], 1
mov byte [0x10294705], al
jmp 0x10027182
and eax, 0xfffffffd
or eax, 2
and eax, 0xfffffffd
mov dword [edi + 0x24], eax
xor al, al
mov byte [0x10294705], al
jmp 0x10027182
mov byte [0x10294705], 0
mov byte [0x10294704], 0
cmp byte [0x100a4692], 0
mov eax, dword [esp + 8]
movss xmm0, dword [eax + 0xdc]
movss dword [esp + 0x18], xmm0
je 0x10027241
push dword [0x100a46a0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002723d
mov ecx, dword [0x100a7888]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100a7894]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
test byte [edi + 0x24], 4
je 0x10027236
mov ecx, eax
call fcn.1001d2e0
test byte [eax], 1
je 0x10027236
cmp byte [0x1029494c], 0
movss xmm1, dword [esp + 0x18]
jne 0x1002720c
ucomiss xmm1, dword [0x10059780]
lahf
test ah, 0x44
mov eax, dword [esp + 8]
jp 0x10027241
mov byte [0x1029494c], 1
jmp 0x10027241
ucomiss xmm1, dword [0x1005979c]
lahf
test ah, 0x44
jp 0x1002721f
or dword [edi + 0x24], 4
jmp 0x1002723d
movss xmm0, dword [0x10059798]
comiss xmm0, xmm1
mov eax, dword [esp + 8]
jb 0x10027241
and dword [edi + 0x24], 0xfffffffb
jmp 0x10027241
mov byte [0x1029494c], 0
mov eax, dword [esp + 8]
push eax
push edi
mov ecx, 0x100a966c
call fcn.1003b000
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [esp + 8]
movss xmm3, dword [eax + 4]
movss xmm4, dword [ecx + 0xd8]
movss xmm2, dword [ecx + 0xdc]
addss xmm3, xmm4
movss xmm1, dword [eax + 8]
movss xmm0, dword [eax]
addss xmm1, xmm2
addss xmm0, dword [ecx + 0xd4]
mov ecx, dword [esp + 0x14]
movss dword [0x100a9604], xmm3
movss dword [0x100a9608], xmm1
movss dword [0x100a9600], xmm0
test ecx, ecx
je case.0x1002746e.0
cmp byte [0x100a468b], 0
je 0x10027447
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10027443
cmp eax, 0x1d
jg 0x10027443
cmp eax, 0x1c
jne 0x10027443
mov eax, dword [0x100a7890]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
cmp eax, 1
jl 0x10027443
mov ecx, dword [0x100a7888]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [esp + 0xc]
cmp edx, eax
je 0x10027432
mov ecx, dword [0x100a7894]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x1002742e
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x1002742e
mov ecx, esi
call fcn.1001d190
mov ecx, dword [esp + 8]
mov esi, dword [eax]
call fcn.1001d190
mov edx, dword [esp + 0xc]
cmp esi, dword [eax]
je 0x10027432
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x87], 0
jne 0x10027432
cmp byte [edx + 0x100a490c], 0
jne 0x10027432
mov eax, dword [esp + 0x14]
mov ecx, esi
movss xmm1, dword [eax + 0x6b8]
mov eax, dword [0x100a7890]
cvtps2pd xmm1, xmm1
movss xmm0, dword [eax + 0xc]
addsd xmm1, qword [0x100596e8]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
seta byte [esp + 0x13]
call fcn.1001d6a0
cmp dword [eax], 0x14
jg 0x100273d8
cmp byte [esp + 0x13], 0
je 0x100273d8
push esi
push dword [esp + 0xc]
mov ecx, 0x10285f78
push edi
push 0
call fcn.10041e30
mov edx, dword [esp + 0xc]
test al, al
je 0x10027432
or dword [edi + 0x24], 1
jmp 0x10027432
mov ecx, esi
call fcn.1001d6a0
cmp dword [eax], 0xf
jg 0x1002740b
cmp byte [esp + 0x13], 0
jne 0x1002740b
push esi
push dword [esp + 0xc]
mov ecx, 0x10285f78
push edi
push 0
call fcn.10041e30
mov edx, dword [esp + 0xc]
test al, al
je 0x10027432
or dword [edi + 0x24], 1
jmp 0x10027432
push esi
push dword [esp + 0xc]
mov ecx, 0x10285f78
push edi
push 1
call fcn.10041e30
mov edx, dword [esp + 0xc]
test al, al
je 0x10027432
or dword [edi + 0x24], 0x800
jmp 0x10027432
mov edx, dword [esp + 0xc]
dec edx
mov dword [esp + 0xc], edx
cmp edx, 1
jge 0x100272f4
lea esi, [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js case.0x1002746e.0
cmp eax, 0x1d
jg case.0x1002746e.0
cmp eax, 0x1c
ja case.0x1002746e.1
movzx eax, byte [eax + 0x100279d4]
jmp dword [eax*4 + 0x100279cc]
cmp byte [0x100a4614], 0
je 0x1002748c
push dword [esp + 0x14]
push dword [esp + 0xc]
push edi
call fcn.10040a50
cmp byte [0x100a4444], 0
je 0x10027658
push dword [esp + 8]
movq xmm0, qword [esi]
mov ecx, 0x100a7b98
mov eax, dword [esi + 8]
push edi
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], eax
call fcn.1001f1e0
cmp byte [0x100a444e], 0
je 0x10027658
movss xmm2, dword [esi]
subss xmm2, dword [esp + 0x1c]
movss xmm5, dword [0x100598f0]
comiss xmm2, dword [0x100597dc]
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm2
mulss xmm0, dword [0x100595d8]
movss dword [esp + 0xc], xmm0
ja 0x1002750a
movss xmm4, dword [0x10059888]
comiss xmm4, xmm2
ja 0x1002750a
xorps xmm3, xmm3
jmp 0x10027571
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x1002751b
xorps xmm0, xmm5
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm2, dword [esp + 0x1c]
xorps xmm3, xmm3
movss xmm4, dword [0x10059888]
add esp, 4
comiss xmm3, xmm2
movss xmm5, dword [0x100598f0]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x10059808]
jbe 0x10027567
addss xmm0, xmm2
movss dword [esp + 0x18], xmm0
jmp 0x10027571
subss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movss xmm1, dword [edi + 0x10]
movss xmm6, dword [esp + 0x20]
movss xmm2, dword [0x100597dc]
subss xmm1, xmm6
comiss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm1
mulss xmm0, dword [0x100595d8]
movss dword [esp + 0xc], xmm0
ja 0x100275a9
comiss xmm4, xmm1
jbe 0x100275ff
comiss xmm3, xmm0
jbe 0x100275b7
xorps xmm0, xmm5
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm6, dword [esp + 0x24]
add esp, 4
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x10059808]
comiss xmm2, xmm1
movss xmm2, dword [0x100597dc]
jbe 0x100275fb
addss xmm1, xmm0
jmp 0x100275ff
subss xmm1, xmm0
mov eax, dword [0x100a4460]
cmp eax, 0xb4
jge 0x1002761a
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, dword [0x100a4570]
movss xmm0, dword [esp + 0x18]
comiss xmm2, xmm0
jbe 0x1002763e
movaps xmm3, xmm2
xorps xmm3, xmmword [0x100598f0]
comiss xmm0, xmm3
jbe 0x1002763e
comiss xmm2, xmm1
jbe 0x1002763e
comiss xmm1, xmm3
ja 0x10027658
movss xmm0, dword [esp + 0x1c]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esi + 4], xmm6
movss dword [esi + 8], xmm0
test byte [edi + 0x24], 1
je 0x10027876
push dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.10041c20
test al, al
je 0x1002782b
mov eax, dword [0x100a7d34]
cmp eax, 0xffffffff
je 0x10027688
inc dword [eax*4 + 0x100a78a8]
mov cl, byte [0x100a4614]
mov byte [0x102946f2], 0
mov byte [0x102946f0], 1
mov dword [0x102946ec], 0
test cl, cl
je 0x100276b7
cmp byte [0x100a4616], 0
jne 0x100276b7
mov al, 1
jmp 0x100276b9
xor al, al
test cl, cl
je 0x100276c5
test al, al
je 0x10027808
cmp byte [0x100a460c], 0
je 0x100276f9
mov ecx, dword [edi + 4]
call fcn.1003d7e0
and eax, 0x7fffffff
mov dword [edi + 0x34], eax
cmp al, 0x8d
je 0x100276f9
inc dword [edi + 4]
mov ecx, dword [edi + 4]
call fcn.1003d7e0
and eax, 0x7fffffff
mov dword [edi + 0x34], eax
cmp al, 0x8d
jne 0x100276e2
cmp byte [0x100a460d], 0
je 0x10027808
mov eax, dword [0x100a4610]
sub eax, 1
je 0x10027746
sub eax, 1
je 0x10027730
sub eax, 1
movzx eax, byte [0x100a46ce]
push eax
push dword [esp + 0x18]
push ecx
push esi
push edi
jne 0x10027755
call fcn.10034900
jmp 0x1002775a
movzx eax, byte [0x100a46ce]
push eax
push dword [esp + 0x18]
push ecx
push esi
push edi
call fcn.10035980
jmp 0x1002775a
movzx eax, byte [0x100a46ce]
push eax
push dword [esp + 0x18]
push ecx
push esi
push edi
call fcn.10035330
mov ecx, dword [0x100a770c]
mov al, byte [0x100a46ce]
mov byte [esp + 0x13], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x100a46cc], 0
mov eax, dword [esp + 8]
movss xmm1, dword [eax + 0xbb0]
addss xmm1, xmm1
je 0x100277c8
cmp byte [esp + 0x13], 0
je 0x100277c8
movss xmm0, dword [0x100597dc]
subss xmm0, dword [esi]
subss xmm0, xmm1
movss dword [esi], xmm0
movss xmm1, dword [eax + 0xbb4]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm1
subss xmm0, dword [0x100597dc]
subss xmm0, xmm1
movss dword [edi + 0x10], xmm0
jmp 0x10027808
movss xmm0, dword [esi]
movss xmm2, dword [eax + 0xbb4]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xbb8]
addss xmm2, xmm2
addss xmm3, xmm3
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm2
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, xmm3
movss dword [esi + 8], xmm0
movzx eax, byte [0x102946f1]
xor ecx, ecx
cmp byte [0x100a444b], cl
cmovne eax, ecx
mov ecx, edi
mov byte [0x102946f1], al
call fcn.10026a10
jmp case.0x1002746e.0
cmp byte [0x100a444c], 0
je 0x1002784e
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
and dword [edi + 0x24], 0xfffffffe
jmp case.0x1002746e.0
cmp byte [0x100a46fd], 0
mov eax, 1
mov ecx, dword [esp + 8]
mov edx, edi
cmovne eax, dword [0x100a4704]
push eax
call fcn.10026560
add esp, 4
and dword [edi + 0x24], 0xfffffffe
jmp case.0x1002746e.0
cmp byte [0x100a444c], 0
je 0x10027895
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp case.0x1002746e.0
push dword [0x100a4704]
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.10026560
add esp, 4
cmp byte [0x100a4685], 0
je 0x100278ca
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100278ca
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.100410a0
push ecx
push edi
push ecx
mov ecx, 0x10285f4c
call fcn.1003e3a0
push dword [esp + 8]
push ecx
mov ecx, 0x100a966c
call fcn.1003b1f0
cmp byte [0x100a468f], 0
je 0x10027922
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1002790c
cmp byte [0x100a4690], 0
sete al
mov byte [0x100a4690], al
jmp 0x10027911
mov al, byte [0x100a4690]
test al, al
je 0x10027922
test byte [edi + 0x24], 1
jne 0x10027922
mov dword [edi + 8], 0x7fffffff
cmp byte [0x100a4686], 0
je 0x10027987
push dword [0x100a469c]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10027987
mov eax, 0x66666667
imul dword [esp + 0x28]
push str.engine.dll
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
cmp dword [esp + 0x2c], eax
sete byte [0x102946f1]
add dword [edi + 4], 0x1c2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add dword [eax + 0xe54e70], 0x1c2
mov eax, dword [0x20390990]
add dword [eax + 8], 0x1c2
cmp byte [0x102946f1], 0
je 0x100279b6
movss xmm0, dword [esi]
movss dword [0x100a8428], xmm0
movss xmm0, dword [esi + 4]
movss dword [0x100a842c], xmm0
movss xmm0, dword [esi + 8]
movss dword [0x100a8430], xmm0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10042c4e
mov esp, ebp
pop ebp
ret 0xc