Function at 0x1001e9c0
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 0x1006d9cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x58
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x68], 0
jne 0x1001eaa2
push 0x14
call fcn.1004a319
mov edi, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x44], 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 - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x40]
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 0x1001eaff
push 0x14
push eax
mov dword [eax], vtable.blackbone::Native.0
call fcn.1004a349
mov esi, dword [ebp - 0x14]
jmp 0x1001eb30
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x18], 1
lea edi, [esi + 8]
push 0x14
jne 0x1001eb04
call fcn.1004a319
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x20], esi
push 0
push dword [eax]
call fcn.10022460
mov dword [esi], vtable.blackbone::NativeWow64.0
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x1001eaff
push 0x14
push eax
mov dword [eax], vtable.blackbone::Native.0
call fcn.1004a349
add esp, 8
mov esi, dword [ebp - 0x14]
jmp 0x1001eb33
call fcn.1004a319
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
push 0
push dword [esi]
call fcn.10022460
mov ecx, dword [edi]
mov dword [edi], eax
test ecx, ecx
je 0x1001eb33
push 0x14
push ecx
mov dword [ecx], vtable.blackbone::Native.0
call fcn.1004a349
add esp, 8
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x1001eb44
mov byte [esi + 0xc], 1
jmp 0x1001ebd6
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.10015a20
push 0x1009bda4
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1000fe40
mov dword [ebp - 4], 0
call fcn.1001bac0
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100164b0
mov eax, dword [ebp - 0x18]
push edi
cmp eax, dword [esi + 4]
je 0x1001ebc8
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1001ebce
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
call esi
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1000f9d0
test esi, esi
je 0x1001ebd6
mov al, byte [ebp - 0x1c]
and al, 1
mov byte [edi + 0xc], al
jmp 0x1001ebd6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x38]
call fcn.1000f9d0
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret