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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629b15
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
push 0
lea ecx, [ebp - 0x174]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x174], 0x11c
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x643960
lea ecx, [ebp - 0x2c]
call fcn.0040e4b0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
sub ecx, 4
mov dword [ebp - 0x17c], ecx
cmp dword [ebp - 0x17c], 6
ja case.0x43caee.3
mov edx, dword [ebp - 0x17c]
jmp dword [edx*4 + 0x43cd4c]
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x43cb1e
cmp dword [ebp - 0x180], 0xa
je 0x43cb4e
cmp dword [ebp - 0x180], 0x5a
je 0x43cb5d
jmp 0x43cb6a
cmp dword [ebp - 0x164], 2
jne 0x43cb36
push 0x643964
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cb4c
cmp dword [ebp - 0x164], 1
jne 0x43cb4c
push 0x643998
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cb6a
push 0x6439c4
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cb6a
push 0x6439f0
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cd07
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
je 0x43cb98
cmp dword [ebp - 0x184], 1
je 0x43cba7
cmp dword [ebp - 0x184], 2
je 0x43cbb6
jmp 0x43cbe4
push 0x643a1c
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cbe4
push 0x643a4c
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cbe4
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x43cbd7
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x43cbd7
push 0x643a78
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cbe4
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cd07
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x43cc15
cmp dword [ebp - 0x188], 1
je 0x43cc3f
cmp dword [ebp - 0x188], 2
je 0x43cc66
jmp 0x43ccac
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x43cc2d
push 0x643b10
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cc3a
push 0x643b40
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43ccd1
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x43cc57
push 0x643b7c
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cc64
push 0x643bd0
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43ccd1
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x43cc9d
push 4
push 6
call fcn.0043cfb0
add esp, 8
test eax, eax
je 0x43cc8e
push 0x643ba4
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cc9b
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43ccaa
push str.Microsoft_Windows_Server_2012
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43ccd1
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x43ccc4
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43ccd1
push str.Microsoft_Windows_Server_2012_R2
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cd07
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x43cceb
push str.Microsoft_Windows_10_Insider_Preview
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43ccf8
push str.Microsoft_Windows_Server_Technical_Preview
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x43cd07
push str.Unknown_Operating_System
lea ecx, [ebp - 0x2c]
call fcn.0040e570
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e4f0
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040e530
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.005b4b30
mov esp, ebp
pop ebp
ret