Function at 0x43d3a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x1ec
mov eax, dword [0x4713c0]
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 0x43d46b
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.00446fa0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x18]
lea esi, [esp + 0x130]
mov dword [esp + 0x18], 0x64
call fcn.0043d320
test ebx, ebx
pop edi
je 0x43d43f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
cmp word [esp + 0x128], 0
je 0x43d467
test ebp, ebp
je 0x43d467
lea ecx, [esp + 0x128]
mov ebx, 0x2800
mov eax, ebp
mov word [ebp], 0
call fcn.00429110
mov esi, dword [esp + 0xc]
push 0x110
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0x114
call fcn.00446fa0
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 0x43d5e8
sub eax, 1
je 0x43d55b
sub eax, 1
jne 0x43d603
mov eax, dword [esp + 0x18]
cmp eax, 4
ja 0x43d4cc
test ebp, ebp
je 0x43d603
mov ecx, str.Microsoft_Windows_NT
jmp 0x43d5f1
cmp eax, 5
jne 0x43d516
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43d4ea
mov ecx, str.Microsoft_Windows_2000
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
cmp eax, 1
jne 0x43d500
mov ecx, str.Microsoft_Windows_XP
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
cmp eax, 2
jne 0x43d54a
mov ecx, str.Microsoft_Windows_Server_2003
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
cmp eax, 6
jne 0x43d54a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43d534
mov ecx, str.Microsoft_Windows_Vista
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
cmp eax, 1
jne 0x43d54a
mov ecx, str.Microsoft_Windows_Longhorn_Server
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
mov ecx, str.Microsoft_Windows_Vista_Later
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
cmp dword [esp + 0x18], 4
jne 0x43d5dd
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43d59b
test ebp, ebp
je 0x43d583
mov word [ebp], ax
mov ecx, str.Microsoft_Windows_95
mov ebx, 0x2800
mov eax, ebp
call fcn.00429110
mov ax, word [esp + 0x2a]
cmp ax, 0x43
je 0x43d594
cmp ax, 0x42
jne 0x43d603
mov ecx, str._OSR2
jmp 0x43d5f7
cmp eax, 0xa
jne 0x43d5ca
test ebp, ebp
je 0x43d5bb
mov ecx, str.Microsoft_Windows_98
mov ebx, 0x2800
mov eax, ebp
mov word [ebp], 0
call fcn.00429110
cmp word [esp + 0x2a], 0x41
jne 0x43d603
mov ecx, 0x4678f4
jmp 0x43d5f7
cmp eax, 0x5a
jne 0x43d5dd
mov ecx, str.Microsoft_Windows_Me
mov eax, ebp
call fcn.004290f0
jmp 0x43d603
test ebp, ebp
je 0x43d603
mov ecx, str.Microsoft_Windows_Me_later
jmp 0x43d5f1
test ebp, ebp
je 0x43d603
mov ecx, str.Microsoft_Win32s
mov word [ebp], 0
mov ebx, 0x2800
mov eax, ebp
call fcn.00429110
test esi, esi
je 0x43d60e
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.004414cc
add esp, 0x1ec
ret