Function at 0x10042200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c25cd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100e2040]
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 0x10042255
sub eax, 1
je 0x10042244
xor ecx, ecx
xor esi, esi
jmp 0x10042261
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
add ecx, 0x8c
add esi, 0x14
jmp 0x10042261
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 [0x100d62bc]
addss xmm0, xmm3
movss dword [ebp - 0x20], xmm3
addss xmm0, dword [0x100d629c]
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 [0x100f7c91], 0
je 0x1004231c
cmp dword [0x100f8878], eax
jle 0x1004231c
cmp dword [0x100f887c], ecx
jle 0x1004231c
add eax, 0xc
cmp dword [0x100f8878], eax
jge 0x1004231c
lea eax, [ecx + 0xc]
cmp dword [0x100f887c], eax
jge 0x1004231c
mov byte [edx + 0xb2], 1
cmp byte [edx + 0x6c], 0
je 0x100425de
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 0x10042379
mov eax, dword [ebp - 0x48]
cmp dword [0x100f8878], eax
jle 0x10042379
mov ecx, dword [ebp - 0x18]
inc ecx
cmp dword [0x100f887c], ecx
jle 0x10042379
add eax, dword [ebp - 0x70]
mov edx, dword [0x100f887c]
cmp dword [0x100f8878], eax
jge 0x10042379
mov eax, dword [ebp - 0x28]
add eax, ecx
cmp edx, eax
jge 0x10042379
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x6c], 1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0x14]
test ax, ax
je 0x10042392
cmp byte [ecx + 0xb1], 0
je 0x100423a8
cmp byte [ecx + 0xb0], 0
je 0x100423a8
cmp byte [ecx + 0xb3], 0
jne 0x10042547
mov eax, dword [ebp - 0x1c]
movd xmm1, dword [0x100f8878]
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 0x10042420
movd xmm3, edi
mov edi, dword [ebp - 0x24]
cvtdq2ps xmm3, xmm3
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x10042423
movd xmm1, dword [0x100f887c]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10042423
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x10042423
mov eax, dword [ecx + 0x1c]
mov word [ecx + 0xb0], 1
mov byte [ecx + 0xb3], 0
mov dword [eax + 0x38], ecx
jmp 0x10042423
mov edi, dword [ebp - 0x24]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x100424bd
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movd xmm3, dword [0x100f8878]
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 [0x100d62ac]
comiss xmm3, xmm0
jbe 0x100424bd
movd xmm2, esi
cvtdq2ps xmm2, xmm2
addss xmm0, xmm2
comiss xmm0, xmm3
jbe 0x100424bd
movd xmm2, dword [0x100f887c]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x100424bd
movss xmm0, dword [ebp - 0x20]
addss xmm0, xmm1
comiss xmm0, xmm2
jbe 0x100424bd
mov eax, dword [ecx + 0x1c]
mov word [ecx + 0xb0], pe_nt_image_headers32
mov byte [ecx + 0xb3], 0
mov dword [eax + 0x38], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10042547
mov eax, dword [ebp - 0x1c]
movd xmm4, dword [0x100f8878]
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 [0x100d6278]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jbe 0x10042547
movd xmm1, esi
cvtdq2ps xmm1, xmm1
addss xmm1, xmm3
comiss xmm1, xmm4
jbe 0x10042547
movd xmm1, dword [0x100f887c]
mov esi, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004254a
addss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x1004254a
mov eax, dword [esi + 0x1c]
mov word [esi + 0xb0], 0
mov byte [esi + 0xb3], 1
mov dword [eax + 0x38], esi
jmp 0x1004254a
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
movd xmm3, dword [0x100f8878]
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 [0x100d62fc]
comiss xmm3, xmm1
cvtdq2ps xmm2, xmm2
jbe 0x100425b7
addss xmm1, xmm4
comiss xmm1, xmm3
jbe 0x100425b7
movd xmm1, dword [0x100f887c]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x100425b7
addss xmm0, xmm2
comiss xmm0, xmm1
ja 0x100425d0
mov eax, dword [esi + 0x64]
mov word [esi + 0xb0], 0
mov byte [esi + 0xb3], 0
test eax, eax
je 0x100425d0
call eax
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x38], esi
je 0x100425e0
mov byte [esi + 0x6c], 0
jmp 0x100425e0
mov esi, edx
cmp byte [esi + 0xb2], 0
je 0x10042806
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.100302c0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x1012474c
push eax
call fcn.100afd10
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 0x1004267c
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10042672
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042833
push ecx
push edx
call fcn.100bfaf1
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.100302c0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x1012474c
push eax
call fcn.100afd10
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp ecx, 0xf
jbe 0x100426f9
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100426ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042833
push ecx
push edx
call fcn.100bfaf1
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.100302c0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x1012474c
push eax
call fcn.100afd10
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
cmp ecx, 0xf
jbe 0x10042776
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004276c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042833
push ecx
push edx
call fcn.100bfaf1
add esp, 8
mov edx, dword [0x100f8878]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, dword [ebp - 0x20]
jle 0x100427f6
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x100f887c]
add eax, 2
mov esi, dword [ebp - 0x14]
cmp ecx, eax
jle 0x100427f6
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 0x100427f6
mov eax, dword [ebp - 0x18]
add eax, 2
add eax, dword [ebp - 0x28]
cmp ecx, eax
jge 0x100427f6
cmp byte [0x100f7c85], 0
je 0x100427f6
test edi, edi
jne 0x100427df
mov eax, dword [esi + 0x88]
mov dword [0x10121424], eax
jmp 0x100427ef
cmp edi, 1
jne 0x100427ef
mov eax, dword [0x10121424]
mov dword [esi + 0x88], eax
mov byte [esi + 0xb2], 0
inc edi
cmp edi, 2
jl 0x100425f0
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x38], esi
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x10042818
mov eax, dword [esi + 0x88]
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.100bf676
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3