Function at 0x101a0070
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1022a5a0], 0
je 0x101a0083
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [0x1022a528], 0
jne 0x101a00d2
cmp dword [0x1022a4ec], 0
mov eax, 0x101d1d88
mov ecx, 0x101d1dac
cmove ecx, eax
movups xmm0, xmmword [ecx + 0xc]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
movups xmmword [0x1022a52c], xmm0
mov dword [0x1022a524], eax
movq xmm0, qword [ecx + 0x1c]
mov eax, dword [ecx + 8]
mov dword [0x1022a520], edx
movq qword [0x1022a53c], xmm0
mov dword [0x1022a528], eax
jmp 0x101a00d8
mov edx, dword [0x1022a520]
push edi
call edx
mov edi, eax
test edi, edi
jne 0x101a0546
push ebx
cmp dword [0x1022a4ec], eax
jne 0x101a00f2
xor ebx, ebx
jmp 0x101a010d
push 2
call dword [0x1022a528]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x101a010d
push ebx
call dword [0x1022a530]
add esp, 4
cmp dword [0x1022a5ac], 0
push esi
mov dword [0x1022a5a8], 1
jne 0x101a0245
cmp dword [0x1022a500], 0
jne 0x101a013d
push 0x101d1d68
push 4
call fcn.1019fca0
add esp, 8
cmp dword [0x1022a4ec], 0
xorps xmm0, xmm0
movups xmmword [0x1022e178], xmm0
movups xmmword [0x1022e188], xmm0
movq qword [0x1022e198], xmm0
je 0x101a016f
push 3
call dword [0x1022a528]
add esp, 4
mov dword [0x1022e178], eax
mov ecx, dword [0x1022a580]
test ecx, ecx
je 0x101a01c4
mov esi, dword [0x1022a584]
cmp esi, 0x64
jl 0x101a01c4
mov edx, dword [0x1022a588]
test edx, edx
jle 0x101a01c4
mov dword [0x1022e198], edx
and esi, 0xfffffff8
dec edx
mov dword [0x1022a584], esi
mov dword [0x1022e194], ecx
test edx, edx
jle 0x101a01b4
lea eax, [ecx + esi]
mov dword [ecx], eax
mov ecx, eax
sub edx, 1
jne 0x101a01a8
lea eax, [ecx + 4]
mov dword [ecx], 0
mov dword [0x1022e190], eax
jmp 0x101a01ec
mov dword [0x1022e190], 0
mov dword [0x1022a580], 0
mov dword [0x1022a584], 0
mov dword [0x1022a588], 0
cmp dword [0x1022a58c], 0
je 0x101a020a
cmp dword [0x1022a590], 0x200
jl 0x101a020a
cmp dword [0x1022a594], 1
jge 0x101a0228
mov dword [0x1022a58c], 0
mov dword [0x1022a590], 0
mov dword [0x1022a594], 0
push dword [0x1022a51c]
call dword [0x1022a514]
mov edi, eax
add esp, 4
test edi, edi
je 0x101a0245
mov ecx, dword [0x1022a5b4]
jmp 0x101a0271
mov ecx, dword [0x1022a5b4]
mov dword [0x1022a5ac], 1
test ecx, ecx
jne 0x101a026b
cmp dword [0x1022a4ec], ecx
jne 0x101a0387
mov dword [0x1022a5b4], ecx
inc dword [0x1022a5b8]
test ebx, ebx
je 0x101a0285
push ebx
call dword [0x1022a538]
mov ecx, dword [0x1022a5b4]
add esp, 4
test edi, edi
jne 0x101a0544
test ecx, ecx
je 0x101a02a1
push ecx
call dword [0x1022a530]
mov ecx, dword [0x1022a5b4]
add esp, 4
cmp dword [0x1022a5a0], 0
jne 0x101a04e7
cmp dword [0x1022a5a4], 0
jne 0x101a04e7
push 0x5c
push 0
push 0x1022e010
mov dword [0x1022a5a4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.101870f0
cmp dword [0x1022a5b0], 0
jne 0x101a0316
mov eax, dword [0x1022a548]
test eax, eax
jne 0x101a0301
push 0x101d117c
push 0xe
call fcn.1019fca0
mov eax, dword [0x1022a548]
add esp, 8
push dword [0x1022a544]
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x101a04d7
mov dword [0x1022a5b0], 1
call fcn.101a0070
test eax, eax
jne 0x101a04d2
push 0xa
call fcn.101805a0
add esp, 4
test eax, eax
je 0x101a04d2
push eax
call fcn.1013e5e0
add esp, 4
mov dword [0x1022e440], 0
xorps xmm0, xmm0
movups xmmword [0x1022e420], xmm0
push 0x1022e420
movups xmmword [0x1022e430], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.101a0070
test eax, eax
jne 0x101a0434
cmp dword [0x1022a4ec], eax
jne 0x101a03b7
xor esi, esi
jmp 0x101a03d2
push 1
call dword [0x1022a528]
add esp, 4
mov ecx, eax
cmp dword [0x1022a4ec], 0
mov dword [0x1022a5b4], ecx
je 0x101a026b
test ecx, ecx
jne 0x101a026b
lea edi, [eax + 7]
jmp 0x101a0271
push 2
call dword [0x1022a528]
mov esi, eax
add esp, 4
test esi, esi
je 0x101a03d2
push esi
call dword [0x1022a530]
add esp, 4
mov edx, dword [0x1022e06c]
cmp edx, 0x1022a728
jne 0x101a03e8
mov edx, dword [0x1022a734]
jmp 0x101a0416
test edx, edx
je 0x101a0416
mov eax, dword [edx + 0xc]
mov ecx, edx
test eax, eax
je 0x101a0405
cmp eax, 0x1022a728
je 0x101a0405
mov ecx, eax
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x101a03f5
cmp dword [ecx + 0xc], 0x1022a728
jne 0x101a0416
mov eax, dword [0x1022a734]
mov dword [ecx + 0xc], eax
mov dword [0x1022a734], edx
mov dword [0x1022e06c], 0x1022a728
test esi, esi
je 0x101a0434
push esi
call dword [0x1022a538]
add esp, 4
mov esi, dword [0x1022a594]
xor edi, edi
mov ecx, dword [0x1022a58c]
cmp dword [0x1022e3cc], edi
je 0x101a04c6
mov edx, dword [0x1022a590]
and edx, 0xfffffff8
mov dword [0x1022e3e8], esi
mov dword [ebp - 4], edx
mov dword [0x1022e3d0], edx
mov dword [0x1022e3d4], esi
cmp esi, 0x5a
jle 0x101a0479
mov dword [0x1022e3d8], 0xa
jmp 0x101a0493
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 [0x1022e3d8], eax
xor eax, eax
mov dword [0x1022e3dc], ecx
mov dword [0x1022e3ec], eax
mov dword [0x1022e3f0], eax
test esi, esi
je 0x101a04c0
nop dword [eax]
mov dword [ecx], eax
mov eax, ecx
add ecx, edx
mov dword [0x1022e3ec], eax
sub esi, 1
jne 0x101a04b0
mov dword [0x1022e3e0], ecx
mov dword [0x1022a5a0], 1
jmp 0x101a04d7
mov edi, 7
mov ecx, dword [0x1022a5b4]
mov dword [0x1022a5a4], 0
test ecx, ecx
je 0x101a04fb
push ecx
call dword [0x1022a538]
mov ecx, dword [0x1022a5b4]
add esp, 4
test ebx, ebx
je 0x101a050f
push ebx
call dword [0x1022a530]
mov ecx, dword [0x1022a5b4]
add esp, 4
mov eax, dword [0x1022a5b8]
dec eax
mov dword [0x1022a5b8], eax
test eax, eax
jg 0x101a0536
test ecx, ecx
je 0x101a052c
push ecx
call dword [0x1022a52c]
add esp, 4
mov dword [0x1022a5b4], 0
test ebx, ebx
je 0x101a0544
push ebx
call dword [0x1022a538]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret