joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4934e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4935aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0063b6b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x49358f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004ebc80]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x49357e
mov edi, 1
lea rsi, [0x004ebc80]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0053ab88]
lea rsi, [0x0053a1e8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x4a38a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a394c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0063b6b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4a3913
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call sym.runtime.stringtoslicebyte
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x4a3926
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x4a3939
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x4a3923
mov byte [rax + rcx], dl
jmp 0x4a3923
mov rcx, rbx
mov rbx, rax
xor eax, eax
call sym.runtime.slicebytetostring
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp sym.internal_filepathlite.replaceStringByte
Function at 0x1808172a2
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffff965ce7bb
call fcn.180e133fc
xor esi, dword [rax - 0x43]
sub byte [rbx], dh
mov eax, 0x803340bd
mov ebp, 0xbd3833a8
pop rax
xor ebp, dword [rax - 0x43]
movabs al, byte [0x8bd503330bd8833]
xor edx, dword [rax + 0x783318bd]
clc
out dx, al
invalid
Function at 0x1400011d0
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x50
mov qword [rax - 0x28], 0
movzx edi, r9w
xor r9d, r9d
movzx ebp, r8w
movzx r12d, dx
mov dword [rax - 0x30], 0x80
lea r8d, [r9 + 1]
mov edx, 0xc0000000
mov rsi, rcx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001291
lea r8, [rsp + 0x48]
movzx edx, bp
movzx ecx, r12w
call qword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x140001279
mov rcx, qword [rsp + 0x48]
mov eax, 0x100
mov qword [rsp + 0x40], rcx
test ax, di
ja 0x140001263
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, di
mov rcx, rsi
and edx, 0x27
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
Function at 0x14001c55b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400375a0]
jne 0x140015faa
rol rcx, 0x10
test cx, 0xffff
jne 0x140015fa6
repz ret
ror rcx, 0x10
jmp 0x14001c4b4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140039440]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140039538]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001c539
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140039440]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001c55b
mov rax, qword [rsp + 0x88]
mov qword [0x140039538], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400394d8], rax
mov rax, qword [0x140039538]
mov qword [0x1400393b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400394c0], rax
mov dword [0x1400393a0], 0xc0000409
mov dword [0x1400393a4], 1
mov rax, qword [0x1400375a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400375a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140039438], eax
mov ecx, 1
call fcn.140025878
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002c310]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140039438], 0
jne 0x14001c5e2
mov ecx, 1
call fcn.140025878
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14001d6f0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001d560
Function at 0x140025a90
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400375a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001dc2c
xor ebx, ebx
cmp qword [0x14003a4e0], rbx
mov rdi, rax
jne 0x140025ba3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140025c7a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140025c7a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14003a4e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14003a4e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14003a4f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14003a500], rax
test rax, rax
je 0x140025b9a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14003a4f8], rax
jmp 0x140025baa
mov rax, qword [0x14003a4f8]
jmp 0x140025bb1
mov rax, qword [0x14003a4f8]
mov r11, qword [0x14003a500]
cmp rax, rdi
je 0x140025c18
cmp r11, rdi
je 0x140025c18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14003a500]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140025c18
test rax, rax
je 0x140025c18
call rsi
test rax, rax
je 0x140025c12
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140025c12
test byte [rsp + 0x40], 1
jne 0x140025c18
bts ebp, 0x15
jmp 0x140025c58
mov rcx, qword [0x14003a4e8]
cmp rcx, rdi
je 0x140025c58
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025c58
call rax
mov rbx, rax
test rax, rax
je 0x140025c58
mov rcx, qword [0x14003a4f0]
cmp rcx, rdi
je 0x140025c58
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025c58
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14003a4e0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025c7a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140025c7c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140015f90
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400064e0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400064f0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140002f70
jmp 0x14000123c
mov rax, qword [0x1400064f0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400064f0]
mov dword [rax], 1
mov rax, qword [0x140006530]
mov rdx, rax
mov rax, qword [0x140006520]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14000a024], 1
mov rax, qword [0x1400064f0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140006510]
mov rdx, rax
mov rax, qword [0x140006500]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400064f0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400064e0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140006440]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140006440]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400021f8
mov rax, qword [0x140006570]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400064d0]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400019f0
mov eax, dword [0x14000a004]
lea rdx, [0x14000a008]
mov ecx, eax
call fcn.14000147c
call fcn.140001787
mov rax, qword [0x140006460]
mov rax, qword [rax]
mov rdx, qword [0x14000a010]
mov qword [rax], rdx
mov rcx, qword [0x14000a010]
mov rdx, qword [0x14000a008]
mov eax, dword [0x14000a004]
mov r8, rcx
mov ecx, eax
call fcn.140004080
mov dword [0x14000a01c], eax
mov eax, dword [0x14000a020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000a01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14000a024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14000a01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140006490]
mov dword [rax], 1
mov rax, qword [0x1400064a0]
mov dword [rax], 1
mov rax, qword [0x1400064b0]
mov dword [rax], 1
mov rax, qword [0x140006450]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001a00
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140002d60
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400026d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000a168]
test eax, eax
je 0x14000276a
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000a170]
mov qword [rbp - 8], rax
jmp 0x14000274e
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 0x140002742
cmp qword [rbp - 0x10], 0
je 0x140002742
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 0x140002708
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000276b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140002870
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 0x140002898
mov eax, 0
jmp 0x1400028e6
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 0x1400028c1
mov eax, 0
jmp 0x1400028e6
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 0x1400028e1
mov eax, 0
jmp 0x1400028e6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400028ec
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 0x14000296a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002961
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 0x140002961
mov rax, qword [rbp - 8]
jmp 0x14000297f
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 0x140002934
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400031a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r15
lea r15, [rcx + 0xe0]
push r14
mov r14, rdx
push r13
xor r13d, r13d
push r12
push rdi
mov rdi, r9
push rsi
mov rsi, rcx
push rbx
mov rbx, r8
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp r14, r13
je 0x1400032b0
mov rcx, qword [rsp + 0x28]
xor eax, eax
mov rdx, rdi
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x30], rax
lea r12, [rsi + 0xd0]
mov qword [rsp + 0x38], rax
call fcn.1400036d0
mov rcx, qword [rsp + 0x28]
mov rdx, r15
call fcn.1400034c0
mov rcx, qword [rsp + 0x28]
call fcn.140003660
mov rcx, qword [rsp + 0x28]
mov edx, 1
call fcn.140003a40
mov rcx, qword [rsp + 0x28]
mov rdx, r12
sub r12, 0x10
call fcn.1400034c0
mov rcx, qword [rsp + 0x28]
mov edx, 1
call fcn.1400037f0
cmp rsi, r12
jne 0x140003210
mov rcx, qword [rsp + 0x28]
call fcn.140003660
mov rcx, qword [rsp + 0x28]
mov edx, 1
call fcn.140003a40
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.1400034c0
mov rdx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.1400039f0
xor eax, eax
mov dl, byte [r12 + rax + 0xf0]
xor byte [rbx + rax], dl
inc rax
cmp rax, 0x10
jne 0x140003283
movups xmmword [r12 + 0xf0], xmm0
add rbx, 0x10
add rdi, 0x10
inc r13
jmp 0x1400031d7
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140003310
Capabilities:
Encode data using xor

Disassembly:
push rbp
xor eax, eax
mov rbp, rsp
push r12
mov r12, rcx
mov ecx, 0x3c
push rdi
mov rdi, r12
push rsi
push rbx
xor ebx, ebx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x22], rax
mov qword [rsp + 0x28], rax
xor eax, eax
rep stosd dword [rdi], eax
mov word [rsp + 0x20], 1
mov eax, ebx
mov ecx, ebx
xor r9d, r9d
sar eax, 2
and ecx, 3
cdqe
shl rax, 4
add rax, r12
mov r10b, byte [rdx + r9]
xor r8d, r8d
mov r11d, r10d
shr r10b, 1
and r11d, 1
shl r11d, cl
or word [rax + r8*2], r11w
inc r8
cmp r8, 8
jne 0x140003362
inc r9
add ecx, 4
cmp r9, 4
jne 0x14000335b
inc ebx
add rdx, 4
cmp ebx, 8
jne 0x140003345
xor eax, eax
lea rdi, [rsp + 0x30]
movzx edx, word [r12 + rax + 0x10]
add rax, 2
sar edx, 3
and dx, 0x1111
mov word [rax + rdi - 2], dx
cmp rax, 0x10
jne 0x14000339b
xor edx, edx
lea rsi, [rsp + 0x20]
test edx, edx
jne 0x140003440
mov rcx, rdi
call fcn.140003a40
xor eax, eax
mov dx, word [rdi + rax]
ror dx, 4
xor dx, word [rax + rsi]
mov word [rdi + rax], dx
add rax, 2
cmp rax, 0x10
jne 0x1400033cd
mov edx, dword [rsp + 0x2c]
mov ax, word [rsp + 0x2e]
mov word [rsp + 0x2e], dx
mov dx, word [rsp + 0x2a]
mov word [rsp + 0x2c], dx
mov edx, dword [rsp + 0x28]
mov word [rsp + 0x2a], dx
mov dx, word [rsp + 0x26]
xor edx, eax
mov word [rsp + 0x28], dx
mov edx, eax
xor edx, dword [rsp + 0x24]
mov word [rsp + 0x26], dx
mov dx, word [rsp + 0x22]
mov word [rsp + 0x24], dx
mov edx, eax
xor edx, dword [rsp + 0x20]
mov word [rsp + 0x22], dx
mov edx, 1
mov word [rsp + 0x20], ax
jmp 0x14000345f
cmp edx, 4
jne 0x140003456
xor edx, edx
mov rcx, rdi
call fcn.140003a40
mov edx, 5
jmp 0x14000345f
inc edx
cmp edx, 8
jne 0x14000345f
xor edx, edx
mov eax, ebx
mov ecx, ebx
xor r8d, r8d
sar eax, 2
and ecx, 3
sub eax, 2
cdqe
shl rax, 4
lea r10, [r12 + rax]
lea r9, [r12 + rax + 0x20]
movzx eax, word [r10 + r8]
sar eax, cl
and ax, 0x1111
xor ax, word [rdi + r8]
mov word [rdi + r8], ax
and eax, 0x1111
shl eax, cl
or word [r9 + r8], ax
add r8, 2
cmp r8, 0x10
jne 0x14000347e
inc ebx
cmp ebx, 0x3c
jne 0x1400033bf
lea rsp, [rbp - 0x20]
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret

Function at 0x1400034c0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r8w, word [rdx + rax]
xor word [rcx + rax], r8w
add rax, 2
cmp rax, 0x10
jne 0x1400034c2
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sahf
xchg r13, rax
pop r14
imul esp, edi, 0xf48a6e36
out 0x36, eax
outsb dx, byte [rsi]
mov dh, ah
out 0x36, eax
outsb dx, byte [rsi]
mov dh, ah
dec byte [r11 - 0x6a5f5471]
mov ebx, dword [rax - 0x61]
test byte [rdi - 0x31], 0xef
stosb byte [rdi], al
out 0x1c, eax
and eax, dword [rdi + 0x55]
jnp 0x1400232f7
add dword [rdx + 0x17de6b60], 0x2b
jg 0x1400232f4
int 0xe3
rcl dword [rsi + rbx]
test dword [rbx], 0x66e9fc13
std
popfq
mov al, 0xa9
jl 0x1400232f8
xchg byte [r9 - 0x48], r12b
sahf
sti
mov bh, 0x57
invalid
xchg ch, ch
add dh, ch
cmc
enter 0x56, 7
adc eax, dword [rcx + 0x52]
jg 0x14002328a
insb byte [rdi], dx
out 0x7a, eax
mov ch, 0xd
invalid