Function at 0x1004481a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x100a5ffc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
push esi
mov esi, edx
push edi
test eax, eax
je case.0x10044f50.527
mov edx, dword [eax + 0x78]
lea edi, [eax + 8]
mov dword [esp + 0xc], edx
cmp esi, 0x200
ja 0x10044f38
je case.0x10044813.160
lea eax, [esi - 7]
cmp eax, 0xfe
ja case.0x10044f50.527
movzx eax, byte [eax + 0x10045114]
jmp dword [eax*4 + 0x100450fc]
cmp esi, 0x100
je 0x1004482f
mov byte [esp + 0xc], 0
cmp esi, 0x104
jne 0x10044834
mov byte [esp + 0xc], 1
cmp dword [ebp + 8], 0x100
jae case.0x10044f50.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x1004487e
test al, al
je 0x1004486b
movss xmm3, dword [0x10096464]
jmp 0x1004486e
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x1000
call fcn.1001de20
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x100448b5
test al, al
je 0x100448a2
movss xmm3, dword [0x10096464]
jmp 0x100448a5
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x2000
call fcn.1001de20
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x100448ec
test al, al
je 0x100448d9
movss xmm3, dword [0x10096464]
jmp 0x100448dc
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x4000
call fcn.1001de20
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x10044923
test al, al
je 0x10044910
movss xmm3, dword [0x10096464]
jmp 0x10044913
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x8000
call fcn.1001de20
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x1004493e
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.10044280
test eax, eax
je 0x10044959
mov dl, byte [esp + 0xc]
push ecx
push esi
mov ecx, eax
call fcn.100438a0
add esp, 8
cmp esi, 0x10
jne 0x10044a2a
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x100449c2
mov eax, dword [0x100a5ffc]
cmp byte [eax + 0x3771], 0
lea edi, [eax + 8]
je 0x100449ae
test cl, cl
je 0x1004499b
movss xmm3, dword [0x10096464]
jmp 0x1004499e
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x210
call fcn.1001de20
mov dword [edi + 0x338], 0x210
mov dword [edi + 0x8f8], 0xa0
push 0xa1
call esi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10044f50.527
mov esi, dword [0x100a5ffc]
cmp byte [esi + 0x3771], 0
je 0x10044a0e
test cl, cl
je 0x100449f7
movss xmm0, dword [0x10096464]
jmp 0x100449fa
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.1001de20
mov dword [esi + 0x344], 0x214
xor eax, eax
mov dword [esi + 0x910], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x10044afb
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10044a93
mov eax, dword [0x100a5ffc]
cmp byte [eax + 0x3771], 0
lea edi, [eax + 8]
je 0x10044a7f
test cl, cl
je 0x10044a6c
movss xmm3, dword [0x10096464]
jmp 0x10044a6f
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x20f
call fcn.1001de20
mov dword [edi + 0x340], 0x20f
mov dword [edi + 0x8f4], 0xa2
push 0xa3
call esi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10044f50.527
mov esi, dword [0x100a5ffc]
cmp byte [esi + 0x3771], 0
je 0x10044adf
test cl, cl
je 0x10044ac8
movss xmm0, dword [0x10096464]
jmp 0x10044acb
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.1001de20
mov dword [esi + 0x34c], 0x213
xor eax, eax
mov dword [esi + 0x90c], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x10044f50.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10044b64
mov eax, dword [0x100a5ffc]
cmp byte [eax + 0x3771], 0
lea edi, [eax + 8]
je 0x10044b50
test cl, cl
je 0x10044b3d
movss xmm3, dword [0x10096464]
jmp 0x10044b40
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x211
call fcn.1001de20
mov dword [edi + 0x348], 0x211
mov dword [edi + 0x8fc], 0xa4
push 0xa5
call esi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10044f50.527
mov esi, dword [0x100a5ffc]
cmp byte [esi + 0x3771], 0
je 0x10044bb0
test cl, cl
je 0x10044b99
movss xmm0, dword [0x10096464]
jmp 0x10044b9c
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.1001de20
mov dword [esi + 0x354], 0x215
xor eax, eax
mov dword [esi + 0x914], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp esi, 7
mov esi, dword [edi + 0xdb4]
sete byte [esp + 0xb]
mov edx, dword [eax + 0x3788]
sub edx, 1
js 0x10044c02
mov eax, dword [eax + 0x3790]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
cmp dword [eax], 6
je 0x10044c4e
sub eax, 0x18
sub edx, 1
jns 0x10044bf5
cmp byte [esi + 0x3770], 0
sete al
mov cl, byte [esp + 0xb]
cmp al, cl
je case.0x10044f50.527
mov edi, dword [esi + 0x378c]
add esi, 0x3788
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov byte [esp + 0x38], cl
mov ecx, dword [esi]
mov dword [esp + 0x30], 6
cmp ecx, edi
jne 0x10044c69
inc ecx
test edi, edi
je 0x10044c57
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10044c5c
test eax, eax
je 0x10044c02
mov al, byte [eax + 8]
jmp 0x10044c0c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100338c0
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x30]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x10044db5
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x10044f50.527
movzx esi, cx
mov eax, esi
test ax, ax
jne 0x10044cc4
cmp word [edi + 0x376c], ax
je case.0x10044f50.527
cmp byte [edi + 0x3769], 0
je case.0x10044f50.527
movzx edx, word [edi + 0x376c]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x14], 0xd800
cmp cx, word [esp + 0x14]
jne 0x10044d42
test dx, dx
je 0x10044d33
mov ecx, dword [edi + 0xdb4]
lea eax, [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push eax
add ecx, 0x3788
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 0xfffd
call fcn.10033390
mov word [edi + 0x376c], si
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x10044da2
mov eax, 0xdc00
cmp cx, ax
je 0x10044d94
mov ecx, dword [edi + 0xdb4]
lea eax, [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push eax
add ecx, 0x3788
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 0xfffd
call fcn.10033390
mov eax, esi
jmp 0x10044d99
mov eax, 0xfffd
xor ecx, ecx
mov word [edi + 0x376c], cx
movzx eax, ax
mov ecx, edi
push eax
call fcn.1001ddc0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 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 + 0x10]
test eax, eax
je case.0x10044f50.527
cmp byte [edi + 0x3769], 0
je case.0x10044f50.527
mov ecx, dword [edi + 0xdb4]
xorps xmm0, xmm0
mov dword [esp + 0x38], eax
add ecx, 0x3788
lea eax, [esp + 0x30]
movlpd qword [esp + 0x3c], xmm0
push eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 2
call fcn.10033390
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x10044f50.527
call fcn.10043770
test al, al
je case.0x10044f50.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edx + 4], ecx
mov edx, dword [edx + 8]
cmp esi, 0x200
setne al
inc eax
mov dword [esp + 0x1c], eax
cmp edx, eax
je 0x10044ee5
cmp esi, 0x200
mov dword [esp + 0x14], 0x12
mov eax, 2
mov dword [esp + 0x20], 0x10
cmovne eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [esp + 0x24], 0x80000000
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
test edx, edx
je 0x10044ecf
lea ecx, [esp + 0x20]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [esp + 0x30]
push ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
movsx edx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp esi, 0xa0
jne 0x10044f1b
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x10044f50.527
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
movd xmm2, eax
mov ecx, edi
movd xmm1, edx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1001dfa0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x201]
cmp eax, 0xa2
ja case.0x10044f50.527
movzx eax, byte [eax + 0x10045230]
jmp dword [eax*4 + 0x10045214]
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edx + 8], eax
jne case.0x10044f50.527
cmp dword [edx + 4], ecx
jne 0x10044f78
mov dword [edx + 4], 0
movss xmm1, dword [0x1009661c]
mov ecx, edi
movaps xmm2, xmm1
mov dword [edx + 8], 0
call fcn.1001dfa0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp esi, 0x204
je 0x10044fab
cmp esi, 0x206
jne 0x10044fb0
mov edi, 1
cmp esi, 0x207
je 0x10044fc0
cmp esi, 0x209
jne 0x10044fc5
mov edi, 2
cmp esi, 0x20b
je 0x10044fd5
cmp esi, 0x20d
jne 0x10044fe5
mov edi, dword [ebp + 8]
shr edi, 0x10
dec edi
neg edi
sbb edi, edi
neg edi
add edi, 3
cmp dword [edx + 0xc], 0
jne 0x10045003
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10044fff
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
bts eax, edi
push 1
push edi
mov dword [edx + 0xc], eax
lea ecx, [ecx + 8]
call fcn.1001e0b0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp esi, 0x205
sete cl
mov dword [esp + 0xc], ecx
cmp esi, 0x208
jne 0x10045041
mov ecx, 2
jmp 0x10045059
cmp esi, 0x20c
jne 0x1004505d
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0xc], ecx
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x10045080
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x10]
jne 0x1004507c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0xc]
push 0
push ecx
mov ecx, edi
call fcn.1001e0b0
xor eax, eax
pop edi
pop esi
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 [0x10096544]
call fcn.1001e150
xor eax, eax
pop edi
pop esi
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
xorps xmm1, xmmword [0x100969b0]
divss xmm1, dword [0x10096544]
call fcn.1001e150
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x10044f50.527
mov byte [edx + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret