joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004fa48
Capabilities:
Encrypt data using rc4 prga

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, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x14004faa9
test byte [rbx + 6], 0xf
jne 0x14004fa9c
xor edi, edi
cmp word [rbx + 4], di
jne 0x14004fa9c
cmp word [rbx + 2], di
jne 0x14004fa9c
cmp word [rbx], di
jne 0x14004fa9c
lea esi, [rdi + 1]
jmp 0x14004faa1
mov esi, 2
movzx eax, si
jmp 0x14004fca6
xor edi, edi
test cx, cx
jne 0x14004fac4
mov rcx, rbx
call fcn.1400569c4
movzx ecx, ax
cmp di, ax
jl 0x14004fca3
movsx edx, cx
test esi, esi
jle 0x14004faf4
sub ebp, edx
cmp ebp, esi
jg 0x14004faf4
movsd xmm0, qword [0x140063778]
cmp word [rbx + 6], di
jge 0x14004fae6
xorps xmm0, xmmword [0x140060fd0]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x14004fca6
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x14004fb21
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x14004fca6
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x14004fc98
test ebp, ebp
jns 0x14004fc98
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x14004fbbc
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x14004fb8d
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x14004fc3b
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x14004fc51
jne 0x14004fc70
test byte [rbx], sil
je 0x14004fc70
add word [rbx], si
jne 0x14004fc70
add word [rbx + 2], si
jne 0x14004fc70
add word [rbx + 4], si
jne 0x14004fc70
add r11w, si
mov word [rbx + 6], r11w
jmp 0x14004fb19
cmp r11w, r15w
jne 0x14004fb19
cmp word [rbx + 4], di
jne 0x14004fb19
cmp word [rbx + 2], di
jne 0x14004fb19
cmp word [rbx], di
je 0x14004fca3
jmp 0x14004fb19
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180001bcc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xe]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xe
jb 0x180001bd2
mov rax, rcx
ret

Function at 0x180001be8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x12
jb 0x180001bee
mov rax, rcx
ret

Function at 0x180001c04
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x11]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x11
jb 0x180001c0a
mov rax, rcx
ret

Function at 0x180001c20
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x10]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x10
jb 0x180001c26
mov rax, rcx
ret

Function at 0x180001c3c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x15]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x15
jb 0x180001c42
mov rax, rcx
ret

Function at 0x180001c58
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x14]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x14
jb 0x180001c5e
mov rax, rcx
ret

Function at 0x180001c74
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 9]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 9
jb 0x180001c7a
mov rax, rcx
ret

Function at 0x180001c90
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xc]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xc
jb 0x180001c96
mov rax, rcx
ret

Function at 0x180001cac
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xd]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xd
jb 0x180001cb2
mov rax, rcx
ret

Function at 0x180001cc8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 9
jb 0x180001cce
mov rax, rcx
ret

Function at 0x180001cec
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 2]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 2
jb 0x180001cf2
mov rax, rcx
ret
Function at 0x180003174
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 5]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 5
jb 0x18000317a
mov rax, rcx
ret

Function at 0x180003190
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x4e]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 0x27
jb 0x180003196
mov rax, rcx
ret

Function at 0x1800031b4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xa]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 5
jb 0x1800031ba
mov rax, rcx
ret
Function at 0x1800038b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
movdqa xmm0, xmmword [0x18000a620]
lea r9, [rbp + 0x58]
movdqa xmm1, xmmword [0x18000a610]
lea rdx, [rbp - 8]
movdqu xmmword [rbp - 8], xmm0
xor edi, edi
mov dword [rbp + 0x28], 0x9b87ede
movdqa xmm0, xmmword [0x18000a650]
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x58], rdi
movdqu xmmword [rbp + 8], xmm1
call fcn.1800023b0
mov ecx, 0x200
mov dword [rbp + 0x50], edi
call fcn.180001094
mov rbx, rax
mov esi, 0x100
mov rax, qword [section..data]
test rax, rax
jne 0x18000394e
mov ecx, esi
call fcn.180001094
test rax, rax
je 0x180003944
mov rcx, rax
call fcn.1800013b4
jmp 0x180003947
mov rax, rdi
mov qword [section..data], rax
mov r8, qword [rbp + 0x58]
or r9d, 0xffffffff
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [rax + 0x80]
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x58], rdi
mov dword [rsp + 0x40], 0xff84ffd5
mov dword [rsp + 0x44], 0x250044
mov dword [rsp + 0x48], 0x3efffe
mov dword [rsp + 0x4c], 0x58
mov dword [rsp + 0x50], 0x50ffbf
mov dword [rsp + 0x54], 0xffd8ffc6
mov dword [rsp + 0x58], 0xffbc000c
mov dword [rsp + 0x5c], 0xffa0ffd1
mov dword [rsp + 0x60], 0xfffe0076
mov dword [rsp + 0x64], 0x37000b
mov dword [rsp + 0x68], 0xff930059
mov dword [rsp + 0x6c], 0x55003a
mov dword [rsp + 0x70], 0x51000e
mov dword [rsp + 0x74], 0x2ffd7
mov dword [rsp + 0x78], 0x58ffbf
mov dword [rsp + 0x7c], 0xfff4ffc9
mov dword [rbp - 0x80], 0x7000d
mov dword [rbp - 0x7c], 0x14fff3
mov dword [rbp - 0x78], 0xffcb0018
mov dword [rbp - 0x74], 0xf6ffc4
mov dword [rbp - 0x70], 0x7600e7
mov dword [rbp - 0x6c], 0xc60013
mov dword [rbp - 0x68], 0x6d0006
mov dword [rbp - 0x64], 0xde0061
mov dword [rbp - 0x60], 0xf0007d
mov dword [rbp - 0x5c], 0x3c00bb
mov dword [rbp - 0x58], 0xfc0084
mov dword [rbp - 0x54], 0x100094
mov dword [rbp - 0x50], 0x3e00cc
mov dword [rbp - 0x4c], 0x61001a
mov dword [rbp - 0x48], 0x800a3
mov dword [rbp - 0x44], 0x230061
mov dword [rbp - 0x40], 0xb20064
mov dword [rbp - 0x3c], 0x8f0066
mov dword [rbp - 0x38], 0xfb0069
mov dword [rbp - 0x34], 0x3500c7
mov dword [rbp - 0x30], 0xc30037
mov dword [rbp - 0x2c], 0x7a0070
mov dword [rbp - 0x28], 0xc400e8
mov dword [rbp - 0x24], 0x1aaa0edb
call fcn.180003190
mov rcx, rbx
call fcn.180001d08
test eax, eax
je 0x180003b1f
lea r9, [rbp + 0x50]
mov rcx, rbx
lea r8, [rbp + 0x58]
lea rdx, [rsp + 0x40]
call fcn.180001e5c
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x180003b1f
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rax
call fcn.180003b3c
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0xd542514d
mov dword [rsp + 0x34], 0x2b3000b7
mov dword [rsp + 0x38], 0xb7bb
mov dword [rsp + 0x3c], 0xdaa96f5
call fcn.180003174
cmp qword [rbp - 0x10], rdi
je 0x180003b1f
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.180003f24
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005e60]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002550
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r9d, 0x40
mov r8d, 0x1000
mov rbx, rdx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rbx
xor r8d, r8d
xor edx, edx
mov rdi, rax
mov r9, rax
rep movsb byte [rdi], byte [rsi]
mov ecx, 0x10000
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.CRYPT32.dll_CertEnumSystemStore]

Function at 0x140002a40
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x140005f30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rsi, [rsp + 0x3c]
xor eax, eax
mov rdi, rcx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov dword [rsp + 0x3c], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x140002a8a
xor eax, eax
jmp 0x140002b0c
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x140002a83
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
lea r12, [rsp + 0x42]
xor ecx, ecx
mov rsi, rbx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp dword [rsi + 0x58], 6
jne 0x140002af5
mov eax, dword [rsi + 0x50]
mov r8d, 3
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x42], eax
mov ax, word [rsi + 0x54]
mov word [rsp + 0x46], ax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140002af5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x140002b0c
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140002abd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002a83
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbp]
je 0x140002b1c
call fcn.140002520
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140002bc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [0x140005f30]
mov rsi, qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call rsi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call rsi
mov edx, dword [rsp + 0x30]
xor eax, eax
cmp dword [rsp + 0x28], edx
jne 0x140002c0e
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
sete al
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbx]
je 0x140002c1d
call fcn.140002520
add rsp, 0x48
pop rbx
pop rsi
ret

Function at 0x140002c30
Capabilities:
Enumerate processes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x140005f30]
xor edx, edx
mov rax, qword [rdi]
mov qword [rsp + 0x158], rax
xor eax, eax
mov rsi, rcx
mov ecx, 2
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbp, [rsp + 0x28]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
lea r12, [rsp + 0x54]
test eax, eax
jne 0x140002c88
xor eax, eax
jmp 0x140002caa
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140002c84
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140002c88
mov eax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x158]
sub rdx, qword [rdi]
je 0x140002cbc
call fcn.140002520
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002cd0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x140005f30]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 1
setbe al
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
je 0x140002d08
call fcn.140002520
add rsp, 0x60
pop rbx
ret

Function at 0x140002d10
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x28
lea rcx, [0x140005050]
call fcn.140002a40
test al, al
jne 0x140002d84
lea rcx, [0x140005054]
call fcn.140002a40
test al, al
jne 0x140002d84
lea rcx, [0x140005058]
call fcn.140002a40
test al, al
jne 0x140002d84
lea rcx, [0x14000505c]
call fcn.140002a40
test al, al
jne 0x140002d84
lea rcx, [0x140005060]
call fcn.140002a40
test al, al
jne 0x140002d84
lea rcx, [0x140005064]
call fcn.140002a40
test al, al
jne 0x140002d84
lea rcx, [0x140005068]
add rsp, 0x28
jmp fcn.140002a40
mov al, 1
add rsp, 0x28
ret

Function at 0x140002d90
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x140005f30]
mov rax, qword [rbx]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x30], 0x7fffffff
setbe al
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rbx]
je 0x140002dd4
call fcn.140002520
add rsp, 0x70
pop rbx
ret
Function at 0x14000d984
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 [0x140017850], eax
call fcn.14000d6d0
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 [0x140017850], 0
jne case.default.0x14000d9da
mov ecx, 1
call fcn.14000d6d0
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]
or eax, 0xe3ca7535
push rdi
repne lodsd eax, dword [rsi]
invalid
Function at 0x14002924c
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c844
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c844
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002939c
cmp rax, 0xffffffffffffffff
je 0x14002939c
xor edi, edi
test rbp, rbp
jle 0x140029347
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f158
mov rbx, rax
test rax, rax
jne 0x1400292d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002933d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a178
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d520
cmp eax, 0xffffffff
je 0x14002931d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400292e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a178
jmp 0x14002933d
cmp byte [rsi + 0x38], dil
je 0x140029334
cmp dword [rsi + 0x34], 5
jne 0x140029334
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002933d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001af0c
jmp 0x1400293b0
jns 0x1400293b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c844
cmp rax, 0xffffffffffffffff
jne 0x140029368
cmp byte [rsi + 0x30], dil
je 0x1400293b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400293b0
mov ecx, r14d
call fcn.140018630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400293b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400293b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400293a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400293ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c844
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14000246c
Capabilities:
Parse pe header

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

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 rbp
mov rbp, rsp
sub rsp, 0x30
mov ebx, r8d
mov rdi, rdx
xor edx, edx
mov r8d, 0x268
mov rsi, rcx
call fcn.1400db770
lea r14, [rsi + 0x148]
xorps xmm0, xmm0
mov rcx, r14
mov r9d, ebx
mov r8, rdi
movups xmmword [rbp - 0x10], xmm0
call fcn.14000171c
test eax, eax
jne 0x14000256d
lea r8, [rbp - 0x10]
mov rcx, r14
lea rdx, [rbp - 0x10]
call fcn.140001770
test eax, eax
jne 0x14000256d
movzx eax, byte [rbp - 0xf]
movzx r8d, byte [rbp - 0x10]
movzx r9d, byte [rbp - 8]
movzx ecx, byte [rbp - 0xc]
and qword [rsi + 0x98], 0
shl r8d, 8
or r8d, eax
shl r9d, 8
movzx eax, byte [rbp - 0xe]
shl r8d, 8
or r8d, eax
shl ecx, 8
movzx eax, byte [rbp - 0xd]
shl r8d, 8
or r8, rax
mov r10d, 4
movzx eax, byte [rbp - 0xb]
or ecx, eax
shl r8, 0x20
movzx eax, byte [rbp - 0xa]
shl ecx, 8
or eax, ecx
movzx ecx, byte [rbp - 4]
shl eax, 8
or r8, rax
shl ecx, 8
movzx eax, byte [rbp - 9]
or r8, rax
movzx eax, byte [rbp - 7]
or r9d, eax
mov qword [rsi + 0xd8], r8
movzx eax, byte [rbp - 6]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbp - 5]
shl r9d, 8
or r9, rax
movzx eax, byte [rbp - 3]
or ecx, eax
shl r9, 0x20
movzx eax, byte [rbp - 2]
shl ecx, 8
or eax, ecx
shl eax, 8
or r9, rax
movzx eax, byte [rbp - 1]
or r9, rax
and qword [rsi + 0x18], 0
mov qword [rsi + 0x58], r9
mov eax, r9d
mov rcx, r8
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, r9
shr rax, 1
mov r9, rcx
or r9, rax
mov rax, r8
shr rax, 1
mov qword [rsi + r10*8 + 0x18], r9
mov ecx, edx
shl rcx, 0x20
mov r8, rcx
xor r8, rax
mov qword [rsi + r10*8 + 0x98], r8
shr r10d, 1
jne 0x1400024d5
mov r8d, 2
movsxd rdx, r8d
mov r10, qword [rsi + rdx*8 + 0x98]
mov r11, qword [rsi + rdx*8 + 0x18]
cmp rdx, 1
jle 0x140002562
lea rcx, [rsi + 0x20]
lea r9, [rdx - 1]
mov rax, r10
xor rax, qword [rcx + 0x80]
mov qword [rcx + rdx*8 + 0x80], rax
mov rax, r11
xor rax, qword [rcx]
mov qword [rcx + rdx*8], rax
lea rcx, [rcx + 8]
sub r9, 1
jne 0x14000253c
add r8d, r8d
cmp r8d, 0x10
jl 0x14000251e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x1400025f4
Capabilities:
Encode data using xor

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, 0x30
add qword [rcx + 8], rdx
mov r15, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14000272a
mov r14, 0xfffffffffffffed9
lea r9, [rcx + 0x148]
sub r14, rcx
mov edi, 0x10
lea rcx, [rbx + 0x137]
cmp rsi, rdi
cmovb rdi, rsi
add byte [rcx], 1
jne 0x14000265f
dec rcx
lea rax, [r14 + rcx]
cmp rax, 0xc
ja 0x14000264d
lea r8, [rsp + 0x20]
mov rcx, r9
lea rdx, [rbx + 0x128]
call fcn.140001770
test eax, eax
jne 0x14000272c
cmp dword [rbx], 1
jne 0x1400026c7
test rdi, rdi
je 0x140002702
mov rdx, rbp
lea r8, [rsp + 0x20]
sub rdx, rbx
lea rcx, [rbx + 0x138]
sub r8, rbx
mov r9, r15
sub r9, rbx
mov r10, rdi
mov al, byte [r8 + rcx - 0x138]
xor al, byte [rdx + rcx - 0x138]
mov byte [r9 + rcx - 0x138], al
xor byte [rcx], al
inc rcx
sub r10, 1
jne 0x1400026a3
jmp 0x140002702
test rdi, rdi
je 0x140002702
mov rdx, rbx
lea r8, [rsp + 0x20]
sub rdx, rbp
sub r8, rbp
mov r9, r15
mov rcx, rbp
sub r9, rbp
mov r10, rdi
mov al, byte [rcx]
xor byte [rdx + rcx + 0x138], al
mov al, byte [r8 + rcx]
xor al, byte [rcx]
mov byte [r9 + rcx], al
inc rcx
sub r10, 1
jne 0x1400026e6
lea rdx, [rbx + 0x138]
mov rcx, rbx
mov r8, rdx
call fcn.14000221c
add rbp, rdi
lea r9, [rbx + 0x148]
add r15, rdi
sub rsi, rdi
jne 0x14000263a
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000274c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
shl rdx, 3
movups xmm0, xmmword [rdi + 0x118]
shl rcx, 3
movdqu xmmword [rbx], xmm0
test rdx, rdx
jne 0x140002792
test rcx, rcx
je 0x140002870
mov rax, rcx
mov byte [rbp - 1], dl
shr rax, 0x38
lea r9, [rbp - 0x10]
mov byte [rbp - 0x10], al
mov esi, 0x10
mov rax, rcx
mov byte [rbp - 9], cl
shr rax, 0x30
mov r8d, esi
mov byte [rbp - 0xf], al
mov rax, rcx
shr rax, 0x28
mov byte [rbp - 0xe], al
mov rax, rcx
shr rax, 0x20
mov byte [rbp - 0xd], al
mov rax, rcx
shr rax, 0x18
mov byte [rbp - 0xc], al
mov rax, rcx
shr rax, 0x10
mov byte [rbp - 0xb], al
mov rax, rcx
shr rax, 8
mov byte [rbp - 0xa], al
mov rax, rdx
shr rax, 0x38
mov byte [rbp - 8], al
mov rax, rdx
shr rax, 0x30
mov byte [rbp - 7], al
mov rax, rdx
shr rax, 0x28
mov byte [rbp - 6], al
mov rax, rdx
shr rax, 0x20
mov byte [rbp - 5], al
mov rax, rdx
shr rax, 0x18
mov byte [rbp - 4], al
mov rax, rdx
shr rax, 0x10
mov byte [rbp - 3], al
mov rax, rdx
shr rax, 8
lea rdx, [rdi + 0x138]
mov byte [rbp - 2], al
sub r9, rdi
mov rcx, rdx
mov al, byte [r9 + rcx - 0x138]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x14000283d
mov r8, rdx
mov rcx, rdi
call fcn.14000221c
sub rdi, rbx
mov al, byte [rdi + rbx + 0x138]
xor byte [rbx], al
inc rbx
sub rsi, 1
jne 0x14000285e
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret