joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400037f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
lea rsi, [0x140033f28]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rsi + rdx*2 + 2], 0
lea rdx, [rdx + 1]
jne 0x140003810
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14000386e
lea rdi, [rdx + rdx]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x60]
mov r8, rdi
mov rdx, rsi
call fcn.140018e28
test eax, eax
je 0x140003880
mov rax, qword gs:[0x60]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, qword [rcx + 0x10]
je 0x14000386e
test rbx, rbx
jne 0x140003840
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1400045b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000460e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x68], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov esi, eax
call fcn.140018f24
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, esi
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000465e
cmp dword [rsp + 0x40], esi
je 0x140004668
mov rcx, rbx
call fcn.140018ae4
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x50
pop rdi
ret
Function at 0x140004a50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x860], rax
call fcn.140004cd0
mov rcx, rax
call fcn.1400045b0
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.14000a470
mov rcx, rax
mov rdi, rax
call fcn.14000b490
mov rcx, qword [rdi + 0x80]
xor esi, esi
mov rbx, rax
test rcx, rcx
je 0x140004abb
call fcn.140018ae4
mov qword [rdi + 0x80], rsi
mov rcx, rdi
call fcn.140018ae4
mov rcx, rbp
call fcn.140018ae4
test rbx, rbx
jne 0x140004ad7
xor eax, eax
jmp 0x140004ca6
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x830
call fcn.14000f000
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.FltGlobals
mov dword [rsp + 0x30], 0x58
mov dword [rsp + 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x140004b25
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x140004b28
mov rax, rsi
lea r8, str.DriverInit
mov qword [0x140055e20], rax
lea rdx, str._DRIVER_OBJECT
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.Links
lea rdx, str._FLTP_FRAME
mov qword [0x140055e60], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.RegisteredFilters
lea rdx, str._FLTP_FRAME
mov qword [0x140055e38], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.DriverObject
lea rdx, str._FLT_FILTER
mov qword [0x140055e40], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.InstanceList
lea rdx, str._FLT_FILTER
mov qword [0x140055e50], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.CallbackNodes
lea rdx, str._FLT_INSTANCE
mov qword [0x140055e58], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.FilterLink
lea rdx, str._FLT_INSTANCE
mov qword [0x140055e68], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.PrimaryLink
lea rdx, str._FLT_OBJECT
mov qword [0x140055e70], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.rList
lea rdx, str._FLT_RESOURCE_LIST_HEAD
mov qword [0x140055e48], rax
mov rcx, rbx
call fcn.14000b830
mov eax, eax
lea r8, str.FrameList
lea rdx, str._GLOBALS
mov qword [0x140055e30], rax
mov rcx, rbx
call fcn.14000b830
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, eax
mov qword [0x140055e28], rax
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx]
call fcn.140018ae4
mov rcx, rbx
mov qword [rbx], rsi
call fcn.140018ae4
cmp qword [0x140055e20], rsi
setne sil
mov eax, esi
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14000dc70
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140004cd0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x140055e80]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140004d00
test rax, rax
jne 0x140004d5f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000f000
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.drivers
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.fltMgr.sys
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x240
pop rbx
ret
Function at 0x140006020
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x1400562a0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140006050
test rax, rax
jne 0x1400060a7
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000f000
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.1400188b0
lea r8, str.wdigest.dll
mov edx, 0x104
mov rcx, rbx
call fcn.1400188b0
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x240
pop rbx
ret
Function at 0x140008270
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rax, 0xffffffffffffffff
lea rbx, [0x140056710]
mov rcx, rax
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x1400082a0
test rcx, rcx
jne 0x14000832d
mov qword [rsp + 0x240], rdi
lea rdi, [0x140056910]
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400082c0
test rax, rax
jne 0x1400082ed
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._ntoskrnl.exe
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
call fcn.14000f000
mov r8, rdi
lea rcx, [rsp + 0x20]
call fcn.14000ba30
lea r9, [rsp + 0x20]
mov edx, 0x100
lea r8, str.ntoskrnl__s.exe
mov rcx, rbx
call fcn.1400046f0
mov rdi, qword [rsp + 0x240]
mov rax, rbx
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x230
pop rbx
ret

Function at 0x140008f90
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000900c
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x3c], rax
mov rcx, rdi
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x14000900c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000dc70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140009dc0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x140056d30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140009df0
test rax, rax
jne 0x140009e47
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000f000
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.1400188b0
lea r8, str.ci.dll
mov edx, 0x104
mov rcx, rbx
call fcn.1400188b0
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x240
pop rbx
ret

Function at 0x14000a470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
mov edx, 0x98
mov ecx, 1
call fcn.1400120fc
mov rbx, rax
test rax, rax
je 0x14000a627
mov dword [rax], esi
lea rdx, [rdi + 0x3c]
xor esi, esi
mov qword [rax + 8], 0xffffffffffffffff
mov rcx, rax
mov dword [rax + 4], esi
mov dword [rax + 0x10], esi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
call fcn.14000a2a0
mov edx, eax
mov rcx, rbx
add rdx, qword [rbx + 0x20]
mov qword [rbx + 0x30], rdx
lea rax, [rdx + 0x18]
add rdx, 0x14
mov qword [rbx + 0x38], rax
add rax, 0x70
mov qword [rbx + 0x40], rax
call fcn.14000a200
mov rdx, qword [rbx + 0x40]
movzx ecx, ax
add rcx, qword [rbx + 0x38]
mov qword [rbx + 0x48], rcx
mov rcx, rbx
call fcn.14000a2a0
test eax, eax
jne 0x14000a51c
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x70], rsi
jmp 0x14000a593
mov edx, eax
mov rcx, rbx
call fcn.140009f20
mov rcx, rbx
mov qword [rbx + 0x50], rax
lea rdx, [rax + 0x20]
call fcn.14000a2a0
mov edx, eax
mov rcx, rbx
call fcn.140009f20
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
add rdx, 0x1c
mov qword [rbx + 0x58], rax
call fcn.14000a2a0
mov edx, eax
mov rcx, rbx
call fcn.140009f20
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
add rdx, 0x24
mov qword [rbx + 0x68], rax
call fcn.14000a2a0
mov edx, eax
mov rcx, rbx
call fcn.140009f20
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
add rdx, 0x18
mov qword [rbx + 0x70], rax
call fcn.14000a2a0
mov dword [rbx + 0x60], eax
mov rdx, qword [rbx + 0x40]
mov rcx, rbx
add rdx, 0x30
mov qword [rbx + 0x80], rsi
call fcn.14000a2a0
test eax, eax
je 0x14000a60d
mov edx, eax
mov rcx, rbx
call fcn.140009f20
mov rcx, rbx
mov qword [rbx + 0x88], rax
lea rdx, [rax + 0xc]
call fcn.14000a2a0
cmp eax, 2
jne 0x14000a60d
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
add rdx, 0x14
call fcn.14000a2a0
mov edx, eax
mov rcx, rbx
call fcn.140009f20
mov rdx, rax
mov qword [rbx + 0x90], rax
mov rcx, rbx
call fcn.14000a2a0
cmp eax, 0x53445352
je 0x14000a614
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x88], rsi
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 1
call fcn.1400120f0
int3
Function at 0x14000b1a0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push rbx
push r14
sub rsp, 0x88
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14d, edx
mov rbx, rcx
cmp edx, 3
jbe 0x14000b1e0
mov r8, rcx
mov edx, 3
lea rcx, str.____Reached_maximun_number_of_attempts___i__to_uninstall_the_service__s_n
call fcn.140001010
xor eax, eax
jmp 0x14000b382
mov qword [rsp + 0xb0], rbp
lea rdx, str.ServicesActive
mov qword [rsp + 0x80], rsi
xor ecx, ecx
xor esi, esi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r15
mov r15d, esi
lea r8d, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14000b26e
lea r8d, [rsi + 0x20]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbp, rax
test rax, rax
je 0x14000b24f
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbp
mov r15d, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r15d, r15d
je 0x14000b26e
mov rdx, rbx
lea rcx, str.____s_service_stopped_n
call fcn.140001010
jmp 0x14000b2b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
jne 0x14000b28c
mov rdx, rbx
lea rcx, str.____s_service_not_running_n
call fcn.140001010
jmp 0x14000b2b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x425
jne 0x14000b33d
mov rdx, rbx
lea rcx, str.____s_service_cannot_accept_control_messages_at_this_time__waiting..._n
call fcn.140001010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x14000b351
mov r8d, 0x10004
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000b32c
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000b32c
cmp dword [rsp + 0x24], 1
mov rcx, rdi
je 0x14000b31b
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000b351
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x14000b351
mov eax, esi
jmp 0x14000b368
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ERROR_ServiceUninstall___ServiceUninstall__0x_08x__n
call fcn.140001010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [r14 + 1]
mov rcx, rbx
call fcn.14000b1a0
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x88
pop r14
pop rbx
ret
Function at 0x14000ba30
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, [rsp + 0x3c]
mov rbp, rcx
mov dword [rsp + 0x3c], eax
mov rcx, r8
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov rsi, r8
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x14000bb14
mov ecx, edi
mov qword [rsp + 0x78], rbx
mov edx, 1
call fcn.1400120fc
mov rbx, rax
test rax, rax
jne 0x14000ba9b
lea rcx, str.____Couldnt_allocate_memory_to_retrieve_version_data
call fcn.140018be0
jmp 0x14000bb0f
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000bb07
lea r9, [rsp + 0x38]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [0x140039108]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000bb07
cmp dword [rsp + 0x38], 0
je 0x14000bb07
mov r9, qword [rsp + 0x30]
cmp dword [r9], 0xfeef04bd
jne 0x14000bb07
mov r9d, dword [r9 + 0xc]
lea r8, str._ld__ld
movzx eax, r9w
mov edx, 0x100
shr r9d, 0x10
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.1400046f0
mov rcx, rbx
call fcn.140018ae4
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c6a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0xa0
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 + 0x18], rbp
lea rax, str.Domain
mov qword [r11 - 0x10], r12
mov r12, rcx
mov qword [r11 - 0x18], r13
xor ecx, ecx
xor r13d, r13d
mov dword [rsp + 0x40], 1
mov qword [r11 - 0x60], rax
lea rax, str.Private
mov dword [rsp + 0x50], 2
mov qword [r11 - 0x50], rax
lea rax, str.Public
mov qword [r11 - 0x20], r14
lea edx, [r13 + 2]
mov qword [r11 - 0x28], r15
lea r15d, [r13 - 1]
mov dword [rsp + 0x60], 4
mov qword [r11 - 0x78], r13
mov dword [r11 - 0x6c], r13d
mov word [r11 - 0x70], r13w
mov qword [r11 - 0x40], rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov r14d, eax
mov eax, 0x80000000
lea ecx, [r14 + rax]
test eax, ecx
jne 0x14000c75f
cmp r14d, 0x80010106
je 0x14000c75f
lea rcx, str.____Error_while_initializing_COM__CoInitializeEx_failed:_0x_08lx__n
mov edx, r14d
mov ebp, r14d
call fcn.140001010
mov esi, 0x80004005
jmp 0x14000c84d
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x140046668]
mov qword [rsp + 0x20], rax
lea rcx, [0x140046698]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r14d, eax
mov ebp, eax
test eax, eax
jns 0x14000c7a4
lea rcx, str.____Error_while_initializing_the_INetFwPolicy2_interface__CoCreateInstance_for_INetFwPolicy2_failed:_0x_08lx__n
mov edx, eax
call fcn.140001010
mov esi, 0x80004005
jmp 0x14000c84d
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x3c]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov esi, eax
test eax, eax
jns 0x14000c7cd
mov edx, eax
lea rcx, str.____Could_not_determine_Firewall_status__failed_to_get_the_active_Firewall_profiles___get_CurrentProfileTypes_failed:_0x_08lx__n
call fcn.140001010
jmp 0x14000c84d
mov qword [rsp + 0xb8], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0xc8], rdi
mov edi, r13d
mov edx, dword [rbx - 8]
test dword [rsp + 0x3c], edx
je 0x14000c823
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov esi, eax
test eax, eax
js 0x14000c8ad
cmp word [rsp + 0x38], r13w
jne 0x14000c823
mov rdx, qword [rbx]
lea rcx, str.___The_Windows_Firewall_is_off_on_the__active___s_profile._n
call fcn.140001010
movzx r15d, r13w
inc edi
add rbx, 0x10
cmp edi, 3
jb 0x14000c7e5
mov eax, r13d
cmp r15w, 0xffff
sete al
mov dword [r12], eax
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xc0]
test rcx, rcx
je 0x14000c87a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r13
mov r13, qword [rsp + 0x90]
test r14d, r14d
mov r14, qword [rsp + 0x88]
js 0x14000c895
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000dc70
add rsp, 0xa0
pop rsi
ret
mov edx, edi
lea rcx, str.____Could_not_determine_Firewall_status__failed_to_retrieve_FirewallEnabled_settings_for__s_profile___get_FirewallEnabled_failed:_0x_08lx__n
add rdx, rdx
mov r8d, eax
mov rdx, qword [rsp + rdx*8 + 0x48]
call fcn.140001010
jmp 0x14000c83d
Function at 0x14000d3d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
cmp dword [0x140056f60], 0
jne 0x14000d56c
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
call fcn.1400037f0
mov edx, 1
mov rcx, qword [rax + 0x30]
call fcn.14000a470
xor edi, edi
lea r15, [0x140056f60]
mov rsi, rax
mov r14d, edi
mov ebp, edi
cmp dword [rax + 0x60], edi
jbe 0x14000d4f0
mov qword [rsp + 0x50], rbx
nop dword [rax]
mov rax, qword [rsi + 0x58]
mov rbx, qword [rsi + 0x28]
mov ecx, ebp
mov r9d, dword [rax + rcx*4]
cmp dword [rsi], edi
je 0x14000d448
lea rdx, [rbx + r9]
jmp 0x14000d483
mov rax, qword [rsi + 0x30]
mov r8d, edi
mov r11, qword [rsi + 0x48]
movzx r10d, word [rax + 6]
test r10d, r10d
je 0x14000d480
lea rax, [r11 + 8]
mov edx, dword [rax + 4]
cmp edx, r9d
ja 0x14000d474
add edx, dword [rax]
cmp r9d, edx
jb 0x14000d576
inc r8d
add rax, 0x28
cmp r8d, r10d
jb 0x14000d461
mov rdx, rdi
cmp byte [rdx], 0x5a
jne 0x14000d4e0
cmp byte [rdx + 1], 0x77
jne 0x14000d4e0
mov r9d, edi
mov r8d, 0xe14b0d06
mov rax, rdx
nop word [rax + rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc r9d
add ecx, eax
mov eax, r9d
add rax, rdx
xor r8d, ecx
cmp byte [rax], dil
jne 0x14000d4a0
mov eax, r14d
lea rcx, [rax + rax*2]
lea rbx, [rcx*4]
mov rcx, rsi
mov dword [rbx + r15 + 4], r8d
call fcn.14000a640
mov dword [rbx + r15 + 8], eax
inc r14d
inc ebp
cmp ebp, dword [rsi + 0x60]
jb 0x14000d430
mov rbx, qword [rsp + 0x50]
mov edx, r14d
lea r9, [0x14000d390]
mov r8d, 0xc
mov dword [0x140056f60], r14d
lea rcx, [0x140056f64]
call fcn.14001a0f0
mov eax, dword [0x140056f60]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
test eax, eax
je 0x14000d547
nop dword [rax]
mov eax, edi
lea rdx, [rax + rax*2]
mov dword [r15 + rdx*4 + 0xc], edi
inc edi
mov eax, dword [0x140056f60]
cmp edi, eax
jb 0x14000d530
mov edx, eax
lea r9, [0x14000d3b0]
mov r8d, 0xc
lea rcx, [0x140056f64]
call fcn.14001a0f0
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x48
ret
mov eax, r8d
lea rcx, [rax + rax*4]
lea rdx, [r11 + rcx*8]
test rdx, rdx
je 0x14000d480
sub r9d, dword [rdx + 0xc]
mov edx, dword [rdx + 0x14]
mov eax, r9d
add rax, rbx
add rdx, rax
jmp 0x14000d483

Function at 0x14000db90
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [section..data]
call fcn.14000d5a0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000e544
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e58e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e58e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e58e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e58e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e58e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000e590
xor al, al
add rsp, 0x28
ret
Function at 0x1400120f0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140011f5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011f5b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011f5b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011f5b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011f5b
cmp dword [rcx + 0x84], 0xe
jbe 0x140011f5b
cmp dword [rcx + 0xf8], 0
je 0x140011f5b
mov ecx, ebx
call fcn.14001200c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140011de8
nop
cmp dword [rbp + 0x20], 0
je 0x140011fa9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140011fb4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140011eec
Function at 0x140022078
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400220ff
mov rsi, rbx
cmp word [rax], bp
je 0x1400220be
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400220a8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400220a4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001cfb8
mov rdi, rax
test rax, rax
je 0x1400220ec
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000fed0
mov rbp, rdi
xor ecx, ecx
call fcn.14001c11c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret