Function at 0x10032235
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100bc080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100bfc04], 0
push esi
push edi
mov esi, edx
mov dword [ebp - 0x3c], ecx
je case.default.0x100326c3
call fcn.10010860
mov dword [ebp - 0x38], eax
call fcn.1003121b
mov edi, eax
mov eax, 0x204
cmp esi, eax
ja 0x1003269a
je case.0x100326c3.518
mov edx, 0x104
lea eax, [edx - 2]
lea ecx, [edx - 4]
cmp esi, eax
ja 0x100323ea
je 0x10032390
mov eax, esi
sub eax, 7
je 0x10032379
sub eax, 1
je 0x10032379
sub eax, 0x18
je 0x10032357
sub eax, 0x31
je 0x1003234d
sub eax, 0x4f
je 0x100324bf
sub eax, 0x60
je 0x100322e3
sub eax, 1
jne case.default.0x100326c3
cmp esi, ecx
je 0x100322ef
mov byte [ebp - 0x31], 0
cmp esi, edx
jne 0x100322f3
mov byte [ebp - 0x31], 1
cmp dword [ebx + 8], ecx
jae case.default.0x100326c3
call fcn.1003155c
mov esi, dword [ebx + 8]
cmp esi, 0xd
jne 0x1003231c
mov eax, dword [ebx + 0xc]
shr eax, 0x10
bt ax, 8
mov eax, 0x10d
cmovb esi, eax
mov ecx, esi
call fcn.10031c4c
mov edi, eax
mov ecx, 0x262
cmp edi, ecx
jne 0x10032581
mov al, byte [ebp - 0x31]
test al, al
jne 0x10032588
push ecx
push esi
mov dl, 1
call fcn.10031437
pop ecx
pop ecx
jmp 0x10032585
call fcn.10031230
jmp case.default.0x100326c3
xor eax, eax
inc eax
cmp word [ebx + 0xc], ax
jne case.default.0x100326c3
call fcn.1003138f
test al, al
je case.default.0x100326c3
xor eax, eax
inc eax
jmp 0x100327cf
mov ecx, dword [ebp - 0x38]
cmp esi, 7
sete al
movzx eax, al
push eax
call fcn.1000d927
jmp case.default.0x100326c3
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x100323bd
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.default.0x100326c3
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1000d244
jmp case.default.0x100326c3
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
xor eax, eax
inc eax
push eax
push ecx
push eax
lea ecx, [ebx + 8]
push ecx
push eax
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.1000d1a6
jmp case.default.0x100326c3
mov eax, esi
sub eax, edx
je 0x100322e7
sub eax, 1
je 0x100322e7
sub eax, 0xfb
je 0x100324bf
sub eax, 1
je case.0x100326c3.518
sub eax, 1
je case.0x100326c3.517
sub eax, 1
jne case.default.0x100326c3
call fcn.10032212
xor ecx, ecx
mov dword [ebp - 0x40], eax
inc ecx
cmp esi, 0x204
je 0x1003243e
and dword [ebp - 8], 0
cmp esi, 0x206
jne 0x10032441
mov dword [ebp - 8], ecx
cmp esi, 0x207
je 0x10032451
cmp esi, 0x209
jne 0x10032458
mov dword [ebp - 8], 2
cmp esi, 0x20b
je 0x10032468
cmp esi, 0x20d
jne 0x1003247c
mov eax, dword [ebx + 8]
xor edx, edx
shr eax, 0x10
cmp ax, cx
setne dl
add edx, 3
mov dword [ebp - 8], edx
cmp dword [edi + 0xc], 0
jne 0x10032496
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10032496
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
bts eax, ecx
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [edi + 0xc], eax
call fcn.1000d8ed
push 1
push dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
call fcn.1000d72e
jmp case.default.0x100326c3
call fcn.10032212
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
xor eax, eax
cmp esi, 0x200
mov dword [edi + 4], edx
setne al
inc eax
mov dword [ebp - 8], eax
cmp dword [edi + 8], eax
je 0x10032534
and dword [ebp - 0x14], 0
cmp esi, 0x200
push 0x10
pop eax
push 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
pop eax
push 0x12
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x1c], 0x80000000
and dword [ebp - 0x24], 0
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
je 0x10032521
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x3c]
mov dword [edi + 8], eax
mov ecx, dword [ebx + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x10], eax
movsx eax, cx
mov dword [ebp - 0xc], eax
cmp esi, 0xa0
jne 0x10032561
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.default.0x100326c3
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
call fcn.1000d8ed
movd xmm2, dword [ebp - 0xc]
movd xmm1, dword [ebp - 0x10]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
jmp 0x100327c5
test edi, edi
je 0x10032595
mov al, byte [ebp - 0x31]
push ecx
push esi
mov dl, al
mov ecx, edi
call fcn.10031437
pop ecx
pop ecx
cmp esi, 0x10
jne 0x100325e9
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xa0
push edi
call esi
mov cl, byte [ebp - 0x31]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x100325c4
push ecx
mov dl, cl
mov ecx, 0x210
push edi
call fcn.10031437
pop ecx
pop ecx
mov edi, 0xa1
push edi
call esi
mov cl, byte [ebp - 0x31]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x100326c3
push ecx
mov dl, cl
mov ecx, 0x214
jmp 0x1003268d
cmp esi, 0x11
jne 0x1003263a
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xa2
push edi
call esi
mov cl, byte [ebp - 0x31]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10032618
push ecx
mov dl, cl
mov ecx, 0x20f
push edi
call fcn.10031437
pop ecx
pop ecx
mov edi, 0xa3
push edi
call esi
mov cl, byte [ebp - 0x31]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x100326c3
push ecx
mov dl, cl
mov ecx, 0x213
jmp 0x1003268d
cmp esi, 0x12
jne case.default.0x100326c3
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xa4
push edi
call esi
mov cl, byte [ebp - 0x31]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1003266d
push ecx
mov dl, cl
mov ecx, 0x211
push edi
call fcn.10031437
pop ecx
pop ecx
mov edi, 0xa5
push edi
call esi
mov cl, byte [ebp - 0x31]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x100326c3
push ecx
mov dl, cl
mov ecx, 0x215
push edi
call fcn.10031437
pop ecx
pop ecx
jmp case.default.0x100326c3
mov eax, 0x219
cmp esi, eax
ja 0x1003278b
je 0x1003277f
lea eax, [esi - 0x205]
cmp eax, 9
ja case.default.0x100326c3
movzx eax, byte [eax + 0x100327f5]
jmp dword [eax*4 + 0x100327e5]
call fcn.10032212
xor ecx, ecx
mov dword [ebp - 0x40], eax
cmp esi, 0x205
sete cl
mov dword [ebp - 8], ecx
cmp esi, 0x208
jne 0x100326ed
push 2
pop ecx
jmp 0x10032707
cmp esi, 0x20c
jne 0x1003270a
mov eax, dword [ebx + 8]
xor ecx, ecx
shr eax, 0x10
cmp ax, 1
setne cl
add ecx, 3
mov dword [ebp - 8], ecx
mov eax, dword [edi + 0xc]
btr eax, ecx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x10032728
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x3c]
jne 0x10032728
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
call fcn.1000d8ed
push 0
jmp 0x100324af
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x100b6898]
mov ecx, dword [ebp - 0x38]
call fcn.1000d817
jmp case.default.0x100326c3
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x100b6c80]
divss xmm1, dword [0x100b6898]
jmp 0x10032753
cmp dword [ebx + 8], 7
jne case.default.0x100326c3
mov byte [edi + 0x29], 1
jmp case.default.0x100326c3
mov eax, esi
sub eax, 0x2a2
je 0x10032799
sub eax, 1
jne case.default.0x100326c3
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edi + 8], eax
jne case.default.0x100326c3
mov ecx, dword [ebp - 0x3c]
cmp dword [edi + 4], ecx
jne 0x100327b6
and dword [edi + 4], 0
movss xmm1, dword [0x100b6928]
and dword [edi + 8], 0
movaps xmm2, xmm1
mov ecx, dword [ebp - 0x38]
call fcn.1000d5cd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10048db4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret