joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1405b3160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405b32e7
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 0x1405b3191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405b3177
add dl, dl
jne 0x1405b319e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405b31fe
xor eax, eax
add dl, dl
jne 0x1405b31ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405b32b5
add dl, dl
jne 0x1405b31be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b31cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b31d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b31e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405b31f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405b3186
mov eax, 1
add dl, dl
jne 0x1405b320e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405b321b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405b3203
sub eax, ebx
mov ebx, 1
jne 0x1405b3254
mov ecx, 1
add dl, dl
jne 0x1405b3236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405b3243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405b322b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405b3186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405b3270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405b327d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405b3265
cmp eax, 0x7d00
jae 0x1405b32a3
cmp eax, 0x500
jb 0x1405b329e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405b3186
cmp eax, 0x7f
ja 0x1405b32a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405b3186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405b32da
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 0x1405b3186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141c39058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141c391df
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 0x141c39089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c3906f
add dl, dl
jne 0x141c39096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c390f6
xor eax, eax
add dl, dl
jne 0x141c390a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c391ad
add dl, dl
jne 0x141c390b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c390c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c390d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c390dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c390ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c3907e
mov eax, 1
add dl, dl
jne 0x141c39106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c39113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c390fb
sub eax, ebx
mov ebx, 1
jne 0x141c3914c
mov ecx, 1
add dl, dl
jne 0x141c3912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c3913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c39123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c3907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c39168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c39175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c3915d
cmp eax, 0x7d00
jae 0x141c3919b
cmp eax, 0x500
jb 0x141c39196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c3907e
cmp eax, 0x7f
ja 0x141c3919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c3907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c391d2
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 0x141c3907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004400]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004410]
mov dword [rax], 1
mov rax, qword [0x140004420]
mov dword [rax], 1
mov rax, qword [0x140004380]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400043f0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004360]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x1400014a4
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call dbg.__main
lea rax, section..rdata
mov rdx, rax
lea rax, str.encrypted_payload.bin
mov rcx, rax
call sym.fopen
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sym.fseek
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.ftell
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.fseek
mov eax, dword [rbp - 0xc]
cdqe
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov edx, dword [rbp - 0xc]
mov rax, qword [rbp - 0x18]
mov r8d, 0xffffffaa
mov rcx, rax
call sym.XOR_decrypt
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
call rax
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x140001840
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400018b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x1400019e0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001985
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018e0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001a02
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000197e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001990
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000197e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001908
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001fec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001fe3
test eax, eax
jne 0x140001fe3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001fc8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002200
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002218
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002220
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002230
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000227d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002274
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000227f
add rax, 0x28
cmp rax, r9
jne 0x140002260
xor eax, eax
ret

Function at 0x140002280
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002310
mov rdx, qword [0x140004380]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400022fe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400022fe
cmp word [rax + 0x18], 0x20b
jne 0x1400022fe
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002310
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400022e9
add rbx, 0x28
cmp rbx, rdi
je 0x140002310
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400022e0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002320
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002340
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002348
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002340
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000239d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002394
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002340
add rax, 0x28
cmp rax, r9
jne 0x140002380
xor eax, eax
ret

Function at 0x1400023a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400023e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004380]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002400
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002408
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002400
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002450
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002447
test rcx, rcx
je 0x140002400
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002438
xor eax, eax
ret
Function at 0x140002460
Capabilities:
Parse pe header

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

Function at 0x1400024a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400024c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400024c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400024c0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400024c0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002514
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002520
add rdx, 0x28
cmp rdx, r9
jne 0x140002500
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002530
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004380]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002552
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002560
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002552
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002552
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002552
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400025b5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400025c8
add rdx, 0x28
cmp r10, rdx
jne 0x1400025a0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400025d7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025e7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025be
test ecx, ecx
jg 0x1400025d0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x1400020a0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x1400020bf
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x1400020c7
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret

Function at 0x140003338
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1416841df
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 0x141684089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14168406f
add dl, dl
jne 0x141684096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416840f6
xor eax, eax
add dl, dl
jne 0x1416840a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416841ad
add dl, dl
jne 0x1416840b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416840c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416840d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416840dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1416840ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14168407e
mov eax, 1
add dl, dl
jne 0x141684106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141684113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416840fb
sub eax, ebx
mov ebx, 1
jne 0x14168414c
mov ecx, 1
add dl, dl
jne 0x14168412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14168413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141684123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14168407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141684168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141684175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14168415d
cmp eax, 0x7d00
jae 0x14168419b
cmp eax, 0x500
jb 0x141684196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14168407e
cmp eax, 0x7f
ja 0x14168419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14168407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416841d2
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 0x14168407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180005f20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [0x1800c54c8], 0
lea rbx, [0x1800c5980]
mov r10d, edx
mov r11, rcx
jne 0x180005fdc
xor r8d, r8d
mov r9, rbx
mov eax, r8d
shr eax, 1
test r8b, 1
je 0x180005f55
xor eax, 0xedb88320
test al, 1
je 0x180005f62
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f64
shr eax, 1
test al, 1
je 0x180005f71
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f73
shr eax, 1
test al, 1
je 0x180005f80
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f82
shr eax, 1
test al, 1
je 0x180005f8f
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f91
shr eax, 1
test al, 1
je 0x180005f9e
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005fa0
shr eax, 1
test al, 1
je 0x180005fad
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005faf
shr eax, 1
test al, 1
je 0x180005fbc
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005fbe
shr eax, 1
mov dword [r9], eax
inc r8d
add r9, 4
cmp r8d, 0x100
jl 0x180005f45
mov byte [0x1800c54c8], 1
or edx, 0xffffffff
test r10d, r10d
je 0x180006010
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [r11]
lea r11, [r11 + 1]
mov eax, edx
xor rcx, rax
movzx eax, cl
mov ecx, edx
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, ecx
sub r10d, 1
jne 0x180005ff0
mov rbx, qword [rsp + 8]
not edx
mov eax, edx
ret

Function at 0x180006020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 8]
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.180005f20
mov r9d, dword [rbx + 8]
mov r8d, dword [rbx]
mov edx, r8d
mov r10, qword [rbx]
xor r8d, r9d
xor r8d, 0x41433030
xor edx, r9d
xor edx, eax
xor eax, eax
mov word [rsp + 0x31], ax
movzx eax, r8w
shr ax, 8
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], r8b
shr r8d, 0x10
movzx eax, r8w
mov dword [rbx + 0xc], edx
shr ax, 8
mov byte [rsp + 0x32], al
xor eax, eax
mov byte [rsp + 0x33], r8b
test r9d, r9d
je 0x1800060b9
nop word [rax + rax]
mov r8d, eax
lea ecx, [rax + 2]
movzx ecx, cl
lea r9, [rax + r10]
imul edx, ecx, 0xbb
and r8d, 3
inc eax
movzx ecx, byte [rsp + r8 + 0x30]
xor cl, dl
xor byte [r9], cl
cmp eax, dword [rbx + 8]
jb 0x180006090
add rsp, 0x20
pop rbx
ret

Function at 0x1800062d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x18009f2d8]
jmp 0x180d796e2

Function at 0x180026b70
Capabilities:
Packed with generic packer

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x1800a0860]
jmp loc.1804b0675

Function at 0x180028540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x1800a0b50]
jmp 0x180d81d15

Function at 0x180028d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x18009f2d8]
jmp 0x180d82262
Function at 0x18002ab20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [0x1800a0db0]
jmp 0x180d84258