joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140328a0c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
xor esi, esi
mov rbp, r9
mov r15d, r8d
mov r14, rdx
mov rdi, rcx
test rdx, rdx
je 0x140328b5f
test r9, r9
je 0x140328b5f
test rcx, rcx
je 0x140328b5f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
and dword [rsp + 0x40], ebx
mov r9, rbp
and dword [rsp + 0x44], ebx
mov rsi, rax
mov qword [rsp + 0x48], rax
mov r8d, r15d
lea rax, [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov r14d, 0x80070000
test eax, eax
jne 0x140328ad3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3e5
je 0x140328ad3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140328b64
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x140328af0
xor r9d, r9d
jmp 0x140328b2b
cmp eax, 0x102
jne 0x140328b52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CancelIo]
nop dword [rax + rax]
test eax, eax
jne 0x140328b25
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140328b64
mov r9d, 1
mov r8, rbp
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_GetOverlappedResult]
nop dword [rax + rax]
test eax, eax
jne 0x140328b64
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
jmp 0x140328b64
mov ebx, 0x80070057
test rsi, rsi
je 0x140328b78
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140328b9c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
xor esi, esi
mov rbp, r9
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
test rdx, rdx
je 0x140328cf3
test r8d, r8d
je 0x140328cf3
test r9, r9
je 0x140328cf3
test rcx, rcx
je 0x140328cf3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
and dword [rsp + 0x40], ebx
mov r9, rbp
and dword [rsp + 0x44], ebx
mov rsi, rax
mov qword [rsp + 0x48], rax
mov r8d, r14d
lea rax, [rsp + 0x30]
mov rdx, r15
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
mov r14d, 0x80070000
test eax, eax
jne 0x140328c6c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3e5
je 0x140328c6c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140328cf8
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x140328cb9
cmp eax, 0x102
jne 0x140328ce6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CancelIo]
nop dword [rax + rax]
test eax, eax
jne 0x140328cb9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140328cf8
mov r9d, 1
lea rdx, [rsp + 0x30]
mov r8, rbp
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_GetOverlappedResult]
nop dword [rax + rax]
test eax, eax
jne 0x140328cf8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
jmp 0x140328cf8
mov ebx, 0x80070057
test rsi, rsi
je 0x140328d0c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14032ace0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov byte [rdx], 0
and qword [rsp + 0x38], 0
mov rdi, qword [rcx + 0x48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x50]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [str.p76_]
mov r8, qword [rax + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov rax, rbx
call qword [str.p76_]
mov ebx, eax
test eax, eax
js 0x14032adee
and dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0x40
lea r8, [rsp + 0x50]
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [str.p76_]
mov ebx, eax
test eax, eax
js 0x14032adee
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14032adec
cmp dword [rsp + 0x30], 0x40
jne 0x14032adec
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
movsxd rdx, dword [rbp - 0x74]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rbp - 0x70]
mov rax, qword [rax + 0x18]
call qword [str.p76_]
mov ebx, eax
test eax, eax
js 0x14032adee
mov eax, dword [rsp + 0x30]
add eax, 0xffffff08
test eax, 0xffffffef
jne 0x14032adec
cmp dword [rbp - 0x70], 0x4550
sete al
mov byte [rsi], al
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14032ae05
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, ebx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14032b7f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x60]
mov esi, r9d
mov rbp, r8
mov rbx, rcx
and dword [rdi], 0
cmp qword [rcx + 0x30], 0
je 0x14032b822
cmp rdx, qword [rcx + 0x30]
je 0x14032b866
mov rcx, qword [rcx + 0x18]
lea r8, [rsp + 0x40]
and qword [rsp + 0x40], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop dword [rax + rax]
test eax, eax
jne 0x14032b866
and qword [rbx + 0x30], 0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14032b89c
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x60]
and dword [rsp + 0x60], 0
mov r8d, esi
and qword [rsp + 0x20], 0
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
je 0x14032b849
mov ecx, dword [rsp + 0x60]
add qword [rbx + 0x30], rcx
xor eax, eax
mov dword [rdi], ecx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140341284
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov r8d, dword [rcx]
lea rsi, [rcx + 0x20]
mov r14, rdx
lea rbx, [rcx + 0x60]
mov rdi, rcx
mov ebp, 0x40
mov byte [r8 + rcx + 0x20], 0x80
inc r8d
cmp r8d, 0x38
jbe 0x1403412f6
mov edx, ebp
mov eax, r8d
add rcx, 0x20
sub edx, r8d
add rcx, rax
call fcn.14035ce40
mov eax, dword [0x140542470]
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
test al, 0x42
jne 0x1403412ee
call fcn.1403426b8
jmp 0x1403412f3
call fcn.14034139c
xor r8d, r8d
mov edx, ebp
mov eax, r8d
lea rcx, [rdi + 0x20]
sub edx, r8d
add rcx, rax
call fcn.14035ce40
mov rax, qword [rdi + 0x10]
lea r9, [rsp + 0x40]
shl rax, 3
mov r8, rbp
bswap rax
mov qword [rdi + 0x58], rax
mov rdx, rsi
mov eax, dword [0x140542470]
mov rcx, rbx
test al, 0x42
jne 0x140341338
call fcn.1403426b8
jmp 0x14034133d
call fcn.14034139c
mov rcx, rbx
mov r8d, 4
mov rax, qword [rcx]
lea rcx, [rcx + 8]
rol rax, 0x20
bswap rax
mov qword [r14], rax
lea r14, [r14 + 8]
sub r8, 1
jne 0x140341346
mov edx, 0x80
mov rcx, rdi
call fcn.14035ce40
movups xmm0, xmmword [0x14041b648]
mov rbp, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x14041b658]
movups xmmword [rbx + 0x10], xmm1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14034fdbc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov r8d, 0x104
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14034fed6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x14034fec7
cmp qword [rbx + 0x18], 8
lea rax, [rbp - 0x29]
mov qword [rbp + 7], rax
lea rax, str.ComputeSenseModuleFullPath_failed
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x25]
mov qword [rbp + 0x27], rax
mov dword [rbp - 0x29], SafeArrayGetDim
mov qword [rbp + 0xf], 4
mov qword [rbp + 0x1f], CloseCompressor
mov dword [rbp - 0x25], edi
mov qword [rbp + 0x2f], 4
jb 0x14034fe71
mov rbx, qword [rbx]
lea rcx, [0x1403cb630]
mov rax, rsi
test rbx, rbx
je 0x14034fe90
mov rcx, rbx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], si
jne 0x14034fe87
lea eax, [rax*2 + 2]
mov qword [rbp + 0x37], rcx
mov dword [rbp + 0x3f], eax
mov dword [rbp + 0x43], esi
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14048e0c7]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001208
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
jmp 0x14034ff07
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
mov word [rax], si
cmp qword [rbx + 0x18], 8
jb 0x14034fef7
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x104
mov rcx, rdi
call fcn.14004c970
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140350018
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rcx, qword [rdx]
mov rbx, rdx
add rcx, 0x60
cmp qword [rcx + 0x18], 8
jb 0x140350051
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
sete byte [rbp - 0x19]
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140350102
lea rax, str.irrelevantRulesPredicate_returned_with
mov qword [rbp + 0x1f], MsiGetActiveDatabase
mov qword [rbp + 0x17], rax
mov rax, qword [rbx]
add rax, 0x60
cmp qword [rax + 0x18], 8
jb 0x14035009c
mov rax, qword [rax]
lea rdx, [0x1403cb630]
mov rcx, rdi
test rax, rax
je 0x1403500bb
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], di
jne 0x1403500b2
lea eax, [rcx*2 + 2]
mov qword [rbp + 0x27], rdx
mov dword [rbp + 0x2f], eax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x37], rax
mov dword [rbp + 0x33], edi
mov qword [rbp + 0x3f], 1
lea rax, [rbp - 9]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14048e087]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
mov al, byte [rbp - 0x19]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140351874
Capabilities:
Check if file exists
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov qword [rcx], r12
lea rsi, [rcx + 8]
mov dword [rsi], r12d
mov r8d, 0x104
lea rdx, [rbp - 0x60]
lea rcx, str.SystemRoot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
jne 0x14035194a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140351a53
mov qword [rbp - 0x80], rsi
lea eax, [r12 + 4]
mov qword [rbp - 0x78], rax
lea rdx, str.The_call_to_get_environment_variable_failed
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], 0x58
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048e186]
call fcn.140001208
jmp 0x140351a53
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140055574
nop
mov r8d, CreateCompressor
lea rdx, str._system32FirewallAPI.dll
lea rcx, [rsp + 0x40]
call fcn.140068814
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14006fe84
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov r14, rax
mov r15, qword [rdi]
test r15, r15
je 0x1403519e4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov qword [rdi], r14
test r14, r14
jne 0x140351a48
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140351a48
mov qword [rbp - 0x80], rsi
lea eax, [r14 + 4]
mov qword [rbp - 0x78], rax
lea rdx, str.Failed_to_load_the_firewall_dll_library
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], 0x50
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048e186]
call fcn.140001208
nop
lea rcx, [rsp + 0x40]
call fcn.140055f70
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140351a88
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp qword [rcx], 0
mov rbx, qword [rsp + 0xe0]
jne 0x140351ab9
mov eax, dword [rcx + 8]
jmp 0x140351b85
mov rcx, qword [rcx]
lea rdx, str.NetworkIsolationCreateAllInterfacesContainer
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r10, rax
test rax, rax
jne 0x140351b55
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140351b4f
and dword [rsp + 0x7c], 0
lea rax, [rsp + 0x40]
and dword [rsp + 0x8c], 0
mov edx, 4
mov qword [rsp + 0x70], rax
lea rax, str.Failed_to_get_address_of_NetworkIsolationCreateAllInterfacesContainer
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x88], SysAllocStringByteLen
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea rdx, [0x14048e186]
call fcn.140001208
mov eax, dword [rsp + 0x40]
jmp 0x140351b85
mov eax, dword [rsp + 0xd8]
lea rdx, str.Sense_Isolation_Command
mov qword [rsp + 0x28], rbx
lea rcx, str.SenseIsolation
mov dword [rsp + 0x20], eax
mov r9d, 1
mov rax, r10
xor r8d, r8d
call qword [str.p76_]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140356560
add rsp, 0xa0
pop rbx
ret

Function at 0x140351ba4
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp qword [rcx], 0
jne 0x140351bcb
mov eax, dword [rcx + 8]
jmp 0x140351c61
mov rcx, qword [rcx]
lea rdx, str.NetworkIsolationDeleteAllInterfacesContainer
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x140351c5b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140351c55
and dword [rsp + 0x6c], 0
lea rax, [rsp + 0x30]
and dword [rsp + 0x7c], 0
mov edx, 4
mov qword [rsp + 0x60], rax
lea rax, str.Failed_to_get_address_of_NetworkIsolationDeleteAllInterfacesContainer
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x78], 0x8c
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea rdx, [0x14048e186]
call fcn.140001208
mov eax, dword [rsp + 0x30]
jmp 0x140351c61
call qword [str.p76_]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140356560
add rsp, 0x98
ret
Function at 0x140351c80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp qword [rcx], 0
mov rdi, r8
mov ebx, edx
jne 0x140351cb2
mov eax, dword [rcx + 8]
jmp 0x140351d4d
mov rcx, qword [rcx]
lea rdx, [0x14041efd8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x140351d42
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140351d3c
and dword [rsp + 0x6c], 0
lea rax, [rsp + 0x30]
and dword [rsp + 0x7c], 0
mov edx, 4
mov qword [rsp + 0x60], rax
lea rax, str.Failed_to_get_address_of_FwAnalyzeFirewallPolicyOnProfile
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x78], reloc.WS2_32.dll_WSACleanup
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea rdx, [0x14048e186]
call fcn.140001208
mov eax, dword [rsp + 0x30]
jmp 0x140351d4d
mov rdx, rdi
mov ecx, ebx
call qword [str.p76_]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret

Function at 0x1403529dc
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x37], rax
and dword [rbp - 0x29], 0
mov rdi, r8
and qword [r8], 0
mov rbx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140352a12
mov rdx, qword [rdx]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
jne 0x140352ade
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rbp - 0x29], ecx
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x140352ade
and dword [rbp + 0x13], 0
lea rax, [rbp - 0x29]
and dword [rbp + 0x23], 0
cmp qword [rbx + 0x18], 0x10
mov qword [rbp + 7], rax
lea rax, str.Failed_to_load_function:
mov qword [rbp + 0x17], rax
mov dword [rbp + 0xf], 4
mov dword [rbp + 0x1f], CreateCompressor
jb 0x140352a8d
mov rbx, qword [rbx]
xor eax, eax
lea rcx, [0x1403c55d2]
test rbx, rbx
je 0x140352aab
mov rcx, rbx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140352aa2
inc eax
mov qword [rbp + 0x27], rcx
and dword [rbp + 0x33], 0
mov dword [rbp + 0x2f], eax
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14048e28c]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
mov eax, dword [rbp - 0x29]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140356560
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140356588
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140548ac0], eax
call fcn.140356df8
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140548ac0], 0
jne 0x1403565cb
mov ecx, 1
call fcn.140356df8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x140359760
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov r13, rsi
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov qword [rsp], r8
mov r8d, dword [rsp + 0x98]
mov r14, rdx
mov r15, rcx
xor eax, eax
mov esi, dword [rsi]
mov ebx, dword [rbx]
mov qword [rsp + 8], rax
jmp 0x1403597c8
add eax, 1
add esi, 1
mov dword [rsp + 8], eax
cmp esi, dword [rsp + 0xa0]
jge 0x1403598f9
cmp eax, dword [rsp + 0xa8]
jge 0x1403598f9
movzx eax, byte [rsi + rdi + 2]
shl ebx, 5
xor ebx, eax
mov r11, rsi
and ebx, r8d
movsxd rbp, dword [r9 + rbx*4]
mov dword [r9 + rbx*4], esi
mov r12, rdi
sub r11, rbp
cmp r11d, dword [rsp + 0x90]
jge 0x1403598c9
cmp ebp, dword [rsp + 0xb0]
jge 0x14035981b
mov r12, qword [rsp]
movzx eax, word [rsi + rdi]
lea r10, [rsi + rdi]
movzx ecx, word [rbp + r12]
lea r12, [rbp + r12]
cmp eax, ecx
jne 0x1403598c9
xor ecx, ecx
mov rax, qword [rcx + r10]
mov rdx, qword [rcx + r12]
xor rax, rdx
jne 0x140359863
add ecx, 8
cmp ecx, 0x100
jl 0x140359838
movzx eax, word [rcx + r10]
movzx edx, word [rcx + r12]
xor eax, edx
jne 0x140359863
add ecx, 2
jmp 0x14035986d
bsf rax, rax
shr rax, 3
add ecx, eax
cmp ecx, 3
jl 0x1403598c9
lea rbp, [rsi + 1]
lea rsi, [rcx + rsi - 1]
lea rdx, [rcx - 3]
movzx ecx, byte [rbp + rdi + 2]
shl ebx, 5
xor ebx, ecx
and ebx, r8d
mov dword [r9 + rbx*4], ebp
add ebp, 1
cmp ebp, esi
jle 0x14035987f
lea rcx, [r11 - 1]
cmp r11, 0x101
jl 0x1403598ad
shr ecx, 7
add ecx, 0x100
movzx ecx, byte [rcx + r13 + 0x100]
add word [r15 + rcx*4], 1
movzx ebp, byte [rdx + r13]
add ebp, 0x101
jmp 0x1403598d2
xor r11, r11
movzx edx, byte [rsi + rdi]
mov ebp, edx
add word [r14 + rbp*4], 1
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
mov word [rcx + rax*2], r11w
mov byte [rax + rbp], dl
jmp 0x1403597be
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov dword [rdi], esi
mov dword [rcx], ebx
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
pop rdi
pop rsi
ret