Function at 0x43b5b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x45900c]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [0x4595e8]
mov dword [esp + 0xc], ecx
test edi, edi
je case.0x43bcff.527
mov esi, dword [edi + 0x74]
lea eax, [edi + 8]
mov dword [esp + 8], eax
mov dword [esp + 0x54], esi
cmp edx, 0x200
ja 0x43bce7
je 0x43bbd5
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x43bcff.527
movzx eax, byte [eax + 0x43bf7c]
jmp dword [eax*4 + 0x43bf64]
cmp edx, 0x100
je 0x43b5c9
mov byte [esp + 0x54], 0
cmp edx, 0x104
jne 0x43b5ce
mov byte [esp + 0x54], 1
mov esi, dword [ebp + 8]
cmp esi, 0x100
jae case.0x43bcff.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0xc], al
je 0x43b5fc
movss xmm3, dword [0x454b38]
jmp 0x43b5ff
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push 0x281
call fcn.00408af0
push 0x10
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0xc], al
je 0x43b62a
movss xmm3, dword [0x454b38]
jmp 0x43b62d
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push 0x282
call fcn.00408af0
push 0x12
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0xc], al
je 0x43b658
movss xmm3, dword [0x454b38]
jmp 0x43b65b
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push 0x283
call fcn.00408af0
push 0x5d
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0xc], al
je 0x43b686
movss xmm3, dword [0x454b38]
jmp 0x43b689
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push 0x284
call fcn.00408af0
cmp esi, 0xd
jne 0x43b6b3
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.0043b010
mov dword [esp + 0xc], eax
test eax, eax
je 0x43b70b
mov ecx, dword [0x4595e8]
add ecx, 8
cmp byte [esp + 0x54], 0
mov dword [esp + 8], ecx
je 0x43b6e0
movss xmm3, dword [0x454b38]
jmp 0x43b6e3
xorps xmm3, xmm3
push dword [esp + 0x54]
push eax
call fcn.00408af0
cmp esi, 0x1ff
ja 0x43b70b
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [ecx + esi*4 + 0xb4], eax
mov dword [ecx + eax*4 + 0xb4], esi
cmp esi, 0x10
jne 0x43b7cf
push 0xa0
call edi
mov cl, byte [esp + 0x54]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x43b765
mov eax, dword [0x4595e8]
lea esi, [eax + 8]
test cl, cl
je 0x43b73e
movss xmm3, dword [0x454b38]
jmp 0x43b741
xorps xmm3, xmm3
push dword [esp + 0x54]
mov ecx, esi
push 0x210
call fcn.00408af0
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 0x54]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x43bcff.527
mov esi, dword [0x4595e8]
test cl, cl
je 0x43b791
movss xmm0, dword [0x454b38]
jmp 0x43b794
xorps xmm0, xmm0
push dword [esp + 0x54]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.00408af0
mov dword [esi + 0x340], 0x214
xor eax, eax
mov dword [esi + 0x90c], 0xa1
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x43b893
push 0xa2
call edi
mov cl, byte [esp + 0x54]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x43b829
mov eax, dword [0x4595e8]
lea esi, [eax + 8]
test cl, cl
je 0x43b802
movss xmm3, dword [0x454b38]
jmp 0x43b805
xorps xmm3, xmm3
push dword [esp + 0x54]
mov ecx, esi
push 0x20f
call fcn.00408af0
mov dword [esi + 0x33c], 0x20f
mov dword [esi + 0x8f0], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 0x54]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x43bcff.527
mov esi, dword [0x4595e8]
test cl, cl
je 0x43b855
movss xmm0, dword [0x454b38]
jmp 0x43b858
xorps xmm0, xmm0
push dword [esp + 0x54]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.00408af0
mov dword [esi + 0x348], 0x213
xor eax, eax
mov dword [esi + 0x908], 0xa3
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x43bcff.527
push 0xa4
call edi
mov cl, byte [esp + 0x54]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x43b8ed
mov eax, dword [0x4595e8]
lea esi, [eax + 8]
test cl, cl
je 0x43b8c6
movss xmm3, dword [0x454b38]
jmp 0x43b8c9
xorps xmm3, xmm3
push dword [esp + 0x54]
mov ecx, esi
push 0x211
call fcn.00408af0
mov dword [esi + 0x344], 0x211
mov dword [esi + 0x8f8], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 0x54]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x43bcff.527
mov esi, dword [0x4595e8]
test cl, cl
je 0x43b919
movss xmm0, dword [0x454b38]
jmp 0x43b91c
xorps xmm0, xmm0
push dword [esp + 0x54]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.00408af0
mov dword [esi + 0x350], 0x215
xor eax, eax
mov dword [esi + 0x910], 0xa5
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x383c]
cmp edx, 7
mov esi, dword [edi + 0x3840]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
sete byte [esp + 0x18]
add edi, 0x383c
mov dword [esp + 0x10], 7
cmp ecx, esi
jne 0x43b9a7
inc ecx
test esi, esi
je 0x43b995
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x43b99a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00429410
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 + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je case.0x43bcff.527
cmp eax, 0x10000
jae case.0x43bcff.527
mov edx, dword [esp + 8]
movzx esi, ax
add edx, 0x37ac
mov dword [esp + 8], edx
mov ecx, esi
test si, si
jne 0x43ba19
cmp word [edx], si
je case.0x43bcff.527
mov eax, ecx
and eax, 0xfc00
jmp 0x43bade
movzx ecx, word [edx]
mov eax, esi
and eax, 0xfc00
mov dword [esp + 0xc], 0xd800
cmp ax, word [esp + 0xc]
jne 0x43bad5
test cx, cx
je 0x43babf
mov ecx, dword [edi + 0x383c]
add edi, 0x383c
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x30], 6
mov eax, dword [edi + 4]
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0xfffd
cmp ecx, eax
jne 0x43baa0
inc ecx
test eax, eax
je 0x43ba8a
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x43ba8f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00429410
mov edx, dword [esp + 8]
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x30]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
mov word [edx], si
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
test cx, cx
je 0x43bb74
mov ecx, 0xdc00
cmp ax, cx
je 0x43bb66
mov ecx, dword [edi + 0x383c]
add edi, 0x383c
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x30], 6
mov eax, dword [edi + 4]
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0xfffd
cmp ecx, eax
jne 0x43bb45
inc ecx
test eax, eax
je 0x43bb33
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x43bb38
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00429410
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x30]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
jmp 0x43bb6b
mov esi, 0xfffd
mov eax, dword [esp + 8]
xor ecx, ecx
mov word [eax], cx
movzx eax, si
push eax
call fcn.00408a60
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x43bcff.527
call fcn.0043a2c0
test al, al
je case.0x43bcff.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x26], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x43bc13
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x10
push eax
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov edi, dword [0x4595e8]
mov ecx, dword [esp + 0xc]
mov byte [esi + 8], 1
mov eax, dword [ebp + 0xc]
movsx edx, ax
shr eax, 0x10
movsx esi, ax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
test dword [eax], 0x400
je 0x43bc4d
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov edi, dword [0x4595e8]
mov ecx, dword [edi + 0x383c]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
add edi, 0x383c
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
movss dword [esp + 0x18], xmm0
movd xmm0, esi
mov esi, dword [edi + 4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
cmp ecx, esi
jne 0x43bcb5
inc ecx
test esi, esi
je 0x43bca3
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x43bca8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00429410
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
movq xmm0, qword [esp + 0x20]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x43bcff.527
movzx eax, byte [eax + 0x43c098]
jmp dword [eax*4 + 0x43c07c]
cmp dword [esi + 4], ecx
jne 0x43bd12
mov dword [esi + 4], 0
add edi, 0x383c
mov byte [esi + 8], 0
xorps xmm0, xmm0
mov dword [esp + 0x10], 1
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x14], 1
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x18], 0xff7fffff
mov dword [esp + 0x1c], 0xff7fffff
cmp ecx, esi
jne 0x43bcb5
inc ecx
test esi, esi
je 0x43bca3
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x43bca8
cmp edx, 0x204
je 0x43bd7b
xor esi, esi
cmp edx, 0x206
jne 0x43bd80
mov esi, 1
cmp edx, 0x207
je 0x43bd90
cmp edx, 0x209
jne 0x43bd95
mov esi, 2
cmp edx, 0x20b
je 0x43bda5
cmp edx, 0x20d
jne 0x43bdb5
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [esp + 0x54]
cmp dword [ecx + 0xc], 0
jne 0x43bddd
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x43bdd3
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x54]
mov edi, dword [0x4595e8]
mov eax, dword [ecx + 0xc]
add edi, 0x383c
bts eax, esi
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x18], esi
mov esi, dword [edi + 4]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 1
mov byte [esp + 0x1c], 1
cmp ecx, esi
jne 0x43b9a7
inc ecx
test esi, esi
je 0x43b995
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x43b99a
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 8], ecx
cmp edx, 0x208
jne 0x43be4f
mov ecx, 2
jmp 0x43be67
cmp edx, 0x20c
jne 0x43be6b
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 8], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x43be94
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0xc]
jne 0x43be8a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 8]
mov edi, dword [0x4595e8]
mov esi, dword [edi + 0x3840]
add edi, 0x383c
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x18], ecx
mov ecx, dword [edi]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 1
mov byte [esp + 0x1c], 0
cmp ecx, esi
jne 0x43b9a7
inc ecx
test esi, esi
je 0x43b995
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x43b99a
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x454bdc]
call fcn.00408c40
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x454bdc]
call fcn.00408c40
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x43bcff.527
mov byte [esi + 0x25], 1
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0044c9de
mov esp, ebp
pop ebp
ret