Function at 0x140084380
Capabilities:
Acquire debug privileges
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140124080]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x140768c6c], ebx
jne 0x1400846cb
mov dword [0x14076bf08], 0x11c
lea rcx, [0x14010b608]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400843f0
lea rcx, [0x14076bf08]
call rax
mov eax, dword [0x14076bf0c]
test eax, eax
je 0x140084556
shl eax, 8
or eax, dword [0x14076bf10]
sub eax, 0x501
je 0x140084550
sub eax, 0x100
je 0x140084544
sub eax, ebx
je 0x140084538
sub eax, ebx
je 0x14008452c
cmp eax, 0x3fd
je 0x140084443
mov dword [0x14076bf00], 0
jmp 0x140084556
mov eax, dword [0x14076bf14]
cmp eax, 0x585d
jb 0x14008445f
mov dword [0x14076bf00], 0xf
jmp 0x140084556
cmp eax, 0x55f0
jb 0x140084475
mov dword [0x14076bf00], 0xe
jmp 0x140084556
cmp eax, 0x4a61
jb 0x14008448b
mov dword [0x14076bf00], 0xd
jmp 0x140084556
cmp eax, 0x47bb
jb 0x1400844a1
mov dword [0x14076bf00], 0xc
jmp 0x140084556
cmp eax, 0x47ba
jb 0x1400844b7
mov dword [0x14076bf00], 0xb
jmp 0x140084556
cmp eax, 0x4563
jb 0x1400844cd
mov dword [0x14076bf00], 0xa
jmp 0x140084556
cmp eax, 0x42ee
jb 0x1400844e0
mov dword [0x14076bf00], 9
jmp 0x140084556
cmp eax, 0x3fab
jb 0x1400844f3
mov dword [0x14076bf00], 8
jmp 0x140084556
cmp eax, 0x3ad7
jb 0x140084506
mov dword [0x14076bf00], 7
jmp 0x140084556
cmp eax, 0x3839
jb 0x140084519
mov dword [0x14076bf00], 6
jmp 0x140084556
cmp eax, 0x295a
jb 0x140084556
mov dword [0x14076bf00], 5
jmp 0x140084556
mov dword [0x14076bf00], 4
jmp 0x140084556
mov dword [0x14076bf00], 3
jmp 0x140084556
mov dword [0x14076bf00], 2
jmp 0x140084556
mov dword [0x14076bf00], ebx
call fcn.1400840e0
mov dword [0x14076bf04], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.14006abd0
lea rcx, [rsp + 0x28]
call fcn.1400846f0
lea rcx, [rsp + 0x28]
call fcn.14006a970
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x28]
call fcn.14006abd0
lea rcx, [rsp + 0x28]
call fcn.1400846f0
lea rcx, [rsp + 0x28]
call fcn.14006a970
call fcn.140084810
mov word [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x28], 0
jne 0x140084610
mov byte [rsp + 0x20], bl
jmp 0x140084636
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x24], 0
setne byte [rsp + 0x21]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140094aa0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140094350
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140099b20
nop
lea rcx, [rbp + 0xe0]
call fcn.140072400
lea rcx, [rsp + 0x60]
call fcn.140072400
call fcn.140074240
mov ecx, dword [0x14076bf0c]
test ecx, ecx
je 0x1400846cb
cmp ecx, 9
ja 0x1400846c3
cmp ecx, 6
ja 0x1400846b9
jb 0x1400846cb
mov ecx, dword [0x14076bf10]
cmp ecx, 3
jae 0x1400846b9
cmp ecx, 1
jb 0x1400846cb
mov rcx, rax
call fcn.140076120
jmp 0x1400846cb
mov rcx, rax
call fcn.140075ec0
jmp 0x1400846cb
mov rcx, rax
call fcn.140075c40
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400e9640
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret