Function at 0x50b290
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x649158], 0
je 0x50b2a3
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [0x6490e0], 0
jne 0x50b2f2
cmp dword [0x6490a4], 0
mov eax, 0x5cf388
mov ecx, 0x5cf3ac
cmove ecx, eax
movups xmm0, xmmword [ecx + 0xc]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
movups xmmword [0x6490e4], xmm0
mov dword [0x6490dc], eax
movq xmm0, qword [ecx + 0x1c]
mov eax, dword [ecx + 8]
mov dword [0x6490d8], edx
movq qword [0x6490f4], xmm0
mov dword [0x6490e0], eax
jmp 0x50b2f8
mov edx, dword [0x6490d8]
push edi
call edx
mov edi, eax
test edi, edi
jne 0x50b766
push ebx
cmp dword [0x6490a4], eax
jne 0x50b312
xor ebx, ebx
jmp 0x50b32d
push 2
call dword [0x6490e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x50b32d
push ebx
call dword [0x6490e8]
add esp, 4
cmp dword [0x649164], 0
push esi
mov dword [0x649160], 1
jne 0x50b465
cmp dword [0x6490b8], 0
jne 0x50b35d
push 0x5cf368
push 4
call fcn.0050aec0
add esp, 8
cmp dword [0x6490a4], 0
xorps xmm0, xmm0
movups xmmword [0x650020], xmm0
movups xmmword [0x650030], xmm0
movq qword [0x650040], xmm0
je 0x50b38f
push 3
call dword [0x6490e0]
add esp, 4
mov dword [0x650020], eax
mov ecx, dword [0x649138]
test ecx, ecx
je 0x50b3e4
mov esi, dword [0x64913c]
cmp esi, 0x64
jl 0x50b3e4
mov edx, dword [0x649140]
test edx, edx
jle 0x50b3e4
mov dword [0x650040], edx
and esi, 0xfffffff8
dec edx
mov dword [0x64913c], esi
mov dword [0x65003c], ecx
test edx, edx
jle 0x50b3d4
lea eax, [ecx + esi]
mov dword [ecx], eax
mov ecx, eax
sub edx, 1
jne 0x50b3c8
lea eax, [ecx + 4]
mov dword [ecx], 0
mov dword [0x650038], eax
jmp 0x50b40c
mov dword [0x650038], 0
mov dword [0x649138], 0
mov dword [0x64913c], 0
mov dword [0x649140], 0
cmp dword [0x649144], 0
je 0x50b42a
cmp dword [0x649148], 0x200
jl 0x50b42a
cmp dword [0x64914c], 1
jge 0x50b448
mov dword [0x649144], 0
mov dword [0x649148], 0
mov dword [0x64914c], 0
push dword [0x6490d4]
call dword [0x6490cc]
mov edi, eax
add esp, 4
test edi, edi
je 0x50b465
mov ecx, dword [0x64916c]
jmp 0x50b491
mov ecx, dword [0x64916c]
mov dword [0x649164], 1
test ecx, ecx
jne 0x50b48b
cmp dword [0x6490a4], ecx
jne 0x50b5a7
mov dword [0x64916c], ecx
inc dword [0x649170]
test ebx, ebx
je 0x50b4a5
push ebx
call dword [0x6490f0]
mov ecx, dword [0x64916c]
add esp, 4
test edi, edi
jne 0x50b764
test ecx, ecx
je 0x50b4c1
push ecx
call dword [0x6490e8]
mov ecx, dword [0x64916c]
add esp, 4
cmp dword [0x649158], 0
jne 0x50b707
cmp dword [0x64915c], 0
jne 0x50b707
push 0x5c
push 0
push 0x64feb8
mov dword [0x64915c], 1
call fcn.00586790
add esp, 0xc
call fcn.004f6690
cmp dword [0x649168], 0
jne 0x50b536
mov eax, dword [0x649100]
test eax, eax
jne 0x50b521
push 0x5cf524
push 0xe
call fcn.0050aec0
mov eax, dword [0x649100]
add esp, 8
push dword [0x6490fc]
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x50b6f7
mov dword [0x649168], 1
call fcn.0050b290
test eax, eax
jne 0x50b6f2
push 0xa
call fcn.004f0890
add esp, 4
test eax, eax
je 0x50b6f2
push eax
call fcn.004b8980
add esp, 4
mov dword [0x662f00], 0
xorps xmm0, xmm0
movups xmmword [0x662ee0], xmm0
push 0x662ee0
movups xmmword [0x662ef0], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.0050b290
test eax, eax
jne 0x50b654
cmp dword [0x6490a4], eax
jne 0x50b5d7
xor esi, esi
jmp 0x50b5f2
push 1
call dword [0x6490e0]
add esp, 4
mov ecx, eax
cmp dword [0x6490a4], 0
mov dword [0x64916c], ecx
je 0x50b48b
test ecx, ecx
jne 0x50b48b
lea edi, [eax + 7]
jmp 0x50b491
push 2
call dword [0x6490e0]
mov esi, eax
add esp, 4
test esi, esi
je 0x50b5f2
push esi
call dword [0x6490e8]
add esp, 4
mov edx, dword [0x64ff14]
cmp edx, 0x6492e0
jne 0x50b608
mov edx, dword [0x6492ec]
jmp 0x50b636
test edx, edx
je 0x50b636
mov eax, dword [edx + 0xc]
mov ecx, edx
test eax, eax
je 0x50b625
cmp eax, 0x6492e0
je 0x50b625
mov ecx, eax
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x50b615
cmp dword [ecx + 0xc], 0x6492e0
jne 0x50b636
mov eax, dword [0x6492ec]
mov dword [ecx + 0xc], eax
mov dword [0x6492ec], edx
mov dword [0x64ff14], 0x6492e0
test esi, esi
je 0x50b654
push esi
call dword [0x6490f0]
add esp, 4
mov esi, dword [0x64914c]
xor edi, edi
mov ecx, dword [0x649144]
cmp dword [0x650274], edi
je 0x50b6e6
mov edx, dword [0x649148]
and edx, 0xfffffff8
mov dword [0x650290], esi
mov dword [ebp - 4], edx
mov dword [0x650278], edx
mov dword [0x65027c], esi
cmp esi, 0x5a
jle 0x50b699
mov dword [0x650280], 0xa
jmp 0x50b6b3
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
inc edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
mov dword [0x650280], eax
xor eax, eax
mov dword [0x650284], ecx
mov dword [0x650294], eax
mov dword [0x650298], eax
test esi, esi
je 0x50b6e0
nop dword [eax]
mov dword [ecx], eax
mov eax, ecx
add ecx, edx
mov dword [0x650294], eax
sub esi, 1
jne 0x50b6d0
mov dword [0x650288], ecx
mov dword [0x649158], 1
jmp 0x50b6f7
mov edi, 7
mov ecx, dword [0x64916c]
mov dword [0x64915c], 0
test ecx, ecx
je 0x50b71b
push ecx
call dword [0x6490f0]
mov ecx, dword [0x64916c]
add esp, 4
test ebx, ebx
je 0x50b72f
push ebx
call dword [0x6490e8]
mov ecx, dword [0x64916c]
add esp, 4
mov eax, dword [0x649170]
dec eax
mov dword [0x649170], eax
test eax, eax
jg 0x50b756
test ecx, ecx
je 0x50b74c
push ecx
call dword [0x6490e4]
add esp, 4
mov dword [0x64916c], 0
test ebx, ebx
je 0x50b764
push ebx
call dword [0x6490f0]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret