Function at 0x14000e0e0
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 [0x140027010]
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 0x14000e1b6
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14000e142
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.140015dc0
add rsp, 0x40
pop rdi
ret
mov ecx, 0x20
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x20], SafeArrayLock
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000e17d
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14000e188
mov rcx, rsi
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 0x14000e1b1
mov qword [rsp + 0x30], r15
call fcn.14000e030
mov r15, rax
mov rcx, rdi
test rax, rax
jne 0x14000e1c9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015dc0
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
lea rdx, str.Wilber
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x38], r14
xor r14d, r14d
mov ebp, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
lea r12d, [r14 + 1]
test eax, eax
jne 0x14000e22b
lea r8d, [r14 + 2]
mov rcx, rsi
lea rdx, [0x14001d4f8]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x14000e228
lea r8d, [r14 + 2]
mov rcx, rsi
lea rdx, [0x14001d500]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x14000e22b
mov ebp, r12d
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
lea rcx, str.____s
call fcn.140008b90
mov ebx, SafeArrayGetLBound
lea rcx, [0x140020ff8]
call fcn.140008b90
sub rbx, r12
jne 0x14000e243
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
mov ecx, ebp
call fcn.140012c50
lea rdx, str.admin
mov rcx, rdi
mov ebp, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14000e28f
lea rdx, str.SystemIT
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove ebp, r12d
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
lea rcx, str.____s
call fcn.140008b90
mov ebx, 0x1b
nop word [rax + rax]
lea rcx, [0x140020ff8]
call fcn.140008b90
sub rbx, r12
jne 0x14000e2b0
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
mov ecx, ebp
call fcn.140012c50
lea rdx, str.admin
mov rcx, rdi
mov ebp, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14000e2fc
lea rdx, str.KLONE_X64_PC
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove ebp, r12d
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
lea rcx, str.____s
call fcn.140008b90
mov ebx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rcx, [0x140020ff8]
call fcn.140008b90
sub rbx, r12
jne 0x14000e314
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
mov ecx, ebp
call fcn.140012c50
lea rdx, str.John
mov rcx, rdi
mov ebp, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14000e378
lea rcx, str.C:_take_screenshot.ps1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e378
test al, 0x10
jne 0x14000e378
lea rcx, str.C:loaddll.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e378
test al, 0x10
cmove ebp, r12d
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
lea rcx, str.____s
call fcn.140008b90
mov ebx, 0x1f
lea rcx, [0x140020ff8]
call fcn.140008b90
sub rbx, r12
jne 0x14000e390
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
mov ecx, ebp
call fcn.140012c50
lea rcx, str.C:email.doc
mov ebp, r14d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e40c
test al, 0x10
jne 0x14000e40c
lea rcx, str.C:email.htm
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e40c
test al, 0x10
jne 0x14000e40c
lea rcx, str.C:123email.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e40c
test al, 0x10
jne 0x14000e40c
lea rcx, str.C:123email.docx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e40c
test al, 0x10
cmove ebp, r12d
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
lea rcx, str.____s
call fcn.140008b90
mov ebx, 0x22
lea rcx, [0x140020ff8]
call fcn.140008b90
sub rbx, r12
jne 0x14000e424
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
mov ecx, ebp
call fcn.140012c50
lea rcx, str.C:_a_foobar.bmp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbp, qword [rsp + 0x58]
cmp eax, 0xffffffff
je 0x14000e48c
test al, 0x10
jne 0x14000e48c
lea rcx, str.C:_a_foobar.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e48c
test al, 0x10
jne 0x14000e48c
lea rcx, str.C:_a_foobar.gif
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e48c
test al, 0x10
cmove r14d, r12d
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
lea rcx, str.____s
call fcn.140008b90
mov r12, qword [rsp + 0x68]
mov ebx, 0x25
nop dword [rax]
lea rcx, [0x140020ff8]
call fcn.140008b90
sub rbx, 1
jne 0x14000e4b0
mov rbx, qword [rsp + 0x50]
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
mov ecx, r14d
call fcn.140012c50
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
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]
jmp 0x14000e1ac