Function at 0x14007f17c
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r13b, r8b
mov r12, rdx
mov r14, rcx
or edi, 0xffffffff
xor r15d, r15d
mov esi, r15d
call fcn.140051300
test rax, rax
je 0x14007f4d0
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14007f4d0
call fcn.14007fd7c
mov dword [rbp - 0x40], r15d
xor edx, edx
lea r8d, [rdi + 0x61]
lea rcx, [rbp - 0x38]
call fcn.14004e050
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov ecx, eax
call fcn.1400880f4
test al, al
je 0x14007f49e
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14007f49e
mov qword [rbp - 0x68], r15
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9d, [rdi + 3]
xor r8d, r8d
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14007f48b
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14007f3ea
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 0x101
mov word [rbp], r15w
mov ebx, r15d
or esi, edi
jmp 0x14007f294
xor r15d, r15d
mov rdx, r12
lea rcx, [rbp + 0x78]
call fcn.1400109fc
nop
mov r8, qword [rbp + 0x78]
mov ecx, 1
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
mov edx, 0x104
sub eax, edx
or eax, ecx
jge 0x14007f2ca
lea rcx, [rbp + 0x78]
call fcn.140010c2c
mov r8, qword [rbp + 0x78]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x480
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rdx, r14
mov rcx, qword [rbp - 0x68]
call qword [0x1400d7890]
mov r15d, eax
mov rcx, qword [rbp + 0x78]
movsxd rdx, dword [rcx - 0xc]
call fcn.1400606d8
mov rcx, rax
test eax, eax
js 0x14007f3df
mov rax, qword [rbp + 0x78]
cmp ecx, dword [rax - 0xc]
jg 0x14007f3df
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rbp + 0x78]
mov byte [rcx + rax], 0
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
test r15d, r15d
jne 0x14007f37d
mov rdx, qword [rbp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14007f370
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
inc ebx
cmp ebx, 0x32
jl 0x14007f291
jmp 0x14007f39e
mov edi, dword [rbp - 0x50]
mov rdx, qword [rbp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14007f39e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor esi, esi
test r15d, r15d
setne sil
mov rcx, qword [rbp - 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007f3bb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007f3cf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r15d, r15d
jmp 0x14007f3ea
mov ecx, 0x80070057
call fcn.140010d40
nop
cmp qword [rbp - 0x70], r15
je 0x14007f478
mov dword [rsp + 0x60], 0x72657355
mov dword [rsp + 0x64], 0x2e766e65
mov dword [rsp + 0x68], 0x6c6c64
mov word [rbp - 0x7d], 0x6f6c
mov word [rsp + 0x75], 0x796f
mov word [rbp - 0x7a], WSASetLastError
mov dword [rsp + 0x7b], 0x6d6e6f72
mov dword [rsp + 0x70], 0x74736544
mov dword [rsp + 0x77], 0x69766e45
mov dword [rsp + 0x7f], 0x42746e65
mov byte [rbp - 0x7b], 0x63
mov byte [rsp + 0x74], WSACleanup
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14007f478
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d7858], rax
test rax, rax
je 0x14007f478
mov rcx, qword [rbp - 0x70]
call rax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14007f48b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x68], r15
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14007f49e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x78], r15
test r13b, r13b
je 0x14007f4cc
test edi, edi
jle 0x14007f4cc
mov ebx, r15d
jmp 0x14007f4c1
inc ebx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x258
jg 0x14007f4cc
mov ecx, edi
call fcn.14007f4fc
test eax, eax
jne 0x14007f4ac
mov eax, esi
jmp 0x14007f4d2
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret