Function at 0x437e70
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x792acd
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0xcceaf8], 1
mov dword [esp + 0x2c], ebx
jne 0x437ee2
or dword [0xcceaf8], 1
push 0x7991f0
mov dword [0xcceaf4], 0xf
mov dword [0xcceaf0], ebx
mov byte [0xcceae0], bl
call fcn.00645ab5
add esp, 4
cmp dword [0xcceaf0], ebx
jne 0x4381eb
push 0x9c
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.0064edd0
mov esi, dword [sym.imp.kernel32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], 0x9c
call esi
test eax, eax
jne 0x437f3e
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], 0x94
call esi
test eax, eax
jne 0x437f3e
push 0x81d304
mov ecx, edi
call fcn.00401280
jmp 0x438207
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0xf8], ebx
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x43802b
cmp dword [esp + 0x50], 4
mov eax, dword [esp + 0x54]
jne 0x437fa1
cmp eax, ebx
je 0x437f89
cmp eax, 0xa
je 0x437f82
cmp eax, 0x5a
jne 0x437fa1
push str.Windows_ME
jmp 0x437f8e
push str.Windows_98
jmp 0x437f8e
push str.Windows_95
lea ecx, [esp + 0x34]
call fcn.00404a10
cmp dword [esp + 0x44], ebx
jne 0x437fdb
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
push str.Unknown_Windows__d._d
lea esi, [esp + 0x1c]
call fcn.00439900
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 1
call fcn.00401530
mov ecx, esi
mov byte [esp + 0xf8], bl
call fcn.004012f0
movzx ecx, word [esp + 0x58]
push ecx
push str._Build__d
lea esi, [esp + 0x18]
call fcn.00439900
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 2
call fcn.00402720
mov byte [esp + 0xf8], bl
cmp dword [esp + 0x28], 0x10
jb 0x43817b
mov edx, dword [esp + 0x14]
push edx
call fcn.006441c7
add esp, 4
jmp 0x43817b
cmp eax, 2
jne 0x438101
mov eax, dword [esp + 0x50]
sub eax, 4
je 0x438089
sub eax, 1
je 0x438062
sub eax, 1
jne 0x4380a3
mov eax, dword [esp + 0x54]
sub eax, ebx
je 0x43805b
sub eax, 1
jne 0x4380a3
push str.Windows_7
jmp 0x438094
push str.Windows_Vista
jmp 0x438094
mov eax, dword [esp + 0x54]
sub eax, ebx
je 0x438082
sub eax, 1
je 0x43807b
sub eax, 1
jne 0x4380a3
push str.Windows_Server_2003
jmp 0x438094
push str.Windows_XP
jmp 0x438094
push str.Windows_2000
jmp 0x438094
cmp dword [esp + 0x54], ebx
jne 0x4380a3
push str.Windows_NT_4.0
lea ecx, [esp + 0x34]
call fcn.00404a10
cmp dword [esp + 0x44], ebx
jne 0x4380e1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push str.Unknown_WinNT__d._d
lea esi, [esp + 0x1c]
call fcn.00439900
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 3
call fcn.00401530
mov ecx, esi
mov byte [esp + 0xf8], bl
call fcn.004012f0
mov edx, dword [esp + 0x58]
push edx
push str._Build__d
lea esi, [esp + 0x18]
call fcn.00439900
add esp, 8
mov byte [esp + 0xf8], 4
jmp 0x43815e
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
push eax
push str.Unknown_Platform_d__d._d
lea esi, [esp + 0x20]
call fcn.00439900
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 5
call fcn.00401530
mov ecx, esi
mov byte [esp + 0xf8], bl
call fcn.004012f0
mov eax, dword [esp + 0x58]
push eax
push str._Build__d
lea esi, [esp + 0x18]
call fcn.00439900
add esp, 8
mov byte [esp + 0xf8], 6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00402720
lea ecx, [esp + 0x10]
mov byte [esp + 0xf8], bl
call fcn.004012f0
push 1
push 0x81d3dc
lea ecx, [esp + 0x38]
call fcn.00402820
lea eax, [esp + 0x60]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438192
sub eax, edx
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x38]
call fcn.00402820
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
mov ecx, 0xcceadc
call fcn.00401530
mov dword [esp + 0xf8], 0xffffffff
cmp dword [esp + 0x48], 0x10
jb 0x4381db
mov eax, dword [esp + 0x34]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
push 0xffffffffffffffff
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0xcceadc
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00401530
mov eax, edi
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.00643db8
add esp, 0xf0
ret