Function at 0x10020df0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f435
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10039040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10235214]
test ecx, ecx
jne 0x10020e65
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235214], ecx
cmp byte [ecx + 0x76], 0
mov edx, dword [0x102351fc]
je 0x10020e77
mov dword [edx], 0
cmp byte [ecx + 0x81], 0
je 0x10020e8a
mov dword [edx + 0x1278], 0x3f99999a
cmp byte [ecx + 0x73], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10020f75
push 0x56
call edi
test ax, ax
je 0x10020f69
mov esi, dword [0x102351fc]
movss xmm0, dword [esi + 0x13e4]
subss xmm0, dword [0x1003557c]
mulss xmm0, dword [0x10035460]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push ecx
xorps xmm3, xmm3
xorps xmm1, xmm1
cvtss2sd xmm0, xmm0
mov ecx, esi
mulsd xmm0, qword [0x100354a8]
xorps xmm0, xmmword [0x10035ae0]
cvtsd2ss xmm3, xmm0
movss xmm0, dword [ebp - 0x3c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100354a8]
xorps xmm0, xmmword [0x10035ae0]
cvtsd2ss xmm1, xmm0
movq xmm0, qword [esi + 0x50]
movq qword [ebp - 0x50], xmm0
xorps xmm0, xmm0
movss xmm2, dword [ebp - 0x50]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x4c]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm0, xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x10235214]
mov edx, dword [0x102351fc]
test ecx, ecx
jne 0x10020fac
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102351fc]
mov dword [0x10235214], ecx
cmp byte [ecx + 0x72], 0
je 0x10020fd1
test edx, edx
je 0x10020fd1
movss xmm0, dword [edx + 0x1278]
comiss xmm0, dword [0x1003546c]
jb 0x10020fd1
mov dword [edx + 0x1278], 0x3f99999a
cmp byte [ecx + 0x77], 0
je 0x100210a0
push 0x20
call edi
test ax, ax
je 0x10021094
mov esi, dword [0x102351fc]
movss xmm0, dword [esi + 0x13e4]
subss xmm0, dword [0x1003557c]
mulss xmm0, dword [0x10035460]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov eax, dword [esi + 0x58]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x50]
xorps xmm2, xmm2
mulss xmm1, xmm2
mulss xmm3, xmm2
xorps xmm1, xmmword [0x10035af0]
movq qword [ebp - 0x50], xmm0
movss xmm2, dword [ebp - 0x50]
xorps xmm3, xmmword [0x10035af0]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x48]
addss xmm1, dword [0x10035468]
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x10235214]
mov edx, dword [0x102351fc]
test ecx, ecx
jne 0x100210d7
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102351fc]
mov dword [0x10235214], ecx
cmp byte [ecx + 0x63], 1
jne 0x10021127
movd xmm0, dword [ecx + 0x6c]
movss xmm1, dword [edx + 0x4f4]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10021106
mov dword [edx + 0x1370], 1
mov dword [edx + 0x13f0], 2
movd xmm0, dword [ecx + 0x6c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x10021127
mov dword [edx + 0x1370], 0
mov dword [edx + 0x13f0], 0
cmp byte [ecx + 0x8a], 0
je 0x10021150
push 0x47
call edi
mov edx, dword [0x102351fc]
mov ecx, dword [0x10235214]
test ax, ax
je 0x10021150
mov eax, dword [0x10235210]
mov dword [eax], 0
cmp dword [edx + 0x1238], 0
je 0x100211e6
test ecx, ecx
jne 0x10021194
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102351fc]
mov dword [0x10235214], ecx
cmp byte [ecx + 0x74], 0
je 0x100211aa
mov eax, dword [edx + 0x1238]
mov dword [eax + 0x2ec], 0
cmp byte [ecx + 0x75], 0
je 0x100211c0
mov eax, dword [edx + 0x1238]
mov dword [eax + 0x2ec], 0x3f800000
cmp byte [ecx + 0x7a], 0
je 0x100211d6
mov eax, dword [edx + 0x1238]
mov dword [eax + 0x2e0], 0
cmp byte [ecx + 0x79], 0
je 0x100211e6
mov eax, dword [edx + 0x1238]
mov byte [eax + 0x30], 1
test ecx, ecx
jne 0x1002121d
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 0xd
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102351fc]
mov dword [0x10235214], ecx
cmp byte [ecx + 0x62], 0
je 0x10021242
push 0x51
call edi
mov edx, dword [0x102351fc]
mov ecx, dword [0x10235214]
test ax, ax
je 0x10021242
mov dword [edx + 0x14d0], 0
test ecx, ecx
jne 0x10021279
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 0xe
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102351fc]
mov dword [0x10235214], ecx
cmp byte [ecx + 0xa5], 0
je 0x10021288
mov dword [edx], 0x497423f0
cmp byte [ecx + 0x61], 0
je 0x10021298
mov dword [edx + 0x3fc], 0
cmp byte [ecx + 0x46], 0
je 0x10021367
push 0x20
call edi
test ax, ax
je 0x1002135b
mov esi, dword [0x102351fc]
movss xmm0, dword [esi + 0x13e4]
subss xmm0, dword [0x1003557c]
mulss xmm0, dword [0x10035460]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov eax, dword [esi + 0x58]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x50]
xorps xmm2, xmm2
mulss xmm1, xmm2
mulss xmm3, xmm2
xorps xmm1, xmmword [0x10035af0]
movq qword [ebp - 0x50], xmm0
movss xmm2, dword [ebp - 0x50]
xorps xmm3, xmmword [0x10035af0]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x48]
addss xmm1, dword [0x10035468]
addss xmm0, xmm3
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x10235214]
mov edx, dword [0x102351fc]
test ecx, ecx
jne 0x1002139e
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 0x11
call fcn.1002a490
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102351fc]
mov dword [0x10235214], ecx
cmp byte [ecx + 0x70], 0
je 0x100213bf
push 0x20
call edi
mov edx, dword [0x102351fc]
mov ecx, dword [0x10235214]
test ax, ax
je 0x100213bf
mov dword [edx], 0x41500000
test ecx, ecx
jne 0x100213ef
push 0x4c4
call fcn.1002dc43
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 0x12
call fcn.1002a490
mov edx, dword [0x102351fc]
mov ecx, eax
mov dword [0x10235214], ecx
cmp byte [ecx + 0x5f], 0
je 0x10021419
test edx, edx
je 0x10021419
movd xmm0, dword [ecx + 0x54]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [edx + 0x4f4]
jb 0x10021419
mov eax, dword [0x10235210]
mov dword [eax + 0xd1c48], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002d6a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret