joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079a00
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x140079c24
lea r14, [0x14022ef58]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x140079a47
lea r15d, [rbx - 4]
jmp 0x140079a5e
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x140079b04
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x140079a9c
mov r9d, 0xffffffff
jmp 0x140079ad1
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r13d, 0xc
or eax, r13d
shl r12d, 6
mov r9d, eax
or r9d, r12d
test r9d, r9d
jl 0x140079c41
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x140079a67
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x140079c41
cmp edi, ebx
je 0x140079c41
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x140079c41
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x140079bc9
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x140079c41
add esi, 0xfffffffd
cmp ebp, esi
jg 0x140079c41
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x140079c1d
cmp r9d, 0x3d
je 0x140079c06
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x140079c41
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x140079c41
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x140079c1d
test eax, eax
jl 0x140079c41
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x140079c41
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x140079c41
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400d1970
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140003140
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140003190
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001b24
mov dword [rax + 0x60], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll___p__environ]
xor edx, edx
mov rcx, qword [rax]
mov qword [0x1400040e8], rcx
xor ecx, ecx
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000107a
lea rcx, str.Windows_original_main_args:_n
call fcn.140001158
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x14000107a
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.140001158
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000104f
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010c6
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010b3
mov rcx, qword [str.openjdk]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010dd
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010ec
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 1
xor r8d, r8d
mov byte [rsp + 0x58], 1
mov rdx, rbx
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x1400022dc]
mov qword [rsp + 0x38], rax
lea rax, str.17.0.37_LTS
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00409a10]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00409a20]
mov dword [rax], 1
mov rax, qword [0x00409a30]
mov dword [rax], 1
mov rax, qword [0x00409a00]
mov dword [rax], 1
mov rax, qword [0x004098e0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004099f0]
mov dword [0x0040c00c], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x004099b0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00409890]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x401550
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0x210
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x1a0], ecx
mov qword [rbp + 0x1a8], rdx
call sym.__main
lea rax, [rbp - 0x40]
lea rdx, [0x00409040]
mov ecx, 0x1b3
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov byte [rbp + 0x18b], 0x57
mov dword [rbp + 0x18c], 0
mov eax, dword [rbp + 0x18c]
cmp eax, 0x1b1
ja 0x4015d5
mov eax, dword [rbp + 0x18c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor al, byte [rbp + 0x18b]
mov edx, eax
mov eax, dword [rbp + 0x18c]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x18c], 1
jmp 0x40159e
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1b3
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
test rax, rax
jne 0x401622
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_allocate_memory:__d_n
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x4016e8
mov rax, qword [rbp - 0x48]
mov rcx, rax
lea rax, [rbp - 0x40]
mov edx, 0x1b3
mov r8, rdx
mov rdx, rax
call sym.memcpy
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x180], rax
cmp qword [rbp + 0x180], 0
jne 0x40169d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_create_thread:__d_n
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x4016e8
mov rax, qword [rbp + 0x180]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x48]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 0
add rsp, 0x210
pop rbp
ret
Function at 0x401c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0040c624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x401da8
mov rax, qword [0x0040c628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401c6c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401cf5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401c50
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401ddd
mov rax, qword [0x0040c628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0040c628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401dc0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401cee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401d50
add dword [0x0040c624], 1
cmp edi, 8
jae 0x401d23
test dil, 4
jne 0x401d94
test edi, edi
je 0x401d18
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401daf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x401d18
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x401d3c
jmp 0x401d18
add rsi, qword [0x0040c628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401cee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401d18
xor esi, esi
jmp 0x401c77
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401d18
mov rax, qword [0x0040c628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x402530
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040c900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040c8e0]
test rbx, rbx
je 0x402584
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40257b
test rsi, rsi
je 0x40257b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402560
lea rcx, [0x0040c900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4027c0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4027d0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4027e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402821
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402818
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402823
add rax, 0x28
cmp rax, r9
jne 0x402804
xor eax, eax
ret

Function at 0x4028c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004098e0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40292d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40292d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40292d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402924
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40292f
add rax, 0x28
cmp rax, r9
jne 0x402910
xor eax, eax
add rsp, 0x28
ret

Function at 0x402a30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004098e0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x402a50
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402a48
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402aad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402aa4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402ab4
add rax, 0x28
cmp rax, r9
jne 0x402a90
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x402ad0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004098e0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x402b3e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402b3e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402b3e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402b3e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x402b35
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402b45
add rcx, 0x28
cmp rcx, rax
jne 0x402b20
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402b58
jmp 0x402b3e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402b66
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402b3e
test r9d, r9d
jg 0x402b50
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x407aa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140007756
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
push rdi
push rbx
xor eax, eax
mov r8b, byte [rdx + rax*4]
mov byte [rcx + rax*4], r8b
mov r8b, byte [rdx + rax*4 + 1]
mov byte [rcx + rax*4 + 1], r8b
mov r8b, byte [rdx + rax*4 + 2]
mov byte [rcx + rax*4 + 2], r8b
mov r8b, byte [rdx + rax*4 + 3]
mov byte [rcx + rax*4 + 3], r8b
inc rax
cmp rax, 4
jne 0x14000775b
mov eax, 4
lea rdx, [0x1400dd200]
lea r8, [0x1400dd300]
mov bl, byte [rcx + rax*4 - 4]
mov r11b, byte [rcx + rax*4 - 3]
mov r10b, byte [rcx + rax*4 - 2]
mov r9b, byte [rcx + rax*4 - 1]
test al, 3
jne 0x1400077db
movzx esi, bl
movzx edi, r11b
movzx r10d, r10b
movzx r9d, r9b
mov r11b, byte [r10 + rdx]
mov r10b, byte [r9 + rdx]
mov r9b, byte [rsi + rdx]
mov esi, eax
shr esi, 2
mov bl, byte [rsi + r8]
xor bl, byte [rdi + rdx]
xor bl, byte [rcx + rax*4 - 0x10]
mov byte [rcx + rax*4], bl
xor r11b, byte [rcx + rax*4 - 0xf]
mov byte [rcx + rax*4 + 1], r11b
xor r10b, byte [rcx + rax*4 - 0xe]
mov byte [rcx + rax*4 + 2], r10b
xor r9b, byte [rcx + rax*4 - 0xd]
mov byte [rcx + rax*4 + 3], r9b
inc rax
cmp rax, 0x2c
jne 0x14000779d
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000780d
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea r14, [rcx + 0xb0]
mov rbx, r14
test r8, r8
je 0x140007862
mov rsi, r8
mov rdi, rcx
xor r15d, r15d
mov rax, r14
mov rbx, rdx
xor ecx, ecx
mov dl, byte [rax + rcx]
xor byte [rbx + rcx], dl
inc rcx
cmp rcx, 0x10
jne 0x140007838
mov rcx, rbx
mov rdx, rdi
call fcn.140007875
lea rdx, [rbx + 0x10]
add r15, 0x10
mov rax, rbx
cmp r15, rsi
jb 0x140007833
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140007875
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor ecx, ecx
mov rdx, rdi
mov r8, rsi
call fcn.1400079e9
mov bl, 1
lea r14, [0x1400dd200]
mov rax, rdi
xor ecx, ecx
xor edx, edx
movzx r8d, byte [rax + rdx*4]
mov r8b, byte [r8 + r14]
mov byte [rax + rdx*4], r8b
inc rdx
cmp rdx, 4
jne 0x1400078a6
inc rcx
inc rax
cmp rcx, 4
jne 0x1400078a4
mov al, byte [rdi + 5]
mov cl, byte [rdi + 1]
mov dl, byte [rdi + 2]
mov byte [rdi + 1], al
mov al, byte [rdi + 9]
mov byte [rdi + 5], al
mov al, byte [rdi + 0xd]
mov byte [rdi + 9], al
mov byte [rdi + 0xd], cl
mov al, byte [rdi + 0xa]
mov byte [rdi + 2], al
mov byte [rdi + 0xa], dl
mov al, byte [rdi + 6]
mov cl, byte [rdi + 0xe]
mov byte [rdi + 6], cl
mov byte [rdi + 0xe], al
mov al, byte [rdi + 3]
mov cl, byte [rdi + 0xf]
mov byte [rdi + 3], cl
mov cl, byte [rdi + 0xb]
mov byte [rdi + 0xf], cl
mov cl, byte [rdi + 7]
mov byte [rdi + 0xb], cl
mov byte [rdi + 7], al
cmp bl, 0xa
je 0x1400079ce
mov eax, 3
mov cl, byte [rdi + rax - 3]
mov r10b, byte [rdi + rax - 2]
mov dl, byte [rdi + rax - 1]
mov r8d, edx
xor r8b, r10b
lea r9d, [r8 + r8]
xor r9b, r10b
xor r10b, cl
mov bpl, byte [rdi + rax]
lea r11d, [r10 + r10]
xor r11b, cl
xor cl, bpl
lea r15d, [rcx + rcx]
xor r15b, bpl
mov r12d, ebp
xor r12b, dl
mov ebp, r12d
xor bpl, r10b
sar r10b, 7
and r10b, 0x1b
xor r11b, r10b
xor r11b, bpl
mov byte [rdi + rax - 3], r11b
sar r8b, 7
and r8b, 0x1b
xor r9b, r8b
xor r9b, bpl
mov byte [rdi + rax - 2], r9b
lea r8d, [r12 + r12]
sar r12b, 7
and r12b, 0x1b
xor r8b, dl
xor r8b, r12b
xor r8b, bpl
mov byte [rdi + rax - 1], r8b
sar cl, 7
and cl, 0x1b
xor r15b, cl
xor r15b, bpl
mov byte [rdi + rax], r15b
add rax, 4
cmp rax, 0x13
jne 0x14000791e
mov ecx, ebx
mov rdx, rdi
mov r8, rsi
call fcn.1400079e9
inc bl
jmp 0x14000789f
mov cl, 0xa
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1400079e9

Function at 0x1400079e9
Capabilities:
Encode data using xor

Disassembly:
movzx eax, cl
shl eax, 4
add rax, r8
xor ecx, ecx
xor r8d, r8d
mov r9b, byte [rax + r8]
xor byte [rdx + r8], r9b
inc r8
cmp r8, 4
jne 0x1400079f7
inc rcx
add rdx, 4
add rax, 4
cmp rcx, 4
jne 0x1400079f4
ret

Function at 0x140007a1a
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x1400f5038]
xor rax, rsp
mov qword [rsp + 0x38], rax
test r8, r8
je 0x140007a8a
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rcx + 0xb0]
xor r15d, r15d
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, rdi
mov rdx, rbx
call fcn.140007aa4
xor eax, eax
mov cl, byte [rbx + rax + 0xb0]
xor byte [rdi + rax], cl
inc rax
cmp rax, 0x10
jne 0x140007a61
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r14], xmm0
add rdi, 0x10
add r15, 0x10
cmp r15, rsi
jb 0x140007a4c
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140034c20
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140007aa4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r8, rdx
mov rsi, rcx
mov cl, 0xa
mov rdx, rsi
mov qword [rsp + 0x30], r8
call fcn.1400079e9
mov bl, 9
lea r9, [0x1400dd310]
mov qword [rsp + 0x38], rsi
mov al, byte [rsi + 0xd]
mov cl, byte [rsi + 9]
mov byte [rsi + 0xd], cl
mov cl, byte [rsi + 5]
mov byte [rsi + 9], cl
mov cl, byte [rsi + 1]
mov dl, byte [rsi + 2]
mov byte [rsi + 5], cl
mov byte [rsi + 1], al
mov al, byte [rsi + 0xa]
mov byte [rsi + 2], al
mov byte [rsi + 0xa], dl
mov al, byte [rsi + 6]
mov cl, byte [rsi + 0xe]
mov byte [rsi + 6], cl
mov byte [rsi + 0xe], al
mov al, byte [rsi + 3]
mov cl, byte [rsi + 7]
mov byte [rsi + 3], cl
mov cl, byte [rsi + 0xb]
mov byte [rsi + 7], cl
mov cl, byte [rsi + 0xf]
mov byte [rsi + 0xb], cl
mov byte [rsi + 0xf], al
mov rax, rsi
xor ecx, ecx
xor edx, edx
movzx r8d, byte [rax + rdx*4]
mov r8b, byte [r8 + r9]
mov byte [rax + rdx*4], r8b
inc rdx
cmp rdx, 4
jne 0x140007b26
inc rcx
inc rax
cmp rcx, 4
jne 0x140007b24
mov ecx, ebx
mov rdx, rsi
mov r8, qword [rsp + 0x30]
call fcn.1400079e9
sub bl, 1
jb 0x140007cda
mov byte [rsp + 0x2f], bl
xor ecx, ecx
mov r15b, byte [rsi + rcx*4]
mov al, byte [rsi + rcx*4 + 1]
mov r10b, byte [rsi + rcx*4 + 2]
mov r9b, byte [rsi + rcx*4 + 3]
lea edx, [r15 + r15]
lea r8d, [rax + rax]
mov r11d, eax
mov ebp, r10d
xor bpl, al
mov r12d, r10d
xor r12b, r15b
xor al, r15b
mov qword [rsp + 0x40], rax
sar r15b, 7
and r15b, 0x1b
xor r15b, dl
lea r13d, [r15 + r15]
sar dl, 7
and dl, 0x1b
xor dl, r13b
lea esi, [rdx + rdx]
sar r13b, 7
and r13b, 0x1b
xor r13b, sil
sar r11b, 7
and r11b, 0x1b
xor r11b, r8b
lea edi, [r11 + r11]
sar r8b, 7
and r8b, 0x1b
xor r8b, dil
lea esi, [r8 + r8]
sar dil, 7
and dil, 0x1b
xor dil, sil
lea esi, [r10 + r10]
xor bpl, r9b
xor bpl, r15b
xor r15b, r10b
sar r10b, 7
and r10b, 0x1b
xor r10b, sil
lea ebx, [r10 + r10]
sar sil, 7
and sil, 0x1b
xor sil, bl
lea r14d, [rsi + rsi]
sar bl, 7
and bl, 0x1b
xor bl, r14b
xor bl, dil
lea edi, [r9 + r9]
xor r12b, r9b
xor r12b, r11b
xor r12b, r10b
xor r10b, r9b
mov r14d, r9d
sar r14b, 7
and r14b, 0x1b
xor r14b, dil
lea r9d, [r14 + r14]
sar dil, 7
and dil, 0x1b
xor dil, r9b
lea eax, [rdi + rdi]
sar r9b, 7
and r9b, 0x1b
xor r9b, al
xor bpl, r11b
mov rax, qword [rsp + 0x40]
xor al, r14b
xor bpl, dl
xor r10b, al
xor r10b, dl
xor bpl, sil
xor r10b, sil
mov rsi, qword [rsp + 0x38]
xor bpl, r13b
xor bpl, bl
xor bpl, r9b
mov byte [rsi + rcx*4], bpl
xor r12b, r8b
xor r12b, dil
xor r12b, r13b
xor r12b, bl
xor r12b, r9b
mov byte [rsi + rcx*4 + 1], r12b
xor r10b, r13b
xor r10b, bl
xor r10b, r9b
mov byte [rsi + rcx*4 + 2], r10b
xor r15b, al
xor r15b, r8b
xor r15b, dil
xor r15b, r13b
xor r15b, bl
xor r15b, r9b
mov byte [rsi + rcx*4 + 3], r15b
inc rcx
cmp rcx, 4
jne 0x140007b66
mov bl, byte [rsp + 0x2f]
lea r9, [0x1400dd310]
jmp 0x140007ad7
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret