Function at 0x43c359
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x47e00c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004096d0
test eax, eax
jne 0x43c0b0
xor eax, eax
jmp 0x43c694
call fcn.00409880
mov dword [ebp - 0x18], eax
call fcn.0043b300
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x200
ja 0x43c0ff
cmp dword [ebp - 0x20], 0x200
je 0x43c129
mov ecx, dword [ebp - 0x20]
sub ecx, 7
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0xfe
ja case.0x43c122.14
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x43c6b8]
jmp dword [eax*4 + 0x43c6a4]
mov ecx, dword [ebp - 0x20]
sub ecx, 0x201
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0xa2
ja case.0x43c122.14
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x43c7d4]
jmp dword [eax*4 + 0x43c7b8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 8]
test ecx, ecx
jne 0x43c169
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 2
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 8], 1
jmp case.0x43c122.14
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
cmp eax, dword [ebp + 8]
jne 0x43c183
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x28]
mov byte [edx + 8], 0
jmp case.0x43c122.14
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 0x201
je 0x43c1a8
cmp dword [ebp + 0xc], 0x203
jne 0x43c1af
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 0x204
je 0x43c1c1
cmp dword [ebp + 0xc], 0x206
jne 0x43c1c8
mov dword [ebp - 0x2c], 1
cmp dword [ebp + 0xc], 0x207
je 0x43c1da
cmp dword [ebp + 0xc], 0x209
jne 0x43c1e1
mov dword [ebp - 0x2c], 2
cmp dword [ebp + 0xc], 0x20b
je 0x43c1f3
cmp dword [ebp + 0xc], 0x20d
jne 0x43c21c
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
cmp ecx, 1
jne 0x43c20f
mov dword [ebp - 0x34], 3
jmp 0x43c216
mov dword [ebp - 0x34], 4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
call fcn.0040da10
movzx eax, al
test eax, eax
jne 0x43c23c
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x43c23c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x2c]
mov byte [edx + 0xe4], 1
xor eax, eax
jmp 0x43c694
mov dword [ebp - 0x30], 0
cmp dword [ebp + 0xc], 0x202
jne 0x43c267
mov dword [ebp - 0x30], 0
cmp dword [ebp + 0xc], 0x205
jne 0x43c277
mov dword [ebp - 0x30], 1
cmp dword [ebp + 0xc], 0x208
jne 0x43c287
mov dword [ebp - 0x30], 2
cmp dword [ebp + 0xc], 0x20c
jne 0x43c2b9
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
cmp ecx, 1
jne 0x43c2ac
mov dword [ebp - 0x38], 3
jmp 0x43c2b3
mov dword [ebp - 0x38], 4
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
mov byte [eax + 0xe4], 0
call fcn.0040da10
movzx ecx, al
test ecx, ecx
jne 0x43c2e3
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x43c2e3
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
jmp 0x43c694
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
cvtsi2ss xmm0, eax
divss xmm0, dword [0x47b9dc]
mov ecx, dword [ebp - 0x18]
addss xmm0, dword [ecx + 0xec]
mov edx, dword [ebp - 0x18]
movss dword [edx + 0xec], xmm0
xor eax, eax
jmp 0x43c694
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
cvtsi2ss xmm0, ecx
divss xmm0, dword [0x47b9dc]
mov edx, dword [ebp - 0x18]
addss xmm0, dword [edx + 0xf0]
mov eax, dword [ebp - 0x18]
movss dword [eax + 0xf0], xmm0
xor eax, eax
jmp 0x43c694
cmp dword [ebp + 0xc], 0x100
je 0x43c374
cmp dword [ebp + 0xc], 0x104
je 0x43c374
mov dword [ebp - 0x3c], 0
jmp 0x43c37b
mov dword [ebp - 0x3c], 1
mov cl, byte [ebp - 0x3c]
mov byte [ebp - 0x21], cl
cmp dword [ebp + 0x10], 0x100
jae 0x43c399
mov edx, dword [ebp - 0x18]
add edx, dword [ebp + 0x10]
mov al, byte [ebp - 0x21]
mov byte [edx + 0xf8], al
cmp dword [ebp + 0x10], 0x11
jne 0x43c46c
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x43c3c2
mov dword [ebp - 0x40], 1
jmp 0x43c3c9
mov dword [ebp - 0x40], 0
mov edx, 1
imul eax, edx, 0xa2
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x40]
mov byte [ecx + eax + 0xf8], dl
push 0xa3
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x43c3fd
mov dword [ebp - 0x44], 1
jmp 0x43c404
mov dword [ebp - 0x44], 0
mov ecx, 1
imul edx, ecx, 0xa3
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0x44]
mov byte [eax + edx + 0xf8], cl
mov edx, 1
imul eax, edx, 0xa2
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax + 0xf8]
test edx, edx
jne 0x43c459
mov eax, 1
imul ecx, eax, 0xa3
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + ecx + 0xf8]
test eax, eax
jne 0x43c459
mov dword [ebp - 0x48], 0
jmp 0x43c460
mov dword [ebp - 0x48], 1
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x48]
mov byte [ecx + 0xf4], dl
cmp dword [ebp + 0x10], 0x10
jne 0x43c53f
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x43c492
mov dword [ebp - 0x4c], 1
jmp 0x43c499
mov dword [ebp - 0x4c], 0
mov ecx, 1
imul edx, ecx, 0xa0
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0x4c]
mov byte [eax + edx + 0xf8], cl
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x43c4d0
mov dword [ebp - 0x50], 1
jmp 0x43c4d7
mov dword [ebp - 0x50], 0
mov eax, 1
imul ecx, eax, 0xa1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 0x50]
mov byte [edx + ecx + 0xf8], al
mov ecx, 1
imul edx, ecx, 0xa0
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx + 0xf8]
test ecx, ecx
jne 0x43c52c
mov edx, 1
imul eax, edx, 0xa1
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax + 0xf8]
test edx, edx
jne 0x43c52c
mov dword [ebp - 0x54], 0
jmp 0x43c533
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0x54]
mov byte [eax + 0xf5], cl
cmp dword [ebp + 0x10], 0x12
jne 0x43c615
push 0xa4
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x43c568
mov dword [ebp - 0x58], 1
jmp 0x43c56f
mov dword [ebp - 0x58], 0
mov eax, 1
imul ecx, eax, 0xa4
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 0x58]
mov byte [edx + ecx + 0xf8], al
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x43c5a6
mov dword [ebp - 0x5c], 1
jmp 0x43c5ad
mov dword [ebp - 0x5c], 0
mov edx, 1
imul eax, edx, 0xa5
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x5c]
mov byte [ecx + eax + 0xf8], dl
mov eax, 1
imul ecx, eax, 0xa4
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + ecx + 0xf8]
test eax, eax
jne 0x43c602
mov ecx, 1
imul edx, ecx, 0xa5
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx + 0xf8]
test ecx, ecx
jne 0x43c602
mov dword [ebp - 0x60], 0
jmp 0x43c609
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 0x60]
mov byte [edx + 0xf6], al
xor eax, eax
jmp 0x43c694
cmp dword [ebp + 0xc], 7
jne 0x43c625
mov byte [ebp - 0x19], 1
jmp 0x43c629
mov byte [ebp - 0x19], 0
movzx ecx, byte [ebp - 0x19]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004056c0
xor eax, eax
jmp 0x43c694
cmp dword [ebp + 0x10], 0
jbe 0x43c656
cmp dword [ebp + 0x10], 0x10000
jae 0x43c656
movzx edx, word [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004054c0
xor eax, eax
jmp 0x43c694
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 1
jne 0x43c67d
call fcn.0043b710
movzx edx, al
test edx, edx
je 0x43c67d
mov eax, 1
jmp 0x43c694
xor eax, eax
jmp 0x43c694
cmp dword [ebp + 0x10], 7
jne 0x43c68e
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x25], 1
xor eax, eax
jmp 0x43c694
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004611f4
mov esp, ebp
pop ebp
ret