Function at 0x1002b1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [0x100d9f38]
mov dword [ebp - 8], ecx
push esi
mov esi, edx
push edi
test ebx, ebx
je case.0x1002b8f7.527
lea edi, [ebx + 8]
mov ebx, dword [ebx + 0x74]
mov dword [ebp - 0xc], ebx
cmp esi, 0x200
ja 0x1002b8df
je case.0x1002b1ec.160
lea eax, [esi - 7]
cmp eax, 0xfe
ja case.0x1002b8f7.527
movzx eax, byte [eax + 0x1002badc]
jmp dword [eax*4 + 0x1002bac0]
cmp esi, 0x100
je 0x1002b207
cmp esi, 0x104
je 0x1002b207
xor bl, bl
jmp 0x1002b209
mov bl, 1
cmp dword [ebp + 8], 0x100
mov byte [ebp - 8], bl
jae case.0x1002b8f7.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3889], 0
mov byte [ebp - 0xc], al
je 0x1002b254
test al, al
je 0x1002b242
movss xmm3, dword [0x100cbb00]
jmp 0x1002b245
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, edi
push 0x1000
call fcn.10005e20
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3889], 0
mov byte [ebp - 0xc], al
je 0x1002b289
test al, al
je 0x1002b277
movss xmm3, dword [0x100cbb00]
jmp 0x1002b27a
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, edi
push 0x2000
call fcn.10005e20
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3889], 0
mov byte [ebp - 0xc], al
je 0x1002b2be
test al, al
je 0x1002b2ac
movss xmm3, dword [0x100cbb00]
jmp 0x1002b2af
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, edi
push 0x4000
call fcn.10005e20
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3889], 0
mov byte [ebp - 0xc], al
je 0x1002b2f3
test al, al
je 0x1002b2e1
movss xmm3, dword [0x100cbb00]
jmp 0x1002b2e4
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, edi
push 0x8000
call fcn.10005e20
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x1002b30e
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.1002aba0
mov dword [ebp - 0xc], eax
cmp eax, 0x262
jne 0x1002b364
test bl, bl
jne 0x1002b368
mov ecx, dword [0x100d9f38]
cmp byte [ecx + 0x3891], bl
lea edi, [ecx + 8]
je 0x1002b349
movss xmm3, dword [0x100cbb00]
mov ecx, edi
push 1
push eax
call fcn.10005e20
mov eax, dword [ebp - 0xc]
cmp esi, 0x1ff
ja 0x1002b368
mov dword [edi + esi*4 + 0xb0], 0x262
mov dword [edi + 0xa38], esi
jmp 0x1002b368
test eax, eax
je 0x1002b376
push ecx
push esi
mov dl, bl
mov ecx, eax
call fcn.1002a1b0
add esp, 8
cmp esi, 0x10
jne 0x1002b43e
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1002b3da
mov eax, dword [0x100d9f38]
cmp byte [eax + 0x3891], 0
lea esi, [eax + 8]
je 0x1002b3c6
test bl, bl
je 0x1002b3b4
movss xmm3, dword [0x100cbb00]
jmp 0x1002b3b7
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, esi
push 0x210
call fcn.10005e20
mov dword [esi + 0x330], 0x210
mov dword [esi + 0x8f0], 0xa0
push 0xa1
call edi
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x1002b8f7.527
mov esi, dword [0x100d9f38]
cmp byte [esi + 0x3891], 0
je 0x1002b421
test bl, bl
je 0x1002b40b
movss xmm0, dword [0x100cbb00]
jmp 0x1002b40e
xorps xmm0, xmm0
push dword [ebp - 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.10005e20
mov dword [esi + 0x33c], 0x214
xor eax, eax
mov dword [esi + 0x908], 0xa1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x1002b506
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1002b4a2
mov eax, dword [0x100d9f38]
cmp byte [eax + 0x3891], 0
lea esi, [eax + 8]
je 0x1002b48e
test bl, bl
je 0x1002b47c
movss xmm3, dword [0x100cbb00]
jmp 0x1002b47f
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, esi
push 0x20f
call fcn.10005e20
mov dword [esi + 0x338], 0x20f
mov dword [esi + 0x8ec], 0xa2
push 0xa3
call edi
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x1002b8f7.527
mov esi, dword [0x100d9f38]
cmp byte [esi + 0x3891], 0
je 0x1002b4e9
test bl, bl
je 0x1002b4d3
movss xmm0, dword [0x100cbb00]
jmp 0x1002b4d6
xorps xmm0, xmm0
push dword [ebp - 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.10005e20
mov dword [esi + 0x344], 0x213
xor eax, eax
mov dword [esi + 0x904], 0xa3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x1002b8f7.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1002b56a
mov eax, dword [0x100d9f38]
cmp byte [eax + 0x3891], 0
lea esi, [eax + 8]
je 0x1002b556
test bl, bl
je 0x1002b544
movss xmm3, dword [0x100cbb00]
jmp 0x1002b547
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, esi
push 0x211
call fcn.10005e20
mov dword [esi + 0x340], 0x211
mov dword [esi + 0x8f4], 0xa4
push 0xa5
call edi
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x1002b8f7.527
mov esi, dword [0x100d9f38]
cmp byte [esi + 0x3891], 0
je 0x1002b5b1
test bl, bl
je 0x1002b59b
movss xmm0, dword [0x100cbb00]
jmp 0x1002b59e
xorps xmm0, xmm0
push dword [ebp - 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.10005e20
mov dword [esi + 0x34c], 0x215
xor eax, eax
mov dword [esi + 0x90c], 0xa5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 0xdf4]
cmp esi, 7
mov edx, dword [ebx + 0x3f20]
lea eax, [ebx + 0x3f20]
sete byte [ebp - 1]
sub edx, 1
js 0x1002b60d
mov eax, dword [ebx + 0x3f28]
lea ecx, [edx*8]
sub ecx, edx
lea eax, [eax + ecx*4]
nop
cmp dword [eax], 6
je 0x1002b676
sub eax, 0x1c
sub edx, 1
jns 0x1002b600
cmp byte [ebx + 0x3890], 0
sete al
mov dl, byte [ebp - 1]
cmp al, dl
je case.0x1002b8f7.527
cmp byte [edi + 0x5f], 0
je 0x1002b631
cmp esi, 7
jne case.0x1002b8f7.527
mov eax, dword [ebx + 0x3f3c]
lea ecx, [ebx + 0x3f20]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], eax
inc eax
mov dword [ebx + 0x3f3c], eax
lea eax, [ebp - 0x48]
push eax
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x48], 6
mov byte [ebp - 0x3c], dl
call fcn.1001af10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [eax + 0xc]
jmp 0x1002b617
call fcn.10029ed0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1002b785
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x1002b8f7.527
movzx esi, cx
mov eax, esi
test ax, ax
jne 0x1002b6c0
cmp word [edi + 0x388c], ax
je case.0x1002b8f7.527
cmp byte [edi + 0x3889], 0
je case.0x1002b8f7.527
movzx edx, word [edi + 0x388c]
mov ecx, eax
and ecx, 0xfc00
mov ebx, 0xd800
cmp cx, bx
jne 0x1002b744
test dx, dx
je 0x1002b734
mov ecx, dword [edi + 0xdf4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 5
mov eax, dword [ecx + 0x3f3c]
mov dword [ebp - 0x40], eax
inc eax
mov dword [ecx + 0x3f3c], eax
lea eax, [ebp - 0x48]
push eax
add ecx, 0x3f20
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x3c], 0xfffd
call fcn.1001af10
mov word [edi + 0x388c], si
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x1002b771
mov eax, 0xdc00
cmp cx, ax
je 0x1002b763
push 0xfffd
mov ecx, edi
call fcn.10005db0
mov eax, esi
jmp 0x1002b768
mov eax, 0xfffd
xor ecx, ecx
mov word [edi + 0x388c], cx
movzx eax, ax
mov ecx, edi
push eax
call fcn.10005db0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea eax, [ebp + 8]
push eax
push 1
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [ebp - 8]
mov ecx, edi
push eax
call fcn.10005db0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x1002b8f7.527
call fcn.1002a080
test al, al
je case.0x1002b8f7.527
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x1002b7f5
mov dword [ebp - 0xc], 2
jmp 0x1002b802
xor ecx, ecx
cmp eax, 0xff515780
sete cl
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 8]
xor eax, eax
mov edx, dword [ebp - 8]
cmp esi, 0x200
mov dword [ebx + 4], edx
setne al
inc eax
mov dword [ebp - 0x14], eax
cmp ecx, eax
je 0x1002b883
cmp esi, 0x200
mov dword [ebp - 0x10], 0x12
mov eax, 2
mov dword [ebp - 0x2c], 0x10
cmovne eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [ebp - 0x28], getsockname
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x1002b874
lea ecx, [ebp - 0x2c]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [ebp - 0x3c]
push ecx
call eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebp + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x1c], eax
movsx eax, cx
mov dword [ebp - 0x18], eax
cmp esi, 0xa0
jne 0x1002b8b0
lea eax, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x1002b8f7.527
mov eax, dword [edi + 0xdf4]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x3f38], ecx
mov ecx, edi
movd xmm2, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x1c]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.10005f50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x201]
cmp eax, 0xa2
ja case.0x1002b8f7.527
movzx eax, byte [eax + 0x1002bbf8]
jmp dword [eax*4 + 0x1002bbdc]
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [ebx + 8], eax
jne case.0x1002b8f7.527
cmp dword [ebx + 4], ecx
jne 0x1002b91f
mov dword [ebx + 4], 0
movss xmm1, dword [0x100cbbbc]
mov ecx, edi
movaps xmm2, xmm1
mov dword [ebx + 8], 0
call fcn.10005f50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1002b170
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp esi, 0x204
je 0x1002b95b
cmp esi, 0x206
jne 0x1002b960
mov ebx, 1
cmp esi, 0x207
je 0x1002b970
cmp esi, 0x209
jne 0x1002b975
mov ebx, 2
cmp esi, 0x20b
je 0x1002b985
cmp esi, 0x20d
jne 0x1002b995
mov ebx, dword [ebp + 8]
shr ebx, 0x10
dec ebx
neg ebx
sbb ebx, ebx
neg ebx
add ebx, 3
mov esi, dword [ebp - 0xc]
cmp dword [esi + 0xc], 0
jne 0x1002b9b1
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1002b9b1
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
bts eax, ebx
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0xdf4]
push 1
push ebx
mov dword [eax + 0x3f38], ecx
mov ecx, edi
call fcn.10006090
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1002b170
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp esi, 0x205
sete bl
cmp esi, 0x208
jne 0x1002b9fe
mov ebx, 2
jmp 0x1002ba16
cmp esi, 0x20c
jne 0x1002ba16
mov ebx, dword [ebp + 8]
shr ebx, 0x10
dec ebx
neg ebx
sbb ebx, ebx
neg ebx
add ebx, 3
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
btr eax, ebx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1002ba37
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 8]
jne 0x1002ba37
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0xdf4]
mov ecx, dword [ebp - 0x14]
push 0
push ebx
mov dword [eax + 0x3f38], ecx
mov ecx, edi
call fcn.10006090
xor eax, eax
pop edi
pop esi
pop ebx
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 [0x100cbb70]
call fcn.10006150
xor eax, eax
pop edi
pop esi
pop ebx
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 [0x100cbbb0]
call fcn.10006150
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x1002b8f7.527
mov byte [ebx + 0x29], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret