Function at 0x14000e1c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x30
call fcn.14000e010
mov rsi, rax
test rax, rax
je 0x14000e56f
mov qword [rsp + 0x28], r14
call fcn.14000e090
mov r14, rax
test rax, rax
jne 0x14000e1fd
mov rcx, rsi
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rsi
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x20], r15
call fcn.14000e110
mov r15, rax
mov rcx, rsi
test rax, rax
jne 0x14000e231
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rsi
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x40], rbx
lea rdx, str.Wilber
mov qword [rsp + 0x48], rbp
xor ebp, ebp
mov qword [rsp + 0x50], rdi
mov edi, ebp
mov qword [rsp + 0x58], r12
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
lea r12d, [rbp + 1]
test eax, eax
jne 0x14000e291
lea r8d, [rbp + 2]
mov rcx, r14
lea rdx, [0x14001d628]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x14000e28e
lea r8d, [rbp + 2]
mov rcx, r14
lea rdx, [0x14001d630]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x14000e291
mov edi, r12d
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
lea rcx, str.____s
call fcn.140008ce0
mov ebx, SafeArrayGetLBound
nop dword [rax]
lea rcx, [0x140021128]
call fcn.140008ce0
sub rbx, r12
jne 0x14000e2b0
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
mov ecx, edi
call fcn.140012cc0
lea rdx, str.admin
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14000e2fb
lea rdx, str.SystemIT
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove edi, r12d
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
lea rcx, str.____s
call fcn.140008ce0
mov ebx, 0x1b
lea rcx, [0x140021128]
call fcn.140008ce0
sub rbx, r12
jne 0x14000e313
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
mov ecx, edi
call fcn.140012cc0
lea rdx, str.admin
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14000e35e
lea rdx, str.KLONE_X64_PC
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove edi, r12d
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
lea rcx, str.____s
call fcn.140008ce0
mov ebx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
nop word [rax + rax]
lea rcx, [0x140021128]
call fcn.140008ce0
sub rbx, r12
jne 0x14000e380
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
mov ecx, edi
call fcn.140012cc0
lea rdx, str.John
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x14000e3e3
lea rcx, str.C:_take_screenshot.ps1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e3e3
test al, 0x10
jne 0x14000e3e3
lea rcx, str.C:loaddll.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e3e3
test al, 0x10
cmove edi, r12d
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
lea rcx, str.____s
call fcn.140008ce0
mov ebx, 0x1f
nop dword [rax + rax]
lea rcx, [0x140021128]
call fcn.140008ce0
sub rbx, r12
jne 0x14000e400
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
mov ecx, edi
call fcn.140012cc0
lea rcx, str.C:email.doc
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e47b
test al, 0x10
jne 0x14000e47b
lea rcx, str.C:email.htm
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e47b
test al, 0x10
jne 0x14000e47b
lea rcx, str.C:123email.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e47b
test al, 0x10
jne 0x14000e47b
lea rcx, str.C:123email.docx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e47b
test al, 0x10
cmove edi, r12d
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
lea rcx, str.____s
call fcn.140008ce0
mov ebx, 0x22
lea rcx, [0x140021128]
call fcn.140008ce0
sub rbx, r12
jne 0x14000e493
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
mov ecx, edi
call fcn.140012cc0
lea rcx, str.C:_a_foobar.bmp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdi, qword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x14000e4fb
test al, 0x10
jne 0x14000e4fb
lea rcx, str.C:_a_foobar.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e4fb
test al, 0x10
jne 0x14000e4fb
lea rcx, str.C:_a_foobar.gif
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e4fb
test al, 0x10
cmove ebp, r12d
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
lea rcx, str.____s
call fcn.140008ce0
mov r12, qword [rsp + 0x58]
mov ebx, 0x25
nop dword [rax + rax]
lea rcx, [0x140021128]
call fcn.140008ce0
sub rbx, 1
jne 0x14000e520
mov rbx, qword [rsp + 0x40]
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
mov ecx, ebp
call fcn.140012cc0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
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 rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rsi
ret