Function at 0x14007f330
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 [0x14019e0c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1402b4ff8], ebx
jne 0x14007f6f1
mov dword [0x1402b8408], 0x11c
lea rcx, [0x140183b78]
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 0x14007f3a0
lea rcx, [0x1402b8408]
call rax
mov eax, dword [0x1402b840c]
test eax, eax
je 0x14007f506
shl eax, 8
or eax, dword [0x1402b8410]
sub eax, 0x501
je 0x14007f500
sub eax, 0x100
je 0x14007f4f4
sub eax, ebx
je 0x14007f4e8
sub eax, ebx
je 0x14007f4dc
cmp eax, 0x3fd
je 0x14007f3f3
mov dword [0x1402b8400], 0
jmp 0x14007f506
mov eax, dword [0x1402b8414]
cmp eax, 0x585d
jb 0x14007f40f
mov dword [0x1402b8400], 0xf
jmp 0x14007f506
cmp eax, 0x55f0
jb 0x14007f425
mov dword [0x1402b8400], 0xe
jmp 0x14007f506
cmp eax, 0x4a61
jb 0x14007f43b
mov dword [0x1402b8400], 0xd
jmp 0x14007f506
cmp eax, 0x47bb
jb 0x14007f451
mov dword [0x1402b8400], 0xc
jmp 0x14007f506
cmp eax, 0x47ba
jb 0x14007f467
mov dword [0x1402b8400], 0xb
jmp 0x14007f506
cmp eax, 0x4563
jb 0x14007f47d
mov dword [0x1402b8400], 0xa
jmp 0x14007f506
cmp eax, 0x42ee
jb 0x14007f490
mov dword [0x1402b8400], 9
jmp 0x14007f506
cmp eax, 0x3fab
jb 0x14007f4a3
mov dword [0x1402b8400], 8
jmp 0x14007f506
cmp eax, 0x3ad7
jb 0x14007f4b6
mov dword [0x1402b8400], 7
jmp 0x14007f506
cmp eax, 0x3839
jb 0x14007f4c9
mov dword [0x1402b8400], 6
jmp 0x14007f506
cmp eax, 0x295a
jb 0x14007f506
mov dword [0x1402b8400], 5
jmp 0x14007f506
mov dword [0x1402b8400], 4
jmp 0x14007f506
mov dword [0x1402b8400], 3
jmp 0x14007f506
mov dword [0x1402b8400], 2
jmp 0x14007f506
mov dword [0x1402b8400], ebx
call fcn.14007ef00
mov dword [0x1402b8404], 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.140064140
lea rcx, [rsp + 0x28]
call fcn.14007f720
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14007f588
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f583
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007f583
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
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.140064140
lea rcx, [rsp + 0x28]
call fcn.14007f720
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14007f5ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f5fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007f5fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
call fcn.14007f840
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 0x14007f636
mov byte [rsp + 0x20], bl
jmp 0x14007f65c
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.1400907c0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14008fe80
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140095d30
nop
lea rcx, [rbp + 0xe0]
call fcn.14006c220
lea rcx, [rsp + 0x60]
call fcn.14006c220
call fcn.14006e340
mov ecx, dword [0x1402b840c]
test ecx, ecx
je 0x14007f6f1
cmp ecx, 9
ja 0x14007f6e9
cmp ecx, 6
ja 0x14007f6df
jb 0x14007f6f1
mov ecx, dword [0x1402b8410]
cmp ecx, 3
jae 0x14007f6df
cmp ecx, 1
jb 0x14007f6f1
mov rcx, rax
call fcn.1400707a0
jmp 0x14007f6f1
mov rcx, rax
call fcn.140070520
jmp 0x14007f6f1
mov rcx, rax
call fcn.140070290
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400f79b0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret