Function at 0x1002a020
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064f9d
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 0x1002a0ee
push 0x14
call fcn.10044157
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 0x1002a14b
push 0x14
push eax
mov dword [eax], vtable.blackbone::Native.0
call fcn.10044149
mov esi, dword [ebp - 0x10]
jmp 0x1002a17c
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 0x1002a150
call fcn.10044157
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.1002cec0
mov dword [esi], vtable.blackbone::NativeWow64.0
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x1002a14b
push 0x14
push eax
mov dword [eax], vtable.blackbone::Native.0
call fcn.10044149
add esp, 8
mov esi, dword [ebp - 0x10]
jmp 0x1002a17f
call fcn.10044157
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
push 0
push dword [esi]
call fcn.1002cec0
mov ecx, dword [edi]
mov dword [edi], eax
test ecx, ecx
je 0x1002a17f
push 0x14
push ecx
mov dword [ecx], vtable.blackbone::Native.0
call fcn.10044149
add esp, 8
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x1002a19d
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.10023ac0
push 0x10095474
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.10011190
mov dword [ebp - 4], 0
call fcn.10027170
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.10024550
mov eax, dword [ebp - 0x14]
push edi
cmp eax, dword [esi + 4]
je 0x1002a231
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1002a237
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.10003480
test esi, esi
je 0x1002a23f
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.10003480
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret