Function at 0x403a70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447e58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4624c8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x4624c8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0x14], 9
mov ecx, edi
sete bl
call fcn.0040a2c0
test al, al
je 0x403b28
push 0x453cb4
push str.LPSS_GPIO
lea ecx, [edi + 4]
call fcn.004198c0
push 0x453cb4
push str.LPSS_SPI
lea ecx, [edi + 4]
call fcn.004198c0
push 0x453cb4
push str.LPSS_UART
lea ecx, [edi + 4]
call fcn.004198c0
push 0x453cb4
push str.LPSS_I2C
jmp 0x403d32
cmp dword [edi + 0x384], 0xffffffff
lea esi, [edi + 0x384]
je 0x403d3a
call fcn.00403d90
mov edx, eax
mov ecx, edx
mov dword [esp + 0x10], edx
sub ecx, 0x259
je 0x403c9f
sub ecx, 2
je 0x403c54
sub ecx, 0x18d
je 0x403b9d
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x10]
imul eax, ecx, 0x64
sub edx, eax
push edx
push ecx
push str.Error:_No_drivers_to_install._kernel32.dll_version_found:__d._d
push 0x454110
push 0x463614
call fcn.00419150
add esp, 0x14
jmp 0x403cf3
cmp dword [edi + 0x380], 0x3e8
jne 0x403bfa
cmp bl, 1
jne 0x403bd4
push str.Installing_Serial_IO_drivers_for_Windows_10_x64
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463688
jmp 0x403ce8
push str.Installing_Serial_IO_drivers_for_Windows_10_x86
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463868
jmp 0x403ce8
cmp dword [esi], 0
jne 0x403cf3
cmp bl, 1
jne 0x403c2e
push str.Forcing_Serial_IO_drivers_for_Windows_8.1_x64
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463a48
jmp 0x403ce8
push str.Forcing_Serial_IO_drivers_for_Windows_8.1_x86
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463c28
jmp 0x403ce8
cmp bl, 1
jne 0x403c7c
push str.Installing_Serial_IO_drivers_for_Windows_8.1_x64
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463a48
jmp 0x403ce8
push str.Installing_Serial_IO_drivers_for_Windows_8.1_x86
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463c28
jmp 0x403ce8
cmp bl, 1
jne 0x403cc7
push str.Installing_Serial_IO_drivers_for_Windows_7_x64
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463fe8
jmp 0x403ce8
push str.Installing_Serial_IO_drivers_for_Windows_7_x86
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x463e08
add esp, 0xc
mov ecx, edi
push eax
call fcn.00403630
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00404540
mov ecx, dword [esp + 0x10]
cmp ecx, dword [0x465d14]
je 0x403d3a
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x38]
push eax
call fcn.0041baa0
add esp, 4
test eax, eax
jne 0x403d3a
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push str.IIF_README
lea ecx, [edi + 4]
call fcn.004198c0
lea ecx, [edi + 0x320]
call fcn.0041ca20
lea ecx, [edi + 0x320]
call fcn.0041cb00
mov ecx, edi
call fcn.0040b940
cmp dword [esp + 0x4c], 8
jb 0x403d6a
push dword [esp + 0x38]
call fcn.004213f0
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00430d5f
mov esp, ebp
pop ebp
ret