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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x1c], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push 0x4c35d0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ab32
lea ecx, [ebp - 0x128]
push ecx
push edi
mov dword [ebp - 0x128], ebx
call eax
test eax, eax
jne 0x43ab27
mov eax, 2
jmp 0x43ab32
xor eax, eax
cmp dword [ebp - 0x128], eax
setne al
mov dword [esi + 0x28], eax
push 0x118
lea edx, [ebp - 0x11c]
push 0
mov dword [esi + 0x40], 0xf
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x2c], bl
push edx
mov dword [ebp - 0x120], 0x11c
call fcn.004926b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp eax, 5
jne 0x43aba7
test ecx, ecx
jle 0x43ac77
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x43ac77
cmp eax, 6
jne 0x43ac21
sub ecx, ebx
je 0x43ac19
dec ecx
je 0x43ac11
dec ecx
je 0x43ac09
call fcn.00440010
cmp eax, 1
jne 0x43ac01
call fcn.00440020
cmp eax, 3
jg 0x43ac01
mov ecx, dword [esi + 8]
push str.version_number_.minor__3
push 3
push ecx
call fcn.0043aa90
add esp, 0xc
test eax, eax
je 0x43ac01
push eax
push 3
push 0x3f
push str.c:users_nbaggadesktopcefcode1750_1chromium_src_basewinwindows_version.cc
lea ecx, [ebp - 0x1fc]
call fcn.00440e70
lea ecx, [ebp - 0x1fc]
call fcn.00441300
mov dword [esi], 6
jmp 0x43ac77
mov dword [esi], 5
jmp 0x43ac77
mov dword [esi], 4
jmp 0x43ac77
mov dword [esi], 3
jmp 0x43ac77
jle 0x43ac77
call fcn.00440010
cmp eax, 1
jne 0x43ac61
call fcn.00440020
cmp eax, 3
jg 0x43ac61
push 3
push 0x44
push str.c:users_nbaggadesktopcefcode1750_1chromium_src_basewinwindows_version.cc
lea ecx, [ebp - 0x1fc]
mov ebx, 1
call fcn.00440ce0
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.0043a7e0
add esp, 8
test bl, 1
je 0x43ac71
lea ecx, [ebp - 0x1fc]
call fcn.00441300
mov dword [esi], 7
movzx eax, word [ebp - 0xa]
movzx edx, word [ebp - 0xc]
mov dword [esi + 0x18], eax
xor eax, eax
lea ecx, [ebp - 0x14c]
xor edi, edi
push ecx
mov dword [esi + 0x14], edx
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [ebp - 0x14c]
movzx eax, cx
cmp eax, edi
je 0x43acf5
cmp eax, 6
je 0x43acec
cmp eax, 9
jne 0x43acf8
mov dword [esi + 0x1c], 1
jmp 0x43acf8
mov dword [esi + 0x1c], 2
jmp 0x43acf8
mov dword [esi + 0x1c], edi
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x138]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0x20], edx
cmp eax, 6
jne 0x43ad9b
push str.GetProductInfo
push 0x4c35d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x11c]
push edi
push edi
push edx
push ecx
call eax
mov eax, dword [ebp - 0x124]
dec eax
cmp eax, 0x2f
ja case.0x43ad60.2
movzx edx, byte [eax + 0x43ae20]
jmp dword [edx*4 + 0x43ae14]
pop edi
mov dword [esi + 0x10], 2
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne case.0x43ad60.2
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x43add8
cmp byte [ebp - 6], 1
jne 0x43adb7
cmp cx, 9
je case.0x43ad60.1
mov eax, dword [ebp - 8]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x10], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.0x43ad60.2
mov ecx, dword [ebp - 8]
shr ecx, 9
not ecx
and ecx, eax
pop edi
mov dword [esi + 0x10], ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], edi
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049269f
mov esp, ebp
pop ebp
ret