joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d6270
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401cb948
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401d6311
cmp ebx, dword [rsp + 0x30]
je 0x1401d630a
test esi, esi
je 0x1401d630a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401d62e5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401d62f2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401d62cf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401d62f6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401d6313
mov eax, 1
jmp 0x1401d6313
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401daf80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401dafa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401dafa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400616c0]
mov dword [rax], 1
mov rax, qword [0x1400616d0]
mov dword [rax], 1
mov rax, qword [0x1400616e0]
mov dword [rax], 1
mov rax, qword [0x140061670]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14002abf0
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.140044d10
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.14003b590
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14002ac49
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x1400439f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140055170
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140055170
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400446c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14006b7a8]
test eax, eax
je 0x14004475a
lea rax, [0x14006b780]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14006b7b0]
mov qword [rbp - 8], rax
jmp 0x14004473e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140044732
cmp qword [rbp - 0x10], 0
je 0x140044732
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400446f8
lea rax, [0x14006b780]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14004475b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140044860
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140044888
mov eax, 0
jmp 0x1400448d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400448b1
mov eax, 0
jmp 0x1400448d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400448d1
mov eax, 0
jmp 0x1400448d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400448dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14004495a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140044951
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140044951
mov rax, qword [rbp - 8]
jmp 0x14004496f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140044924
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140011474
Capabilities:
Terminate process

Disassembly:
jmp 0x14002d2f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001157d
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002e640
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002e660
xor al, al
jmp 0x14002e6e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002e673
xor al, al
jmp 0x14002e6e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002e69d
xor al, al
jmp 0x14002e6e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002e6b1
xor al, al
jmp 0x14002e6e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002e6c3
xor al, al
jmp 0x14002e6e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002e6df
xor al, al
jmp 0x14002e6e1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400015c0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x38]
movabs rcx, 0x100000000
and rax, 0xffffffffc0000000
cmp rax, rcx
jb 0x140001616
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x3c
call fcn.140001710
call section..text
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400019e0
add rsp, 0x88
ret

Function at 0x1400023e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002432
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002432
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002432
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002432
cmp dword [rcx + 0x84], 0xe
jbe 0x140002432
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002434
xor al, al
add rsp, 0x28
ret
Function at 0x140011064
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
jmp 0x14001e4c0
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140034018]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14003c0f8]
call fcn.140011aaa
mov byte [rbp + 4], 0x70
mov byte [rbp + 5], 0x69
mov byte [rbp + 6], 0x6e
mov byte [rbp + 7], 0x67
mov byte [rbp + 8], 0
mov byte [rbp + 0x28], 0x20
mov byte [rbp + 0x29], 0x38
mov byte [rbp + 0x2a], 0x2e
mov byte [rbp + 0x2b], 0x38
mov byte [rbp + 0x2c], 0x2e
mov byte [rbp + 0x2d], 0x38
mov byte [rbp + 0x2e], 0x2e
mov byte [rbp + 0x2f], 0x38
mov byte [rbp + 0x30], 0x20
mov byte [rbp + 0x31], 0
mov byte [rbp + 0x54], 0x2d
mov byte [rbp + 0x55], 0x6e
mov byte [rbp + 0x56], 0x20
mov byte [rbp + 0x57], 0
mov byte [rbp + 0x74], 0x34
mov byte [rbp + 0x75], 0x20
mov byte [rbp + 0x76], 0
mov byte [rbp + 0x94], 0x3e
mov byte [rbp + 0x95], 0x20
mov byte [rbp + 0x96], 0x6e
mov byte [rbp + 0x97], 0x75
mov byte [rbp + 0x98], 0x6c
mov byte [rbp + 0x99], 0
lea rax, [rbp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 4]
lea r8, str._s_s_s_s_s
mov edx, 0x32
lea rcx, [rbp + 0xb8]
call fcn.1400117bc
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x104], eax
lea rcx, [rbp + 0x128]
call fcn.140011a96
nop
cmp dword [rbp + 0x104], 0
jne 0x14001e600
lea rdx, [0x14002dcd0]
lea rcx, [rbp + 0x128]
call fcn.14001105a
jmp 0x14001e614
lea rdx, [0x14002dcf0]
lea rcx, [rbp + 0x128]
call fcn.14001105a
nop
lea rcx, [rbp + 0x128]
call fcn.140011221
lea rcx, [rbp - 0x40]
lea rdx, [0x14002c420]
call fcn.1400118fc
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.14001154b
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x140011113
Capabilities:
Write file on windows

Disassembly:
jmp 0x140020fc0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14003c067]
call fcn.140011aaa
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140021017
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140021123
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1400210bc
cmp qword [rbp + 0x28], 0
jle 0x1400210bc
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14002105c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011a0a
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140021112
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140021112
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140011357
Capabilities:
Delete file
Execute command

Disassembly:
jmp 0x14001e980
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140034018]
xor rax, rbp
mov qword [rbp + 0x420], rax
lea rcx, [0x14003c0f8]
call fcn.140011aaa
lea rcx, str.powershell__Command__Get_WmiObject__Namespace_root_SecurityCenter2__Class_AntiVirusProduct____defender_status.txt
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 4], eax
mov edx, 0x110
lea rcx, [rbp + 0x30]
call fcn.14001178f
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.defender_status.txt
lea rcx, [rbp + 0x30]
call fcn.1400119f1
nop
lea rcx, [rbp + 0x30]
call fcn.140011046
movzx eax, al
test eax, eax
jne 0x14001ea1e
lea rcx, [rbp + 0x30]
call fcn.1400111d1
jmp 0x14001ebdd
lea rcx, [rbp + 0x158]
call fcn.140011a96
nop
mov edx, 0x18
lea rcx, [rbp + 0x198]
call fcn.1400114f6
lea rcx, [rbp + 0x198]
call fcn.1400119c9
nop
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x30]
call fcn.14001163b
mov qword [rbp + 0x3a8], rax
mov rax, qword [rbp + 0x3a8]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x3a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001eb7d
xor r8d, r8d
lea rdx, str.displayName
lea rcx, [rbp + 0x158]
call fcn.1400113e3
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0xffffffffffffffff
je 0x14001eb78
mov r8, qword [rbp + 0x1c8]
lea rdx, [0x14002e030]
lea rcx, [rbp + 0x158]
call fcn.1400113e3
add rax, 2
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0xffffffffffffffff
je 0x14001eb78
mov r9, 0xffffffffffffffff
mov r8, qword [rbp + 0x1c8]
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0x158]
call fcn.1400115a0
nop
lea r8, [rbp + 0x1e8]
lea rdx, [rbp + 0x3e8]
lea rcx, [rbp + 0x198]
call fcn.14001119f
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
movzx eax, byte [rax + 0x18]
mov byte [rbp + 0x3c4], al
lea rcx, [rbp + 0x3e8]
call fcn.1400113e8
movzx eax, byte [rbp + 0x3c4]
test eax, eax
je 0x14001eb6c
lea rdx, [0x14002e038]
lea rcx, [0x1400347d0]
call fcn.14001105a
nop
lea rcx, [rbp + 0x1e8]
call fcn.140011221
jmp 0x14001ea49
lea rcx, [rbp + 0x30]
call fcn.140011636
lea rcx, str.defender_status.txt
call qword [sym.imp.ucrtbased.dll_remove]
lea rcx, [rbp + 0x198]
call fcn.1400118d9
movzx eax, al
test eax, eax
je 0x14001ebba
lea rdx, [0x14002e050]
lea rcx, [0x1400347d0]
call fcn.14001105a
nop
lea rcx, [rbp + 0x198]
call fcn.140011ab4
nop
lea rcx, [rbp + 0x158]
call fcn.140011221
nop
lea rcx, [rbp + 0x30]
call fcn.1400111d1
lea rcx, [rbp - 0x30]
lea rdx, [0x14002ce00]
call fcn.1400118fc
mov rcx, qword [rbp + 0x420]
xor rcx, rbp
call fcn.14001154b
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x140011640
Capabilities:
Terminate process

Disassembly:
jmp 0x1400245f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011744
Capabilities:
Execute command

Disassembly:
jmp 0x14001e6b0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14003c0f8]
call fcn.140011aaa
lea rcx, str.powershell__Command__Get_NetFirewallProfile__Profile_Domain_Public_Private__Select_Object__Property_Name_Enabled____firewall_status.txt
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14001e6f6
lea rdx, [0x14002ddb8]
lea rcx, [0x140034758]
call fcn.14001105a
jmp 0x14001e709
lea rdx, [0x14002ddd8]
lea rcx, [0x140034758]
call fcn.14001105a
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400117ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400239b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400239d0
xor al, al
jmp 0x140023a51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400239e3
xor al, al
jmp 0x140023a51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140023a0d
xor al, al
jmp 0x140023a51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140023a21
xor al, al
jmp 0x140023a51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140023a33
xor al, al
jmp 0x140023a51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140023a4f
xor al, al
jmp 0x140023a51
mov al, 1
add rsp, 0x38
ret
Function at 0x140011a87
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001b660
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140034018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14003c067]
call fcn.140011aaa
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14001b6c6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b6cd
mov al, 1
jmp 0x14001b827
call fcn.14001131b
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.14001131b
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.14001191f
movzx eax, al
test eax, eax
je 0x14001b728
xor al, al
jmp 0x14001b827
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14001b78d
cmp dword [rbp + 0x194], 1
je 0x14001b798
cmp dword [rbp + 0x194], 3
je 0x14001b816
jmp 0x14001b825
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001b7e8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001b7e8
xor al, al
jmp 0x14001b827
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b803
mov dword [rbp + 0x194], 1
jmp 0x14001b80d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14001b827
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001b827
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002cca0]
call fcn.1400118fc
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14001154b
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140011b6d
Capabilities:
Delete file
Execute command

Disassembly:
jmp 0x14001e730
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140034018]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x14003c0f8]
call fcn.140011aaa
lea rcx, str.powershell__Command__Get_NetFirewallProfile__Profile_Domain_Public_Private__Select_Object__Property_Name_Enabled____firewall_status.txt
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14001e8db
mov edx, 0x110
lea rcx, [rbp + 0x30]
call fcn.14001178f
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.firewall_status.txt
lea rcx, [rbp + 0x30]
call fcn.1400119f1
nop
lea rcx, [rbp + 0x30]
call fcn.140011046
movzx eax, al
test eax, eax
je 0x14001e8d2
lea rcx, [rbp + 0x158]
call fcn.140011a96
nop
mov byte [rbp + 0x194], 1
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x30]
call fcn.14001163b
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x278]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001e890
xor r8d, r8d
lea rdx, [0x14002dee0]
lea rcx, [rbp + 0x158]
call fcn.1400113e3
cmp rax, 0xffffffffffffffff
jne 0x14001e853
lea rcx, [rbp + 0x158]
call fcn.1400112a3
movzx eax, al
test eax, eax
je 0x14001e855
jmp 0x14001e7e2
xor r8d, r8d
lea rdx, str.False
lea rcx, [rbp + 0x158]
call fcn.1400113e3
cmp rax, 0xffffffffffffffff
je 0x14001e88b
mov byte [rbp + 0x194], 0
lea rdx, [0x14002def0]
lea rcx, [0x140034780]
call fcn.14001105a
jmp 0x14001e7e2
movzx eax, byte [rbp + 0x194]
test eax, eax
je 0x14001e8ae
lea rdx, [0x14002df30]
lea rcx, [0x140034780]
call fcn.14001105a
lea rcx, [rbp + 0x30]
call fcn.140011636
lea rcx, str.firewall_status.txt
call qword [sym.imp.ucrtbased.dll_remove]
nop
lea rcx, [rbp + 0x158]
call fcn.140011221
nop
lea rcx, [rbp + 0x30]
call fcn.1400111d1
lea rcx, [rbp - 0x30]
lea rdx, [0x14002c540]
call fcn.1400118fc
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.14001154b
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret