Function at 0x4369b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5cc
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x5bc], esi
mov dword [ebp - 0x5b8], edi
call fcn.0046d4f0
test eax, eax
je 0x436a64
push edi
push str.CInf_::_SetupForDecoration_:_pszManufacturerTag___s_n
push 0x6647b0
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x6646b0], eax
mov eax, 0x6647b0
mov dword [0x6646b4], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436a14
mov edi, 0x6646b0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x436a25
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6646b0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov edi, dword [ebp - 0x5b8]
mov esi, dword [ebp - 0x5bc]
xor ebx, ebx
push 0x9c
lea edx, [ebp - 0x5b4]
push ebx
push edx
mov dword [ebp - 0x5b8], ebx
call fcn.00599fb0
add esp, 0xc
lea eax, [ebp - 0x5b4]
push eax
mov dword [ebp - 0x5b4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x436c4f
cmp dword [ebp - 0x5b0], 5
jb 0x436c4f
lea ecx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.00433ab0
test eax, eax
jne 0x436ac5
mov byte [ebp - 0x108], bl
lea edx, [ebp - 0x108]
push edx
push edi
lea eax, [ebp - 0x20c]
push str._s.NT_s
push eax
call fcn.00599ee3
push edi
lea ecx, [ebp - 0x414]
push str._s.NT
push ecx
call fcn.00599ee3
push edi
lea edx, [ebp - 0x310]
push 0x5cf00c
push edx
call fcn.00599ee3
mov edx, dword [ebp - 0x5ac]
add esp, 0x28
lea eax, [ebp - 0x518]
push eax
mov eax, dword [ebp - 0x5b0]
lea ecx, [ebp - 0x5b8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x108]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x1e74], 0x64
call fcn.004365c0
test eax, eax
je 0x436b65
mov edx, dword [ebp - 0x5b8]
mov dword [esi + 0x1e74], edx
lea eax, [ebp - 0x518]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x436b56
jmp 0x436c4a
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x5cc]
push edx
push 0
lea eax, [ebp - 0x20c]
push eax
push ecx
call fcn.0041ea10
mov ecx, eax
call fcn.0041e3b0
test eax, eax
je 0x436baf
lea eax, [ebp - 0x20c]
mov edx, edi
mov ecx, eax
mov dword [esi + 0x1e74], 0x32
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x436ba0
jmp 0x436c4a
call fcn.0049cb90
test eax, eax
jne 0x436c4f
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x5cc]
push edx
push eax
lea eax, [ebp - 0x414]
push eax
push ecx
call fcn.0041ea10
mov ecx, eax
call fcn.0041e3b0
test eax, eax
je 0x436c01
lea eax, [ebp - 0x414]
mov edx, edi
mov ecx, eax
mov dword [esi + 0x1e74], 0x3c
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x436bf5
jmp 0x436c4a
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x5cc]
push edx
push 0
lea eax, [ebp - 0x310]
push eax
push ecx
call fcn.0041ea10
mov ecx, eax
call fcn.0041e3b0
test eax, eax
je 0x436c4f
lea eax, [ebp - 0x310]
mov edx, edi
mov ecx, eax
mov dword [esi + 0x1e74], 0x46
sub edx, ecx
jmp 0x436c40
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x436c40
mov ebx, 1
call fcn.0046d4f0
test eax, eax
je 0x436c82
mov edx, dword [esi + 0x1e74]
push edx
push str.OUTPUT:_m_dwOSDecorationRating___d_n
push 0x6645b0
call fcn.00599ee3
add esp, 0xc
push 0x6645b0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d4f0
test eax, eax
je 0x436caf
push edi
push str.OUTPUT:_pszManufacturerTag___s_n
push 0x6644b0
call fcn.00599ee3
add esp, 0xc
push 0x6644b0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d4f0
test eax, eax
je 0x436d34
push ebx
push str.CInf_::_SetupForDecoration_:_bRetVal___d_n
push 0x6643b0
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x6642b0], eax
mov eax, 0x6643b0
mov dword [0x6642b4], ecx
add esp, 0xc
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436cf0
mov edi, 0x6642b0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x436d01
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6642b0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 4