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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x1c], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x43dbc7
xor eax, eax
jmp 0x43dbed
lea ecx, [ebp - 0x124]
push ecx
push edi
mov dword [ebp - 0x124], ebx
call eax
test eax, eax
jne 0x43dbe2
mov eax, 2
jmp 0x43dbed
xor eax, eax
cmp dword [ebp - 0x124], ebx
setne al
push 0x118
lea edx, [ebp - 0x11c]
push ebx
push edx
mov dword [esi + 0x28], eax
mov dword [ebp - 0x120], 0x11c
call fcn.00446e60
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 0x43dc4d
cmp ecx, ebx
jle 0x43dc89
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x43dc89
cmp eax, 6
jne 0x43dc71
sub ecx, ebx
je 0x43dc69
dec ecx
je 0x43dc61
mov dword [esi], 5
jmp 0x43dc89
mov dword [esi], 4
jmp 0x43dc89
mov dword [esi], 3
jmp 0x43dc89
cmp eax, 0xa
jne 0x43dc7e
mov dword [esi], 7
jmp 0x43dc89
cmp eax, 6
jle 0x43dc89
mov dword [esi], 8
movzx ecx, word [ebp - 0xc]
movzx edx, word [ebp - 0xa]
xor eax, eax
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
lea eax, [ebp - 0x14c]
push eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov dword [ebp - 0x14c], ebx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [ebp - 0x14c]
movzx eax, cx
cmp eax, ebx
je 0x43dd05
cmp eax, 6
je 0x43dcfc
cmp eax, 9
jne 0x43dd08
mov dword [esi + 0x1c], 1
jmp 0x43dd08
mov dword [esi + 0x1c], 2
jmp 0x43dd08
mov dword [esi + 0x1c], ebx
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 0x43dda9
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x11c]
push ebx
push ebx
push edx
push ecx
call eax
mov eax, dword [ebp - 0x128]
dec eax
cmp eax, 0x2f
ja case.0x43dd70.2
movzx edx, byte [eax + 0x43de2c]
jmp dword [edx*4 + 0x43de20]
pop edi
mov dword [esi + 0x10], 2
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x10], 1
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne case.0x43dd70.2
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x43dde5
cmp byte [ebp - 6], 1
jne 0x43ddc5
cmp cx, 9
je case.0x43dd70.1
mov eax, dword [ebp - 8]
shr eax, 0xe
not eax
and eax, 2
pop edi
mov dword [esi + 0x10], eax
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.0x43dd70.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 ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x10], ebx
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.0043e417
mov esp, ebp
pop ebp
ret