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

Disassembly:
push rsi
sub rsp, 0x30
call fcn.140088670
mov rsi, rax
test rax, rax
je 0x140088be8
mov qword [rsp + 0x28], r14
call fcn.1400886f0
mov r14, rax
test rax, rax
jne 0x14008885d
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.140088770
mov r15, rax
mov rcx, rsi
test rax, rax
jne 0x140088891
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 + 0x48], rbp
lea rdx, str.Wilber
mov qword [rsp + 0x50], rdi
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x58], r12
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
lea r12d, [rbp + 1]
test eax, eax
jne 0x1400888ec
lea r8d, [rbp + 2]
mov rcx, r14
lea rdx, [0x14013d3f8]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x1400888e9
lea r8d, [rbp + 2]
mov rcx, r14
lea rdx, [0x14013d400]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1400888ec
mov edi, r12d
cmp byte [0x1401757f1], bpl
mov qword [rsp + 0x40], rbx
je 0x14008892a
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
lea rcx, str.____s
call fcn.14008b640
mov ebx, reloc.WS2_32.dll_ntohs
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, r12
jne 0x140088912
mov ecx, edi
call fcn.14008f240
lea rdx, str.admin
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140088956
lea rdx, str.SystemIT
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove edi, r12d
cmp byte [0x1401757f1], bpl
je 0x140088998
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
lea rcx, str.____s
call fcn.14008b640
mov ebx, reloc.WLDAP32.dll_Ordinal_27
nop word [rax + rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, r12
jne 0x140088980
mov ecx, edi
call fcn.14008f240
lea rdx, str.admin
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x1400889c4
lea rdx, str.KLONE_X64_PC
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove edi, r12d
cmp byte [0x1401757f1], bpl
je 0x140088a08
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
lea rcx, str.____s
call fcn.14008b640
mov ebx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
nop word [rax + rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, r12
jne 0x1400889f0
mov ecx, edi
call fcn.14008f240
lea rdx, str.John
mov rcx, rsi
mov edi, ebp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140088a4c
lea rcx, str.C:_take_screenshot.ps1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088a4c
test al, 0x10
jne 0x140088a4c
lea rcx, str.C:loaddll.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088a4c
test al, 0x10
cmove edi, r12d
cmp byte [0x1401757f1], bpl
je 0x140088a88
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
lea rcx, str.____s
call fcn.14008b640
mov ebx, Ordinal_35
nop dword [rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, r12
jne 0x140088a70
mov ecx, edi
call fcn.14008f240
lea rcx, str.C:email.doc
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088ae4
test al, 0x10
jne 0x140088ae4
lea rcx, str.C:email.htm
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088ae4
test al, 0x10
jne 0x140088ae4
lea rcx, str.C:123email.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088ae4
test al, 0x10
jne 0x140088ae4
lea rcx, str.C:123email.docx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088ae4
test al, 0x10
cmove edi, r12d
cmp byte [0x1401757f1], bpl
je 0x140088b28
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
lea rcx, str.____s
call fcn.14008b640
mov ebx, Ordinal_35
nop word [rax + rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, r12
jne 0x140088b10
mov ecx, edi
call fcn.14008f240
lea rcx, str.C:_a_foobar.bmp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdi, qword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x140088b71
test al, 0x10
jne 0x140088b71
lea rcx, str.C:_a_foobar.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088b71
test al, 0x10
jne 0x140088b71
lea rcx, str.C:_a_foobar.gif
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088b71
test al, 0x10
cmove ebp, r12d
cmp byte [0x1401757f1], 0
mov r12, qword [rsp + 0x58]
je 0x140088bb9
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
lea rcx, str.____s
call fcn.14008b640
mov ebx, Ordinal_41
nop word [rax + rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, 1
jne 0x140088ba0
mov ecx, ebp
call fcn.14008f240
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 rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rsi
ret