Function at 0x100b6cdb
Capabilities:
Get system information on windows

Disassembly:
push 0x1e8
mov eax, 0x100e537d
call fcn.100c74ca
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x80]
mov esi, 0x100eadb0
mov dword [ebp - 0x178], eax
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.100b45be
xor eax, eax
lea ecx, [ebp - 0x38]
inc eax
push esi
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], al
call fcn.100b45be
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 0x100b6d6c
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 [0x100e97d8]
call edi
test eax, eax
jne 0x100b6d6c
push 0x20
push str.lFnIsWow64Process2_not_available
jmp 0x100b6dc2
mov ax, word [ebp - 0x18]
mov ecx, 0x200
cmp ax, cx
je 0x100b6dbb
mov ecx, 0x8664
cmp ax, cx
je 0x100b6dbb
mov ecx, 0xaa64
cmp ax, cx
jne 0x100b6d97
push 5
push str.ARM64
jmp 0x100b6dc2
mov ecx, 0x14c
cmp ax, cx
je 0x100b6db2
add ecx, 0x74
cmp ax, cx
je 0x100b6db2
push 7
push str.Unknown
jmp 0x100b6dc2
push 3
push 0x1013e628
jmp 0x100b6dc2
push 3
push 0x1013ca68
lea ecx, [ebp - 0x80]
call fcn.100b45be
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push str.ARM64
call fcn.100b45be
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x80]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.100b45be
mov byte [ebp - 4], 2
call fcn.100b0332
add esp, 0x30
test al, al
je 0x100b71c1
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x20], ebx
call fcn.100b45be
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.100b45be
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 0x100b6e7a
mov edx, dword [ebp - 0x14c]
test edx, edx
je 0x100b6e7a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b6e5a
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100b45be
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 0x100b6ec6
mov edx, dword [ebp - 0x14c]
test edx, edx
je 0x100b6ec6
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b6ea6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100b45be
push dword [ebp - 0x14c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, 0x100eb590
lea ecx, [ebp - 0x168]
push edi
call fcn.100b45be
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.100b45be
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
push 3
call fcn.100b55e6
push 0x100b7d90
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 - 0x50]
push ecx
push eax
call fcn.100b45be
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 - 0x68]
push eax
call fcn.100b45be
pop ecx
pop ecx
push dword [ebp - 0x150]
lea eax, [ebp - 0x190]
push eax
call fcn.100b45be
pop ecx
pop ecx
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.100b45be
pop ecx
pop ecx
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 8
call fcn.100090b6
lea eax, [ebp - 0x190]
push 0xc
push eax
call fcn.100b45be
pop ecx
pop ecx
push dword [0x1016a2e8]
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.100b45be
add esp, 0xc
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.100b45be
add esp, 0xc
push dword [0x1016a2e8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.100b45be
add esp, 0xc
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.100b45be
mov ebx, dword [ebp - 0x178]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.100b45be
lea ecx, [ebp - 0x1c0]
call fcn.100227b7
lea ecx, [ebp - 0x1a8]
call fcn.100227b7
lea ecx, [ebp - 0x1dc]
call fcn.100227b7
lea ecx, [ebp - 0x1f4]
call fcn.100227b7
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 8
call fcn.100227b7
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.100b45be
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x1c0]
call fcn.100b45be
push esi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xe
call fcn.100b45be
mov edi, str.OSUtils
mov byte [ebp - 4], 0xf
push edi
lea ecx, [ebp - 0x190]
call fcn.100b45be
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x190]
mov ebx, eax
call fcn.100090b6
lea ecx, [ebp - 0x1a8]
call fcn.100090b6
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 8
call fcn.100090b6
test ebx, ebx
je 0x100b717f
push esi
lea ecx, [ebp - 0x190]
call fcn.100b45be
push esi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x11
call fcn.100b45be
push edi
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x12
call fcn.100b45be
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.100aa486
add esp, 0xc
mov ecx, eax
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
mov esi, dword [ecx]
push eax
push str.GetProcessorId
push str._s:_x86_ARM_emulation_ProcessorId_is____s
push ecx
mov ecx, dword [esi + 0x14]
call dword [0x100e97d8]
call dword [esi + 0x14]
add esp, 0x10
lea ecx, [ebp - 0x1c0]
call fcn.100090b6
lea ecx, [ebp - 0x1a8]
call fcn.100090b6
lea ecx, [ebp - 0x190]
call fcn.100090b6
lea ecx, [ebp - 0xe0]
call fcn.100b5663
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 - 0x98]
call fcn.100227b7
lea ecx, [ebp - 0x168]
call fcn.100227b7
lea ecx, [ebp - 0x50]
call fcn.100090b6
lea ecx, [ebp - 0x68]
call fcn.100090b6
jmp 0x100b742f
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 - 0x190]
mov dword [ebp - 4], 2
push eax
call fcn.100b45be
pop ecx
pop ecx
movzx eax, word [ebp - 0x154]
push eax
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x16
push eax
call fcn.100b45be
pop ecx
pop ecx
movzx eax, word [ebp - 0x174]
push eax
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x17
push eax
call fcn.100b45be
pop ecx
pop ecx
push dword [0x1016a2e8]
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100b45be
add esp, 0xc
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100b45be
add esp, 0xc
push dword [0x1016a2e8]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.100b45be
add esp, 0xc
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.100b45be
mov edi, dword [ebp - 0x178]
add esp, 0xc
mov ecx, edi
push eax
call fcn.100b45be
lea ecx, [ebp - 0x1f4]
call fcn.100227b7
lea ecx, [ebp - 0x1dc]
call fcn.100227b7
lea ecx, [ebp - 0x68]
call fcn.100227b7
lea ecx, [ebp - 0x50]
call fcn.100227b7
lea ecx, [ebp - 0x1c0]
call fcn.100227b7
lea ecx, [ebp - 0x1a8]
call fcn.100227b7
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.100227b7
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.100b45be
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x190]
call fcn.100b45be
push esi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x1c
call fcn.100b45be
mov edi, str.OSUtils
mov byte [ebp - 4], 0x1d
push edi
lea ecx, [ebp - 0x1c0]
call fcn.100b45be
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.100aa486
add esp, 0xc
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x1c0]
call fcn.100090b6
lea ecx, [ebp - 0x1a8]
call fcn.100090b6
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.100090b6
cmp dword [ebp - 0x150], 0
je 0x100b7414
push esi
lea ecx, [ebp - 0x190]
call fcn.100b45be
push esi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x1f
call fcn.100b45be
push edi
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x20
call fcn.100b45be
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.100aa486
add esp, 0xc
mov ecx, eax
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
mov esi, dword [ecx]
push eax
push str.GetProcessorId
push str._s:_ProcessorId_is____s
push ecx
mov ecx, dword [esi + 0x14]
call dword [0x100e97d8]
call dword [esi + 0x14]
add esp, 0x10
lea ecx, [ebp - 0x1c0]
call fcn.100090b6
lea ecx, [ebp - 0x1a8]
call fcn.100090b6
lea ecx, [ebp - 0x190]
call fcn.100090b6
mov eax, dword [ebp - 0x178]
cmp dword [eax + 0x10], ebx
je 0x100b7429
jmp 0x100b742f
mov byte [ebp - 0x1c4], bl
lea ecx, [ebp - 0x38]
call fcn.100090b6
lea ecx, [ebp - 0x80]
call fcn.100090b6
mov al, byte [ebp - 0x1c4]
jmp 0x100b7550
call fcn.100c7417
ret