Function at 0x1003fb60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x10040354
cmp byte [esi + 1], 0
jne 0x10040354
cmp byte [0x101344b3], 0
je 0x10040354
call fcn.10039520
mov edi, eax
push 0x70
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1003fbc1
cmp byte [esi + 0x2a], 0
mov byte [esi + 0x18], 1
sete al
mov byte [esi + 0x2a], al
cmp byte [esi + 0x2a], 0
je 0x10040354
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1003fbf1
mov eax, dword [0x1015d5b8]
inc eax
mov dword [0x1015d5b8], eax
cmp eax, 7
jbe 0x1003fbf1
mov dword [0x1015d5b8], 0
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1003fc0b
cmp byte [0x1010a5e3], 0
sete byte [0x1010a5e3]
mov eax, dword [0x1015d5b8]
test eax, eax
je 0x1003fc7f
cmp eax, 1
je 0x1003fc7f
cmp eax, 2
jne 0x1003fc2a
mov dword [0x1012da84], 0x3c5a740e
jmp 0x1003fc89
cmp eax, 3
jne 0x1003fc3b
mov dword [0x1012da84], 0x3c23d70a
jmp 0x1003fc89
cmp eax, 4
jne 0x1003fc4c
mov dword [0x1012da84], 0x3c088889
jmp 0x1003fc89
cmp eax, 5
jne 0x1003fc5d
mov dword [0x1012da84], 0x3be38e39
jmp 0x1003fc89
cmp eax, 6
jne 0x1003fc6e
mov dword [0x1012da84], 0x3b888889
jmp 0x1003fc89
cmp eax, 7
jne 0x1003fc89
mov dword [0x1012da84], 0x3a83126f
jmp 0x1003fc89
mov dword [0x1012da84], 0x3c888889
mov ecx, esi
call fcn.1003fa30
test al, al
je 0x1003fc9d
call fcn.10040360
mov byte [esi + 0x18], 0
mov eax, dword [edi]
push edi
call dword [eax + 0xa4]
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [esi + 0x2a], 0
mov eax, edi
je 0x10040340
mov ecx, dword [edi]
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push edx
push 0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
push dword [esi + 4]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xb4
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [eax + 0x24]
add dword [ebp - 0x30], 2
sub dword [ebp - 0x28], 2
add dword [ebp - 0x2c], 2
sub dword [ebp - 0x24], 2
mov edx, dword [0x10148c14]
mov dword [ebp - 8], 0xd50bb3a0
mov dword [ebp - 4], 0xca09e1d1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0xd5b32706
mov dword [ebp - 4], 0xa1ceb1dc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0xd50bd785
mov dword [ebp - 4], 0xca09e1d1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
push edx
mov dword [ebp - 8], 0xd5b32706
mov dword [ebp - 4], 0xa1ceb1dc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movaps xmm1, xmmword [ebp - 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0x32
add eax, 0xfffffffb
mov dword [ebp - 0x34], ecx
xorps xmm1, xmmword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x30]
push 0x23
add eax, 3
movaps xmmword [ebp - 0x20], xmm1
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
add esp, 0x2c
mov eax, edi
cmp byte [esi + 0x20], 0
je 0x10040340
call fcn.10039690
test eax, eax
je 0x1003fdfb
call fcn.10039690
mov dword [ebp - 4], edi
movss xmm0, dword [eax + 0x1ebb00]
comiss xmm0, dword [0x1015d5c4]
jbe 0x1003fe08
lea eax, [esi + 0xc]
movss dword [0x1015d5c4], xmm0
mov dword [ebp - 4], eax
jmp 0x1003fe08
mov dword [0x1015d5c4], 0
mov dword [ebp - 4], edi
movss xmm0, dword [0x1015d5d4]
sub esp, 0x10
movsd xmm3, qword [0x1012da88]
mulss xmm0, dword [0x100ecf34]
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xe42cc9f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd59a4134
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
cvtps2pd xmm2, xmm0
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
movsd qword [esp + 8], xmm2
movsd qword [esp], xmm3
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0x50
add eax, 0xfffffffb
mov dword [ebp - 0x44], ecx
xorps xmm1, xmmword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x30]
push 0x41
add eax, 3
movaps xmmword [ebp - 0x40], xmm1
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
movss xmm2, dword [0x1015d5dc]
movss xmm3, dword [0x1015d5e4]
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xe42cc9f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd59a4134
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
xorps xmm1, xmmword [ebp - 0x50]
cvtps2pd xmm2, xmm2
cvtps2pd xmm3, xmm3
movaps xmmword [ebp - 0x40], xmm1
add esp, 0x28
lea eax, [ebp - 0x40]
movsd qword [esp + 8], xmm2
movsd qword [esp], xmm3
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0x5f
add eax, 0xfffffffb
push eax
mov eax, dword [ebp - 0x30]
push 0x50
add eax, 3
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
movss xmm2, dword [0x1015d5e0]
add esp, 0x28
movss xmm3, dword [0x1015d5c0]
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xe42cc9f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd59a4134
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
cvtps2pd xmm2, xmm2
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
movsd qword [esp + 8], xmm2
cvtps2pd xmm3, xmm3
mov dword [ebp - 0x44], ecx
xorps xmm1, xmmword [ebp - 0x50]
movsd qword [esp], xmm3
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0x6e
add eax, 0xfffffffb
movaps xmmword [ebp - 0x40], xmm1
push eax
mov eax, dword [ebp - 0x30]
push 0x5f
add eax, 3
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
movss xmm2, dword [0x1015d5cc]
movss xmm3, dword [0x1015d5d0]
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xe42cc9f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd59a4134
cvtps2pd xmm2, xmm2
mov dword [ebp - 0x14], 0xa1ceb1dc
cvtps2pd xmm3, xmm3
mov eax, dword [ebp - 0x18]
add esp, 0x28
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movsd qword [esp + 8], xmm2
mov dword [ebp - 0x50], eax
movsd qword [esp], xmm3
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0xffb5b5b5
push 6
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
movaps xmm1, xmmword [ebp - 0x40]
add eax, 0xfffffffb
push 0x7d
push eax
mov eax, dword [ebp - 0x30]
push 0x6e
add eax, 3
mov dword [ebp - 0x44], ecx
xorps xmm1, xmmword [ebp - 0x50]
push eax
push dword [esi + 0x10]
movaps xmmword [ebp - 0x40], xmm1
push esi
call fcn.10040e80
movss xmm2, dword [0x1015d5c8]
add esp, 0x28
movss xmm3, dword [0x1015d5d8]
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xe42cc9f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd59a4134
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cvtps2pd xmm2, xmm2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
cvtps2pd xmm3, xmm3
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
movaps xmm1, xmmword [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x50]
movsd qword [esp + 8], xmm2
movsd qword [esp], xmm3
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0x8c
add eax, 0xfffffffb
movaps xmmword [ebp - 0x40], xmm1
push eax
mov eax, dword [ebp - 0x30]
push 0x7d
add eax, 3
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
movss xmm2, dword [0x1015d5c4]
add esp, 0x30
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
cvtps2pd xmm2, xmm2
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
movsd qword [esp], xmm2
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0x9b
add eax, 0xfffffffb
mov dword [ebp - 0x44], ecx
xorps xmm1, xmmword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x30]
push 0x8c
add eax, 3
movaps xmmword [ebp - 0x40], xmm1
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
movss xmm2, dword [0x1015d5bc]
mov dword [ebp - 0x18], 0xb339f9a0
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xd50bd785
mov dword [ebp - 0x14], 0xca09e1d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd5b32706
mov dword [ebp - 0x14], 0xa1ceb1dc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
cvtps2pd xmm2, xmm2
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
add esp, 0x28
xorps xmm1, xmmword [ebp - 0x50]
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm1
movsd qword [esp], xmm2
push eax
mov eax, dword [ebp - 0x28]
push 0
push 0xffb5b5b5
push 6
push 0xaa
add eax, 0xfffffffb
push eax
mov eax, dword [ebp - 0x30]
push 0x9b
add eax, 3
push eax
push dword [esi + 0x10]
push esi
call fcn.10040e80
mov eax, dword [ebp - 4]
add esp, 0x30
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xa8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret