Function at 0x140102f60
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 [0x14019d0c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1401a2288], ebx
jne 0x1401032ab
mov dword [0x1401a8888], 0x11c
lea rcx, str.ntdll.dll
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 0x140102fd0
lea rcx, [0x1401a8888]
call rax
mov eax, dword [0x1401a888c]
test eax, eax
je 0x140103136
shl eax, 8
or eax, dword [0x1401a8890]
sub eax, 0x501
je 0x140103130
sub eax, 0x100
je 0x140103124
sub eax, ebx
je 0x140103118
sub eax, ebx
je 0x14010310c
cmp eax, 0x3fd
je 0x140103023
mov dword [0x1401a8880], 0
jmp 0x140103136
mov eax, dword [0x1401a8894]
cmp eax, 0x585d
jb 0x14010303f
mov dword [0x1401a8880], 0xf
jmp 0x140103136
cmp eax, 0x55f0
jb 0x140103055
mov dword [0x1401a8880], 0xe
jmp 0x140103136
cmp eax, 0x4a61
jb 0x14010306b
mov dword [0x1401a8880], 0xd
jmp 0x140103136
cmp eax, 0x47bb
jb 0x140103081
mov dword [0x1401a8880], 0xc
jmp 0x140103136
cmp eax, 0x47ba
jb 0x140103097
mov dword [0x1401a8880], 0xb
jmp 0x140103136
cmp eax, 0x4563
jb 0x1401030ad
mov dword [0x1401a8880], 0xa
jmp 0x140103136
cmp eax, 0x42ee
jb 0x1401030c0
mov dword [0x1401a8880], 9
jmp 0x140103136
cmp eax, 0x3fab
jb 0x1401030d3
mov dword [0x1401a8880], 8
jmp 0x140103136
cmp eax, 0x3ad7
jb 0x1401030e6
mov dword [0x1401a8880], 7
jmp 0x140103136
cmp eax, 0x3839
jb 0x1401030f9
mov dword [0x1401a8880], 6
jmp 0x140103136
cmp eax, 0x295a
jb 0x140103136
mov dword [0x1401a8880], 5
jmp 0x140103136
mov dword [0x1401a8880], 4
jmp 0x140103136
mov dword [0x1401a8880], 3
jmp 0x140103136
mov dword [0x1401a8880], 2
jmp 0x140103136
mov dword [0x1401a8880], ebx
call fcn.140102cc0
mov dword [0x1401a8884], 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.140015310
lea rcx, [rsp + 0x28]
call fcn.1401032d0
lea rcx, [rsp + 0x28]
call fcn.1400152a0
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.140015310
lea rcx, [rsp + 0x28]
call fcn.1401032d0
lea rcx, [rsp + 0x28]
call fcn.1400152a0
call fcn.1401033f0
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 0x1401031f0
mov byte [rsp + 0x20], bl
jmp 0x140103216
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.140113250
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140112b40
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1401193a0
nop
lea rcx, [rbp + 0xe0]
call fcn.1400f0be0
lea rcx, [rsp + 0x60]
call fcn.1400f0be0
call fcn.1400f2c50
mov ecx, dword [0x1401a888c]
test ecx, ecx
je 0x1401032ab
cmp ecx, 9
ja 0x1401032a3
cmp ecx, 6
ja 0x140103299
jb 0x1401032ab
mov ecx, dword [0x1401a8890]
cmp ecx, 3
jae 0x140103299
cmp ecx, 1
jb 0x1401032ab
mov rcx, rax
call fcn.1400f4d00
jmp 0x1401032ab
mov rcx, rax
call fcn.1400f4aa0
jmp 0x1401032ab
mov rcx, rax
call fcn.1400f4830
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14011c6a0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret