Function at 0x1001a080
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006aeed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
mov esi, ecx
push eax
mov dword [ebp - 0x10], esi
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x64], 0
jne 0x1001a14e
push 0x14
call fcn.10047c76
mov edi, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov ecx, dword [edi]
mov dword [esi], vtable.blackbone::Native.0
mov dword [esi + 4], ecx
push eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x3c]
add edi, 8
mov dword [esi + 0x10], eax
mov word [esi + 0xc], 0x101
mov dword [esi + 8], 0
mov byte [esi + 0xe], 1
mov dword [esi], vtable.blackbone::x86Native.0
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x1001a1ab
push 0x14
push eax
mov dword [eax], vtable.blackbone::Native.0
call fcn.10047ca6
mov esi, dword [ebp - 0x10]
jmp 0x1001a1dc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x14], 1
lea edi, [esi + 8]
push 0x14
jne 0x1001a1b0
call fcn.10047c76
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, esi
mov dword [ebp - 0x1c], esi
push 0
push dword [eax]
call fcn.1001d130
mov dword [esi], vtable.blackbone::NativeWow64.0
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x1001a1ab
push 0x14
push eax
mov dword [eax], vtable.blackbone::Native.0
call fcn.10047ca6
add esp, 8
mov esi, dword [ebp - 0x10]
jmp 0x1001a1df
call fcn.10047c76
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
push 0
push dword [esi]
call fcn.1001d130
mov ecx, dword [edi]
mov dword [edi], eax
test ecx, ecx
je 0x1001a1df
push 0x14
push ecx
mov dword [ecx], vtable.blackbone::Native.0
call fcn.10047ca6
add esp, 8
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x1001a1fd
pop edi
mov byte [esi + 0xc], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.10013730
push 0x10099c64
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.1000fd80
mov dword [ebp - 4], 0
call fcn.100170f0
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100142f0
mov eax, dword [ebp - 0x14]
push edi
cmp eax, dword [esi + 4]
je 0x1001a291
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1001a297
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call esi
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.1000f910
test esi, esi
je 0x1001a29f
mov al, byte [ebp - 0x18]
and al, 1
mov byte [edi + 0xc], al
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x34]
call fcn.1000f910
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret