Function at 0x410150
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [edi + 4], eax
lea eax, [ebp - 0x60]
mov dword [edi], vtable.blackbone::Native.0
push eax
mov dword [edi + 8], 0
mov word [edi + 0xc], 0
mov byte [edi + 0xe], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x10], eax
je 0x4101c7
mov word [edi + 0xc], 0x101
mov dword [edi + 8], 0
mov byte [edi + 0xe], 1
jmp 0x41023a
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call esi
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
call esi
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
mov edx, dword [ebp + 8]
sete al
cmp edx, 1
mov byte [edi + 0xc], al
sete al
mov byte [edi + 0xd], al
cmp ecx, 1
jne 0x41021b
cmp edx, ecx
jne 0x41022c
mov dword [edi + 8], 0
jmp 0x41023a
test ecx, ecx
jne 0x41022c
test edx, edx
jne 0x41022c
mov dword [edi + 8], 1
jmp 0x41023a
xor eax, eax
cmp ecx, 1
setne al
add eax, 2
mov dword [edi + 8], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x48f228
call esi
push 0x48f20c
mov dword [ebp + 0xc], eax
call esi
push 0x19
push 0x48f254
lea ecx, [ebp - 0x24]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov esi, dword [ebp + 0xc]
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4102cb
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4102c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a3
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x17
push 0x48f23c
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x41033f
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410335
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109a8
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x18
push 0x48f284
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4103b3
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4103a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109ad
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x11
push str.NtDuplicateObject
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x410427
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41041d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109b2
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0xd
push str.NtQueryObject
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x41049b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410491
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109b7
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0xe
push str.NtQuerySection
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 5
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x41050f
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410505
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109bc
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x1a
push str.RtlCreateActivationContext
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 6
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x410583
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410579
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109c1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x14
push 0x48f2c0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 7
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4105f7
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109c6
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x10
push 0x48f308
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 8
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x41066b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410661
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109cb
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x13
push str.NtLockVirtualMemory
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 9
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4106df
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4106d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109d0
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x10
push str.NtSuspendProcess
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xa
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x410753
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410749
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109d5
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0xf
push str.NtResumeProcess
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xb
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4107c7
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4107bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109da
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x10
push str.RtlImageNtHeader
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xc
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x41083b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109df
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x15
push 0x48f340
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x24]
mov esi, dword [ebp + 8]
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4108b2
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4108a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109e4
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x15
push 0x48f380
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xe
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x410926
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41091c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109e9
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x12
push str.Wow64SuspendThread
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00402850
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0xf
push esi
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00406230
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x41098f
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4109ee
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
int3