Function at 0x140028cd0
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 [0x1400c4080]
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 0x140028da6
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140028d32
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.140095750
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 0x140028d6d
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140028d78
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 0x140028da1
mov qword [rsp + 0x30], r15
call fcn.140028c20
mov r15, rax
mov rcx, rdi
test rax, rax
jne 0x140028db9
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.140095750
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 0x140028e16
lea r8d, [r14 + 2]
mov rcx, rbp
lea rdx, [0x1400afbd8]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x140028e13
lea r8d, [r14 + 2]
mov rcx, rbp
lea rdx, [0x1400afbe0]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x140028e16
mov esi, r12d
cmp byte [0x1400e4382], r14b
mov qword [rsp + 0x50], rbx
je 0x140028e5f
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
lea rcx, [0x1400b3630]
call fcn.14002bdf0
mov ebx, reloc.WS2_32.dll_ntohs
nop dword [rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, r12
jne 0x140028e40
lea rdx, str.Checking_whether_username_is_Wilber_and_NetBIOS_name_starts_with_SC_or_SW
mov ecx, esi
call fcn.14002f950
lea rdx, str.admin
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140028e8c
lea rdx, str.SystemIT
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove esi, r12d
cmp byte [0x1400e4382], r14b
je 0x140028ecf
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
lea rcx, [0x1400b3630]
call fcn.14002bdf0
mov ebx, reloc.WLDAP32.dll_Ordinal_27
nop dword [rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, r12
jne 0x140028eb0
lea rdx, str.Checking_whether_username_is_admin_and_NetBIOS_name_is_SystemIT
mov ecx, esi
call fcn.14002f950
lea rdx, str.admin
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140028efc
lea rdx, str.KLONE_X64_PC
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove esi, r12d
cmp byte [0x1400e4382], r14b
je 0x140028f3f
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
lea rcx, [0x1400b3630]
call fcn.14002bdf0
mov ebx, reloc.WS2_32.dll_socket
nop dword [rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, r12
jne 0x140028f20
lea rdx, str.Checking_whether_username_is_admin_and_DNS_hostname_is_KLONE_X64_PC
mov ecx, esi
call fcn.14002f950
lea rdx, str.John
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x140028f84
lea rcx, str.C:_take_screenshot.ps1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140028f84
test al, 0x10
jne 0x140028f84
lea rcx, str.C:loaddll.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140028f84
test al, 0x10
cmove esi, r12d
cmp byte [0x1400e4382], r14b
je 0x140028fcf
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
lea rcx, [0x1400b3630]
call fcn.14002bdf0
mov ebx, Ordinal_33
nop word [rax + rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, r12
jne 0x140028fb0
lea rdx, str.Checking_whether_username_is_John_and_two_sandbox_files_exist
mov ecx, esi
call fcn.14002f950
lea rcx, str.C:email.doc
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002902c
test al, 0x10
jne 0x14002902c
lea rcx, str.C:email.htm
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002902c
test al, 0x10
jne 0x14002902c
lea rcx, str.C:123email.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002902c
test al, 0x10
jne 0x14002902c
lea rcx, str.C:123email.docx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002902c
test al, 0x10
cmove esi, r12d
cmp byte [0x1400e4382], r14b
je 0x14002906f
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
lea rcx, [0x1400b3630]
call fcn.14002bdf0
mov ebx, Ordinal_35
nop dword [rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, r12
jne 0x140029050
lea rdx, str.Checking_whether_four_known_sandbox_email_file_paths_exist
mov ecx, esi
call fcn.14002f950
lea rcx, str.C:_a_foobar.bmp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rsi, qword [rsp + 0x60]
cmp eax, 0xffffffff
je 0x1400290b8
test al, 0x10
jne 0x1400290b8
lea rcx, str.C:_a_foobar.doc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400290b8
test al, 0x10
jne 0x1400290b8
lea rcx, str.C:_a_foobar.gif
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400290b8
test al, 0x10
cmove r14d, r12d
cmp byte [0x1400e4382], 0
mov r12, qword [rsp + 0x68]
je 0x140029101
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
lea rcx, [0x1400b3630]
call fcn.14002bdf0
mov ebx, Ordinal_41
nop
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, 1
jne 0x1400290e0
lea rdx, str.Checking_whether_three_known_sandbox_foobar_files_exist
mov ecx, r14d
call fcn.14002f950
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 0x140028d9c