Function at 0x40b9a0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4257e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x188
mov eax, dword [0x434008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x164]
push 0x118
push 0
push eax
mov dword [ebp - 0x174], 0
call fcn.00414170
xor eax, eax
mov dword [ebp - 0x18], 7
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], 0x11c
call fcn.00408480
cmp eax, 1
jne 0x40ba63
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.004040f6
mov edi, eax
mov dword [ebp - 0x174], 1
add esp, 4
mov dword [ebp - 0x16c], edi
cmp dword [edi + 0x14], 0x10
jb 0x40ba6e
mov edi, dword [edi]
jmp 0x40ba68
mov edi, str.Unknown
mov dword [ebp - 0x16c], edi
mov edx, dword [esi]
add edx, 0xc
mov dword [ebp - 0x170], edx
cmp edx, dword [esi + 4]
jb 0x40ba8c
push edx
mov ecx, esi
call fcn.004049c2
mov edx, dword [ebp - 0x170]
mov ecx, dword [esi + 8]
add ecx, dword [esi]
movq xmm0, qword [str.OS_Version:]
movq qword [ecx], xmm0
mov eax, dword [0x42f980]
mov dword [ecx + 8], eax
mov dword [esi], edx
test edi, edi
je 0x40baf1
cmp byte [edi], 0
je 0x40baf1
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40bab3
sub edi, ecx
je 0x40baf1
lea eax, [edi + edx]
mov dword [ebp - 0x170], eax
cmp eax, dword [esi + 4]
jb 0x40bad4
push eax
mov ecx, esi
call fcn.004049c2
mov eax, dword [esi + 8]
add eax, dword [esi]
push edi
push dword [ebp - 0x16c]
push eax
call fcn.00414710
mov eax, dword [ebp - 0x170]
add esp, 0xc
mov dword [esi], eax
mov edi, dword [esi]
add edi, 2
cmp edi, dword [esi + 4]
jb 0x40bb03
push edi
mov ecx, esi
call fcn.004049c2
mov ecx, dword [esi + 8]
add ecx, dword [esi]
test byte [ebp - 0x174], 1
mov ax, word [0x42f79c]
mov word [ecx], ax
mov dword [esi], edi
je 0x40bb66
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40bb66
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x1000
jb 0x40bb5d
test cl, 0x1f
je 0x40bb39
call fcn.0041592c
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40bb45
call fcn.0041592c
sub ecx, eax
cmp ecx, 4
jae 0x40bb51
call fcn.0041592c
cmp ecx, 0x23
jbe 0x40bb5b
call fcn.0041592c
mov ecx, eax
push ecx
call fcn.00411ab6
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
lea eax, [ebp - 0x198]
push eax
movups xmmword [ebp - 0x198], xmm0
movups xmmword [ebp - 0x188], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, dword [esi]
add edi, 0xb
cmp edi, dword [esi + 4]
jb 0x40bba0
push edi
mov ecx, esi
call fcn.004049c2
mov edx, dword [esi + 8]
mov ecx, esi
add edx, dword [esi]
movq xmm0, qword [str.Processor:]
movq qword [edx], xmm0
mov ax, word [0x42f9a8]
mov word [edx + 8], ax
mov al, byte [0x42f9aa]
mov byte [edx + 0xa], al
mov edx, dword [ebp - 0x184]
mov dword [esi], edi
call fcn.0040e190
mov esi, eax
mov edi, dword [esi]
add edi, 0x15
cmp edi, dword [esi + 4]
jb 0x40bbe6
push edi
mov ecx, esi
call fcn.004049c2
mov ecx, dword [esi + 8]
add ecx, dword [esi]
movups xmm0, xmmword [str._processor_s___Type:]
movups xmmword [ecx], xmm0
mov eax, dword [0x42f998]
mov dword [ecx + 0x10], eax
mov al, byte [0x42f99c]
mov byte [ecx + 0x14], al
mov ecx, esi
mov dword [esi], edi
mov edx, dword [ebp - 0x180]
call fcn.0040e190
mov esi, eax
mov edi, dword [esi]
add edi, 2
cmp edi, dword [esi + 4]
jb 0x40bc28
push edi
mov ecx, esi
call fcn.004049c2
mov ecx, dword [esi + 8]
add ecx, dword [esi]
mov ax, word [0x42f79c]
mov word [ecx], ax
mov dword [esi], edi
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40bc4d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00411abb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4