Function at 0x1001bac0
Capabilities:
Acquire debug privileges
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
mov eax, dword fs:[0]
mov ecx, 1
push 0xffffffffffffffff
push 0x1006d690
push eax
mov dword fs:[0], esp
mov edx, 0x100afda4
push ebx
sub esp, 0x210
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1001bda5
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x100afe98], 0x11c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001bb36
push 0x100afe98
call eax
mov eax, dword [0x100afe9c]
test eax, eax
je 0x1001bc9d
shl eax, 8
or eax, dword [0x100afea0]
cmp eax, 0x602
ja 0x1001bb90
je 0x1001bb81
cmp eax, 0x501
je 0x1001bb72
cmp eax, 0x601
jne 0x1001bba2
mov dword [0x100afe90], 2
jmp 0x1001bc9d
mov dword [0x100afe90], 1
jmp 0x1001bc9d
mov dword [0x100afe90], 3
jmp 0x1001bc9d
cmp eax, 0x603
je 0x1001bc93
cmp eax, 0xa00
je 0x1001bbb1
mov dword [0x100afe90], 0
jmp 0x1001bc9d
mov eax, dword [0x100afea4]
cmp eax, 0x585d
jb 0x1001bbcc
mov dword [0x100afe90], 0xf
jmp 0x1001bc9d
cmp eax, 0x55f0
jb 0x1001bbe2
mov dword [0x100afe90], 0xe
jmp 0x1001bc9d
cmp eax, 0x4a61
jb 0x1001bbf8
mov dword [0x100afe90], 0xd
jmp 0x1001bc9d
cmp eax, 0x47bb
jb 0x1001bc0e
mov dword [0x100afe90], 0xc
jmp 0x1001bc9d
cmp eax, 0x47ba
jb 0x1001bc21
mov dword [0x100afe90], 0xb
jmp 0x1001bc9d
cmp eax, 0x4563
jb 0x1001bc34
mov dword [0x100afe90], 0xa
jmp 0x1001bc9d
cmp eax, 0x42ee
jb 0x1001bc47
mov dword [0x100afe90], 9
jmp 0x1001bc9d
cmp eax, 0x3fab
jb 0x1001bc5a
mov dword [0x100afe90], 8
jmp 0x1001bc9d
cmp eax, 0x3ad7
jb 0x1001bc6d
mov dword [0x100afe90], 7
jmp 0x1001bc9d
cmp eax, 0x3839
jb 0x1001bc80
mov dword [0x100afe90], 6
jmp 0x1001bc9d
cmp eax, 0x295a
jb 0x1001bc9d
mov dword [0x100afe90], 5
jmp 0x1001bc9d
mov dword [0x100afe90], 4
call fcn.1001b840
push str.SeDebugPrivilege
lea ecx, [ebp - 0x30]
mov dword [0x100afe94], eax
call fcn.10011130
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.1001bdc0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.10010ed0
push str.SeLoadDriverPrivilege
lea ecx, [ebp - 0x30]
call fcn.10011130
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.1001bdc0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.10010ed0
call fcn.1001bee0
xorps xmm0, xmm0
mov word [ebp - 0x14], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
push eax
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x3c], 0
jne 0x1001bd31
mov byte [ebp - 0x14], 1
jmp 0x1001bd51
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], 0
setne byte [ebp - 0x13]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002bfa0
push ecx
lea edx, [ebp - 0x130]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.1002f9c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.100201a0
lea ecx, [ebp - 0x220]
call fcn.100201a0
call fcn.10020b30
mov ecx, eax
call fcn.10020c10
mov ecx, dword [ebp - 0xc]
mov al, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret