Function at 0x42c8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x468040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
mov dword [ebp - 8], ecx
mov edx, dword [0x4915c4]
push edi
test edx, edx
je case.0x42d057.527
lea edi, [edx + 8]
mov edx, dword [edx + 0x78]
mov dword [ebp - 0x40], edx
cmp esi, 0x200
ja 0x42d03f
je case.0x42c948.160
lea eax, [esi - 7]
cmp eax, 0xfe
ja case.0x42d057.527
movzx eax, byte [eax + 0x42d214]
jmp dword [eax*4 + 0x42d1fc]
cmp esi, 0x100
je 0x42c963
mov byte [ebp - 0xc], 0
cmp esi, 0x104
jne 0x42c967
mov byte [ebp - 0xc], 1
cmp dword [ebx + 8], 0x100
jae case.0x42d057.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 [ebp - 8], al
je 0x42c9af
test al, al
je 0x42c99d
movss xmm3, dword [0x4656c8]
jmp 0x42c9a0
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, edi
push 0x1000
call fcn.00403e70
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [ebp - 8], al
je 0x42c9e4
test al, al
je 0x42c9d2
movss xmm3, dword [0x4656c8]
jmp 0x42c9d5
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, edi
push 0x2000
call fcn.00403e70
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [ebp - 8], al
je 0x42ca19
test al, al
je 0x42ca07
movss xmm3, dword [0x4656c8]
jmp 0x42ca0a
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, edi
push 0x4000
call fcn.00403e70
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [ebp - 8], al
je 0x42ca4e
test al, al
je 0x42ca3c
movss xmm3, dword [0x4656c8]
jmp 0x42ca3f
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, edi
push 0x8000
call fcn.00403e70
mov esi, dword [ebx + 8]
cmp esi, 0xd
jne 0x42ca69
mov eax, dword [ebx + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.0042c3a0
mov edi, eax
test edi, edi
je 0x42cac1
mov eax, dword [0x4915c4]
add eax, 8
mov dword [ebp - 8], eax
cmp byte [eax + 0x3769], 0
je 0x42caab
cmp byte [ebp - 0xc], 0
je 0x42ca9a
movss xmm3, dword [0x4656c8]
jmp 0x42ca9d
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, eax
push edi
call fcn.00403e70
mov eax, dword [ebp - 8]
cmp esi, 0x1ff
ja 0x42cac1
mov dword [eax + esi*4 + 0xb8], edi
mov dword [eax + edi*4 + 0xb8], esi
cmp esi, 0x10
jne 0x42cb8b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [ebp - 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x42cb28
mov eax, dword [0x4915c4]
cmp byte [eax + 0x3771], 0
lea esi, [eax + 8]
je 0x42cb14
test cl, cl
je 0x42cb02
movss xmm3, dword [0x4656c8]
jmp 0x42cb05
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, esi
push 0x210
call fcn.00403e70
mov dword [esi + 0x338], 0x210
mov dword [esi + 0x8f8], 0xa0
push 0xa1
call edi
mov cl, byte [ebp - 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42d057.527
mov esi, dword [0x4915c4]
cmp byte [esi + 0x3771], 0
je 0x42cb72
test cl, cl
je 0x42cb5c
movss xmm0, dword [0x4656c8]
jmp 0x42cb5f
xorps xmm0, xmm0
push dword [ebp - 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.00403e70
mov dword [esi + 0x344], 0x214
mov dword [esi + 0x910], 0xa1
jmp case.0x42d057.527
cmp esi, 0x11
jne 0x42cc55
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [ebp - 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x42cbf2
mov eax, dword [0x4915c4]
cmp byte [eax + 0x3771], 0
lea esi, [eax + 8]
je 0x42cbde
test cl, cl
je 0x42cbcc
movss xmm3, dword [0x4656c8]
jmp 0x42cbcf
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, esi
push 0x20f
call fcn.00403e70
mov dword [esi + 0x340], 0x20f
mov dword [esi + 0x8f4], 0xa2
push 0xa3
call edi
mov cl, byte [ebp - 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42d057.527
mov esi, dword [0x4915c4]
cmp byte [esi + 0x3771], 0
je 0x42cc3c
test cl, cl
je 0x42cc26
movss xmm0, dword [0x4656c8]
jmp 0x42cc29
xorps xmm0, xmm0
push dword [ebp - 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.00403e70
mov dword [esi + 0x34c], 0x213
mov dword [esi + 0x90c], 0xa3
jmp case.0x42d057.527
cmp esi, 0x12
jne case.0x42d057.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [ebp - 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x42ccbc
mov eax, dword [0x4915c4]
cmp byte [eax + 0x3771], 0
lea esi, [eax + 8]
je 0x42cca8
test cl, cl
je 0x42cc96
movss xmm3, dword [0x4656c8]
jmp 0x42cc99
xorps xmm3, xmm3
push dword [ebp - 0xc]
mov ecx, esi
push 0x211
call fcn.00403e70
mov dword [esi + 0x348], 0x211
mov dword [esi + 0x8fc], 0xa4
push 0xa5
call edi
mov cl, byte [ebp - 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42d057.527
mov esi, dword [0x4915c4]
cmp byte [esi + 0x3771], 0
je 0x42cd06
test cl, cl
je 0x42ccf0
movss xmm0, dword [0x4656c8]
jmp 0x42ccf3
xorps xmm0, xmm0
push dword [ebp - 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.00403e70
mov dword [esi + 0x354], 0x215
mov dword [esi + 0x914], 0xa5
jmp case.0x42d057.527
mov edi, dword [edi + 0xdb4]
cmp esi, 7
mov edx, dword [edi + 0x3788]
lea esi, [edi + 0x3788]
sete byte [ebp - 0x39]
sub edx, 1
js 0x42cd5d
mov eax, dword [edi + 0x3790]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
nop dword [eax]
cmp dword [eax], 6
je 0x42cd9c
sub eax, 0x18
sub edx, 1
jns 0x42cd50
cmp byte [edi + 0x3770], 0
sete al
mov cl, byte [ebp - 0x39]
cmp al, cl
je case.0x42d057.527
mov edi, dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], cl
mov ecx, dword [esi]
mov dword [ebp - 0x28], 6
cmp ecx, edi
jne 0x42cdb7
inc ecx
test edi, edi
je 0x42cda5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x42cdaa
test eax, eax
je 0x42cd5d
mov al, byte [eax + 8]
jmp 0x42cd67
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041b370
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x28]
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]
jmp case.0x42d057.527
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x42ce91
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x42d057.527
movzx esi, cx
mov eax, esi
test ax, ax
jne 0x42ce0e
cmp word [edi + 0x376c], ax
je case.0x42d057.527
cmp byte [edi + 0x3769], 0
je case.0x42d057.527
movzx edx, word [edi + 0x376c]
mov ecx, eax
and ecx, 0xfc00
mov dword [ebp - 8], 0xd800
cmp cx, word [ebp - 8]
jne 0x42ce54
test dx, dx
je 0x42ce48
push 0xfffd
mov ecx, edi
call fcn.00403dd0
mov word [edi + 0x376c], si
jmp case.0x42d057.527
test dx, dx
je 0x42ce81
mov eax, 0xdc00
cmp cx, ax
je 0x42ce73
push 0xfffd
mov ecx, edi
call fcn.00403dd0
mov eax, esi
jmp 0x42ce78
mov eax, 0xfffd
xor ecx, ecx
mov word [edi + 0x376c], cx
movzx eax, ax
mov ecx, edi
push eax
call fcn.00403dd0
jmp case.0x42d057.527
push 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea eax, [ebx + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [ebp - 8]
test eax, eax
je case.0x42d057.527
cmp byte [edi + 0x3769], 0
je case.0x42d057.527
mov esi, dword [edi + 0xdb4]
xorps xmm0, xmm0
mov edi, dword [esi + 0x378c]
add esi, 0x3788
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 5
mov ecx, dword [esi]
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], eax
cmp ecx, edi
jne 0x42cf21
inc ecx
test edi, edi
je 0x42cf0f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x42cf14
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041b370
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x28]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
jmp case.0x42d057.527
cmp word [ebx + 0xc], 1
jne case.0x42d057.527
call fcn.0042ba50
test al, al
je case.0x42d057.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
mov dword [edx + 4], ecx
mov edx, dword [edx + 8]
cmp esi, 0x200
setne al
inc eax
mov dword [ebp - 0x44], eax
cmp edx, eax
je 0x42cff4
cmp esi, 0x200
mov dword [ebp - 0xc], 0x12
mov eax, 2
mov dword [ebp - 0x38], 0x10
cmovne eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [ebp - 0x34], 0x80000000
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
test edx, edx
je 0x42cfe2
lea ecx, [ebp - 0x38]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [ebp - 0x20]
push ecx
call eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
movsx edx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
cmp esi, 0xa0
jne 0x42d025
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x42d057.527
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
movd xmm2, eax
mov ecx, edi
movd xmm1, edx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00403fb0
jmp case.0x42d057.527
lea eax, [esi - 0x201]
cmp eax, 0xa2
ja case.0x42d057.527
movzx eax, byte [eax + 0x42d330]
jmp dword [eax*4 + 0x42d314]
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edx + 8], eax
jne case.0x42d057.527
cmp dword [edx + 4], ecx
jne 0x42d07f
mov dword [edx + 4], 0
movss xmm1, dword [0x4657f0]
mov ecx, edi
movaps xmm2, xmm1
mov dword [edx + 8], 0
call fcn.00403fb0
jmp case.0x42d057.527
mov dword [ebp - 0xc], 0
cmp esi, 0x204
je 0x42d0b4
cmp esi, 0x206
jne 0x42d0bb
mov dword [ebp - 0xc], 1
cmp esi, 0x207
je 0x42d0cb
cmp esi, 0x209
jne 0x42d0d2
mov dword [ebp - 0xc], 2
cmp esi, 0x20b
je 0x42d0e2
cmp esi, 0x20d
jne 0x42d0f5
mov eax, dword [ebx + 8]
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [ebp - 0xc], eax
cmp dword [edx + 0xc], 0
jne 0x42d111
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x42d10e
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
bts eax, ecx
push 1
push ecx
mov ecx, edi
mov dword [edx + 0xc], eax
call fcn.004040f0
jmp case.0x42d057.527
xor ecx, ecx
cmp esi, 0x205
sete cl
mov dword [ebp - 0xc], ecx
cmp esi, 0x208
jne 0x42d149
mov ecx, 2
jmp 0x42d161
cmp esi, 0x20c
jne 0x42d164
mov ecx, dword [ebx + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [ebp - 0xc], ecx
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x42d185
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 8]
jne 0x42d182
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0xc]
push 0
push ecx
mov ecx, edi
call fcn.004040f0
jmp case.0x42d057.527
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, edi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x46577c]
call fcn.004041e0
jmp case.0x42d057.527
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, edi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x465ba0]
divss xmm1, dword [0x46577c]
call fcn.004041e0
jmp case.0x42d057.527
cmp dword [ebx + 8], 7
jne case.0x42d057.527
mov byte [edx + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043e7ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret