Function at 0x43eff2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, 0x5491e4
cmp dword [0x52b514], 0
je 0x43fa8b
push 0
push 0x549200
push dword [ebp + 8]
call fcn.004f9e67
mov dword [0x5491e0], eax
cmp dword [0x5491e0], 0
je 0x43fa8b
mov eax, dword [0x5491e0]
cmp dword [eax + 0x61c], 0
je 0x43fa8b
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x43f056
mov dword [0x5491e8], 1
jmp 0x43f05e
xor edx, edx
mov dword [0x5491e8], edx
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x43f076
mov dword [0x5491ec], 1
jmp 0x43f07e
xor ecx, ecx
mov dword [0x5491ec], ecx
mov eax, dword [0x52b504]
mov dword [0x52b4f4], eax
mov edx, dword [0x52b508]
mov dword [0x52b4f8], edx
mov ecx, dword [0x52b50c]
mov dword [0x52b4fc], ecx
mov eax, dword [0x52b510]
mov dword [0x52b500], eax
mov edx, dword [0x52b500]
cmp edx, dword [0x52b4f8]
jne 0x43f0ca
mov ecx, dword [0x52b4fc]
cmp ecx, dword [0x52b4f4]
jle 0x43fa8b
mov eax, dword [0x52b500]
cmp eax, dword [0x52b4f8]
jg 0x43fa8b
cmp dword [0x52b4f4], 0
jl 0x43fa8b
cmp dword [0x52b4f8], 0
jl 0x43fa8b
cmp dword [0x52b4fc], 0
jl 0x43fa8b
cmp dword [0x52b500], 0
jl 0x43fa8b
mov edx, dword [0x5491e0]
mov ecx, dword [edx + 0x630]
mov eax, dword [0x5491e0]
sub ecx, dword [eax + 0x634]
mov dword [0x5491f8], ecx
mov edx, dword [0x5491e0]
mov ecx, dword [edx + 0x61c]
mov eax, dword [ecx + 0x34]
mov dword [edi], eax
jmp 0x43f15c
mov edx, dword [0x5491e0]
mov ecx, dword [edx + 0x61c]
mov eax, dword [edi]
cmp ecx, eax
je 0x43f165
mov edx, dword [eax + 0x34]
mov dword [edi], edx
dec dword [0x5491f8]
cmp dword [0x5491f8], 0
jg 0x43f13f
cmp dword [edi], 0
je 0x43fa8b
mov ecx, 0x64
mov dword [0x549218], ecx
push dword [0x549218]
call fcn.00524378
pop ecx
mov dword [0x5491d8], eax
test eax, eax
jne 0x43f19a
push 0
call fcn.00415bea
jmp 0x43fa8b
mov edx, dword [0x5491e0]
mov ecx, dword [edx + 0x7ec]
mov dword [0x549210], ecx
mov eax, dword [0x5491e0]
cmp dword [eax + 0x660], 1
je 0x43f1d2
mov edx, dword [0x5491e0]
cmp dword [edx + 0x660], 2
jne 0x43f1e5
cmp dword [0x533f30], 1
jne 0x43f1e5
mov ecx, dword [0x5491e0]
mov eax, dword [ecx + 0x7ec]
dec eax
add dword [0x549210], eax
mov edx, dword [0x54920c]
sub edx, dword [0x549210]
dec edx
mov dword [0x5491f4], edx
xor ecx, ecx
mov dword [0x5491f8], ecx
jmp 0x43f234
mov eax, dword [0x549210]
sub dword [0x5491f4], eax
neg eax
cmp eax, dword [0x5491f4]
jg 0x43f242
mov edx, dword [0x5491e0]
mov ecx, dword [edx + 0x61c]
mov eax, dword [edi]
cmp ecx, eax
je 0x43f242
mov edx, dword [eax + 0x34]
mov dword [edi], edx
inc dword [0x5491f8]
mov ecx, dword [0x5491f8]
cmp ecx, dword [0x52b4f8]
jl 0x43f202
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov dword [0x549214], edx
mov byte [0x555704], 0
mov ecx, dword [0x5491d8]
mov byte [ecx], 0
xor eax, eax
mov dword [0x549224], eax
mov dword [0x549220], eax
mov dword [0x54921c], eax
mov edx, dword [edi]
mov ecx, dword [edx + 0x18]
mov dword [0x549228], ecx
mov eax, dword [0x52a370]
mov dword [0x54922c], eax
xor edx, edx
mov dword [0x549230], edx
xor ecx, ecx
mov dword [0x549234], ecx
xor eax, eax
mov dword [0x549238], eax
jmp 0x43fa0f
mov edx, dword [ebx + 4]
cmp edx, dword [0x549214]
je 0x43f2e1
xor ecx, ecx
mov dword [0x549224], ecx
mov dword [0x549220], ecx
mov dword [0x54921c], ecx
mov eax, dword [ebx + 0x18]
mov dword [0x549228], eax
mov edx, dword [0x52a370]
mov dword [0x54922c], edx
xor eax, eax
mov dword [0x549230], eax
xor edx, edx
mov dword [0x549234], edx
mov ecx, dword [0x5491f8]
cmp ecx, dword [0x52b4f8]
jne 0x43f5ec
mov dword [0x549234], 1
mov eax, dword [ebx]
push edi
mov edi, eax
mov esi, 0x555aeb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0x555aeb
call fcn.005183dc
pop ecx
mov ebx, eax
mov dword [0x5491f0], ebx
cmp ebx, dword [0x52b4f4]
jge 0x43f346
mov dword [0x52b4f4], ebx
mov eax, dword [0x5491f8]
cmp eax, dword [0x52b500]
jne 0x43f3a6
cmp dword [0x528aa8], 0
je 0x43f378
push dword [0x52b4fc]
push 0x555aeb
call fcn.0052385c
add esp, 8
dec eax
jne 0x43f378
inc dword [0x52b4fc]
mov edx, dword [0x5491f0]
cmp edx, dword [0x52b4fc]
jge 0x43f392
mov ecx, dword [0x5491f0]
mov dword [0x52b4fc], ecx
mov eax, dword [0x52b4fc]
mov byte [eax + 0x555aec], 0
xor edx, edx
mov dword [0x5491f8], edx
cmp dword [0x528aa8], 0
je 0x43f3cd
push dword [0x52b4f4]
push 0x555aeb
call fcn.0052385c
add esp, 8
cmp eax, 2
jne 0x43f3cd
dec dword [0x52b4f4]
cmp dword [0x52b4f4], 0
jge 0x43f3de
xor ecx, ecx
mov dword [0x52b4f4], ecx
mov eax, 0x555aeb
add eax, dword [0x52b4f4]
push edi
mov edi, eax
mov esi, 0x555704
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
cmp dword [0x5491ec], 0
je 0x43f799
mov ebx, dword [edi]
test ebx, ebx
je 0x43f445
mov eax, dword [0x5491e0]
cmp ebx, dword [eax + 0x61c]
je 0x43f445
mov ebx, dword [ebx + 0x34]
mov edx, dword [edi]
mov ecx, dword [edx + 4]
cmp ecx, dword [ebx + 4]
je 0x43f441
mov ebx, dword [ebx + 0x30]
jmp 0x43f445
test ebx, ebx
jne 0x43f422
test ebx, ebx
je 0x43f451
mov eax, dword [ebx + 0x18]
mov dword [0x549228], eax
test ebx, ebx
je 0x43f799
xor esi, esi
push dword [ebx]
call fcn.005183dc
pop ecx
mov dword [ebp - 4], eax
cmp esi, dword [ebp - 4]
jge 0x43f5d4
cmp ebx, dword [edi]
jne 0x43f47f
cmp esi, dword [0x52b4f4]
jge 0x43f5d4
cmp dword [0x528aa8], 0
je 0x43f4a0
push esi
push dword [ebx]
call fcn.0052385c
add esp, 8
cmp eax, 1
je 0x43f49d
cmp eax, 2
jne 0x43f4a0
inc esi
jmp 0x43f466
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + esi]
cmp edx, 0xf
jg 0x43f4bf
je 0x43f593
sub edx, 2
je 0x43f4ce
dec edx
je 0x43f532
jmp 0x43f5ca
sub edx, 0x16
je 0x43f511
sub edx, 9
je 0x43f4ef
jmp 0x43f5ca
mov ecx, dword [0x54921c]
cmp ecx, 1
sbb eax, eax
neg eax
mov dword [0x54921c], eax
mov dword [0x549238], 1
jmp 0x43f5ca
mov edx, dword [0x549220]
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [0x549220], ecx
mov dword [0x549238], 1
jmp 0x43f5ca
mov eax, dword [0x549224]
cmp eax, 1
sbb edx, edx
neg edx
mov dword [0x549224], edx
mov dword [0x549238], 1
jmp 0x43f5ca
push dword [0x52a370]
push dword [ebx + 0x18]
push 0x54922c
push 0x549228
mov ecx, dword [ebx]
add ecx, esi
push ecx
call fcn.004c770c
add esi, eax
cmp dword [0x549230], 0
jne 0x43f587
test eax, eax
jne 0x43f567
xor eax, eax
mov dword [0x549230], eax
jmp 0x43f587
cmp eax, 2
jg 0x43f578
mov dword [0x549230], 1
jmp 0x43f587
cmp eax, 2
jle 0x43f587
mov dword [0x549230], 2
mov dword [0x549238], 1
jmp 0x43f5ca
xor edx, edx
mov dword [0x549224], edx
mov dword [0x549220], edx
mov dword [0x54921c], edx
mov eax, dword [ebx + 0x18]
mov dword [0x549228], eax
mov ecx, dword [0x52a370]
mov dword [0x54922c], ecx
xor eax, eax
mov dword [0x549230], eax
xor edx, edx
mov dword [0x549238], edx
inc esi
cmp esi, dword [ebp - 4]
jl 0x43f46f
cmp ebx, dword [edi]
je 0x43f799
mov ebx, dword [ebx + 0x30]
test ebx, ebx
jne 0x43f459
jmp 0x43f799
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
mov edi, eax
mov esi, 0x555aeb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, dword [0x5491f8]
cmp eax, dword [0x52b500]
jne 0x43f686
push 0x555aeb
call fcn.005183dc
pop ecx
mov dword [0x5491f0], eax
cmp dword [0x528aa8], 0
je 0x43f658
push dword [0x52b4fc]
push 0x555aeb
call fcn.0052385c
add esp, 8
dec eax
jne 0x43f658
inc dword [0x52b4fc]
mov edx, dword [0x5491f0]
cmp edx, dword [0x52b4fc]
jge 0x43f672
mov ecx, dword [0x5491f0]
mov dword [0x52b4fc], ecx
mov eax, dword [0x52b4fc]
mov byte [eax + 0x555aec], 0
xor edx, edx
mov dword [0x5491f8], edx
cmp dword [0x5491e8], 0
jne 0x43f776
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
cmp eax, dword [0x549214]
jne 0x43f776
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x43f74b
mov dword [0x5491f0], eax
mov dword [0x5491fc], 0x555aeb
jmp 0x43f6d2
dec dword [0x5491f0]
cmp al, 0x20
jne 0x43f6e7
inc dword [0x5491fc]
mov edx, dword [0x5491fc]
mov al, byte [edx]
test al, al
je 0x43f6e7
cmp dword [0x5491f0], 0
jg 0x43f6c2
mov edx, dword [0x5491fc]
cmp byte [edx], 0
je 0x43f720
mov ecx, dword [0x5491fc]
push edi
mov esi, 0x555704
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x43f799
push edi
mov esi, 0x555704
mov edi, 0x555aeb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x43f799
push edi
mov esi, 0x555704
mov edi, 0x555aeb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x43f799
push edi
mov esi, 0x52b520
mov edi, 0x555704
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
push 0x555aeb
push 0x555704
call fcn.00518300
add esp, 8
cmp dword [0x5491ec], 0
je 0x43f963
cmp dword [0x549234], 0
je 0x43f96f
xor edx, edx
mov dword [0x549234], edx
mov byte [0x555aeb], 0
cmp dword [0x54921c], 0
je 0x43f7ec
push 2
push 0x52b524
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [0x549220], 0
je 0x43f816
push 0x1f
push 0x52b528
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [0x549224], 0
je 0x43f840
push 0x16
push 0x52b52c
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [0x549230], 2
jne 0x43f8bc
xor ecx, ecx
mov cl, byte [0x555704]
test byte [ecx*2 + str.________________________________H], 4
je 0x43f88d
push dword [0x54922c]
push dword [0x549228]
push 3
push str._c_d__02d
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x43f926
push dword [0x54922c]
push dword [0x549228]
push 3
push str._c_d__d
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x43f926
cmp dword [0x549230], 1
jne 0x43f926
xor eax, eax
mov al, byte [0x555704]
test byte [eax*2 + str.________________________________H], 4
je 0x43f8ff
push dword [0x549228]
push 3
push str._c_02d
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x43f926
push dword [0x549228]
push 3
push str._c_d
push 0x555aeb
call fcn.005183dc
pop ecx
add eax, 0x555aeb
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x555704
push 0x555aeb
call fcn.00518300
add esp, 8
push edi
mov esi, 0x555704
mov edi, 0x555aeb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x43f96f
push 0xf
push 0x555704
call fcn.004e51c7
push dword [0x5491d8]
call fcn.005183dc
pop ecx
mov ebx, eax
push 0x555704
call fcn.005183dc
pop ecx
add ebx, eax
add ebx, 0x14
mov dword [0x5491f0], ebx
cmp ebx, dword [0x549218]
jle 0x43f9e6
add dword [0x5491f0], 0x64
mov eax, dword [0x5491f0]
mov dword [0x549218], eax
push dword [0x549218]
push dword [0x5491d8]
call fcn.0052480c
add esp, 8
mov dword [0x5491dc], eax
cmp dword [0x5491dc], 0
jne 0x43f9da
push 0
call fcn.00415bea
jmp 0x43fa76
mov edx, dword [0x5491dc]
mov dword [0x5491d8], edx
push 0x555704
push dword [0x5491d8]
call fcn.00518300
add esp, 8
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov dword [0x549214], edx
mov ecx, dword [eax + 0x30]
mov dword [edi], ecx
dec dword [0x5491f8]
mov ebx, dword [edi]
test ebx, ebx
je 0x43fa22
cmp dword [0x5491f8], 0
jge 0x43f29f
push dword [0x5491d8]
call fcn.005183dc
pop ecx
cmp eax, 1
jbe 0x43fa76
cmp dword [0x549238], 0
je 0x43fa5e
push 0xf
push 0x52b552
push dword [0x5491d8]
call fcn.005183dc
pop ecx
add eax, dword [0x5491d8]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push dword [0x5491d8]
call fcn.00416b16
test eax, eax
jne 0x43fa76
push 0
call fcn.00415bea
cmp dword [0x5491d8], 0
je 0x43fa8b
push dword [0x5491d8]
call fcn.00524270
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4