Function at 0x41a310
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 0x4e34a9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebx + 8]
mov dword [edi + 0x14], 0
mov word [ebx + 8], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebx + 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov byte [ebp - 4], 1
lea esi, [edi + 0x18]
mov dword [ebp - 0x3c], esi
push 0x40
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004a4ca1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x20]
push 2
push eax
call fcn.004a31e4
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
sub esp, 0x10
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push str.2.30
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040aa50
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.statver
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040aa50
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00424500
mov ecx, edi
call fcn.004245b0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x38]
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea eax, [ebp - 0x50]
push eax
call fcn.004901f0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x41a4ad
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41a4ad
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4ee33c]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41a4ad
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4ee33c]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x50]
lea edi, [ebp - 0x178]
mov ecx, 0x47
mov eax, 0x503ff0
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x5e], 1
mov ecx, 0x500c84
cmove eax, ecx
cmp word [ebp - 0x38], 9
mov dword [ebp - 0x44], eax
mov ecx, 0x504004
mov eax, str.AMD64
cmovne eax, ecx
movzx ecx, word [ebp - 0x62]
mov dword [ebp - 0x40], eax
sub esp, 0x18
movzx eax, word [ebp - 0x64]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.004262d0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 2
movups xmmword [ecx], xmm0
push 0x50403c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040aa50
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00424500
lea ecx, [ebx + 8]
call fcn.0040ab30
mov eax, dword [ebp - 0x48]
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.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18