joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d7270
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d7c72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fc108]
test eax, eax
je 0x2fc4d7d0a
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fc110]
mov qword [rbp - 8], rax
jmp 0x2fc4d7cee
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 0x2fc4d7ce2
cmp qword [rbp - 0x10], 0
je 0x2fc4d7ce2
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 0x2fc4d7ca8
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d7d0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7e10
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 0x2fc4d7e38
mov eax, 0
jmp 0x2fc4d7e86
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 0x2fc4d7e61
mov eax, 0
jmp 0x2fc4d7e86
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 0x2fc4d7e81
mov eax, 0
jmp 0x2fc4d7e86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d7e8c
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 0x2fc4d7f0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d7f01
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 0x2fc4d7f01
mov rax, qword [rbp - 8]
jmp 0x2fc4d7f1f
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 0x2fc4d7ed4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18001b170
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12d, edx
mov rbx, rcx
movzx ecx, byte [rcx + 0x138]
test r9b, r9b
je 0x18001b250
test cl, 2
jne 0x18001b230
or cl, 6
and cl, 0xf7
mov byte [rbx + 0x138], cl
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov eax, dword [rcx + 0x38c]
cmp eax, 6
je 0x18001b1d2
add eax, 0xfffffff7
cmp eax, 1
ja 0x18001b230
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rbx + 0xac], xmm0
movups xmm1, xmmword [rbx + 0x3c]
movups xmmword [rbx + 0xbc], xmm1
movups xmm0, xmmword [rbx + 0x4c]
movups xmmword [rbx + 0xcc], xmm0
movups xmm1, xmmword [rbx + 0x5c]
movups xmmword [rbx + 0xdc], xmm1
movups xmm0, xmmword [rbx + 0x6c]
movups xmmword [rbx + 0xec], xmm0
movups xmm1, xmmword [rbx + 0x7c]
movups xmmword [rbx + 0xfc], xmm1
movups xmm0, xmmword [rbx + 0x8c]
movups xmmword [rbx + 0x10c], xmm0
movups xmm1, xmmword [rbx + 0x9c]
movups xmmword [rbx + 0x11c], xmm1
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, cl
and al, 6
cmp al, 6
jne 0x18001b230
and cl, 0xfb
or cl, 8
mov byte [rbx + 0x138], cl
xor bpl, bpl
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
movsxd rdi, eax
mov r14, rdi
mov eax, 8
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800862cc
mov r15, rax
mov rdx, rax
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
test edi, edi
jle 0x18001b379
xor r13d, r13d
mov esi, r13d
nop
test bpl, bpl
jne 0x18001b379
mov rax, qword [r15 + rsi*8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x98]
lea r8, [0x1800fcc60]
xor edx, edx
mov ecx, r12d
call qword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
jne 0x18001b2f8
mov word [rsp + 0x98], r13w
jmp 0x18001b36d
cmp word [rsp + 0x98], 0
je 0x18001b36d
mov rcx, qword [rbx + 0x10]
call fcn.18001e7b0
mov rdi, rax
movzx edx, word [rsp + 0x98]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_unsigned_short_int____ptr64]
lea rdx, [rsp + 0x42]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QChar___cdecl_QChar::toUpper_void____ptr64]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int____ptr64___cdecl_QChar::unicode_void____ptr64]
movzx edx, word [rax]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QKeySequence::constructor_int__int__int__int____ptr64]
nop
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.UICommon.dll_public:_bool___cdecl_UIActionPool::processHotKey_class_QKeySequence_const____ptr64____ptr64]
movzx ebp, al
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QKeySequence::destructor_void____ptr64]
inc rsi
cmp rsi, r14
jl 0x18001b2b0
mov rcx, r15
call fcn.180085a90
mov rax, qword [rsp + 0xa0]
mov byte [rax], bpl
mov al, 1
jmp 0x18001b232
Function at 0x100401000
Capabilities:
Packed with generic packer

Disassembly:
sub rsp, 0x28
lea rcx, [0x100412270]
call fcn.100411cb0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cd0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411ce0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cf0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100411d00
add byte [rax], al

Function at 0x100411cb0
Capabilities:
Packed with generic packer

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al

Function at 0x100411cd0
Capabilities:
Packed with generic packer

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
clc
rol dword [rax], cl
add byte [rax + 3], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
je 0x100411d5e

Function at 0x100411ce0
Capabilities:
Packed with generic packer

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
clc
rol dword [rax], cl
add byte [rax + 3], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
je 0x100411d5e

Function at 0x100411cf0
Capabilities:
Packed with generic packer

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
clc
rol dword [rax], cl
add byte [rax + 3], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
je 0x100411d5e
Function at 0x140011267
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400160e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016100
xor al, al
jmp 0x140016181
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016113
xor al, al
jmp 0x140016181
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 0x14001613d
xor al, al
jmp 0x140016181
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016151
xor al, al
jmp 0x140016181
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016163
xor al, al
jmp 0x140016181
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001617f
xor al, al
jmp 0x140016181
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4d6830
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d7232
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fb108]
test eax, eax
je 0x2fc4d72ca
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fb110]
mov qword [rbp - 8], rax
jmp 0x2fc4d72ae
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 0x2fc4d72a2
cmp qword [rbp - 0x10], 0
je 0x2fc4d72a2
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 0x2fc4d7268
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d72cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d73d0
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 0x2fc4d73f8
mov eax, 0
jmp 0x2fc4d7446
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 0x2fc4d7421
mov eax, 0
jmp 0x2fc4d7446
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 0x2fc4d7441
mov eax, 0
jmp 0x2fc4d7446
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140709a60
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140709a6a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140709a93
pop rbp
sub rbp, 0x33
sub rbp, 0x709a60
sub rsp, 0x20
jmp 0x140709ab2
mov rax, 0x709a60
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x48e5ae87
xor byte [rax], dl
inc rax
dec rcx
jne 0x140709ad1
jmp 0x140709ae8
iretd
Function at 0x8d6be0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x8d6bed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x8d6bfd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x8d6be5
lea eax, [rcx + 1]
jmp 0x8d6c0b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x8d6c1e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x8d6c04
sub eax, 3
jb 0x8d6c3e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x8d6c8d
sar eax, 1
movsxd rbp, eax
jb 0x8d6c74
jmp 0x8d6c4c
add ebx, ebx
jne 0x8d6c4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x8d6c74
inc ecx
add ebx, ebx
jne 0x8d6c5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x8d6c74
call r11
adc ecx, ecx
add ebx, ebx
jne 0x8d6c6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x8d6c5c
add ecx, 2
jmp 0x8d6c79
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.008d6ba2
jmp 0x8d6bed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x35b200
mov dl, 0x63
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x8d6cd9
cmp rsi, rcx
jae 0x8d6ce1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x8d6cc0
cmp al, 0x8f
ja 0x8d6cc0
cmp byte [rsi - 2], 0xf
je 0x8d6cc6
sub al, 0xe8
cmp al, 1
ja 0x8d6caa
cmp rsi, rcx
jae 0x8d6ce1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x8d6cb0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x8d6ce1
lodsb al, byte [rsi]
jmp 0x8d6cc0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4bd000]
mov eax, dword [rdi]
or eax, eax
je 0x8d6d3e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4da4e0]
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 0x8d6cee
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 0x8d6d38
mov qword [rbx], rax
add rbx, 8
jmp 0x8d6d0e
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 0x8d6d78
cmp al, 0xef
ja 0x8d6d6a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x8d6d4a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x8d6d59
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 + 0x22f]
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 0x8d6dcc
sub rsp, 0xffffffffffffff80
jmp 0x74d610
Function at 0x14000cee0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx], 0
je 0x14000cf6f
mov r14, rdx
mov rsi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9, qword [rcx]
lea rcx, str._Warning:
mov edx, 0xd
mov r8d, 1
call fcn.140017080
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsi]
call fcn.1400020c0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov r8, r14
xor r9d, r9d
call fcn.140010b74
mov r9, qword [rsi]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140017080
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400195d0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140013f1c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140014054
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400140bb
xor ecx, ecx
call qword [0x1400349e8]
test rax, rax
je 0x1400140bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400140bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400140bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400140bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400140bb
cmp dword [rcx + 0xf8], 0
je 0x1400140bb
mov ecx, ebx
call fcn.140013fa0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400141e8
cmp dword [rbp + 0x20], 0
je 0x140014108
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140013ffc
int3
Function at 0x2fc4d4460
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d4e62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f9108]
test eax, eax
je 0x2fc4d4efa
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f9110]
mov qword [rbp - 8], rax
jmp 0x2fc4d4ede
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 0x2fc4d4ed2
cmp qword [rbp - 0x10], 0
je 0x2fc4d4ed2
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 0x2fc4d4e98
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d4efb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5000
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 0x2fc4d5028
mov eax, 0
jmp 0x2fc4d5076
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 0x2fc4d5051
mov eax, 0
jmp 0x2fc4d5076
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 0x2fc4d5071
mov eax, 0
jmp 0x2fc4d5076
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140003ac0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x238
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r14
mov qword [rdi + 8], r14
lea ecx, [r14 + 0x18]
call fcn.140009920
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140003be5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140003be5
movabs r15, 0xaaaaaaaaaaaaaaa
nop dword [rax]
mov rdx, rbp
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140003bd2
mov rbx, qword [rdi]
cmp qword [rdi + 8], r15
je 0x140003c18
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], r14
lea ecx, [rax + 0x18]
call fcn.140009920
mov rdx, rax
mov eax, dword [rsp + 0x48]
mov dword [rdx + 0x10], eax
inc qword [rdi + 8]
mov rcx, qword [rbx + 8]
mov qword [rdx], rbx
mov qword [rdx + 8], rcx
mov qword [rsp + 0x30], r14
mov qword [rbx + 8], rdx
mov qword [rcx], rdx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140003b80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140009900
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3