Function at 0x14002e490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1400a4088]
xor rax, rsp
mov qword [rbp + 0x20], rax
cmp dword [rbp + 0x90], 5
mov dword [rsp + 0x70], r9d
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x78], rdx
mov rdi, rcx
mov esi, 0xc000000d
ja 0x14002e9ba
and dword [rbp + 0x88], 7
call fcn.14007d45c
test dword [rbp + 0x98], 0x2000
mov dword [rsp + 0x78], eax
jne 0x14002e86f
mov ecx, 0x914
call fcn.140029ab4
cmp eax, 0x23f0
ja 0x14002e6d2
cmp dword [rsp + 0x78], 3
jb 0x14002e9ba
lea rcx, [rbp - 8]
mov dword [rbp - 8], 0x53005c
mov dword [rbp - 4], 0x730079
mov dword [rbp], 0x650074
mov dword [rbp + 4], 0x52006d
mov dword [rbp + 8], 0x6f006f
mov dword [rbp + 0xc], 0x74
call fcn.14007d45c
xor ebx, ebx
mov ecx, eax
mov dword [rbp - 0x70], eax
mov eax, 0x5c
cmp dword [rsp + 0x78], ecx
jbe 0x14002e56c
mov r8d, ecx
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.14007d544
test eax, eax
je 0x14002e585
lea eax, [rbx + 0x5c]
mov ecx, 0x3a
cmp cx, word [rdi + 2]
jne 0x14002e9ba
cmp ax, word [rdi + 4]
jne 0x14002e9ba
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x20]
mov rcx, rdi
mov esi, 0xc0000001
call fcn.14002d92c
cmp al, 1
jne 0x14002e9ba
mov eax, 0x5c
cmp ax, word [rdi]
jne 0x14002e60f
call fcn.14002d6c4
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14002e9ba
mov rcx, rax
mov word [rax + 0x206], bx
call fcn.14007d45c
cmp eax, 0x103
jae 0x14002e605
mov rcx, qword [rsp + 0x78]
call fcn.14007d45c
mov r8d, 0x103
sub r8d, eax
mov eax, dword [rbp - 0x70]
lea rdx, [rdi + rax*2]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14007d474
mov word [rdi + 0x206], bx
jmp 0x14002e60a
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
jmp 0x14002e616
lea rdx, [rdi + 4]
mov rdi, rbx
test rdx, rdx
je 0x14002e6c1
lea rcx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r9d, dword [rbp + 0x88]
mov r8d, dword [rbp + 0x80]
mov edx, dword [rsp + 0x70]
lea rax, [rbp - 0x70]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x90]
mov dword [rsp + 0x20], eax
call fcn.14002db98
mov esi, eax
test eax, eax
jne 0x14002e6c1
mov rcx, qword [rbp - 0x68]
mov rax, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov r9d, dword [rsp + 0x70]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rax]
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x70]
bts r9d, 0x14
xor r8d, r8d
mov edx, 0x200
call sub.ntoskrnl.exe_ObOpenObjectByPointer
mov rcx, qword [rbp - 0x70]
mov esi, eax
test eax, eax
cmovns esi, ebx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test rdi, rdi
je 0x14002e9ba
mov rcx, rdi
jmp 0x14002e7c6
mov ecx, 0x3a
cmp cx, word [rdi + 2]
jne 0x14002e7d0
lea eax, [rcx + 0x22]
cmp ax, word [rdi + 4]
jne 0x14002e7d0
mov eax, dword [rsp + 0x78]
mov ecx, 1
lea edx, [rax + rax]
add rdx, 0x14
call fcn.140077530
xor ebx, ebx
mov rcx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14002e9ba
add rcx, 8
mov rdx, rdi
mov dword [rax], 0x3f005c
mov dword [rax + 4], 0x5c003f
call fcn.14007d3d4
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x68]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x68], pe_nt_image_headers64
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rbx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov eax, dword [rbp + 0x98]
lea r9, [rbp - 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x90]
lea r8, [rbp - 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x88]
mov dword [rbp - 0x50], 0x30
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x80]
mov qword [rbp - 0x48], rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov dword [rbp - 0x38], 0x240
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov rcx, qword [rbp - 0x78]
mov esi, eax
test eax, eax
cmovns esi, ebx
call fcn.140077564
jmp 0x14002e9ba
lea rcx, [rbp - 0x60]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x68]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x68], pe_nt_image_headers64
xor ebx, ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov qword [rbp - 0x40], rax
mov eax, dword [rbp + 0x98]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x90]
lea r9, [rbp - 0x18]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x88]
lea r8, [rbp - 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x80]
mov dword [rbp - 0x50], 0x30
mov dword [rsp + 0x28], eax
mov qword [rbp - 0x48], rbx
mov dword [rbp - 0x38], 0x240
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov esi, eax
test eax, eax
js 0x14002e9ba
mov esi, ebx
jmp 0x14002e9ba
xor ebx, ebx
mov qword [rbp - 0x80], rbx
cmp eax, 3
jbe 0x14002e912
lea edx, [rax + rax]
lea ecx, [rbx + 1]
add rdx, 2
call fcn.140077530
mov rsi, rax
test rax, rax
je 0x14002e912
mov rdx, rdi
mov rcx, rax
call fcn.14007d3d4
lea edx, [rbx + 0x5c]
mov rcx, rsi
call fcn.14007d5ac
test rax, rax
je 0x14002e90a
lea rcx, [rsi + 4]
cmp rax, rcx
jne 0x14002e8c8
lea ecx, [rbx + 0x3a]
cmp cx, word [rsi + 2]
jne 0x14002e8c8
mov word [rax + 2], bx
jmp 0x14002e8cb
mov word [rax], bx
mov dword [rsp + 0x38], 0x20
mov r9d, 0x80
mov dword [rsp + 0x30], 1
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r9d
call fcn.14002e490
mov rcx, qword [rbp - 0x80]
test eax, eax
cmovne rcx, rbx
mov qword [rbp - 0x80], rcx
mov rcx, rsi
call fcn.140077564
mov rax, qword [rbp - 0x78]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x68]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x68], pe_nt_image_headers64
mov qword [rsp + 0x60], rbx
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x80]
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x48], rbx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov eax, dword [rbp + 0x98]
lea r9, [rbp - 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x90]
lea r8, [rbp - 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x88]
mov dword [rbp - 0x60], 0x80008
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x80]
mov dword [rbp - 0x50], 0x30
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov dword [rbp - 0x38], 0x240
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov rcx, qword [rbp - 0x80]
test eax, eax
mov esi, eax
cmovns esi, ebx
test rcx, rcx
je 0x14002e9ba
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14008c320
add rsp, 0x138
pop rdi
pop rsi
pop rbx
pop rbp
ret