joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140194a70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov ecx, dword [0x1401e2c08]
mov eax, dword [0x1401e2c0c]
mov edx, 0x8698f0c7
xor edx, 0xdafb14e1
add ecx, edx
sub ecx, eax
sub ecx, 0x5c63e426
mov eax, ecx
or eax, 0x9c91e747
xor eax, 0xffffffff
or ecx, 0x9c91e747
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
mov ecx, 0xcb263941
xor ecx, 0xf94c30cf
add eax, ecx
xor ecx, ecx
sub ecx, 0x991c673e
sub eax, ecx
cmp eax, 0x4ad8c122
je 0x140194b98
mov eax, dword [0x1401e2c10]
or eax, dword [0x1401e2c14]
mov ecx, 0x84ee2442
xor ecx, 0x5fe47cbc
imul eax, ecx
mov ecx, 0xa93c443b
xor ecx, 0xa93c443b
mov edx, 0x1b0f1473
xor edx, 0xbbeac13d
sub ecx, edx
sub eax, ecx
and eax, 0x55d43c73
mov dword [rsp + 0x30], eax
call fcn.1401942fc
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax]
call fcn.140194317
mov cl, al
mov eax, dword [rsp + 0x30]
mov byte [rsp + 0x37], cl
cmp eax, 0x72ad204c
jae 0x140194adc
mov al, byte [rsp + 0x37]
test al, 1
jne 0x140194b59
jmp 0x140194b86
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140194230
mov rax, qword [rsp + 0x28]
cmp byte [rax], 0
jne 0x140194b93
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov edx, 8
call fcn.14000de70
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
add rsp, 0x48
ret
bnd jmp 0x17c02e7df

Function at 0x140194de0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
call fcn.1401942fc
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
call fcn.140194317
test al, 1
jne 0x140194e0a
jmp 0x140194edc
mov eax, dword [0x1401e2c28]
xor eax, 0x8b151dd5
imul eax, dword [0x1401e2c2c]
or eax, 0xd1b9fcab
and eax, 0x8a65f2e8
mov ecx, 0xb245a4c4
xor ecx, 0x6629104a
xor edx, edx
div ecx
cmp eax, 0xcde4af13
ja 0x140194ee2
mov rcx, qword [rsp + 0x38]
mov eax, dword [0x1401e2c30]
mov edx, dword [0x1401e2c34]
add eax, 0xe14d4982
sub eax, edx
sub eax, 0xe14d4982
mov r8d, 0x4d0dc923
xor r8d, 0xfee3c11b
xor edx, edx
div r8d
or eax, 0x2a0807a6
mov edx, eax
and edx, 0xc037757a
shl edx, 1
add eax, 0xc037757a
sub eax, edx
mov dword [rsp + 0x30], eax
mov eax, 0xb1a2f918
xor eax, 0x48b66944
mov dword [rsp + 0x2c], eax
call fcn.140194430
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x30]
cmp byte [rdx], 0
sete dl
mov byte [rsp + 0x37], dl
cmp eax, ecx
je 0x140194e40
invalid
mov al, byte [rsp + 0x37]
test al, 1
jne 0x140194ecd
jmp 0x140194edc
mov rcx, qword [rsp + 0x38]
mov edx, 8
call fcn.14000de70
nop
add rsp, 0x48
ret
test dword [rdi], edi
loop 0x140194e6e
jmp 0x140194e40
Function at 0x1401a7690
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], rcx
call fcn.1401a7075
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
call fcn.1401a7090
test al, 1
jne 0x1401a76ba
jmp 0x1401a76f9
mov rcx, qword [rsp + 0x28]
call fcn.1401a75cb
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov cl, 0x87
xor cl, 0x87
cmp al, cl
jne 0x1401a76f9
mov rcx, qword [rsp + 0x28]
movabs rdx, 0xc9f4547926d0d912
movabs rax, 0xc9f4547926d0d91a
xor rdx, rax
call fcn.14000de70
mov ecx, dword [0x1401e33f8]
mov edx, dword [0x1401e33fc]
mov eax, ecx
add eax, 1
mov r8d, 0x489dcba7
xor r8d, 0xb7623458
xor ecx, r8d
or ecx, edx
add ecx, eax
mov edx, 0x44607b12
xor edx, 0xe1cf129f
mov eax, ecx
xor eax, edx
mov edx, 0xffffffff
xor edx, 0xa5af698d
and ecx, edx
shl ecx, 1
sub ecx, eax
add ecx, 0x5c63e426
sub ecx, 0x30187cb3
sub ecx, 0x5c63e426
mov edx, 0xb6294787
xor edx, 0x2ab8a0c0
mov eax, ecx
or eax, edx
mov edx, 0x8ff5921e
xor edx, 0x700a6de1
xor eax, edx
or ecx, 0x9c91e747
xor ecx, 0xffffffff
xor eax, 0xffffffff
mov edx, 0xc831cefd
xor edx, 0x37ce3102
xor ecx, edx
and eax, ecx
cmp eax, 0x576878c0
je 0x1401a77cc
mov eax, dword [0x1401e3400]
add eax, dword [0x1401e3404]
xor ecx, ecx
sub ecx, 0x8b2812d4
add eax, ecx
or eax, 0x987f50e1
imul eax, eax, 0xdb0a58fe
mov ecx, 0xdbc25b8a
xor ecx, 0x749604ee
cmp eax, ecx
jae 0x1401a7793
add rsp, 0x38
ret
bnd jmp 0xff041413
Function at 0x1401bf280
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x60], r8
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rcx
mov eax, 0x10
call fcn.1401d7280

Function at 0x1401c2490
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x1e0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x158], rcx
mov eax, dword [0x1401e3e70]
mov ecx, dword [0x1401e3e74]
xor ecx, 0x5404569
imul eax, ecx
mov ecx, eax
and ecx, 0x3e8c1bb9
or eax, 0x3e8c1bb9
add ecx, eax
add ecx, 0x72a3ab57
mov edx, 0xd1e578e7
xor edx, 0x2e1a8718
mov eax, ecx
xor eax, edx
and eax, 0x6723ab8a
mov edx, 0xffffffff
xor edx, 0x6723ab8a
and ecx, edx
or eax, ecx
cmp eax, 0x4e5fda8e
je 0x1401c35a8
mov eax, dword [0x1401e3e78]
Function at 0x1401cde68
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, qword gs:[0x60]
movzx rax, byte [rax + 2]
ret
Function at 0x1401d4c3a
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
sub rsp, 0x38
call fcn.140161699
mov qword [rsp + 0x28], rax
movabs rcx, 0x187c9cf125abf135
movabs rax, 0x187c9cf125abf115
xor rcx, rax
call fcn.140048250
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rcx
mov al, byte [rax + 0x60]
mov cl, 0x71
xor cl, 0x71
cmp al, cl
jne 0x140161694
mov rax, qword [rsp + 0x30]
mov qword [0x14025fd08], rax
add rsp, 0x38
ret
sub rsp, 0x28
call fcn.14006057c
call fcn.140061bc7
call fcn.1400624a0
call fcn.14006779c
call fcn.1400968f0
call fcn.14009f870
call fcn.1400c7e30
call fcn.14010538b
call fcn.14010fda0
call fcn.140122feb
call fcn.140124080
call fcn.14014e561
nop
add rsp, 0x28
jmp 0x140161641
sub rsp, 0x28
call fcn.1400036b5
call fcn.1400038f3
call fcn.1400050dd
call fcn.14002e3ff
mov rax, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rax
mov ecx, eax
mov rax, qword [0x1401eeb10]
mov dword [rax], ecx
mov rdx, qword [0x1401eeb20]
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
call fcn.14002e3fa
call fcn.140098e64
call fcn.140098f0c
call fcn.140123014
call fcn.1401cdfcd
call fcn.1401cf771
nop
add rsp, 0x28
jmp 0x1401d4bf0

Function at 0x1401d6be2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14025fe68]
test eax, eax
je 0x1401d6c7a
lea rax, [0x14025fe40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14025fe70]
mov qword [rbp - 8], rax
jmp 0x1401d6c5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1401d6c52
cmp qword [rbp - 0x10], 0
je 0x1401d6c52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1401d6c18
lea rax, [0x14025fe40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1401d6c7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1401d6d80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1401d6da8
mov eax, 0
jmp 0x1401d6df6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1401d6dd1
mov eax, 0
jmp 0x1401d6df6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1401d6df1
mov eax, 0
jmp 0x1401d6df6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1401d6dfc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1401d6e7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1401d6e71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1401d6e71
mov rax, qword [rbp - 8]
jmp 0x1401d6e8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1401d6e44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140008ff0
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 0x140009018
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 0x14000903e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009040
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009099
test ecx, ecx
jle 0x140009079
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 0x140009099
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009099
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

Function at 0x1400090c0
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 0x1400090e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400090f8
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 0x140009114
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009116
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009152
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 0x1400091ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000918d
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 0x1400091ce
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 0x1400091ee
cmp rbx, rax
ja 0x1400091a0
test rbx, rbx
je 0x1400091ee
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
Function at 0x140009650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000967d
xor eax, eax
jmp 0x1400097e9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400096b7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400096b7
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 0x1400097e9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400097dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400096fa
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 0x140009725
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 0x1400097e1
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 0x140009794
sub eax, 1
je 0x140009794
cmp eax, 2
jne 0x1400097dc
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 0x1400097e1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400097c2
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 0x1400097dc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400097e1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400140d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140009f30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000a003
cmp byte [rcx + 0x71], 0
je 0x14000a003
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140009fff
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 0x140009fc4
sub eax, 1
je 0x140009fc8
cmp eax, 2
jne 0x140009fff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400140d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140009ff6
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 0x140009fff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140009fac
xor al, al
jmp 0x140009fac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400140d0
add rsp, 0x60
pop rbx
ret
Function at 0x14000f460
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000f572
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000f572
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x14000f4d9
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14000f57d
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x14000f560
mov edx, dword [rbx + 4]
test edx, edx
je 0x14000f560
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14000f539
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14000f555
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000fb00
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000f4f1
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14000f57d
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400140d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400115d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x140011661
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140011661
cmp dword [rsp + 0x38], edi
je 0x14001165d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140011643
jmp 0x140011661
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x140011670
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400140d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400116a0
Capabilities:
Get explorer pid

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetShellWindow]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.1400115d0
cmp eax, dword [rsp + 0x20]
jne 0x14001172d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Pausing_to_allow_for_debugging
call fcn.14000a4f0
lea rdx, [0x14000a6d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Press_enter_to_close
call fcn.14000a4f0
lea rdx, [0x14000a6d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400140d0
add rsp, 0x38
ret
Function at 0x1400133d0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14001345e
test rbx, rbx
je 0x140013426
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140013410
test eax, eax
jns 0x14001347f
test rbx, rbx
je 0x140013484
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140013582
test rbx, rbx
jne 0x14001348b
xor eax, eax
jmp 0x140013582
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140013562
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400134e0
lea rcx, [rsp + 0x28]
call fcn.14000cb20
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140013500
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140013598
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140013558
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013553
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400135e1
call fcn.1400140f0
inc edi
cmp edi, dword [rbx]
jb 0x1400134a4
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400140d0
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400135ed
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400135e8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400135e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400140f0
mov rax, rdi
jmp 0x140013575