Function at 0x4b0230
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c63c8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push edi
mov edi, ecx
call fcn.004b17f0
test eax, eax
jne 0x4b0743
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x40]
mov dword [esp + 0x28], ecx
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0x6168]
mov ebx, dword [esp + 0x40]
xor ebp, ebp
sub ebx, ecx
push ebp
mov ecx, edi
mov dword [esp + 0x44], ebx
call fcn.00591501
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, dword [edi + 0x6098]
mov dword [esp + 0x40], edx
cmp eax, ebp
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
jle 0x4b02c2
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdivr dword [esp + 0x10]
fstp dword [esp + 0x10]
jge 0x4b02ce
fld dword [esp + 0x10]
fadd st(0), st(0)
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, edi
call fcn.004b07c0
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.004afee0
call fcn.00573170
mov ecx, dword [0x63fd4c]
push 0x11
mov dword [ecx + 0xa5fc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4b0320
mov ecx, edi
call fcn.004b0c10
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
push esi
mov dword [esp + 0x20], 0x5f37f4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ebp
call fcn.005aa82c
mov eax, dword [eax + 0xc]
push 0x13c
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x24]
call fcn.005956e4
mov edx, dword [esp + 0x24]
push ebp
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005956b1
mov esi, eax
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0xa5fc]
push ecx
mov ecx, edi
call fcn.004b11b0
mov edx, dword [0x63fd4c]
mov ebx, eax
cmp dword [edx + 0xa5fc], ebp
je 0x4b04e6
cmp ebx, 0xffffffff
je 0x4b04e6
mov eax, dword [0x639698]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
push ebp
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetMenuStringA]
push 0x81c2
push eax
mov byte [esp + 0x4c], 2
call ebp
test eax, eax
jle 0x4b03ef
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.00593b82
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 0
push ecx
push eax
push 0x81c2
push edx
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00593b5a
jmp 0x4b03f8
lea ecx, [esp + 0x14]
call fcn.00593666
mov eax, dword [esi + 4]
push 0
push 0
push 0
push 0x81c8
push eax
call ebp
test eax, eax
jle 0x4b043f
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x20], eax
call fcn.00593b82
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 0
push ecx
push eax
push 0x81c8
push edx
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00593b5a
jmp 0x4b0448
lea ecx, [esp + 0x10]
call fcn.00593666
mov eax, dword [0x639698]
mov dword [esp + 0x18], eax
lea ecx, [ebx + 1]
lea edx, [esp + 0x18]
push ecx
push 0x631e18
push edx
mov byte [esp + 0x44], 3
call fcn.0058aded
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.00593af3
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00593af3
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_ModifyMenuA]
push edx
push 0x81c2
push 0
push 0x81c2
push eax
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
push ecx
push 0x81c8
push 0
push 0x81c8
push edx
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.005936db
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.005936db
mov dword [edi + 0x60dc], ebx
mov eax, dword [0x63fd4c]
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [eax + 0x9418]
and eax, 1
shl eax, 3
push eax
push 0x8128
push ecx
call ebp
mov edx, dword [0x63fd4c]
mov eax, dword [edx + 0x9418]
not eax
and eax, 1
shl eax, 3
push eax
mov eax, dword [esi + 4]
push 0x8129
push eax
call ebp
mov eax, dword [edi + 0x6098]
xor ecx, ecx
cmp eax, 0xffffffff
mov edx, dword [esi + 4]
setne cl
dec ecx
and ecx, 8
push ecx
push 0x8141
push edx
call ebp
mov eax, dword [edi + 0x6098]
neg eax
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
mov eax, dword [esi + 4]
push 0x813d
push eax
call ebp
mov eax, dword [edi + 0x6098]
mov ecx, dword [esi + 4]
dec eax
neg eax
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
push 0x813e
push ecx
call ebp
mov eax, dword [edi + 0x6098]
xor edx, edx
cmp eax, 2
mov eax, dword [esi + 4]
setne dl
dec edx
and edx, 8
push edx
push 0x813f
push eax
call ebp
mov eax, dword [edi + 0x6098]
xor ecx, ecx
cmp eax, 3
mov edx, dword [esi + 4]
setne cl
dec ecx
and ecx, 8
push ecx
push 0x8140
push edx
call ebp
mov ecx, dword [0x63fd4c]
call fcn.0048d290
test eax, eax
je 0x4b05e2
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0x93a0]
test ecx, ecx
jne 0x4b05e2
xor eax, eax
jmp 0x4b05e7
mov eax, 1
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
push eax
push 0x81c1
push ecx
call ebx
mov ecx, edi
call fcn.004b1210
test eax, eax
je 0x4b0618
mov edx, dword [0x63fd4c]
mov eax, dword [edx + 0x93a0]
test eax, eax
jne 0x4b0618
xor eax, eax
jmp 0x4b061d
mov eax, 1
push eax
mov eax, dword [esi + 4]
push 0x81c2
push eax
call ebx
mov ecx, edi
call fcn.004b1210
test eax, eax
je 0x4b067a
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0x93a0]
test ecx, ecx
jne 0x4b067a
mov ecx, dword [eax + 0xa648]
test ecx, ecx
je 0x4b067a
mov edx, dword [ecx]
push 0
push 0
push 0
push 0x67
call dword [edx + 4]
test eax, eax
jne 0x4b067a
mov eax, dword [0x63fd4c]
push 0
push 0
push 0
mov ecx, dword [eax + 0xa648]
push 0x66
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x4b067f
mov eax, 1
push eax
mov eax, dword [esi + 4]
push 0x81c8
push eax
call ebx
mov edx, dword [edi + 0x65b8]
mov ecx, dword [esi + 4]
xor eax, eax
test edx, edx
sete al
push eax
push 0x828d
push ecx
call ebx
mov eax, dword [0x6646f4]
test eax, eax
je 0x4b06d5
mov edx, dword [0x63fd4c]
push str.Horizontal_spectrums
push 0x3039
mov eax, dword [edx + 0x87e0]
neg eax
sbb eax, eax
and eax, 8
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
mov dword [edi + 0x6178], eax
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push edi
push ecx
push edx
push 2
mov ecx, esi
mov ebp, eax
call fcn.00590730
lea ecx, [esp + 0x20]
call fcn.0059573b
push ebp
call ebx
mov dword [edi + 0x6178], 0
mov dword [edi + 0x60dc], 0xffffffff
mov dword [esp + 0x20], 0x5f37f4
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 4
call fcn.0059573b
pop esi
mov ecx, dword [esp + 0x2c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc