Function at 0x14002bc80
Capabilities:
Check for sandbox username or hostname
Check if file exists
Get file attributes
Get hostname
Get session user name

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c7080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x202
mov dword [rsp + 0x20], 0x101
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14002bd56
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14002bce2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140098760
add rsp, 0x40
pop rdi
ret
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14002bd1d
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14002bd28
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002bd51
mov qword [rsp + 0x30], r15
call fcn.14002bbd0
mov r15, rax
mov rcx, rdi
test rax, rax
jne 0x14002bd69
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140098760
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x60], rsi
lea rdx, str.Wilber
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x38], r14
xor r14d, r14d
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
lea r12d, [r14 + 1]
test eax, eax
jne 0x14002bdc6
lea r8d, [r14 + 2]
mov rcx, rbp
lea rdx, [0x1400b2d18]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x14002bdc3
lea r8d, [r14 + 2]
mov rcx, rbp
lea rdx, [0x1400b2d20]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x14002bdc6
mov esi, r12d
cmp byte [0x1400e7422], r14b
mov qword [rsp + 0x50], rbx
je 0x14002be0f
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
lea rcx, [0x1400b6760]
call fcn.14002eda0
mov ebx, reloc.WS2_32.dll_ntohs
nop dword [rax]
lea rcx, [0x1400b675c]
call fcn.14002eda0
sub rbx, r12
jne 0x14002bdf0
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
mov ecx, esi
call fcn.140032960
lea rdx, str.admin
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14002be3c
lea rdx, str.SystemIT
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove esi, r12d
cmp byte [0x1400e7422], r14b
je 0x14002be7f
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
lea rcx, [0x1400b6760]
call fcn.14002eda0
mov ebx, reloc.WLDAP32.dll_Ordinal_27
nop dword [rax]
lea rcx, [0x1400b675c]
call fcn.14002eda0
sub rbx, r12
jne 0x14002be60
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
mov ecx, esi
call fcn.140032960
lea rdx, str.admin
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14002beac
lea rdx, str.KLONE_X64_PC
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove esi, r12d
cmp byte [0x1400e7422], r14b
je 0x14002beef
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
lea rcx, [0x1400b6760]
call fcn.14002eda0
mov ebx, reloc.WS2_32.dll_socket
nop dword [rax]
lea rcx, [0x1400b675c]
call fcn.14002eda0
sub rbx, r12
jne 0x14002bed0
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
mov ecx, esi
call fcn.140032960
lea rdx, str.John
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14002bf34
lea rcx, str.C:_take_screenshot.ps1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bf34
test al, 0x10
jne 0x14002bf34
lea rcx, str.C:loaddll.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bf34
test al, 0x10
cmove esi, r12d
cmp byte [0x1400e7422], r14b
je 0x14002bf7f
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
lea rcx, [0x1400b6760]
call fcn.14002eda0
mov ebx, Ordinal_35
nop word [rax + rax]
lea rcx, [0x1400b675c]
call fcn.14002eda0
sub rbx, r12
jne 0x14002bf60
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
mov ecx, esi
call fcn.140032960
lea rcx, str.C:email.doc
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bfdc
test al, 0x10
jne 0x14002bfdc
lea rcx, str.C:email.htm
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bfdc
test al, 0x10
jne 0x14002bfdc
lea rcx, str.C:123email.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bfdc
test al, 0x10
jne 0x14002bfdc
lea rcx, str.C:123email.docx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bfdc
test al, 0x10
cmove esi, r12d
cmp byte [0x1400e7422], r14b
je 0x14002c01f
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
lea rcx, [0x1400b6760]
call fcn.14002eda0
mov ebx, Ordinal_35
nop dword [rax]
lea rcx, [0x1400b675c]
call fcn.14002eda0
sub rbx, r12
jne 0x14002c000
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
mov ecx, esi
call fcn.140032960
lea rcx, str.C:_a_foobar.bmp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rsi, qword [rsp + 0x60]
cmp eax, 0xffffffff
je 0x14002c068
test al, 0x10
jne 0x14002c068
lea rcx, str.C:_a_foobar.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c068
test al, 0x10
jne 0x14002c068
lea rcx, str.C:_a_foobar.gif
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c068
test al, 0x10
cmove r14d, r12d
cmp byte [0x1400e7422], 0
mov r12, qword [rsp + 0x68]
je 0x14002c0b1
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
lea rcx, [0x1400b6760]
call fcn.14002eda0
mov ebx, Ordinal_41
nop
lea rcx, [0x1400b675c]
call fcn.14002eda0
sub rbx, 1
jne 0x14002c090
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
mov ecx, r14d
call fcn.140032960
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
jmp 0x14002bd4c