Function at 0x43bbe0
Capabilities:
Check os version

Disassembly:
sub esp, 0x1ec
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1f8]
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x43bcab
mov ebx, dword [esp + 0xc]
push edi
push 0xc8
lea ecx, [esp + 0x132]
push esi
push ecx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x138], si
call fcn.00443e10
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x18]
lea esi, [esp + 0x130]
mov dword [esp + 0x18], 0x64
call fcn.0043bb60
test ebx, ebx
pop edi
je 0x43bc7f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
cmp word [esp + 0x128], 0
je 0x43bca7
test ebp, ebp
je 0x43bca7
lea ecx, [esp + 0x128]
mov ebx, 0x2800
mov eax, ebp
mov word [ebp], 0
call fcn.00427950
mov esi, dword [esp + 0xc]
push 0x110
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0x114
call fcn.00443e10
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x24]
sub eax, 0
je 0x43be28
sub eax, 1
je 0x43bd9b
sub eax, 1
jne 0x43be43
mov eax, dword [esp + 0x18]
cmp eax, 4
ja 0x43bd0c
test ebp, ebp
je 0x43be43
mov ecx, str.Microsoft_Windows_NT
jmp 0x43be31
cmp eax, 5
jne 0x43bd56
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43bd2a
mov ecx, str.Microsoft_Windows_2000
mov eax, ebp
call fcn.00427930
jmp 0x43be43
cmp eax, 1
jne 0x43bd40
mov ecx, str.Microsoft_Windows_XP
mov eax, ebp
call fcn.00427930
jmp 0x43be43
cmp eax, 2
jne 0x43bd8a
mov ecx, str.Microsoft_Windows_Server_2003
mov eax, ebp
call fcn.00427930
jmp 0x43be43
cmp eax, 6
jne 0x43bd8a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43bd74
mov ecx, str.Microsoft_Windows_Vista
mov eax, ebp
call fcn.00427930
jmp 0x43be43
cmp eax, 1
jne 0x43bd8a
mov ecx, str.Microsoft_Windows_Longhorn_Server
mov eax, ebp
call fcn.00427930
jmp 0x43be43
mov ecx, str.Microsoft_Windows_Vista_Later
mov eax, ebp
call fcn.00427930
jmp 0x43be43
cmp dword [esp + 0x18], 4
jne 0x43be1d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43bddb
test ebp, ebp
je 0x43bdc3
mov word [ebp], ax
mov ecx, str.Microsoft_Windows_95
mov ebx, 0x2800
mov eax, ebp
call fcn.00427950
mov ax, word [esp + 0x2a]
cmp ax, 0x43
je 0x43bdd4
cmp ax, 0x42
jne 0x43be43
mov ecx, str._OSR2
jmp 0x43be37
cmp eax, 0xa
jne 0x43be0a
test ebp, ebp
je 0x43bdfb
mov ecx, str.Microsoft_Windows_98
mov ebx, 0x2800
mov eax, ebp
mov word [ebp], 0
call fcn.00427950
cmp word [esp + 0x2a], 0x41
jne 0x43be43
mov ecx, 0x46571c
jmp 0x43be37
cmp eax, 0x5a
jne 0x43be1d
mov ecx, str.Microsoft_Windows_Me
mov eax, ebp
call fcn.00427930
jmp 0x43be43
test ebp, ebp
je 0x43be43
mov ecx, str.Microsoft_Windows_Me_later
jmp 0x43be31
test ebp, ebp
je 0x43be43
mov ecx, str.Microsoft_Win32s
mov word [ebp], 0
mov ebx, 0x2800
mov eax, ebp
call fcn.00427950
test esi, esi
je 0x43be4e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1f4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ef12
add esp, 0x1ec
ret