Function at 0x429dc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3100
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.0x429e4f.3
lea ecx, [ebp - 0x16c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
sub eax, 4
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 6
ja case.0x429e4f.3
mov ecx, dword [ebp - 0x134]
jmp dword [ecx*4 + 0x42a2f4]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0
je 0x429e86
cmp dword [ebp - 0x138], 0xa
je 0x429ee4
cmp dword [ebp - 0x138], 0x5a
je 0x429f0a
jmp 0x429f2e
cmp dword [ebp - 0x11c], 2
jne 0x429eb5
push str.Windows_NT_4.0
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
cmp dword [ebp - 0x11c], 1
jne 0x429ee2
push str.Windows_95
mov ecx, dword [ebp + 8]
call fcn.00405490
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
jmp 0x429f2e
push str.Windows_98
mov ecx, dword [ebp + 8]
call fcn.00405490
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push str.Windows_Me
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
jmp case.0x429e4f.3
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0
je 0x429f5f
cmp dword [ebp - 0x13c], 1
je 0x429f88
cmp dword [ebp - 0x13c], 2
je 0x429fae
jmp 0x42a016
push 0x4f9cb8
mov ecx, dword [ebp + 8]
call fcn.00405490
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push 0x4f9cc8
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
movzx ecx, byte [ebp - 0x12]
cmp ecx, 1
jne 0x429fe9
movzx edx, word [ebp - 0x16c]
cmp edx, 9
jne 0x429fe9
push str.Windows_XP_Professional_x64_Edition
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
movzx ecx, byte [ebp - 0x12]
cmp ecx, 3
jne 0x42a016
push 0x4f9cf8
mov ecx, dword [ebp + 8]
call fcn.00405490
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
jmp case.0x429e4f.3
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 3
ja case.default.0x42a03a
mov ecx, dword [ebp - 0x140]
jmp dword [ecx*4 + 0x42a310]
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x42a070
push 0x4f9d0c
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push 0x4f9d1c
mov ecx, dword [ebp + 8]
call fcn.00405490
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x42a0c8
push 0x4f9d30
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push 0x4f9d3c
mov ecx, dword [ebp + 8]
call fcn.00405490
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x42a120
push 0x4f9d54
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push 0x4f9d60
mov ecx, dword [ebp + 8]
call fcn.00405490
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x42a175
push 0x4f9d74
mov ecx, dword [ebp + 8]
call fcn.00405490
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push 0x4f9d80
mov ecx, dword [ebp + 8]
call fcn.00405490
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
jmp case.0x429e4f.3
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0x148], 0
je 0x42a1b2
jmp case.0x429e4f.3
movzx eax, byte [ebp - 0x12]
cmp eax, 1
jne 0x42a1e1
push 0x4f9d98
mov ecx, dword [ebp + 8]
call fcn.00405490
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push str.Windows_Server_2016_Techical_Preview
mov ecx, dword [ebp + 8]
call fcn.00405490
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x42a2d9
push 1
push 3
lea ecx, [ebp - 0x21c]
call fcn.0042ac70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
test eax, eax
je 0x42a236
lea ecx, [ebp - 0x21c]
add ecx, 0x10
mov dword [ebp - 0x144], ecx
jmp 0x42a240
mov dword [ebp - 0x144], 0
push str.Windows_NT
mov edx, dword [ebp - 0x144]
push edx
call fcn.0040ba70
add esp, 8
push 0x4f9dfc
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0042b0b0
push eax
call fcn.0040ba70
add esp, 8
push 0x4f9e00
mov ecx, dword [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.0042b0b0
push eax
call fcn.0040ba70
add esp, 8
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x20c]
call fcn.0042b0b0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042dfc0
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0042b4d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret