Function at 0x10047d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d126d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov esi, dword [edx + 0x1c]
mov eax, dword [esi]
sub eax, 0
je 0x10047de5
sub eax, 1
je 0x10047dd4
xor ecx, ecx
xor esi, esi
jmp 0x10047df1
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
add ecx, 0x8c
add esi, 0x14
jmp 0x10047df1
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
add ecx, 0x64
add esi, 0xa
mov eax, dword [edx + 4]
add eax, ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 8]
add eax, esi
mov dword [ebp - 0x18], eax
lea esi, [ecx - 8]
mov eax, dword [edx + 0x10]
lea edi, [ecx - 0x16]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
add edx, 0x1b
add eax, 2
movd xmm2, esi
mov dword [ebp - 0x24], eax
cvtdq2ps xmm2, xmm2
movd xmm1, eax
lea eax, [ecx + 0x14]
movd xmm3, eax
mov eax, dword [ebp - 0x50]
cvtdq2ps xmm3, xmm3
add eax, edx
mov edx, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
subss xmm3, xmm1
cvtdq2ps xmm0, xmm0
subss xmm3, dword [0x100e5b74]
addss xmm0, xmm3
movss dword [ebp - 0x20], xmm3
addss xmm0, dword [0x100e5b4c]
cvttss2si eax, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffed
add eax, ecx
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x48], eax
cmp byte [0x101f5d49], 0
je 0x10047eac
cmp dword [0x101f6930], eax
jle 0x10047eac
cmp dword [0x101f6934], ecx
jle 0x10047eac
add eax, 0xc
cmp dword [0x101f6930], eax
jge 0x10047eac
lea eax, [ecx + 0xc]
cmp dword [0x101f6934], eax
jge 0x10047eac
mov byte [edx + 0xb6], 1
cmp byte [edx + 0x70], 0
je 0x1004816e
cvttss2si eax, xmm2
push 1
mov dword [ebp - 0x70], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10047f09
mov eax, dword [ebp - 0x48]
cmp dword [0x101f6930], eax
jle 0x10047f09
mov ecx, dword [ebp - 0x18]
inc ecx
cmp dword [0x101f6934], ecx
jle 0x10047f09
add eax, dword [ebp - 0x70]
mov edx, dword [0x101f6934]
cmp dword [0x101f6930], eax
jge 0x10047f09
mov eax, dword [ebp - 0x28]
add eax, ecx
cmp edx, eax
jge 0x10047f09
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x70], 1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0x14]
test ax, ax
je 0x10047f22
cmp byte [ecx + 0xb5], 0
je 0x10047f38
cmp byte [ecx + 0xb4], 0
je 0x10047f38
cmp byte [ecx + 0xb7], 0
jne 0x100480d7
mov eax, dword [ebp - 0x1c]
movd xmm1, dword [0x101f6930]
add eax, 2
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x50]
add eax, 0x11
add eax, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
movd xmm2, eax
comiss xmm1, xmm0
cvtdq2ps xmm2, xmm2
jbe 0x10047fb0
movd xmm3, edi
mov edi, dword [ebp - 0x24]
cvtdq2ps xmm3, xmm3
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x10047fb3
movd xmm1, dword [0x101f6934]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10047fb3
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x10047fb3
mov eax, dword [ecx + 0x1c]
mov word [ecx + 0xb4], 1
mov byte [ecx + 0xb7], 0
mov dword [eax + 0x38], ecx
jmp 0x10047fb3
mov edi, dword [ebp - 0x24]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1004804d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movd xmm3, dword [0x101f6930]
add edx, 0x10
movd xmm0, edi
mov eax, dword [ecx + 0x10]
add eax, edx
cvtdq2ps xmm0, xmm0
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
add eax, 4
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x100e5b64]
comiss xmm3, xmm0
jbe 0x1004804d
movd xmm2, esi
cvtdq2ps xmm2, xmm2
addss xmm0, xmm2
comiss xmm0, xmm3
jbe 0x1004804d
movd xmm2, dword [0x101f6934]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1004804d
movss xmm0, dword [ebp - 0x20]
addss xmm0, xmm1
comiss xmm0, xmm2
jbe 0x1004804d
mov eax, dword [ecx + 0x1c]
mov word [ecx + 0xb4], 0x100
mov byte [ecx + 0xb7], 0
mov dword [eax + 0x38], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x100480d7
mov eax, dword [ebp - 0x1c]
movd xmm4, dword [0x101f6930]
add eax, 4
movd xmm0, edi
cvtdq2ps xmm4, xmm4
movd xmm3, eax
mov eax, dword [ebp - 0x2c]
cvtdq2ps xmm3, xmm3
add eax, 0xffffffec
cvtdq2ps xmm0, xmm0
comiss xmm4, xmm3
subss xmm0, dword [0x100e5b08]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jbe 0x100480d7
movd xmm1, esi
cvtdq2ps xmm1, xmm1
addss xmm1, xmm3
comiss xmm1, xmm4
jbe 0x100480d7
movd xmm1, dword [0x101f6934]
mov esi, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x100480da
addss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x100480da
mov eax, dword [esi + 0x1c]
mov word [esi + 0xb4], 0
mov byte [esi + 0xb7], 1
mov dword [eax + 0x38], esi
jmp 0x100480da
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
movd xmm3, dword [0x101f6930]
add eax, 0x28
movd xmm2, dword [ebp - 0x18]
cvtdq2ps xmm3, xmm3
movd xmm4, eax
mov eax, dword [esi + 0x10]
add eax, eax
cvtdq2ps xmm4, xmm4
movd xmm0, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffec
cvtdq2ps xmm0, xmm0
movd xmm1, eax
addss xmm0, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
addss xmm0, dword [0x100e5bcc]
comiss xmm3, xmm1
cvtdq2ps xmm2, xmm2
jbe 0x10048147
addss xmm1, xmm4
comiss xmm1, xmm3
jbe 0x10048147
movd xmm1, dword [0x101f6934]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10048147
addss xmm0, xmm2
comiss xmm0, xmm1
ja 0x10048160
mov eax, dword [esi + 0x64]
mov word [esi + 0xb4], 0
mov byte [esi + 0xb7], 0
test eax, eax
je 0x10048160
call eax
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x38], esi
je 0x10048170
mov byte [esi + 0x70], 0
jmp 0x10048170
mov esi, edx
cmp byte [esi + 0xb6], 0
je 0x10048396
xor edi, edi
nop
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.copy
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.10035960
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x10208350
push eax
call fcn.100bd930
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffffffed
mov eax, dword [eax]
inc eax
imul eax, edi
add eax, dword [esi + 0xc]
add eax, ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
cmp ecx, 0xf
jbe 0x1004820c
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048202
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100483c3
push ecx
push edx
call fcn.100cf286
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.paste
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.10035960
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x10208350
push eax
call fcn.100bd930
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp ecx, 0xf
jbe 0x10048289
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004827f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100483c3
push ecx
push edx
call fcn.100cf286
add esp, 8
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
push str.copy
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x6c], xmm0
call fcn.10035960
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x10208350
push eax
call fcn.100bd930
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
cmp ecx, 0xf
jbe 0x10048306
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100482fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100483c3
push ecx
push edx
call fcn.100cf286
add esp, 8
mov edx, dword [0x101f6930]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, dword [ebp - 0x20]
jle 0x10048386
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x101f6934]
add eax, 2
mov esi, dword [ebp - 0x14]
cmp ecx, eax
jle 0x10048386
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
add esi, 5
add eax, esi
mov esi, dword [ebp - 0x14]
cmp edx, eax
jge 0x10048386
mov eax, dword [ebp - 0x18]
add eax, 2
add eax, dword [ebp - 0x28]
cmp ecx, eax
jge 0x10048386
cmp byte [0x101f5d3d], 0
je 0x10048386
test edi, edi
jne 0x1004836f
mov eax, dword [esi + 0x8c]
mov dword [0x10204b64], eax
jmp 0x1004837f
cmp edi, 1
jne 0x1004837f
mov eax, dword [0x10204b64]
mov dword [esi + 0x8c], eax
mov byte [esi + 0xb6], 0
inc edi
cmp edi, 2
jl 0x10048180
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x38], esi
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x100483a8
mov eax, dword [esi + 0x8c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cee06
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3