joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e5dbf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140123ea8]
jne 0x1400df14a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400df146
repz ret
ror rcx, 0x10
jmp 0x1400e5d18
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140128e90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140128f88]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400e5d9d
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, [0x140128e90]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400e5dbf
mov rax, qword [rsp + 0x88]
mov qword [0x140128f88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140128f28], rax
mov rax, qword [0x140128f88]
mov qword [0x140128e00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140128f10], rax
mov dword [0x140128df0], 0xc0000409
mov dword [0x140128df4], 1
mov rax, qword [0x140123ea8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140123eb0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140128e88], eax
mov ecx, 1
call fcn.1400e2cec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400f14d8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140128e88], 0
jne 0x1400e5e46
mov ecx, 1
call fcn.1400e2cec
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 0x1400111e5
Capabilities:
Terminate process

Disassembly:
jmp 0x140014ed0
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 0x140011262
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012be0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c00
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c13
xor al, al
jmp 0x140012c81
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 0x140012c3d
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012c51
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012c63
xor al, al
jmp 0x140012c81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012c7f
xor al, al
jmp 0x140012c81
mov al, 1
add rsp, 0x38
ret
Function at 0x140001fd4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000201e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000201e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000201e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000201e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000201e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002020
xor al, al
add rsp, 0x28
ret
Function at 0x140001090
Capabilities:
Create thread
Encode data using xor

Disassembly:
sub rsp, 0x38
xor r11d, r11d
test edx, edx
jle 0x1400010c4
mov r9d, r11d
mov edx, edx
mov r10d, r11d
mov rax, r10
lea r9, [r9 + 1]
and eax, 7
inc r10
movzx eax, byte [rax + r8]
xor al, byte [r9 + rcx - 1]
mov byte [r9 - 1], al
sub rdx, 1
jne 0x1400010a3
movsxd rax, dword [0x140017010]
test eax, eax
jle 0x1400010f8
cmp dword [0x140017014], r11d
jle 0x1400010f8
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rcx + 8], rax
movsxd rcx, dword [0x140017014]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rcx + 8], rax
mov qword [rsp + 0x28], r11
lea r8, [0x140001080]
xor r9d, r9d
mov dword [rsp + 0x20], r11d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x14000188c
Capabilities:
Parse pe header

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

Function at 0x140003c74
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003aa0
Function at 0x14000c140
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
cmp qword [rcx + 0x80], 0
je 0x14000c16d
mov rax, qword [rsi + 0x18]
lea rcx, [rsi + 0x70]
cmp qword [rax], rcx
je 0x14000c174
cmp qword [rsi + 0x68], 0
jne 0x14000c19e
jmp 0x14000c223
xor eax, eax
jmp 0x14000c23d
mov ecx, dword [rsi + 0x90]
mov rdx, qword [rsi + 0x88]
mov qword [rax], rdx
mov rax, qword [rsi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rsi + 0x50]
mov dword [rax], ecx
cmp qword [rsi + 0x68], 0
je 0x14000c223
cmp byte [rsi + 0x71], 0
je 0x14000c223
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000c21b
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x14000c21f
cmp eax, 1
je 0x14000c1ee
test eax, eax
jne 0x14000c21b
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14000c215
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000c21b
cmp byte [rsi + 0x71], 0
je 0x14000c223
xor edi, edi
jmp 0x14000c226
mov byte [rsi + 0x71], 0
mov rdi, rsi
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, eax
xor eax, eax
test ecx, ecx
cmove rax, rdi
mov byte [rsi + 0x7c], 0
mov byte [rsi + 0x71], 0
lea rcx, [rsi + 8]
mov qword [rsi + 0x18], rcx
lea rcx, [rsi + 0x10]
mov qword [rsi + 0x20], rcx
lea rcx, [rsi + 0x28]
mov qword [rsi + 0x38], rcx
lea rcx, [rsi + 0x30]
mov qword [rsi + 0x40], rcx
lea rcx, [rsi + 0x48]
mov qword [rsi + 0x50], rcx
lea rcx, [rsi + 0x4c]
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x80], 0
mov rcx, qword [0x14004596c]
mov qword [rsi + 0x74], rcx
mov qword [rsi + 0x68], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000c3a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
cmp edx, 0xffffffff
je 0x14000c4a3
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000c3ea
mov rdx, qword [rdi + 0x58]
mov r8d, dword [rdx]
test r8d, r8d
jle 0x14000c3ea
dec r8d
mov dword [rdx], r8d
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x14000c514
cmp qword [rdi + 0x80], 0
je 0x14000c4a7
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
je 0x14000c4ae
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14000c4da
mov byte [rsp + 0x4f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x50]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x4f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x14000c4f3
mov r15, qword [rsp + 0x50]
sub r15, r14
je 0x14000c493
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x14000c512
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x58], rbx
mov eax, 0xffffffff
jmp 0x14000c50d
xor esi, esi
jmp 0x14000c514
mov esi, 0xffffffff
jmp 0x14000c514
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x14000c416
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x14000c514
cmp eax, 3
jne 0x14000c512
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x4f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000c9c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14000c9fb
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14000ca02
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
xor esi, esi
jmp 0x14000caf9
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ca55
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x14000ca55
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x14000ca66
jmp 0x14000caf6
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x14000caf6
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x14000ca92
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x14000cad1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x14000caa0
jmp 0x14000caf6
test r14, r14
je 0x14000caf3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x14000caf6
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14000cb10
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14000cb46
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000cb93
test rsi, rsi
jle 0x14000cb93
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x14000cb93
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x14000cb9b
jmp 0x14000cbbb
mov r14, rsi
test r14, r14
jle 0x14000cbbb
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14000cbbb
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000cbd0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [rcx + 0x38]
lea r13, [rcx + 0x70]
cmp qword [rax], r13
mov rax, qword [rcx + 0x68]
sete bpl
cmp r9d, 1
sete r15b
test rax, rax
sete r12b
cmp qword [rcx + 0x80], 0
je 0x14000ccfa
mov ebx, r9d
mov r14, r8
mov rdi, rcx
test rax, rax
je 0x14000ccb6
cmp byte [rdi + 0x71], 0
je 0x14000ccb6
mov rax, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000ccfa
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x40]
cmp eax, 3
je 0x14000ccb2
cmp eax, 1
lea rcx, [rsp + 0x40]
je 0x14000cc7f
test eax, eax
jne 0x14000ccfa
mov byte [rdi + 0x71], 0
mov rax, qword [rsp + 0x38]
sub rax, rcx
je 0x14000ccaa
mov r9, qword [rdi + 0x80]
mov edx, 1
mov r8, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x30], rax
jne 0x14000ccfa
cmp byte [rdi + 0x71], 0
jne 0x14000ccfa
jmp 0x14000ccb6
mov byte [rdi + 0x71], 0
and r15b, r12b
and r15b, bpl
movzx eax, r15b
sub r14, rax
cmp ebx, 1
jne 0x14000cccd
test r14, r14
je 0x14000cce4
mov rcx, qword [rdi + 0x80]
mov rdx, r14
mov r8d, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x14000ccfa
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
test eax, eax
je 0x14000cd1c
mov qword [rsi], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdi + 0x18]
cmp qword [rax], r13
jne 0x14000cd44
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rax, qword [rdi + 0x74]
mov rcx, qword [rsp + 0x40]
mov qword [rsi], rcx
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], rax
jmp 0x14000cd08
Function at 0x14000cd60
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rax, qword [r8 + 8]
add rax, qword [r8]
mov qword [rsp + 0x30], rax
cmp qword [rcx + 0x80], 0
je 0x14000ce3a
mov rbx, r8
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x14000ce24
cmp byte [rdi + 0x71], 0
je 0x14000ce24
mov rax, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000ce3a
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], r8
lea r14, [rsp + 0x40]
mov r8, r14
call qword [rax + 0x40]
cmp eax, 3
je 0x14000ce20
cmp eax, 1
je 0x14000cdf1
test eax, eax
jne 0x14000ce3a
mov byte [rdi + 0x71], 0
mov r15, qword [rsp + 0x38]
sub r15, r14
je 0x14000ce18
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x14000ce3a
cmp byte [rdi + 0x71], 0
jne 0x14000ce3a
jmp 0x14000ce24
mov byte [rdi + 0x71], 0
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fsetpos]
test eax, eax
je 0x14000ce57
mov qword [rsi], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x74], rax
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x70]
cmp qword [rcx], rdx
jne 0x14000ce8f
mov eax, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rcx], rdx
mov rcx, qword [rdi + 0x38]
mov qword [rcx], rdx
sub eax, edx
mov rcx, qword [rdi + 0x50]
mov dword [rcx], eax
mov rax, qword [rdi + 0x74]
mov rcx, qword [rsp + 0x30]
mov qword [rsi], rcx
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], rax
jmp 0x14000ce48
Function at 0x1400126a0
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 0x10], 0xfffffffffffffffe
lea r8, [rdx + 0xfff]
and r8, 0xfffffffffffff000
mov qword [rbp - 0x20], rcx
mov rcx, qword [rcx]
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140012745
mov rdi, qword [rbp - 0x20]
mov rax, qword [rdi + 0x20]
cmp rax, 0x10
jb 0x140012726
mov rcx, qword [rdi + 8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140012721
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140012788
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140031c88
mov qword [rdi + 0x18], 0
mov qword [rdi + 0x20], 0xf
mov byte [rdi + 8], 0
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x14], eax
lea rcx, str._panic__Allocation_failed:_:x_n
lea rdx, [rbp - 0x14]
call fcn.1400143d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14001278e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140013270
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x2178
call fcn.140031df0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x20e0], xmm6
mov qword [rbp + 0x20d8], 0xfffffffffffffffe
mov rsi, rdx
mov r8d, ecx
xor ebx, ebx
mov ecx, 0x410
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400134d5
mov rdi, rax
lea rdx, [rbp - 0x60]
lea r9, [rbp + 0x20d4]
mov rcx, rax
mov r8d, 0x2000
call sub.KERNEL32.dll_K32EnumProcessModules
xor ebx, ebx
test eax, eax
je 0x1400134d5
cmp dword [rbp + 0x20d4], 8
jb 0x1400134d5
xor r13d, r13d
lea rbx, [rbp + 0x1fa0]
xorps xmm6, xmm6
lea r14, [rbp + 0x20b0]
mov qword [rbp + 0x20a8], rsi
jmp 0x14001333f
add r15, 0x28
mov rdx, r15
mov rcx, rax
call fcn.140031c88
test r12b, r12b
jne 0x1400134d3
inc r13
mov eax, dword [rbp + 0x20d4]
shr rax, 3
cmp r13, rax
jae 0x1400134cf
mov rdx, qword [rbp + r13*8 - 0x60]
mov rcx, rdi
mov r8, rbx
mov r9d, 0x104
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x140013329
movaps xmmword [rbp + 0x20c0], xmm6
movaps xmmword [rbp + 0x20b0], xmm6
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
js 0x1400134f2
mov r15, rax
cmp rax, 0xf
ja 0x1400133b0
mov qword [rbp + 0x20c0], r15
mov qword [rbp + 0x20c8], 0xf
mov rcx, r14
mov rdx, rbx
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add r15, rbp
add r15, 0x20b0
jmp 0x14001342a
mov rsi, rdi
mov rdi, r14
mov r14, r15
or r14, 0xf
cmp r14, 0x17
mov eax, 0x16
cmovb r14, rax
cmp r14, 0xfff
jb 0x1400133eb
lea rcx, [r14 + 0x28]
call fcn.140031c44
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x1400133f7
lea rcx, [r14 + 1]
call fcn.140031c44
mov r12, rax
mov qword [rbp + 0x20b0], r12
mov qword [rbp + 0x20c0], r15
mov qword [rbp + 0x20c8], r14
mov rcx, r12
mov rdx, rbx
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add r15, r12
mov r14, rdi
mov rdi, rsi
mov rsi, qword [rbp + 0x20a8]
mov byte [r15], 0
mov r8, qword [rsi + 0x10]
mov rax, qword [rbp + 0x20c0]
sub rax, r8
jae 0x140013460
mov r15, qword [rbp + 0x20c8]
xor r12d, r12d
cmp r15, 0x10
jb 0x140013320
jmp 0x14001349c
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14001346d
mov rdx, qword [rsi]
mov r15, qword [rbp + 0x20c8]
mov rcx, r14
cmp r15, 0x10
jb 0x140013484
mov rcx, qword [rbp + 0x20b0]
add rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete r12b
cmp r15, 0x10
jb 0x140013320
mov rcx, qword [rbp + 0x20b0]
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x14001331b
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jb 0x140013311
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor ebx, ebx
jmp 0x1400134d5
mov bl, 1
mov eax, ebx
movaps xmm6, xmmword [rbp + 0x20e0]
add rsp, 0x2178
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14000b6a0
int3
Function at 0x140014eb0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov r12d, 0x10000
lea r8, [rsp + 0x30]
mov edx, 0x10000
mov r9d, 0x30
call sub.KERNEL32.dll_VirtualQueryEx
test rax, rax
je 0x1400150cf
xor r14d, r14d
lea r15, [rsp + 0x60]
lea rbp, [rsp + 0x30]
jmp 0x140014f50
mov ecx, 0x57
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
add r13, rax
mov r9d, 0x30
mov rcx, rbx
mov rdx, r13
mov r8, rbp
call sub.KERNEL32.dll_VirtualQueryEx
mov r12, r13
test rax, rax
je 0x14001509a
mov r13, qword [rsp + 0x48]
mov eax, r13d
not eax
shl rax, 0x34
je 0x14001509a
mov rax, qword [rsp + 0x30]
lea rcx, [rax + r13]
cmp rcx, r12
jb 0x14001509a
cmp dword [rsp + 0x50], 0x1000
jne 0x140014f2d
mov ecx, dword [rsp + 0x54]
cmp cl, 1
je 0x140014f2d
and ecx, 0x100
jne 0x140014f2d
test r12, r12
je 0x140014f19
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov r9d, 0x30
mov rcx, rbx
mov rdx, r12
mov r8, r15
call sub.KERNEL32.dll_VirtualQueryEx
test rax, rax
je 0x140014f23
mov qword [rsp + 0x20], 0
mov r9d, 0x40
mov rcx, rbx
mov rdx, r12
lea r8, [rsp + 0x98]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x140014f23
movzx eax, word [rsp + 0x98]
cmp eax, 0x5a4d
jne 0x14001504c
mov eax, dword [rsp + 0xd4]
cmp rax, 0x40
jb 0x14001504c
cmp qword [rsp + 0x78], rax
jb 0x14001504c
movsxd rdx, eax
add rdx, r12
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
mov rcx, rbx
lea r8, [rsp + 0xd8]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x140014f23
cmp dword [rsp + 0xd8], 0x4550
je 0x140015056
mov ecx, 0xc1
jmp 0x140014f1e
movzx eax, word [rsp + 0xee]
test eax, 0x2000
cmove r14, r12
add r12, 0x10000
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov r9d, 0x30
mov rcx, rbx
mov rdx, r12
mov r8, rbp
call sub.KERNEL32.dll_VirtualQueryEx
test rax, rax
jne 0x140014f50
test r14, r14
je 0x1400150cf
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call sub.KERNEL32.dll_IsWow64Process
test eax, eax
je 0x1400150d9
mov r8d, dword [rsp + 0xd8]
mov dword [rsp + 0x20], edi
mov rcx, rbx
mov rdx, r14
mov r9, rsi
call fcn.140015100
jmp 0x1400150db
mov ecx, 0x10dd
call sub.KERNEL32.dll_SetLastError
xor eax, eax
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret