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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x28]
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esi + 0x40], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446311
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push ecx
push ebx
call eax
test eax, eax
jne 0x446306
mov eax, 2
jmp 0x446311
xor eax, eax
cmp dword [ebp - 0x154], eax
setne al
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x14c]
push 0x118
push 0
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], 0
mov byte [esi + 0x50], 0
push eax
mov dword [ebp - 0x150], 0x11c
call fcn.004a0ee0
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x14], eax
call fcn.00446700
push dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.004467d0
mov dword [esi], eax
add esp, 0xc
movzx eax, word [ebp - 0x3c]
mov dword [esi + 0x20], eax
movzx eax, word [ebp - 0x3a]
mov dword [esi + 0x24], eax
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [ebp - 0x13c], ax
jne 0x4463b8
xor ecx, ecx
jmp 0x4463d0
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4463c1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041b79d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00444a50
mov ebx, eax
add esp, 8
cmp edi, ebx
je 0x44642e
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x446409
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004310c0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x446421
mov eax, dword [edi]
jmp 0x446423
mov eax, edi
push ebx
mov ecx, edi
mov byte [eax], 0
call fcn.0041a37b
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x446443
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.004310c0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 8
jb 0x44646a
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.004329f0
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x17c]
push eax
movups xmmword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x16c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dx, word [ebp - 0x17c]
movzx eax, dx
test eax, eax
je 0x4464bc
cmp eax, 6
je 0x4464b3
cmp eax, 9
jne 0x4464c3
mov dword [esi + 0x40], 1
jmp 0x4464c3
mov dword [esi + 0x40], 2
jmp 0x4464c3
mov dword [esi + 0x40], 0
mov eax, dword [ebp - 0x168]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x160]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x14c]
cmp eax, 6
je 0x446571
cmp eax, 0xa
je 0x446571
cmp eax, 5
jne case.0x4465b4.2
mov ecx, dword [ebp - 0x148]
cmp ecx, 2
jne 0x446548
cmp byte [ebp - 0x36], 1
jne 0x446527
cmp dx, 9
jne 0x446527
pop edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x1c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne case.0x4465b4.2
mov eax, dword [ebp - 0x38]
shr eax, 9
not eax
and eax, ecx
mov dword [esi + 0x1c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x158]
push ecx
push 0
push 0
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
call eax
mov eax, dword [ebp - 0x158]
dec eax
cmp eax, 0x2f
ja case.0x4465b4.2
movzx eax, byte [eax + 0x4465fc]
jmp dword [eax*4 + 0x4465f0]
pop edi
mov dword [esi + 0x1c], 2
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
mov dword [esi + 0x1c], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret