Function at 0x402bb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e46
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4aa024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x130]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x130], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x12c], 6
mov eax, 0x4a8400
jae 0x402c12
mov eax, str.D:_A__GA___WD_
push ebx
lea ecx, [ebp - 0x144]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
mov edx, dword [ebp - 0x144]
lea edi, [ebp - 0x138]
mov dword [ebp - 0x150], 0xc
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], ebx
call fcn.00402a20
lea edi, [ebp - 0x140]
mov dword [ebp - 4], ebx
call fcn.00401150
mov eax, edi
push eax
mov byte [ebp - 4], 1
call fcn.00402aa0
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
add esp, 4
push 0x2e
call eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x78]
call eax
push str.GlobalLB_EeditprintPro.41234178_445D_47CB_831D_D862CEC8523C.OverriddenSettings
push 0x800
push ebx
push 0x8000004
lea ecx, [ebp - 0x150]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x14c]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi]
cmp eax, ebx
je 0x402d70
cmp eax, 0xffffffff
je 0x402d70
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x13c]
mov dword [ebp - method.Vogue::CVogueString.virtual_0], vtable.Vogue::CVogueString.0
cmp eax, ebx
je 0x402d04
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x134]
mov dword [ebp - method.Vogue::CVogueString.virtual_0], vtable.Vogue::CVogueString.0
cmp eax, ebx
je 0x402d30
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [esi]
push 0x800
push ebx
push ebx
push 0xf001f
push eax
mov dword [esi + 8], 0x800
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x402d60
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
jmp 0x402dc5
cmp edi, 0xb7
setne dl
mov byte [esi + 0xc], dl
mov al, 1
jmp 0x402dc7
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x13c]
mov dword [esi], ebx
mov esi, vtable.Vogue::CVogueString.0
mov dword [ebp - 0x140], esi
cmp eax, ebx
je 0x402d9d
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], esi
cmp eax, ebx
je 0x402dc5
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402de3
mov esp, ebp
pop ebp
ret