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

Disassembly:
cld
pop r11
jmp 0x1400a97ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a97fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a97e5
lea eax, [rcx + 1]
jmp 0x1400a980b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a981e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a9804
sub eax, 3
jb 0x1400a983e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a988d
sar eax, 1
movsxd rbp, eax
jb 0x1400a9874
jmp 0x1400a984c
add ebx, ebx
jne 0x1400a984a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a9874
inc ecx
add ebx, ebx
jne 0x1400a985a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a9874
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a986d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a985c
add ecx, 2
jmp 0x1400a9879
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a97a2
jmp 0x1400a97ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xca00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a98d9
cmp rsi, rcx
jae 0x1400a98e1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a98c0
cmp al, 0x8f
ja 0x1400a98c0
cmp byte [rsi - 2], 0xf
je 0x1400a98c6
sub al, 0xe8
cmp al, 1
ja 0x1400a98aa
cmp rsi, rcx
jae 0x1400a98e1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a98b0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a98e1
lodsb al, byte [rsi]
jmp 0x1400a98c0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa7000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a993e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1331e8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400a98ee
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400a9938
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a990e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400a9978
cmp al, 0xef
ja 0x1400a996a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a994a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a9959
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400a99cc
sub rsp, 0xffffffffffffff80
jmp 0x140001260
Function at 0x1400027f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rbp, rdx
lea rdx, str.Round_Key:
mov rsi, r8
call fcn.140003b10
xor edi, edi
mov r15, rsi
mov r14d, edi
nop dword [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400011e0]
movzx ebx, byte [r15]
call qword [sym.imp.MSVCP140.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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140006408]
call fcn.140003b10
inc r14d
lea r15, [r15 + 1]
cmp r14d, 0x10
jb 0x140002830
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400011c0]
call qword [sym.imp.MSVCP140.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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140003cf0]
call qword [sym.imp.MSVCP140.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]
lea rax, [rsi + 0xf]
lea rcx, [rbp + 0xf]
cmp rbp, rax
ja 0x1400028aa
cmp rcx, rsi
jb 0x1400028aa
sub rsi, rbp
jmp 0x1400028cd
mov rax, rbp
sub rsi, rbp
movdqu xmm0, xmmword [rax]
add edi, 0x10
movdqu xmm1, xmmword [rax + rsi]
lea rax, [rax + 0x10]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp edi, 0x10
jb 0x1400028b0
movsxd rax, edi
cmp rax, 0x10
jae 0x1400028f1
add rax, rbp
nop dword [rax]
movzx ecx, byte [rax + rsi]
inc edi
xor byte [rax], cl
lea rax, [rax + 1]
cmp edi, 0x10
jb 0x1400028e0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140002cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r15, rdx
xor r14d, r14d
nop
movzx r9d, byte [r15 + r14*4]
mov r10b, 2
movzx esi, byte [r15 + r14*4 + 1]
movzx r8d, r9b
movzx ebp, byte [r15 + r14*4 + 2]
xor dil, dil
movzx r11d, byte [r15 + r14*4 + 3]
movzx eax, dil
xor al, r8b
movzx ecx, al
test r10b, 1
movzx eax, dil
cmove ecx, eax
movzx eax, r8b
add al, al
movzx edi, cl
movzx edx, al
movzx ecx, r8b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r8d, al
cmovns r8d, edx
shr r10b, 1
jne 0x140002cf1
mov bl, 3
movzx r10d, sil
xor r8b, r8b
movzx eax, r8b
xor al, r10b
movzx ecx, al
test bl, 1
movzx eax, r8b
cmove ecx, eax
movzx eax, r10b
add al, al
movzx r8d, cl
movzx edx, al
movzx ecx, r10b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r10d, al
cmovns r10d, edx
shr bl, 1
jne 0x140002d33
xor r8b, dil
mov r10b, 2
xor r8b, r11b
xor r8b, bpl
mov byte [r15 + r14*4], r8b
xor dil, dil
movzx r8d, sil
movzx eax, dil
xor al, r8b
movzx ecx, al
test r10b, 1
movzx eax, dil
cmove ecx, eax
movzx eax, r8b
add al, al
movzx edi, cl
movzx edx, al
movzx ecx, r8b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r8d, al
cmovns r8d, edx
shr r10b, 1
jne 0x140002d82
mov bl, 3
movzx r10d, bpl
xor r8b, r8b
nop dword [rax]
nop dword [rax + rax]
movzx eax, r8b
xor al, r10b
movzx ecx, al
test bl, 1
movzx eax, r8b
cmove ecx, eax
movzx eax, r10b
add al, al
movzx r8d, cl
movzx edx, al
movzx ecx, r10b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r10d, al
cmovns r10d, edx
shr bl, 1
jne 0x140002dd0
xor r8b, dil
mov r10b, 2
xor r8b, r11b
xor r8b, r9b
mov byte [r15 + r14*4 + 1], r8b
xor dil, dil
movzx r8d, bpl
movzx eax, dil
xor al, r8b
movzx ecx, al
test r10b, 1
movzx eax, dil
cmove ecx, eax
movzx eax, r8b
add al, al
movzx edi, cl
movzx edx, al
movzx ecx, r8b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r8d, al
cmovns r8d, edx
shr r10b, 1
jne 0x140002e20
mov bl, 3
movzx r10d, r11b
xor r8b, r8b
movzx eax, r8b
xor al, r10b
movzx ecx, al
test bl, 1
movzx eax, r8b
cmove ecx, eax
movzx eax, r10b
add al, al
movzx r8d, cl
movzx edx, al
movzx ecx, r10b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r10d, al
cmovns r10d, edx
shr bl, 1
jne 0x140002e62
xor r8b, dil
xor r8b, sil
xor r8b, r9b
mov byte [r15 + r14*4 + 2], r8b
xor r10b, r10b
mov r8b, 3
nop
movzx eax, r10b
xor al, r9b
movzx ecx, al
test r8b, 1
movzx eax, r10b
cmove ecx, eax
movzx eax, r9b
add al, al
movzx r10d, cl
movzx edx, al
movzx ecx, r9b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r9d, al
cmovns r9d, edx
shr r8b, 1
jne 0x140002eb0
mov r9b, 2
xor al, al
nop
movzx ecx, al
xor cl, r11b
movzx edx, cl
test r9b, 1
movzx ecx, al
cmove edx, ecx
movzx ecx, r11b
add cl, cl
movzx eax, dl
movzx r8d, cl
movzx edx, r11b
movzx ecx, r8b
xor cl, 0x1b
test dl, dl
movzx r11d, cl
cmovns r11d, r8d
shr r9b, 1
jne 0x140002ef0
xor al, r10b
xor al, bpl
xor al, sil
mov byte [r15 + r14*4 + 3], al
inc r14
cmp r14, 4
jl 0x140002cd0
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x140003700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x50], 0x10eb3d60
mov dword [rbp - 0x4c], 0xbe71ca15
mov dword [rbp - 0x48], 0xf0ae732b
mov dword [rbp - 0x44], 0x81777d85
mov dword [rbp - 0x40], 0x72c351f
mov dword [rbp - 0x3c], 0xd708613b
mov dword [rbp - 0x38], 0xa310982d
mov dword [rbp - 0x34], 0xf4df1409
mov dword [rbp - 0x18], 0x73696854
mov dword [rbp - 0x14], 0x20736920
mov dword [rbp - 0x10], 0x65732061
mov dword [rbp - 0xc], 0x74657263
lea rdx, str.Testing_AES_256_encryption_and_decryption..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003b10
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call fcn.140001200
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call fcn.1400014c0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400037ec
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000420c
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400041b0
add rsp, 0x70
pop rbp
ret

Function at 0x140004b30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004b7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004b7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004b7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004b7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140004b7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004b7c
xor al, al
add rsp, 0x28
ret
Function at 0x140003e70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140003e91
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140003ebe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003ec0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003f19
test ecx, ecx
jle 0x140003ef9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140003f19
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003f19
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
push rbp
test byte [rdi], cl
or esi, ecx
sub dword [rdi - 0x68], edi
invalid
Function at 0x140003f40
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 0x140003f62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140003f71
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 0x140003f94
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003f96
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003fd2
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 0x14000406e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000400d
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 0x14000404e
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 0x14000406e
cmp rbx, rax
ja 0x140004020
test rbx, rbx
je 0x14000406e
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
out 0x4b, al
push rdi
add byte [rdi], ah
mov word [rbp - 0x48], fs
xchg ebp, eax
cmc
adc edi, dword [rcx]
invalid
Function at 0x1400044d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400044fd
xor eax, eax
jmp 0x140004669
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004537
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004537
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 0x140004669
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000465c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000457a
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 0x1400045a5
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 0x140004661
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 0x140004614
sub eax, 1
je 0x140004614
cmp eax, 2
jne 0x14000465c
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 0x140004661
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004642
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 0x14000465c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004661
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005e90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004a20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004af3
cmp byte [rcx + 0x71], 0
je 0x140004af3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004aef
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 0x140004ab4
sub eax, 1
je 0x140004ab8
cmp eax, 2
jne 0x140004aef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005e90
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004ae6
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 0x140004aef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004a9c
xor al, al
jmp 0x140004a9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005e90
add rsp, 0x60
pop rbx
ret
Function at 0x14000ed00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000ed61
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000ed20
mov ecx, dword [r9]
jmp 0x14000ee4b
cmp ecx, 0x4e0
jb 0x14000ee4b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000ed80
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000edd0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400119c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2160
call fcn.140075880
sub rsp, rax
mov rax, qword [0x140093440]
xor rax, rsp
mov qword [rsp + 0x2150], rax
lea rax, str.dbghelp.dll
mov qword [rsp + 0x28], rax
lea rax, str.dbgcore.dll
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x2000
mov rcx, rax
lea rdx, [rsp + 0x40]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140011a90
xor edi, edi
test dword [rsp + 0x20], 0xfffffff8
jbe 0x140011a90
nop dword [rax + rax]
mov rbx, qword [rsp + rdi*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x104
lea r8, [rsp + 0x2040]
mov rcx, rax
mov rdx, rbx
call sub.KERNEL32.dll_K32GetModuleBaseNameA
test eax, eax
je 0x140011a83
lea rbx, [rsp + 0x28]
nop dword [rax]
mov rdx, qword [rbx]
lea rcx, [rsp + 0x2040]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140011ab3
add rbx, 8
lea rax, [rsp + 0x38]
cmp rbx, rax
jne 0x140011a60
mov eax, dword [rsp + 0x20]
inc edi
shr eax, 3
cmp edi, eax
jb 0x140011a30
xor al, al
mov rcx, qword [rsp + 0x2150]
xor rcx, rsp
call fcn.1400758e0
mov rbx, qword [rsp + 0x2170]
add rsp, 0x2160
pop rdi
ret
mov al, 1
jmp 0x140011a92
Function at 0x140013ee0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x140093440]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor r14d, r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [r8 + 0x10], r14
je 0x140014082
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140014078
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140013f92
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x28]
call fcn.140002ae0
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140013fbc
mov rax, qword [rsi]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsi + 0x10]
jne 0x140013ffe
test rdx, rdx
je 0x140013ffa
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140013ffe
add rax, 2
sub rdx, 1
jne 0x140013fe6
mov bl, 1
jmp 0x140014000
xor bl, bl
cmp r10, 7
jbe 0x14001403b
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140014033
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400140b5
mov rcx, r9
call fcn.140075518
test bl, bl
je 0x140014063
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140014056
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140014063
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.140003400
lea rdx, [rsp + 0x60]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140013f71
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.1400157e0
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400758e0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3