Function at 0x4aa3d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x3e8
push eax
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
call fcn.004b8c20
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4aa41c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx*4 + 0x501878]
push eax
mov dword [ebp - 0x1ac], 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4aa452
mov edx, dword [ebx*4 + 0x501878]
mov ecx, dword [eax + 0x288]
push edx
mov dword [ebp - 0x1ac], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, eax
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1bc]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
add eax, 0xffffe876
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1b4], edx
cmp eax, 0x31
ja case.0x4aa49d.6027
movzx eax, byte [eax + 0x4ab270]
jmp dword [eax*4 + 0x4ab238]
call fcn.004c2470
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x533
call fcn.004ca1e0
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
add esp, 4
cmp dword [ebp - 0x1ac], 0
je 0x4aa509
lea ecx, [ebp - 0x110]
push ecx
push 0x535
push 8
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x534
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x536
push 0
jmp 0x4aa540
lea eax, [ebp - 0x110]
push eax
push 0x535
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x534
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x536
push 8
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x137
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x428
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x52f
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x429
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3eb
push 0
push esi
call edi
mov edi, dword [ebp - 0x1b8]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b0]
push 0
push edi
push edx
push eax
jmp 0x4ab20a
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4b2
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x137
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x428
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x45d
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x429
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x45e
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4ad
push 0
push esi
call edi
push 0
push 0
push 0x800
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3eb
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x464
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4ae
push 0
push esi
call edi
call fcn.004aca90
jmp case.0x4aa49d.6027
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b2
push 0
push esi
call edi
call fcn.004aca90
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x137
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x428
push 0
push esi
call edi
cmp dword [ebp - 0x1ac], 0xfa
jge case.0x4aa49d.6027
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x45c
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x4ab
push 0
push esi
call edi
push 0
push 0
push 0x800
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3eb
push 0
push esi
call edi
push ebx
call fcn.0047ec00
add esp, 4
push 0x100
lea edx, [ebp - 0x110]
test eax, eax
je 0x4aa886
mov ecx, 0x278
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0xa
jmp 0x4aa89c
mov ecx, 0x279
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0xb
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x321
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
jmp 0x4ab0e3
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b2
push 0
push esi
call edi
call fcn.004aca90
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x131
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3ee
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x132
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3ef
jmp 0x4aa89c
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b2
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x321
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x478
push 0
push esi
call edi
call fcn.004aca90
jmp case.0x4aa49d.6027
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4b2
push 0
push esi
call edi
call fcn.004aca90
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x131
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3ee
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x39d
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4a0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x321
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x478
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x391
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x49c
jmp 0x4ab0e8
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x293
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12f
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3ec
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x2c4
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x44f
jmp 0x4ab0e8
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x4b2
push 0
push esi
call edi
call fcn.004aca90
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3eb
jmp 0x4ab0bf
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3f0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4b2
push 0
push esi
call edi
call fcn.004aca90
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3eb
jmp 0x4aa89c
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12d
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3f0
push 0
push esi
call edi
call fcn.004aca90
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x137
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x428
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3eb
jmp 0x4ab0e8
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x46f
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x470
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x4b2
push 0
push esi
call edi
push ebx
call fcn.004ac9f0
add esp, 4
push 0
push 0
push 0x800
push esi
call edi
call fcn.004c3c20
cmp eax, 0x258
jg 0x4aaf1d
je 0x4aaece
dec eax
je 0x4aaec0
sub eax, 0x171
jne 0x4aaf4d
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x131
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3ee
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x39d
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4a0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x391
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x49c
jmp 0x4aaf48
push 0
push 0
push 0x800
push esi
call edi
jmp 0x4aaf24
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x131
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3ee
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x132
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3ef
jmp 0x4aaf48
cmp eax, 0x384
jne 0x4aaf4d
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x12e
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x3eb
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x131
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x3ee
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x321
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
jmp 0x4ab0e3
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x2cd
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x450
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x2c7
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x452
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x130
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 1
jmp 0x4ab0e8
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x8bc
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4b2
push 0
push esi
call edi
push 0
push 0x4b2
push esi
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x8bd
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x4b1
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x131
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x3ee
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x39d
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 0x4a0
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x321
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x478
push 0
push esi
call edi
push 0
push 0
push 0x800
push esi
call edi
push 0x94
lea ecx, [ebp - 0x1a8]
push 0
push ecx
call fcn.004d29c0
add esp, 0xc
lea edx, [ebp - 0x1a8]
push edx
mov dword [ebp - 0x1a8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1a4], 6
jne 0x4ab161
cmp dword [ebp - 0x1a0], 1
jbe 0x4ab161
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x54f
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x54f
push 0
push esi
call edi
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x17bb
je 0x4ab195
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x281
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
push 0x42b
push 0
push esi
call edi
cmp ebx, 0x178c
je 0x4ab1c3
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x136
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x110]
push edx
push 9
push 0
push esi
call edi
push 0x100
lea edx, [ebp - 0x110]
mov ecx, 0x1f
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x110]
push eax
push 0x435
push 0
push esi
call edi
mov edi, dword [ebp - 0x1b8]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1b0]
push 0
push edi
push ecx
push edx
push 0x40
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret