Function at 0x1004230e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1008500c]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x10086014]
mov dword [esp], ecx
push esi
push edi
test eax, eax
je case.0x10042a18.527
mov esi, dword [eax + 0x74]
lea edi, [eax + 8]
mov dword [esp + 0x38], esi
cmp edx, 0x200
ja 0x10042a00
je 0x10042998
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x10042a18.527
movzx eax, byte [eax + 0x10042bfc]
jmp dword [eax*4 + 0x10042be8]
cmp edx, 0x100
je 0x10042323
mov byte [esp + 0x38], 0
cmp edx, 0x104
jne 0x10042328
mov byte [esp + 0x38], 1
cmp dword [ebp + 8], 0x100
jae case.0x10042a18.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 8], al
je 0x10042372
test al, al
je 0x1004235f
movss xmm3, dword [0x1008024c]
jmp 0x10042362
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, edi
push 0x1000
call fcn.1001c9c0
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 8], al
je 0x100423a9
test al, al
je 0x10042396
movss xmm3, dword [0x1008024c]
jmp 0x10042399
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, edi
push 0x2000
call fcn.1001c9c0
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 8], al
je 0x100423e0
test al, al
je 0x100423cd
movss xmm3, dword [0x1008024c]
jmp 0x100423d0
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, edi
push 0x4000
call fcn.1001c9c0
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 8], al
je 0x10042417
test al, al
je 0x10042404
movss xmm3, dword [0x1008024c]
jmp 0x10042407
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, edi
push 0x8000
call fcn.1001c9c0
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x10042432
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.10041d70
test eax, eax
je 0x1004244d
mov dl, byte [esp + 0x38]
push ecx
push esi
mov ecx, eax
call fcn.10041380
add esp, 8
cmp esi, 0x10
jne 0x10042529
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
mov cl, byte [esp + 0x38]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x100424b6
mov eax, dword [0x10086014]
cmp byte [eax + 0x3769], 0
lea edi, [eax + 8]
je 0x100424a2
test cl, cl
je 0x1004248f
movss xmm3, dword [0x1008024c]
jmp 0x10042492
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x210
call fcn.1001c9c0
mov dword [edi + 0x334], 0x210
mov dword [edi + 0x8f4], 0xa0
push 0xa1
call esi
mov cl, byte [esp + 0x38]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10042a18.527
mov esi, dword [0x10086014]
cmp byte [esi + 0x3769], 0
je 0x10042502
test cl, cl
je 0x100424eb
movss xmm0, dword [0x1008024c]
jmp 0x100424ee
xorps xmm0, xmm0
push dword [esp + 0x38]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.1001c9c0
mov dword [esi + 0x340], 0x214
xor eax, eax
mov dword [esi + 0x90c], 0xa1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x10042605
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
mov cl, byte [esp + 0x38]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10042592
mov eax, dword [0x10086014]
cmp byte [eax + 0x3769], 0
lea edi, [eax + 8]
je 0x1004257e
test cl, cl
je 0x1004256b
movss xmm3, dword [0x1008024c]
jmp 0x1004256e
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x20f
call fcn.1001c9c0
mov dword [edi + 0x33c], 0x20f
mov dword [edi + 0x8f0], 0xa2
push 0xa3
call esi
mov cl, byte [esp + 0x38]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10042a18.527
mov esi, dword [0x10086014]
cmp byte [esi + 0x3769], 0
je 0x100425de
test cl, cl
je 0x100425c7
movss xmm0, dword [0x1008024c]
jmp 0x100425ca
xorps xmm0, xmm0
push dword [esp + 0x38]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.1001c9c0
mov dword [esi + 0x348], 0x213
xor eax, eax
mov dword [esi + 0x908], 0xa3
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x10042a18.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
mov cl, byte [esp + 0x38]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1004266e
mov eax, dword [0x10086014]
cmp byte [eax + 0x3769], 0
lea edi, [eax + 8]
je 0x1004265a
test cl, cl
je 0x10042647
movss xmm3, dword [0x1008024c]
jmp 0x1004264a
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x211
call fcn.1001c9c0
mov dword [edi + 0x344], 0x211
mov dword [edi + 0x8f8], 0xa4
push 0xa5
call esi
mov cl, byte [esp + 0x38]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10042a18.527
mov esi, dword [0x10086014]
cmp byte [esi + 0x3769], 0
je 0x100426ba
test cl, cl
je 0x100426a3
movss xmm0, dword [0x1008024c]
jmp 0x100426a6
xorps xmm0, xmm0
push dword [esp + 0x38]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.1001c9c0
mov dword [esi + 0x350], 0x215
xor eax, eax
mov dword [esi + 0x910], 0xa5
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
mov esi, dword [0x10086014]
cmp edx, 7
mov edx, dword [esi + 0x3780]
lea edi, [esi + 0x3780]
sete byte [esp + 0xf]
sub edx, 1
js 0x1004271d
mov eax, dword [esi + 0x3788]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
nop dword [eax]
cmp dword [eax], 6
je 0x10042760
sub eax, 0x18
sub edx, 1
jns 0x10042710
cmp byte [esi + 0x3768], 0
sete al
mov cl, byte [esp + 0xf]
cmp al, cl
je case.0x10042a18.527
mov esi, dword [edi + 4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov byte [esp + 0x18], cl
mov ecx, dword [edi]
mov dword [esp + 0x10], 6
cmp ecx, esi
jne 0x10042777
inc ecx
test esi, esi
je 0x10042765
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1004276a
mov al, byte [eax + 8]
jmp 0x10042727
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10031430
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x100428e3
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x10042a18.527
movzx esi, cx
mov ecx, esi
test cx, cx
jne 0x100427dd
cmp word [edi + 0x3764], cx
je case.0x10042a18.527
cmp byte [edi + 0x3761], 0
je case.0x10042a18.527
movzx edx, word [edi + 0x3764]
mov eax, ecx
and eax, 0xfc00
mov dword [esp + 8], 0xd800
cmp ax, word [esp + 8]
jne 0x10042865
test dx, dx
je 0x1004284b
mov ecx, dword [0x10086014]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push eax
movlpd qword [esp + 0x20], xmm0
lea ecx, [ecx + 0x3780]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0xfffd
call fcn.10030f10
mov word [edi + 0x3764], si
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x100428c5
mov ecx, 0xdc00
cmp ax, cx
je 0x100428b7
mov ecx, dword [0x10086014]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push eax
movlpd qword [esp + 0x20], xmm0
lea ecx, [ecx + 0x3780]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0xfffd
call fcn.10030f10
mov ecx, esi
jmp 0x100428bc
mov ecx, 0xfffd
xor eax, eax
mov word [edi + 0x3764], ax
movzx eax, cx
mov ecx, edi
push eax
call fcn.1001c960
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
push 1
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push 1
lea eax, [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [esp + 0x38]
test eax, eax
je case.0x10042a18.527
cmp byte [edi + 0x3761], 0
je case.0x10042a18.527
mov ecx, dword [0x10086014]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
movlpd qword [esp + 0x20], xmm0
lea ecx, [ecx + 0x3780]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 2
call fcn.10030f10
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x10042a18.527
call fcn.10041250
test al, al
je case.0x10042a18.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x100429cc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [esi + 8], 1
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 0x10
cwde
movd xmm2, eax
movsx eax, cx
mov ecx, edi
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1001cb00
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x10042a18.527
movzx eax, byte [eax + 0x10042d18]
jmp dword [eax*4 + 0x10042cfc]
cmp dword [esi + 4], ecx
jne 0x10042a2b
mov dword [esi + 4], 0
movss xmm1, dword [0x1008031c]
mov ecx, edi
movaps xmm2, xmm1
mov byte [esi + 8], 0
call fcn.1001cb00
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp edx, 0x204
je 0x10042a66
cmp edx, 0x206
jne 0x10042a6b
mov esi, 1
cmp edx, 0x207
je 0x10042a7b
cmp edx, 0x209
jne 0x10042a80
mov esi, 2
cmp edx, 0x20b
je 0x10042a90
cmp edx, 0x20d
jne 0x10042aa0
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0xc], 0
jne 0x10042ac2
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10042abe
push dword [esp + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xc]
bts eax, esi
push 1
mov dword [ecx + 0xc], eax
mov ecx, edi
push esi
call fcn.1001cc20
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 0x38], ecx
cmp edx, 0x208
jne 0x10042b06
mov ecx, 2
jmp 0x10042b1e
cmp edx, 0x20c
jne 0x10042b22
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x38], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x10042b45
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 8]
jne 0x10042b41
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x38]
push 0
push ecx
mov ecx, edi
call fcn.1001cc20
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, edi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x100802c4]
call fcn.1001ccb0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, edi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x100802c4]
call fcn.1001ccb0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x10042a18.527
mov byte [esi + 0x25], 1
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret