Function at 0x10018280
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x1005200c]
xor eax, esp
mov dword [esp + 0x70], eax
movss xmm0, dword [ecx + 0xe0]
movss xmm1, dword [ecx + 0xe4]
mov eax, dword [ecx + 0x134]
push ebx
push esi
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ecx + 0xe8]
push edi
mov edi, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], eax
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm0
mov byte [esp + 0x32], 1
mov byte [esp + 0x38], 0
call fcn.1000bd10
movaps xmm0, xmmword [0x1004d180]
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x74], 0xe
mov al, byte [eax]
movaps xmm0, xmmword [0x1004d1b0]
not al
and al, 1
mov dword [esp + 0x78], 7
cmp byte [0x10febd28], 0
mov byte [esp + 0x33], al
movups xmmword [esp + 0x64], xmm0
je case.default.0x1001883b
mov esi, dword [0x1006c4bc]
mov ebx, dword [esi + 0x14]
cmp ebx, 1
jl 0x10018488
mov ecx, dword [0x1006c4b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp ebx, eax
je 0x10018474
mov ecx, dword [0x1006c4c0]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10018474
mov ecx, dword [0x1006c4b4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov ecx, dword [0x1006c4c0]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x1006c4c0]
mov dword [esp + 0x48], eax
push dword [eax + 0xb38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov ecx, eax
test ecx, ecx
jne 0x1001839c
xor esi, esi
jmp 0x100183a3
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x87], 0
jne 0x10018474
mov ecx, dword [0x1006c4c0]
mov edx, dword [esp + 0x48]
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x10018af1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
je 0x10018af1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
test byte [edi + 0x24], 0x20
jne 0x10018af1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10018416
cmp eax, 0x1d
jg 0x10018416
cmp eax, 4
je 0x10018af1
mov eax, dword [0x10febd50]
test eax, eax
jne 0x10018434
mov ecx, esi
call fcn.1000c120
cmp eax, 0x1c
je 0x10018af1
mov eax, dword [0x10febd50]
cmp eax, 2
jne 0x1001844c
mov eax, dword [edi + 0x24]
and eax, 0x801
cmp eax, 0x801
je 0x10018af1
cmp byte [0x10feba76], 0
jne 0x1001846f
mov ecx, dword [esp + 0x48]
call fcn.1000bb40
mov ecx, dword [esp + 0x4c]
mov esi, eax
call fcn.1000bb40
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x10018474
mov byte [esp + 0x32], 0
dec ebx
cmp ebx, 1
jge 0x10018331
mov esi, dword [0x1006c4bc]
mov al, byte [esp + 0x33]
cmp byte [0x10febd31], 0
je 0x1001849c
cmp byte [esp + 0x32], 0
jne 0x10018af1
cmp byte [0x10febd8f], 0
mov ebx, 1
je 0x100184b4
test al, al
mov ecx, ebx
cmovne ecx, dword [ebp + 8]
jmp 0x100184cb
cmp byte [0x10febd8d], 0
je 0x100184c8
mov eax, dword [0x11e39414]
mov ecx, dword [esp + eax*4 + 0x54]
jmp 0x100184cb
mov ecx, dword [ebp + 8]
movd xmm0, ecx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100184df
movaps xmm0, xmm1
jmp 0x100184e7
minss xmm0, dword [0x1004d00c]
movss xmm2, dword [esp + 0x34]
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm0, xmm2
movss dword [esp + 0x40], xmm0
call fcn.1000ba40
comiss xmm0, dword [0x1004d000]
jae 0x1001851a
movaps xmm0, xmm1
cmp byte [0x10febd8c], 0
je 0x1001872e
mov eax, dword [0x10febd90]
test eax, eax
jne 0x10018551
mov eax, dword [0x11e39418]
test eax, eax
js 0x1001853a
inc eax
xor ecx, ecx
cmp eax, 4
cmove eax, ecx
test edx, edx
mov dword [0x11e39418], eax
setg cl
jmp 0x100186d3
cmp eax, 1
jne 0x10018560
test edx, edx
setg cl
jmp 0x100186d3
cmp eax, 2
jne 0x10018586
mov eax, dword [0x11e39424]
test eax, eax
js 0x1001856f
inc eax
xor ecx, ecx
cmp eax, 0x15
cmove eax, ecx
test edx, edx
mov dword [0x11e39424], eax
setg cl
jmp 0x100186d3
cmp eax, 3
jne 0x100185b7
cvttss2si eax, dword [esi + 0x1c]
neg eax
cmp eax, 0x44
jle 0x100185a6
xor eax, eax
cmp edx, ecx
setg al
cmp eax, 1
setb cl
jmp 0x100185a8
mov cl, bl
test edx, edx
jle 0x100186d3
mov cl, bl
jmp 0x100186d3
cmp eax, 4
jne 0x10018636
movss xmm1, dword [esi + 0x1c]
sub esp, 8
mulss xmm1, xmm0
movss xmm0, dword [0x1004d044]
divss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
fld dword [esp + 0x3c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movd xmm0, dword [0x10febd94]
add esp, 8
movss xmm2, dword [0x1004cf24]
cvtdq2ps xmm0, xmm0
fstp dword [esp + 0x34]
comiss xmm2, xmm0
ja 0x10018628
movss xmm1, dword [esp + 0x34]
comiss xmm2, xmm1
jbe 0x10018621
movaps xmm0, xmm2
cvttss2si eax, xmm0
test eax, eax
setg cl
jmp 0x100186d3
minss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
test eax, eax
setg cl
jmp 0x100186d3
cmp eax, 5
jne 0x100186cf
mov ecx, dword [0x100683b0]
mov eax, 0x66666667
imul ecx
push 0x10047cf8
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
sete byte [0x11e38c78]
add dword [edi + 4], 0x1c2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x100683b0]
add dword [eax + 0xe54e70], 0x1c2
mov eax, 0x66666667
mov esi, dword [0x20390990]
imul ecx
add dword [esi + 8], 0x1c2
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
sete byte [0x11e38c78]
add dword [edi + 4], 0x4380
mov eax, dword [0x2039539c]
add eax, 0x4380
mov dword [0x2039539c], eax
add dword [esi + 8], 0x4380
mov ecx, dword [esp + 0x38]
movzx eax, cl
xor ecx, ecx
cmp byte [0x100683a5], cl
cmovne eax, ecx
test al, al
sete cl
mov byte [0x11e38c78], cl
test cl, cl
jne 0x10018702
mov eax, dword [0x100683b4]
cmp eax, 0xe
jl 0x10018757
mov cl, bl
mov byte [0x11e38c78], cl
mov dword [0x100683b4], 0
cmp dword [esp + 0x50], 9
je case.default.0x1001883b
mov eax, dword [0x10febda8]
mov ebx, dword [esp + 0x3c]
cmp eax, 1
jne 0x1001875f
push edi
push ebx
call fcn.10037f70
jmp 0x10018770
cmp byte [0x10febd28], 0
je 0x100186cf
cmp byte [0x11e39530], 0
mov ecx, dword [esp + 0x38]
sete al
movzx ecx, cl
test al, al
mov byte [0x11e39530], al
cmovne ecx, ebx
jmp 0x100186d3
inc eax
mov dword [0x100683b4], eax
jmp 0x1001870c
cmp eax, 2
jne 0x10018776
push edi
push ebx
mov ecx, 0x11dca228
call fcn.100381c0
mov cl, byte [0x11e38c78]
cmp byte [0x10febd2f], 0
je 0x100188f9
movss xmm0, dword [esp + 0x44]
mulss xmm0, xmm0
addss xmm0, dword [esp + 0x40]
call fcn.1000ba40
movss xmm1, dword [0x1004d098]
comiss xmm1, xmm0
jbe 0x100188f9
mov eax, dword [0x10febd4c]
movss xmm3, dword [0x1004d07c]
test eax, eax
je 0x1001881a
cmp eax, 1
jne 0x100187c3
test cl, cl
jmp 0x10018818
cmp eax, 2
jne 0x100187ce
test cl, cl
jne 0x1001881d
jmp 0x1001881a
cmp eax, 3
jne 0x100187ea
mov eax, dword [0x10febd80]
test cl, cl
cmovne eax, dword [0x10febd7c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jmp 0x1001881d
cmp eax, 4
jne 0x100188f9
test cl, cl
je 0x10018808
cmp byte [0x11e38be5], 0
sete al
mov byte [0x11e38be5], al
jmp 0x10018816
mov al, byte [0x11e38be5]
test al, al
setne byte [0x11e38be7]
test al, al
je 0x1001881d
xorps xmm3, xmm3
push edi
push ebx
call fcn.10038410
test al, al
je 0x100188f9
mov eax, dword [0x10febd54]
dec eax
cmp eax, 8
ja case.default.0x1001883b
jmp dword [eax*4 + 0x10018b04]
mov dword [edi + 0xc], 0x43340000
jmp case.default.0x1001883b
mov dword [edi + 0xc], 0xc3340000
jmp case.default.0x1001883b
mov dword [edi + 0xc], 0x428c0000
jmp case.default.0x1001883b
mov dword [edi + 0xc], 0xc333fd71
jmp case.default.0x1001883b
mov dword [edi + 0xc], 0x492a2d90
jmp case.default.0x1001883b
mov dword [edi + 0xc], 0x492a2270
jmp case.default.0x1001883b
cmp byte [0x11e38c78], 0
je 0x100188a5
movss xmm0, dword [0x1004d0e0]
movss dword [edi + 0xc], xmm0
jmp case.default.0x1001883b
movss xmm0, dword [0x1004d0dc]
movss dword [edi + 0xc], xmm0
jmp case.default.0x1001883b
cmp byte [0x11e38c78], 0
je 0x100188d2
movss xmm0, dword [0x1004d0dc]
movss dword [edi + 0xc], xmm0
jmp case.default.0x1001883b
movss xmm0, dword [0x1004d0e0]
movss dword [edi + 0xc], xmm0
jmp case.default.0x1001883b
movd xmm0, dword [0x10febd88]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm0
jmp case.default.0x1001883b
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x46
call esi
test al, 1
je 0x10018915
cmp byte [0x10febd2b], 0
sete byte [0x10febd2b]
mov ecx, edi
call fcn.100179b0
cmp byte [0x10febd2a], 0
je 0x10018985
call fcn.1002c9d0
push 0x46
call esi
test al, 1
je 0x10018940
cmp byte [0x10febd2b], 0
sete byte [0x10febd2b]
mov ecx, dword [0x1006c4ac]
push 0x10047d04
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x11e39510], 0
mov edx, ebx
mov ecx, edi
sete al
cmp byte [0x11e38c78], 0
mov byte [0x11e39510], al
je 0x10018972
push 0
jmp 0x10018979
test al, al
push 1
sete al
movzx eax, al
push eax
call fcn.10017a60
add esp, 8
mov eax, dword [0x10febd58]
cmp eax, 2
jne 0x10018a20
call fcn.1002c9d0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1004cf30]
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [0x11e39524]
movss dword [esp + 0x44], xmm0
jb 0x100189f9
mov ecx, dword [0x1006c4ac]
push str.mp_facefronttime
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [0x11e39520], 0
movss xmm0, dword [eax + 0x28]
sete al
mulss xmm0, dword [0x1004cef8]
mov byte [0x11e39520], al
addss xmm0, dword [esp + 0x44]
movss dword [0x11e39524], xmm0
jmp 0x100189fe
mov al, byte [0x11e39520]
cmp byte [0x11e38c78], 0
mov edx, ebx
mov ecx, edi
je 0x10018a13
push 0
movzx eax, al
push eax
jmp 0x10018a6a
test al, al
push 1
sete al
movzx eax, al
push eax
jmp 0x10018a6a
cmp byte [0x11e38c78], 0
je 0x10018a2f
push 0
push 0
jmp 0x10018a66
cmp eax, 1
jne 0x10018a62
cmp dword [0x100683b4], eax
jne 0x10018a4b
mov al, al
mov byte [0x11e39528], al
push 1
movzx eax, al
push eax
jmp 0x10018a66
cmp byte [0x11e39528], 0
push 1
sete al
mov byte [0x11e39528], al
movzx eax, al
push eax
jmp 0x10018a66
push 1
push 1
mov edx, ebx
mov ecx, edi
call fcn.10017a60
add esp, 8
cmp byte [0x10febd30], 0
je case.default.0x1001883b
mov ecx, dword [edi + 0x24]
test cl, 4
je 0x10018ae3
cmp byte [esp + 0x33], 0
jne 0x10018ae3
cmp byte [0x11e3952a], 0
jne 0x10018ab1
movss xmm0, dword [ebx + 0xdc]
ucomiss xmm0, dword [0x1004d028]
lahf
test ah, 0x44
jp case.default.0x1001883b
mov byte [0x11e3952a], 1
jmp case.default.0x1001883b
movss xmm1, dword [ebx + 0xdc]
ucomiss xmm1, dword [0x1004d044]
lahf
test ah, 0x44
jp 0x10018ace
or ecx, 4
mov dword [edi + 0x24], ecx
jmp case.default.0x1001883b
movss xmm0, dword [0x1004d040]
comiss xmm0, xmm1
jb case.default.0x1001883b
and ecx, 0xfffffffb
mov dword [edi + 0x24], ecx
jmp case.default.0x1001883b
mov byte [0x11e3952a], 0
mov byte [0x100683a5], 0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003da32
mov esp, ebp
pop ebp
ret