Function at 0x100798a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad076
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x100cef80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x20], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor edx, edx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x74], esi
jbe 0x100799a6
nop
push 0x1c
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10079929
add esi, dword [ebp - 0x7c]
jmp 0x10079997
mov eax, dword [ebp - 0x5c]
cdq
mov ecx, eax
mov dword [ebp - 0x1c], eax
add ecx, dword [ebp - 0x50]
mov eax, edx
adc eax, 0
test eax, eax
jb 0x10079994
ja 0x10079945
cmp ecx, dword [ebp + 0x18]
jb 0x10079994
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp + 0x14]
jb 0x10079994
test eax, 0x100
jne 0x10079994
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
cmp edi, dword [ebp - 0x10]
je 0x1007997e
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [edi], xmm0
add edi, 0x10
mov dword [ebp - 0x3c], edi
jmp 0x10079994
lea eax, [ebp - 0x34]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10079000
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
add esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x74]
jb 0x10079900
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], edx
cmp ecx, edi
je 0x10079a97
mov eax, dword [ebp - 0x3c]
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
psrldq xmm0, 4
movd edx, xmm0
test edx, edx
jb 0x100799fa
ja 0x100799f4
mov esi, dword [ebp + 0x18]
cmp ecx, esi
jbe 0x100799fd
mov esi, ecx
mov edi, edx
jmp 0x100799ff
mov esi, dword [ebp + 0x18]
xor edi, edi
test edi, edi
ja 0x10079a80
jb 0x10079a0a
cmp esi, dword [ebp + 0x1c]
jae 0x10079a80
mov eax, dword [ebp - 0x48]
add eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
adc eax, edx
mov dword [ebp - 0x14], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp - 0x24]
push edi
push esi
call fcn.100797a0
mov esi, eax
mov edi, edx
mov ecx, esi
add esp, 0x18
or ecx, edi
je 0x10079a7d
mov ecx, dword [ebp + 8]
mov edx, esi
add esi, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edx
adc edi, 0
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10079a65
mov dword [eax], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
add dword [ecx + 4], 8
jmp 0x10079a6f
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.100069a0
mov eax, dword [ebp - 0x14]
test edi, edi
jb 0x10079a20
ja 0x10079a7d
cmp esi, dword [ebp + 0x1c]
jb 0x10079a20
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jne 0x100799d4
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10079ac7
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x10079abd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079ada
push ecx
push edx
call fcn.1009832f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10099820
int3