Function at 0x100f2b2c
Capabilities:
Get system information on windows

Disassembly:
push 0x1e8
mov eax, 0x10139422
call fcn.1011094a
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x68]
mov esi, 0x1014a0f1
mov dword [ebp - 0x178], eax
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.1003a3c0
xor eax, eax
lea ecx, [ebp - 0x98]
inc eax
push esi
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], al
call fcn.1003a3c0
xor eax, eax
mov byte [ebp - 4], 2
push str.kernel32
mov word [ebp - 0x1c], ax
mov word [ebp - 0x18], ax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.IsWow64Process2
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100f2bc0
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, edi
call dword [0x1014488c]
call edi
test eax, eax
jne 0x100f2bc0
push 0x20
push str.lFnIsWow64Process2_not_available
jmp 0x100f2c16
mov ax, word [ebp - 0x18]
mov ecx, 0x200
cmp ax, cx
je 0x100f2c0f
mov ecx, 0x8664
cmp ax, cx
je 0x100f2c0f
mov ecx, 0xaa64
cmp ax, cx
jne 0x100f2beb
push 5
push str.ARM64
jmp 0x100f2c16
mov ecx, 0x14c
cmp ax, cx
je 0x100f2c06
add ecx, 0x74
cmp ax, cx
je 0x100f2c06
push 7
push str.Unknown
jmp 0x100f2c16
push 3
push 0x101a1640
jmp 0x100f2c16
push 3
push 0x1019f6c8
lea ecx, [ebp - 0x68]
call fcn.1003a3c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push str.ARM64
call fcn.1003a3c0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x68]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.1003a3c0
mov byte [ebp - 4], 2
call fcn.100e9452
add esp, 0x30
test al, al
je 0x100f3026
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x20], ebx
call fcn.1003a3c0
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.1003a3c0
push str.PROCESSOR_LEVEL
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
add esp, 0xc
test eax, eax
jne 0x100f2cce
mov edx, dword [ebp - 0x14c]
test edx, edx
je 0x100f2cce
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f2cae
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.1003a3c0
push dword [ebp - 0x14c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push str.PROCESSOR_REVISION
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
add esp, 0xc
test eax, eax
jne 0x100f2d1a
mov edx, dword [ebp - 0x14c]
test edx, edx
je 0x100f2d1a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f2cfa
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.1003a3c0
push dword [ebp - 0x14c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, 0x1014ad1c
lea ecx, [ebp - 0x168]
push edi
call fcn.1003a3c0
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.1003a3c0
push 0xb0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 7
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x148]
push 1
call fcn.1001a563
push 0x100f54f0
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.1003a3c0
pop ecx
pop ecx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_int__]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push dword [ebp - 0x150]
lea eax, [ebp - 0x194]
push eax
call fcn.1003a3c0
pop ecx
pop ecx
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.1003a3c0
pop ecx
pop ecx
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 8
call fcn.1001524d
lea eax, [ebp - 0x194]
push 0xc
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push dword [0x101d9440]
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1003a3c0
add esp, 0xc
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.1003a3c0
add esp, 0xc
push dword [0x101d9440]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.1003a3c0
add esp, 0xc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.1003a3c0
mov edi, dword [ebp - 0x178]
add esp, 0xc
mov ecx, edi
push eax
call fcn.1003a3c0
lea ecx, [ebp - 0x1c4]
call fcn.10015273
lea ecx, [ebp - 0x1ac]
call fcn.10015273
lea ecx, [ebp - 0x1dc]
call fcn.10015273
lea ecx, [ebp - 0x1f4]
call fcn.10015273
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 8
call fcn.10015273
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.1003a3c0
pop ecx
pop ecx
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_lock
pop ecx
push eax
call fcn.1003a3c0
pop ecx
push esi
lea ecx, [ebp - 0x1c4]
call fcn.1003a3c0
push esi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xe
call fcn.1003a3c0
mov ebx, str.OSUtils
mov byte [ebp - 4], 0xf
push ebx
lea ecx, [ebp - 0x194]
call fcn.1003a3c0
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.100e1c13
add esp, 0xc
mov dword [ebp - 0x178], eax
lea ecx, [ebp - 0x194]
call fcn.1001524d
lea ecx, [ebp - 0x1ac]
call fcn.1001524d
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 8
call fcn.1001524d
cmp dword [ebp - 0x178], 0
je 0x100f2fe0
push esi
lea ecx, [ebp - 0x194]
call fcn.1003a3c0
push esi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x11
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x12
call fcn.1003a3c0
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.100e1c13
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
push str.GetProcessorId
push str._s:_x86_ARM_emulation_ProcessorId_is_calculated
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1014488c]
call esi
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.1001524d
lea ecx, [ebp - 0x1ac]
call fcn.1001524d
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 8
call fcn.1001524d
push edi
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.1001ca1c
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call fcn.10015273
lea ecx, [ebp - 0x168]
call fcn.10015273
lea ecx, [ebp - 0x38]
call fcn.1001524d
lea ecx, [ebp - 0x50]
call fcn.1001524d
jmp 0x100f316f
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x14
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x152]
push eax
lea eax, [ebp - 0x194]
mov dword [ebp - 4], 2
push eax
call fcn.1003a3c0
pop ecx
pop ecx
movzx eax, word [ebp - 0x154]
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
push eax
call fcn.1003a3c0
pop ecx
pop ecx
movzx eax, word [ebp - 0x174]
push eax
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x17
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push dword [0x101d9440]
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1003a3c0
add esp, 0xc
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1003a3c0
add esp, 0xc
push dword [0x101d9440]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.1003a3c0
add esp, 0xc
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1003a3c0
mov esi, dword [ebp - 0x178]
add esp, 0xc
mov ecx, esi
push eax
call fcn.1003a3c0
lea ecx, [ebp - 0x1f4]
call fcn.10015273
lea ecx, [ebp - 0x1dc]
call fcn.10015273
lea ecx, [ebp - 0x50]
call fcn.10015273
lea ecx, [ebp - 0x38]
call fcn.10015273
lea ecx, [ebp - 0x1c4]
call fcn.10015273
lea ecx, [ebp - 0x1ac]
call fcn.10015273
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 2
call fcn.10015273
lea eax, [ebp - 0x98]
push eax
push esi
call fcn.1003a3c0
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
je 0x100f3169
jmp 0x100f316f
mov byte [ebp - 0x17c], bl
lea ecx, [ebp - 0x98]
call fcn.1001524d
lea ecx, [ebp - 0x68]
call fcn.1001524d
mov al, byte [ebp - 0x17c]
jmp 0x100f32b8
call fcn.10110897
ret