Function at 0x43ad10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x457040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [0x4674c0]
mov dword [ebp - 0x18], eax
push esi
mov esi, dword [ebp + 8]
push edi
test ecx, ecx
je case.0x43afc3.527
mov ebx, dword [ecx + 0xc4]
lea edi, [ecx + 8]
cmp edx, 0x200
ja 0x43afab
je 0x43af65
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x43afc3.527
movzx eax, byte [eax + 0x43b19c]
jmp dword [eax*4 + 0x43b188]
cmp edx, 0x100
je 0x43ad84
cmp edx, 0x104
je 0x43ad84
xor al, al
jmp 0x43ad86
mov al, 1
cmp esi, 0x100
jae 0x43ad95
mov byte [esi + edi + 0xf8], al
cmp esi, 0x11
jne 0x43ae05
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
shr eax, 0xf
and al, 1
push 0xa3
mov byte [edi + 0x19a], al
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x19a], 0
mov byte [edi + 0x19b], al
jne 0x43adea
test al, al
jne 0x43adea
mov byte [edi + 0xf4], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
mov al, 1
mov byte [edi + 0xf4], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
cmp esi, 0x10
jne 0x43ae75
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
shr eax, 0xf
and al, 1
push 0xa1
mov byte [edi + 0x198], al
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x198], 0
mov byte [edi + 0x199], al
jne 0x43ae5a
test al, al
jne 0x43ae5a
mov byte [edi + 0xf5], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
mov al, 1
mov byte [edi + 0xf5], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x43afc3.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
shr eax, 0xf
and al, 1
push 0xa5
mov byte [edi + 0x19c], al
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x19c], 0
mov byte [edi + 0x19d], al
jne 0x43aece
test al, al
jne 0x43aece
mov byte [edi + 0xf6], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
mov al, 1
mov byte [edi + 0xf6], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
cmp edx, 7
setne al
mov byte [edi + 0x1510], al
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
test esi, esi
je case.0x43afc3.527
cmp esi, 0x10000
jae case.0x43afc3.527
push esi
mov ecx, edi
call fcn.00417400
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x43afc3.527
call fcn.0043a750
test al, al
je case.0x43afc3.527
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 8], 0
mov dword [ebx + 4], eax
jne case.0x43afc3.527
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [ebx + 8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x43afc3.527
movzx eax, byte [eax + 0x43b2b8]
jmp dword [eax*4 + 0x43b29c]
mov ecx, dword [ebp - 0x18]
cmp dword [ebx + 4], ecx
jne 0x43afd9
mov dword [ebx + 4], 0
mov byte [ebx + 8], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp edx, 0x204
je 0x43b002
cmp edx, 0x206
jne 0x43b007
mov ebx, 1
cmp edx, 0x207
je 0x43b017
cmp edx, 0x209
jne 0x43b01c
mov ebx, 2
cmp edx, 0x20b
je 0x43b02c
cmp edx, 0x20d
jne 0x43b03b
mov ebx, esi
shr ebx, 0x10
dec ebx
neg ebx
sbb ebx, ebx
neg ebx
add ebx, 3
xor eax, eax
nop dword [eax]
cmp byte [ecx + eax + 0xec], 0
jne 0x43b064
inc eax
cmp eax, 5
jl 0x43b040
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x43b064
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [ebx + edi + 0xe4], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edx, 0x205
sete al
cmp edx, 0x208
jne 0x43b099
mov eax, 2
jmp 0x43b0b0
cmp edx, 0x20c
jne 0x43b0b0
mov eax, esi
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov byte [eax + edi + 0xe4], 0
xor eax, eax
nop word [eax + eax]
cmp byte [ecx + eax + 0xec], 0
jne case.0x43afc3.527
inc eax
cmp eax, 5
jl 0x43b0c0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x18]
jne case.0x43afc3.527
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
shr esi, 0x10
movsx eax, si
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x4508dc]
addss xmm0, dword [edi + 0xec]
movss dword [edi + 0xec], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
shr esi, 0x10
movsx eax, si
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x4508dc]
addss xmm0, dword [edi + 0xf0]
movss dword [edi + 0xf0], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret
cmp esi, 7
jne case.0x43afc3.527
mov byte [ebx + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445a3a
mov esp, ebp
pop ebp
ret