joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a9d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011807
movzx eax, al
test eax, eax
jne 0x14001a9f0
mov ecx, 7
call fcn.14001166d
nop
mov byte [rsp + 0x20], 0
call fcn.1400116b8
mov byte [rsp + 0x21], al
cmp dword [0x14002ae68], 1
jne 0x14001aa14
mov ecx, 7
call fcn.14001166d
nop
jmp 0x14001aa6c
cmp dword [0x14002ae68], 0
jne 0x14001aa67
mov dword [0x14002ae68], 1
lea rdx, [0x140023660]
lea rcx, [0x140023330]
call fcn.140011389
test eax, eax
je 0x14001aa48
mov eax, 0xff
jmp 0x14001ab71
lea rdx, [0x140023220]
lea rcx, [section..rdata]
call fcn.14001169a
mov dword [0x14002ae68], 2
jmp 0x14001aa6c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001164a
call fcn.14001158c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001aac9
mov rcx, qword [rsp + 0x30]
call fcn.1400112f3
movzx eax, al
test eax, eax
je 0x14001aac9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140032020]
nop
call fcn.1400115f0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001aafd
mov rcx, qword [rsp + 0x38]
call fcn.1400112f3
movzx eax, al
test eax, eax
je 0x14001aafd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011799
nop
call fcn.14001ac20
mov dword [rsp + 0x28], eax
call fcn.14001155f
movzx eax, al
test eax, eax
jne 0x14001ab1c
mov ecx, dword [rsp + 0x28]
call fcn.1400110a0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001ab2b
call fcn.1400117a8
nop
xor edx, edx
mov cl, 1
call fcn.1400112c1
mov eax, dword [rsp + 0x28]
jmp 0x14001ab71
add rsp, 0x68
ret
Function at 0x1400020b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a360
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a3a5
xor al, al
jmp 0x14000a3f2
cmp word [rbx], 0
je 0x14000a3bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a3b0
cmp word [rsp + 0x30], 0
je 0x14000a3eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a413
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a3d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b570
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f644
int3
Function at 0x14000abb0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f7f0
sub rsp, rax
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fd90]
lea rsi, [0x140034dd0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac29
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a420
test al, al
je 0x14000ad0f
lea rcx, [rsp + 0x20]
call fcn.140013d40
movsxd r11, dword [0x14002fd90]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fd90], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac64
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac54
add rax, 2
test ecx, ecx
jne 0x14000ac40
test edx, edx
je 0x14000ac87
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac34
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac70
cmp rax, 2
jne 0x14000ac8b
cmp word [rdi + 2], 0x3a
jne 0x14000ac8b
mov al, 1
jmp 0x14000acee
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000acb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000acb8
mov bl, 1
jmp 0x14000acbc
test bl, bl
je 0x14000ace3
cmp dword [0x14002fd90], 0x400
jge 0x14000ace3
mov rcx, rdi
call fcn.140013d40
movsxd rdx, dword [0x14002fd90]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fd90], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b570
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000aa50
int3
Function at 0x14000ae30
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd98]
test rcx, rcx
je 0x14000ae6b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae5e
mov rcx, qword [0x14002fd98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140036de8], 0
je 0x14000af5e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298e8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400325d0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af3f
test al, 0x10
je 0x14000af3f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aee5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000be44
Capabilities:
Parse pe header

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

Function at 0x14000f638
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f4a3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f4a3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f4a3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f4a3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f4a3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f4a3
cmp dword [rcx + 0xf8], 0
je 0x14000f4a3
mov ecx, ebx
call fcn.14000f554
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f330
nop
cmp dword [rbp + 0x20], 0
je 0x14000f4f1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4fc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f434
Function at 0x140018c24
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018cab
mov rsi, rbx
cmp word [rax], bp
je 0x140018c6a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018c54
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018c50
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016454
mov rdi, rax
test rax, rax
je 0x140018c98
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d410
mov rbp, rdi
xor ecx, ecx
call fcn.140015478
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b274
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b28a
mov al, 1
jmp 0x14001b2ea
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b29b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b2e8
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400193c8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b2e8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b2e8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b2e8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b2ea
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f700
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f728
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f728
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
sub eax, 0xafc8fc72
adc byte [0xf8732dc9], bh
pop rdi
pop rax
jmp 0x13f4ea68e
Function at 0x1407e90b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407e9237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407e90e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e90c7
add dl, dl
jne 0x1407e90ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e914e
xor eax, eax
add dl, dl
jne 0x1407e90fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e9205
add dl, dl
jne 0x1407e910e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e911b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e9128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e9135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407e9142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407e90d6
mov eax, 1
add dl, dl
jne 0x1407e915e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e916b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e9153
sub eax, ebx
mov ebx, 1
jne 0x1407e91a4
mov ecx, 1
add dl, dl
jne 0x1407e9186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e9193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e917b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e90d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407e91c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e91cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e91b5
cmp eax, 0x7d00
jae 0x1407e91f3
cmp eax, 0x500
jb 0x1407e91ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e90d6
cmp eax, 0x7f
ja 0x1407e91f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e90d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407e922a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407e90d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000ba10
Capabilities:
Encode data using xor

Disassembly:
cmc
lea ecx, [rsi - 0x1732d952]
rcr byte [rdx + 0x28539958], 0x38
mov cl, 0xd8
xor dh, ah
push rsp
enter 0xffffffffffffe709, 0x54
jge 0x14000b9fe
fdivp st(0)
sub esp, dword [rsi + rdi]
cmpsb byte [rsi], byte [rdi]
invalid

Function at 0x140d2b0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140d2b237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d2b0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d2b0c7
add dl, dl
jne 0x140d2b0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d2b14e
xor eax, eax
add dl, dl
jne 0x140d2b0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d2b205
add dl, dl
jne 0x140d2b10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d2b11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d2b128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d2b135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d2b142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d2b0d6
mov eax, 1
add dl, dl
jne 0x140d2b15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d2b16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d2b153
sub eax, ebx
mov ebx, 1
jne 0x140d2b1a4
mov ecx, 1
add dl, dl
jne 0x140d2b186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d2b193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d2b17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d2b0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d2b1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d2b1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d2b1b5
cmp eax, 0x7d00
jae 0x140d2b1f3
cmp eax, 0x500
jb 0x140d2b1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d2b0d6
cmp eax, 0x7f
ja 0x140d2b1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d2b0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d2b22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d2b0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rbx, rcx
mov dword [rbp - 0x19], 0x4e52454b
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x15], 0x32334c45
mov rsi, rdx
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x690cb858
call fcn.180001220
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
lea rcx, [rdx - 1]
call rax
mov rdi, rax
test rax, rax
je 0x18000167c
xor r8d, r8d
mov rdx, rsi
mov dword [rbp + 0x77], r8d
mov rcx, rax
test rsi, rsi
je 0x180001530
sub rbx, rax
nop dword [rax]
movzx eax, byte [rbx + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180001520
xorps xmm0, xmm0
mov qword [rbp - 9], 3
lea rcx, [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x37], 0x48
mov qword [rbp - 1], r8
mov qword [rbp + 7], r8
mov qword [rbp + 0xf], r8
mov qword [rbp + 0x27], r8
mov dword [rbp + 0x2f], r8d
mov dword [rbp + 0x33], 1
mov dword [rbp - 0x19], 0x4e52454b
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], r8b
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x6a0e4cf0
call fcn.180001220
lea r8, [rbp - 9]
xor edx, edx
mov rcx, rdi
call rax
mov r14, rax
test rax, rax
je 0x18000167c
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x7f], 0xfffffffffd050f80
mov dword [rbp - 0x19], 0x4e52454b
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x610c4e32
call fcn.180001220
lea rdx, [rbp + 0x77]
mov r9d, 0x40
mov qword [rsp + 0x20], rdx
mov r8, rsi
mov rdx, rdi
mov rcx, 0xffffffffffffffff
call rax
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x4e52454b
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x703df03f
call fcn.180001220
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x4e52454b
mov rbx, rax
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
mov r8, rbx
mov edx, 0x176ed080
call fcn.180001220
xor r9d, r9d
lea rdx, [rbp + 0x7f]
xor r8d, r8d
mov rcx, r14
call rax
jmp 0x18000167e
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret