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

Disassembly:
push rsi
sub rsp, 0x30
call fcn.140010720
mov rsi, rax
test rax, rax
je 0x140010c7f
mov qword [rsp + 0x28], r14
call fcn.1400107a0
mov r14, rax
test rax, rax
jne 0x14001090d
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.140010820
mov r15, rax
mov rcx, rsi
test rax, rax
jne 0x140010941
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]
mov r12d, 1
test eax, eax
jne 0x1400109a7
mov r8d, 2
lea rdx, [0x14001e398]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x1400109a4
mov r8d, 2
lea rdx, [0x14001e3a0]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1400109a7
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.14000b0a0
mov ebx, SafeArrayGetLBound
nop
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, r12
jne 0x1400109c0
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
mov ecx, edi
call fcn.140014610
lea rdx, str.admin
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140010a0b
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.14000b0a0
mov ebx, 0x1b
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, r12
jne 0x140010a23
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
mov ecx, edi
call fcn.140014610
lea rdx, str.admin
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140010a6e
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.14000b0a0
mov ebx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
nop word [rax + rax]
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, r12
jne 0x140010a90
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
mov ecx, edi
call fcn.140014610
lea rdx, str.John
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140010af3
lea rcx, str.C:_take_screenshot.ps1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010af3
test al, 0x10
jne 0x140010af3
lea rcx, str.C:loaddll.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010af3
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.14000b0a0
mov ebx, 0x1f
nop dword [rax + rax]
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, r12
jne 0x140010b10
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
mov ecx, edi
call fcn.140014610
lea rcx, str.C:email.doc
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010b8b
test al, 0x10
jne 0x140010b8b
lea rcx, str.C:email.htm
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010b8b
test al, 0x10
jne 0x140010b8b
lea rcx, str.C:123email.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010b8b
test al, 0x10
jne 0x140010b8b
lea rcx, str.C:123email.docx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010b8b
test al, 0x10
cmove edi, r12d
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
lea rcx, str.____s
call fcn.14000b0a0
mov ebx, 0x22
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, r12
jne 0x140010ba3
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
mov ecx, edi
call fcn.140014610
lea rcx, str.C:_a_foobar.bmp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdi, qword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x140010c0b
test al, 0x10
jne 0x140010c0b
lea rcx, str.C:_a_foobar.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010c0b
test al, 0x10
jne 0x140010c0b
lea rcx, str.C:_a_foobar.gif
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010c0b
test al, 0x10
cmove ebp, r12d
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
lea rcx, str.____s
call fcn.14000b0a0
mov r12, qword [rsp + 0x58]
mov ebx, 0x25
nop dword [rax + rax]
lea rcx, [0x1400218b8]
call fcn.14000b0a0
sub rbx, 1
jne 0x140010c30
mov rbx, qword [rsp + 0x40]
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
mov ecx, ebp
call fcn.140014610
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