joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448460
Capabilities:
Check for software breakpoints

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x44863d
sub rsp, 0x40
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + 8]
movzx ebx, byte [rax]
cmp bl, 0xe9
jne 0x4484ad
mov rbx, qword [rcx + 8]
add rbx, 5
mov rbp, rax
inc rbp
movsxd rbp, dword [rbp]
add rbx, rbp
mov qword [rcx + 8], rbx
add rsp, 0x40
ret
movzx ebx, byte [rax]
cmp bl, 0xeb
jne 0x4484d4
mov rbx, qword [rcx + 8]
add rbx, 2
mov rbp, rax
inc rbp
movsx rbp, byte [rbp]
add rbx, rbp
mov qword [rcx + 8], rbx
add rsp, 0x40
ret
movzx ebx, byte [rax]
cmp bl, 0xcc
jne 0x4484e1
add rsp, 0x40
ret
movzx ebp, byte [rax]
mov qword [rsp + 0x30], rbp
movzx ebp, byte [rax + 1]
mov qword [rsp + 0x28], rbp
movzx ebp, byte [rax + 2]
mov qword [rsp + 0x20], rbp
movzx ebp, byte [rax + 3]
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x38], rax
movzx ebp, byte [rax + 4]
mov qword [rsp + 0x10], rbp
call fcn.0042ff90
lea rbx, [0x0054e2d0]
mov qword [rsp], rbx
mov qword [rsp + 8], 0xc
call fcn.00430a00
mov rbx, qword [rsp + 0x38]
mov qword [rsp], rbx
call fcn.004309c0
lea rbx, [0x00545f50]
mov qword [rsp], rbx
mov qword [rsp + 8], 1
call fcn.00430a00
mov rbx, qword [rsp + 0x30]
mov qword [rsp], rbx
call fcn.00430870
lea rbx, [0x00545f50]
mov qword [rsp], rbx
mov qword [rsp + 8], 1
call fcn.00430a00
mov rbx, qword [rsp + 0x28]
mov qword [rsp], rbx
call fcn.00430870
lea rbx, [0x00545f50]
mov qword [rsp], rbx
mov qword [rsp + 8], 1
call fcn.00430a00
mov rbx, qword [rsp + 0x20]
mov qword [rsp], rbx
call fcn.00430870
lea rbx, [0x00545f50]
mov qword [rsp], rbx
mov qword [rsp + 8], 1
call fcn.00430a00
mov rbx, qword [rsp + 0x18]
mov qword [rsp], rbx
call fcn.00430870
lea rbx, [0x00545f50]
mov qword [rsp], rbx
mov qword [rsp + 8], 1
call fcn.00430a00
mov rbx, qword [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00430870
lea rbx, [0x00547268]
mov qword [rsp], rbx
mov qword [rsp + 8], 1
call fcn.00430a00
call fcn.00430020
lea rbx, [0x0056fa00]
mov qword [rsp], rbx
mov qword [rsp + 8], 0x22
call fcn.0042f750
add rsp, 0x40
ret
call fcn.00458800
jmp fcn.00448460
Function at 0x72000a
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rdx, rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx eax, word [rax + 0x14]
movzx eax, ax
add rax, rdx
add rax, 0x18
mov qword [rbp - 0x10], rax
mov dword [rbp - 4], 0
jmp 0x7201c8
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
test eax, eax
jne 0x720107
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x38]
mov dword [rbp - 0x24], eax
cmp dword [rbp - 0x24], 0
jle 0x720102
mov eax, dword [rbp - 0x24]
cdqe
mov rdx, qword [rbp - 0x10]
mov edx, dword [rdx + 0xc]
mov ecx, edx
mov rdx, qword [rbp - 0x18]
add rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x7200c2
mov eax, 0
jmp 0x7201e4
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 8], edx
mov eax, dword [rbp - 0x24]
movsxd rdx, eax
mov rax, qword [rbp - 0x20]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x7201bf
jmp 0x7201bf
mov rax, qword [rbp - 0x10]
mov edx, dword [rax + 0x14]
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
add eax, edx
mov edx, eax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.CheckSize
test eax, eax
jne 0x720133
mov eax, 0
jmp 0x7201e4
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 0x18]
add rax, rcx
mov r9d, 4
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x720176
mov eax, 0
jmp 0x7201e4
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
mov ecx, eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov rax, qword [rbp - 0x20]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 8], edx
add dword [rbp - 4], 1
add qword [rbp - 0x10], 0x28
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx eax, word [rax + 6]
movzx eax, ax
cmp eax, dword [rbp - 4]
jg 0x72005d
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x721ce0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call sym.malloc
mov rcx, rax
test rax, rax
je 0x721d13
movdqu xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
add rsp, 0x20
pop rbx
jmp dbg._cgo_sys_thread_start
mov ecx, 2
call qword [dbg.__acrt_iob_func]
lea rdx, str.runtime_cgo:_out_of_memory_in_thread_start_n
mov rcx, rax
call sym.fprintf.constprop.0_1
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x7278a0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x727910
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x007625c4]
mov r12, rcx
test ebx, ebx
jle 0x727a40
mov rax, qword [0x007625c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x72795c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x7279e3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x727940
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x727a62
mov rax, qword [0x007625c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x007625c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x727a47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x7279dc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x7279f0
add dword [0x007625c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x007625c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x7279dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x727967
mov rax, qword [0x007625c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x727f30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00762620]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00762600]
test rbx, rbx
je 0x727f84
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x727f7b
test r12, r12
je 0x727f7b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x727f60
lea rcx, [0x00762620]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x7282c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x0073e760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x7282e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x7282e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x7282e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x728335
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x72832c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x7282e0
add rax, 0x28
cmp rax, r9
jne 0x728318
xor eax, eax
ret

Function at 0x728340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0073e760]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x728360
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x728368
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x728360
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x7283f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0073e760]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x728410
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x728418
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x14002e2a8
Capabilities:
Write file on windows

Disassembly:
jmp 0x14007b5a0
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, [0x1400c00fb]
call fcn.14002f99b
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14007b5f8
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 0x14007b70a
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 0x14007b6a3
cmp qword [rbp + 0x28], 0
jle 0x14007b6a3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14007b641
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.14002f810
nop
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]
nop
cmp qword [rbp + 0x130], 0
jle 0x14007b6f9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14007b6f9
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 0x14002e73f
Capabilities:
Create process on windows
Terminate process

Disassembly:
jmp 0x140077040
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x1400af080]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x1400c01c0]
call fcn.14002f99b
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14007712b
mov dword [rbp + 0x240], 0x70
lea rax, [rbp + 0x244]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
lea rax, str.runas
mov qword [rbp + 0x250], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x258], rax
mov qword [rbp + 0x248], 0
mov dword [rbp + 0x270], 1
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14007712b
mov rax, qword [rbp + 0x460]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
mov rax, qword [rbp + 0x460]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14002f4fa
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.14002eca8
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x14002ea7d
Capabilities:
Create process on windows
Delete file

Disassembly:
jmp 0x1400768e0
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400af080]
xor rax, rbp
mov qword [rbp + 0x390], rax
lea rcx, [0x1400c01c0]
call fcn.14002f99b
nop
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14009b9e0]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400769b4
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0xd0]
call fcn.14002ea46
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, str.C:Program_Files_sysinternals.bat
lea rcx, [rbp + 0xd0]
call fcn.14002ea19
nop
lea rdx, str.C:Program_FilesMalwarebytesAnti_Malwaremalwarebytes_assistant.exe___stopservice
lea rcx, [rbp + 0xd0]
call fcn.14002e2f8
mov qword [rbp + 0x388], rax
lea rdx, [0x14002e113]
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [0x14009b9e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov dword [rbp + 0x374], 0
lea rcx, [rbp + 0xd0]
call fcn.14002e686
mov eax, dword [rbp + 0x374]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140094d90]
call fcn.14002f4fa
mov eax, edi
mov rcx, qword [rbp + 0x390]
xor rcx, rbp
call fcn.14002eca8
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret

Function at 0x14002ee8d
Capabilities:
Terminate process

Disassembly:
jmp 0x140084e50
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]
nop
add rsp, 0x28
ret
Function at 0x14002f09a
Capabilities:
Get geographical location

Disassembly:
jmp 0x14007c320
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14007c35d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14002f982
add rsp, 0x58
ret

Function at 0x14002f1a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140085e70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140085e90
xor al, al
jmp 0x140085f11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140085ea3
xor al, al
jmp 0x140085f11
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 0x140085ecd
xor al, al
jmp 0x140085f11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140085ee1
xor al, al
jmp 0x140085f11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140085ef3
xor al, al
jmp 0x140085f11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140085f0f
xor al, al
jmp 0x140085f11
mov al, 1
add rsp, 0x38
ret
Function at 0x14002f720
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140079a90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x1400af080]
xor rax, rbp
mov qword [rbp + 0x4b0], rax
lea rcx, [0x1400c01c0]
call fcn.14002f99b
nop
mov rcx, qword [rbp + 0x4e0]
call fcn.14002f261
mov dword [rbp + 0x494], eax
xor edx, edx
mov rcx, qword [rbp + 0x4e0]
call fcn.14002e096
mov qword [rbp + 0x498], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x494]
mov r8, qword [rbp + 0x498]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 4], eax
movsxd rax, dword [rbp + 4]
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14002e9f6
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.14002e311
mov qword [rbp + 0x498], rax
mov rcx, qword [rbp + 0x4e0]
call fcn.14002f261
mov dword [rbp + 0x4a0], eax
xor edx, edx
mov rcx, qword [rbp + 0x4e0]
call fcn.14002e096
mov qword [rbp + 0x4a8], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x498]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x4a0]
mov r8, qword [rbp + 0x4a8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
xor edx, edx
mov ecx, 2
call fcn.14002ec67
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
jne 0x140079bd2
lea rcx, [rbp + 0x28]
call fcn.14002f5c2
nop
jmp 0x140079ce1
mov dword [rbp + 0x90], 0x238
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call fcn.14002efaa
test eax, eax
jne 0x140079c0a
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x28]
call fcn.14002f5c2
nop
jmp 0x140079ce1
lea rdx, [rbp + 0xbc]
lea rcx, [rbp + 0x28]
call fcn.14002e8ac
movzx eax, al
test eax, eax
je 0x140079cb4
mov r8d, dword [rbp + 0x98]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2e8], rax
cmp qword [rbp + 0x2e8], 0
jne 0x140079c4c
jmp 0x140079cb4
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSuspendProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x308], rax
cmp qword [rbp + 0x308], 0
jne 0x140079c8a
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140079cb4
mov rax, qword [rbp + 0x308]
mov qword [rbp + 0x498], rax
mov rcx, qword [rbp + 0x2e8]
call qword [rbp + 0x498]
nop
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call fcn.14002f5f4
test eax, eax
jne 0x140079c0a
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x28]
call fcn.14002f5c2
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14002f4fa
mov rcx, qword [rbp + 0x4b0]
xor rcx, rbp
call fcn.14002eca8
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret
Function at 0x14002f92d
Capabilities:
Write file on windows

Disassembly:
jmp 0x14006d200
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x1400af080]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1400c00fb]
call fcn.14002f99b
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14006d267
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006d26e
mov al, 1
jmp 0x14006d3de
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14002e726
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14002e726
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14002f423
movzx eax, al
test eax, eax
je 0x14006d2d1
xor al, al
jmp 0x14006d3de
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
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 + 0x158]
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 + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14006d344
cmp dword [rbp + 0x160], 1
je 0x14006d34f
cmp dword [rbp + 0x160], 3
je 0x14006d3cd
jmp 0x14006d3dc
mov rax, qword [rbp + 0x1a0]
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 0x14006d39f
mov rax, qword [rbp + 0x1a0]
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 0x14006d39f
xor al, al
jmp 0x14006d3de
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006d3ba
mov dword [rbp + 0x154], 1
jmp 0x14006d3c4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14006d3de
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14006d3de
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14002f4fa
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14002eca8
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret