Function at 0x43ad10
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4d6ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x20], ebp
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
jge 0x43ad4e
xor ebx, ebx
cmp eax, ebx
jl 0x43ad50
mov ecx, dword [ebp + 0x40]
mov edi, dword [ecx + eax*4]
mov dword [esp + 0x10], edi
jmp 0x43ad56
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ebx
mov esi, dword [sym.imp.user32.dll_GetKeyState]
push 0x10
call esi
test ah, 0x80
je 0x43ad6e
push 0x79
call esi
test ah, 0x80
je 0x43ad7b
push 0x11
call esi
test ah, 0x80
je 0x43aed1
cmp edi, ebx
je 0x43aed1
mov ecx, edi
call fcn.00454cb0
test eax, eax
je 0x43aed1
push 0x80
mov dword [esp + 0x3c], 0x4d86f4
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x1f
mov dword [esp + 0x4c], pe_nt_image_headers32
mov ecx, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], ebx
call fcn.00454cb0
mov ebx, eax
test ebx, ebx
je 0x43ae4e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x43ae3a
mov ecx, dword [esp + 0x4c]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004c7e90
mov ebp, eax
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov edi, ebp
lea ecx, [eax*4 + 4]
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]
mov eax, dword [esp + 0x40]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
add esp, 8
add eax, ecx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x68]
push edx
lea edx, [esp + 0x3c]
mov eax, dword [ecx + 0x50]
mov ecx, dword [esp + 0x68]
push ecx
push edx
push eax
call fcn.00405b90
add esp, 0x10
test eax, eax
jne 0x43ae78
push 0xffffffffffffffff
call dword [sym.imp.user32.dll_MessageBeep]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
mov dword [esp + 0x38], 0x4d86f4
je 0x43aebf
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x43aebf
cmp esi, eax
jge 0x43aeab
test esi, esi
jl 0x43aeab
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + esi*4]
jmp 0x43aead
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x44]
add esp, 4
inc esi
cmp esi, eax
jl 0x43ae9e
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004c7e56
add esp, 4
jmp 0x43b326
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x30]
mov eax, dword [edx + 0x50]
push ecx
push eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.0045cff0
mov ebx, eax
mov ecx, dword [ebp + 4]
neg eax
sbb eax, eax
and eax, 0x4e52
add eax, 0x6d
and eax, 0xffff
push eax
push ecx
call dword [sym.imp.user32.dll_LoadMenuA]
push 0
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.user32.dll_GetSubMenu]
test edi, edi
mov esi, eax
je 0x43af76
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
jge 0x43af4c
test eax, eax
jl 0x43af4c
mov edx, dword [ebp + 0x40]
mov eax, dword [edx + eax*4]
jmp 0x43af4e
xor eax, eax
mov ecx, eax
call fcn.00456650
cmp eax, 1
jle 0x43af76
mov ecx, dword [ebp + 8]
mov eax, 1
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 0x6d0]
test edx, edx
jle 0x43af7c
mov dword [esp + 0x1c], eax
jmp 0x43af88
xor eax, eax
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x43afa7
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [edx + 0x6d0]
call fcn.00456650
dec eax
mov dword [esp + 0x20], 1
cmp edi, eax
jl 0x43afaf
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0x4eb8
push 0x409
push eax
call edi
mov ecx, dword [ebp + 0x10]
push 0
push 0x4eb9
push 0x409
push ecx
mov dword [esp + 0x34], eax
call edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43b038
mov edi, eax
mov ecx, edi
call fcn.00454cb0
test eax, eax
je 0x43b038
push 6
mov ecx, edi
call fcn.00454cb0
push eax
call fcn.004c818e
add esp, 8
test eax, eax
jne 0x43b038
mov ecx, edi
call fcn.00454480
test eax, eax
jne 0x43b038
push 0x4ee760
mov ecx, edi
call fcn.00454cb0
push eax
call fcn.004452e0
add esp, 8
mov dword [esp + 0x14], 1
test eax, eax
je 0x43b040
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x43b092
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.user32.dll_RemoveMenu]
test ebx, ebx
je 0x43b05b
mov al, byte [0x4fb97c]
test al, al
je 0x43b06f
push 0
push 0x4eee
push esi
call edi
push 0
push 0x4eed
push esi
call edi
test ebx, ebx
je 0x43b07c
mov al, byte [0x4fb97d]
test al, al
je 0x43b086
push 0
push 0x4f22
push esi
call edi
push 0
push 0x4f78
jmp 0x43b2f9
mov al, byte [0x4fb97c]
mov edi, dword [sym.imp.user32.dll_RemoveMenu]
test al, al
je 0x43b0bd
mov al, byte [0x4fb97b]
test al, al
je 0x43b0bd
mov al, byte [0x4fb97e]
test al, al
je 0x43b0bd
push 0x400
push 0x1a
push esi
call edi
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x43b0ce
mov al, byte [0x4fb97c]
test al, al
je 0x43b0d8
push 0x400
push 0x17
push esi
call edi
test ebx, ebx
je 0x43b0e5
mov al, byte [0x4fb97b]
test al, al
je 0x43b0f9
push 0x400
push 0x16
push esi
call edi
push 0x400
push 0x15
push esi
call edi
test ebx, ebx
je 0x43b10f
mov al, byte [0x4fb97d]
test al, al
je 0x43b119
mov al, byte [0x4fb97b]
test al, al
je 0x43b119
push 0x400
push 0x14
push esi
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43b12b
push 0
push 0x4f80
push esi
call edi
test ebx, ebx
je 0x43b138
mov al, byte [0x4fb97b]
test al, al
je 0x43b14c
push 0
push 0x4f73
push esi
call edi
push 0
push 0x4f1a
push esi
call edi
mov al, byte [0x4fb979]
test al, al
je 0x43b15f
push 0
push 0x4eba
push esi
call edi
mov al, byte [0x4fb97e]
test al, al
je 0x43b172
push 0
push 0x4e90
push esi
call edi
test ebx, ebx
je 0x43b17f
mov al, byte [0x4fb97d]
test al, al
je 0x43b189
push 0
push 0x4f22
push esi
call edi
test ebx, ebx
jne 0x43b196
push ebx
push 0x4eb7
push esi
call edi
mov al, byte [0x4fb97a]
test al, al
je 0x43b1a9
push 0
push 0x4f21
push esi
call edi
test ebx, ebx
jne 0x43b1db
push 0x400
push 0xc
push esi
call edi
push ebx
push 0x4eb8
push esi
call edi
push ebx
push 0x4eb9
push esi
call edi
push ebx
push 0x4f0a
push esi
call edi
push ebx
push 0x4f09
push esi
call edi
cmp dword [ebp + 0x44], 2
jge 0x43b209
push 0x400
push 6
push esi
call edi
push 0
push 0x4eb4
push esi
call edi
push 0
push 0x4eb3
push esi
call edi
push 0
push 0x4eb6
push esi
call edi
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43b22f
push 0x400
push 2
push esi
call edi
push 0
push 0x4efe
push esi
call edi
push 0
push 0x4eff
push esi
call edi
mov eax, dword [ebp + 0x60]
mov edi, dword [sym.imp.user32.dll_EnableMenuItem]
test eax, eax
jne 0x43b246
push 1
push 0x4eb3
push esi
call edi
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x60]
dec edx
cmp eax, edx
jne 0x43b25b
push 1
push 0x4eb4
push esi
call edi
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43b26d
push 1
push 0x4eb8
push esi
call edi
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x43b27f
push 1
push 0x4eb9
push esi
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43b291
push 1
push 0x4eff
push esi
call edi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x43b2a3
push 1
push 0x4efe
push esi
call edi
mov eax, dword [ebp + 0x38]
mov edi, dword [sym.imp.user32.dll_CheckMenuItem]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x4eb6
push esi
call edi
mov ecx, ebp
call fcn.004418c0
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x4eb5
push esi
call edi
mov ecx, dword [ebp + 0xb0]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push 0x4f60
push esi
call edi
mov al, byte [0x4fb979]
test al, al
jne 0x43b300
push 0
push 0x4eba
push esi
call dword [sym.imp.user32.dll_SetMenuDefaultItem]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 0
push edx
push 0
push eax
push ecx
push 2
push esi
call dword [sym.imp.user32.dll_TrackPopupMenu]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.user32.dll_DestroyMenu]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8