Function at 0x4ac7c0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
mov eax, dword [0x578750]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x364], str.SOFTWAREClassesmailto_shellopencommand
mov dword [ebp - 0x20], str.OUTLOOK.EXE
mov dword [ebp - 0x34c], str.OUTLOOK_EXPRESS
mov dword [ebp - 0xc], str.WINDOWS_MAIL
mov dword [ebp - 8], str.WINDOWSMAIL
mov dword [ebp - 0x358], str.OUTLOOK
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov dword [ebp - 0x348], 0x114
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 4], 0x80000000
jae 0x4ac936
cmp dword [ebp - 0x344], 6
jb 0x4ac936
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationsMAILTOUserChoice
lea ecx, [ebp - 0x568]
push ecx
call fcn.00504ae3
add esp, 8
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x568]
push eax
push reloc.TranslateMemoryCJ.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x4ac92d
lea ecx, [ebp - 0x35c]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x350]
push eax
push 0
push str.Progid
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x228]
push eax
call fcn.0050bb71
add esp, 4
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x358]
push ecx
mov edx, dword [ebp - 0x354]
push edx
call fcn.0044da20
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
call fcn.0044da20
add esp, 8
mov dword [ebp - 0x360], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x354]
push eax
call fcn.0044da20
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x4ac934
mov dword [ebp - 0x14], 0
jmp 0x4ac93d
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x4aca29
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x364]
push edx
push reloc.TranslateMemoryCJ.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4ac97b
or eax, 0xffffffff
jmp 0x4aca59
lea eax, [ebp - 0x35c]
push eax
push 0
lea ecx, [ebp - 0x350]
push ecx
push 0
push 0x55115c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x350]
push edx
push 0
push 0x551210
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x228]
push edx
call fcn.0050bb71
add esp, 4
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
call fcn.0044da20
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x354]
push eax
call fcn.0044da20
add esp, 8
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x354]
push edx
call fcn.0044da20
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x4aca35
xor eax, eax
jmp 0x4aca59
cmp dword [ebp - 0x360], 0
je 0x4aca47
mov eax, 1
jmp 0x4aca59
cmp dword [ebp - 0x18], 0
je 0x4aca56
mov eax, 1
jmp 0x4aca59
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00504a55
mov esp, ebp
pop ebp
ret