joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001049c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400104cc
xor eax, eax
jmp 0x14001058f
mov rbp, rbx
cmp word [rax], si
je 0x1400104f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400104d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400104d4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400103bc
movsxd r14, eax
test eax, eax
jne 0x14001052f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400104c5
mov rcx, r14
call fcn.14000ca60
mov rdi, rax
test rax, rax
jne 0x140010548
xor ecx, ecx
call fcn.14000bde8
jmp 0x140010524
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400103bc
test eax, eax
jne 0x140010579
mov rcx, rdi
call fcn.14000bde8
jmp 0x140010583
xor ecx, ecx
call fcn.14000bde8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001477c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140014792
mov al, 1
jmp 0x1400147f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400147a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400147f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140010d04
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400147f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400147f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400147f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400147f2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140015830
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000e898
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400158ba
cmp byte [rbp - 0x21], r15b
je 0x1400158b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400158f0
call fcn.14000c038
test eax, eax
jne 0x1400158dc
cmp byte [rbp - 0x21], r15b
je 0x1400158d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400158f0
cmp byte [rbp - 0x21], r15b
je 0x1400158ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000eb08
test eax, eax
jne 0x140015990
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e898
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001592f
cmp byte [rbp - 0x21], r15b
je 0x140015964
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140015964
call fcn.14000c038
test eax, eax
jne 0x140015950
cmp byte [rbp - 0x21], r15b
je 0x140015949
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140015964
cmp byte [rbp - 0x21], r15b
je 0x140015961
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000eb08
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140015990
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140015993
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400159a1
mov rcx, rdi
call fcn.14000bde8
cmp byte [rbp + 0x3f], r15b
je 0x1400159b0
mov rcx, qword [rbp + 0x27]
call fcn.14000bde8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140017fa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017fc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017fc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140047ee4], 0
lea rdi, [0x140047ee0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002558
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400024b0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000258e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002570
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400025cf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400025b3
cmp byte [r8], r9b
jne 0x1400025b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400025a0
not eax
pop rdi
ret
Function at 0x1400027d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x1400027e9
mov qword [r8], 0
lea rdx, [0x14003b7b8]
call fcn.1400025e0
mov rbx, rax
test rax, rax
jne 0x140002808
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400028ca
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rax, qword [0x140047cc0]
mov rbp, rsi
test rax, rax
je 0x140002867
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400028ca
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1400028b7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140047cc0]
test rax, rax
je 0x1400028ac
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400028d3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400028c5
mov qword [rdi], rbp
mov rax, rsi
jmp 0x1400028d5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012500
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140047cc0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001261a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001255a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140013530
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001256e
mov edx, 8
mov rcx, rbx
call fcn.140013530
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400125ba
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140012590
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400125c9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14003b7bc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140047cb8]
mov rcx, r15
cmovne rdi, rax
call fcn.1400025e0
mov rbx, rax
test rax, rax
je 0x140012615
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001a520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a782
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x140040270]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a5ea
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a609
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a720
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a650
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a653
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015850
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140018180
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a640
jmp 0x14001a727
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x14001a5a0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001e4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001e659
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001e536
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001de10
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001d400
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001e527
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.1400131b0
mov dword [rbx + 0x80], 0
jmp 0x14001e645
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.14001c2e0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140039430
Capabilities:
Parse pe header

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

Disassembly:
call fcn.142fee3ef
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 0x142fee299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142fee27f
add dl, dl
jne 0x142fee2a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142fee306
xor eax, eax
add dl, dl
jne 0x142fee2b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142fee3bd
add dl, dl
jne 0x142fee2c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142fee2d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142fee2e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142fee2ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x142fee2fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x142fee28e
mov eax, 1
add dl, dl
jne 0x142fee316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142fee323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142fee30b
sub eax, ebx
mov ebx, 1
jne 0x142fee35c
mov ecx, 1
add dl, dl
jne 0x142fee33e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142fee34b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142fee333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142fee28e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142fee378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142fee385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142fee36d
cmp eax, 0x7d00
jae 0x142fee3ab
cmp eax, 0x500
jb 0x142fee3a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142fee28e
cmp eax, 0x7f
ja 0x142fee3ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142fee28e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x142fee3e2
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 0x142fee28e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1409ab058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409ab1df
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 0x1409ab089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ab06f
add dl, dl
jne 0x1409ab096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ab0f6
xor eax, eax
add dl, dl
jne 0x1409ab0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ab1ad
add dl, dl
jne 0x1409ab0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ab0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ab0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ab0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409ab0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409ab07e
mov eax, 1
add dl, dl
jne 0x1409ab106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ab113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ab0fb
sub eax, ebx
mov ebx, 1
jne 0x1409ab14c
mov ecx, 1
add dl, dl
jne 0x1409ab12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ab13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ab123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ab07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409ab168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ab175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ab15d
cmp eax, 0x7d00
jae 0x1409ab19b
cmp eax, 0x500
jb 0x1409ab196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ab07e
cmp eax, 0x7f
ja 0x1409ab19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ab07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409ab1d2
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 0x1409ab07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1407ef32d
Capabilities:
Manually build aes constants

Disassembly:
neg al
xor ebp, ebx
ror r11b, 1
inc r11b
imul sil
not bpl
ror r11b, 1
mov qword [rsp + rax - 0x5fcf0070], rbp
not r11b
neg bx
adc r11b, 0x84
mov byte [rsp + rax - 0x5fcf0076], bpl
xchg rbx, rax
xor r10b, r11b
btr dx, 0x90
lea r11, [rsp + r11 + 0x18]
sbb byte [rsp + rbp - 0x454953ab], ch
mov rax, qword [r11 + rdx - 0x5fcf8d02]
neg bl
lea rbp, [rsp + rbx - 0x5fceffa0]
jbe 0x1407fbaf0
mov qword [rdx + rbp - 0x5fcf8d02], rax
call fcn.1408040a9
jmp 0x1407f57ed

Function at 0x1407ef672
Capabilities:
Encode data using base64
Hash data using murmur3

Disassembly:
mov qword [rsp + rbx - 0x55036003], 0x108019bc
lea r11d, [r11 + rsi + 0x47d89027]
not eax
mov qword [rsp + rbx - 0x55035ffb], r10
xor dword [rsp + rbx - 0x55035ffb], r11d
call fcn.14083554e

Function at 0x1407ef69d
Capabilities:
Encode data using base64
Hash data using murmur3

Disassembly:
mov qword [rsp + rax*2 - 0x2214], rdx
jmp 0x140846740
lea rdi, [rcx + rdi - 0x3da8598b]
mov edx, ebx
add bx, cx
movsx r11d, bl
xor eax, r10d
push r11
xchg dword [rsp + rbx + 0x164696b1], edx
inc eax
rol eax, 3
ror qword [rsp + rbp - 0xfc1], 0xa4
lea eax, [rax + rbx + 0x31d4b2b1]
call fcn.14083ebb2
xor r10b, dl
and bl, 0x1f
dec ecx
adc rdx, rsp
rol ebx, 0x8e
bt r11d, ecx
xadd bl, bpl
mov qword [rdx + rbp*2 - 0x168c5600], rsi
mov edx, dword [rbp + rdi - 0xb462aff]
cbw
push rax
sal word [rsp + rbp - 0xb462afe], 0x6b
xor edx, r10d
ror edx, 1
and rbp, 0xffffffff87185e95
neg edx
idiv cl
lea edx, [rax + rdx - 0x1433b3e0]
movsx esi, ax
xor edx, 0xc628de98
or ebx, 0x6d041fa6
mov qword [rsp + rbp*4 - 0xc002800], r10
xor dword [rsp + rbp*2 - 0x6001400], edx
shl r11, 0x3a
pop r10
xor ecx, esi
movsxd rdx, edx
adc si, 0xd40c
btc si, cx
rol sil, 0xe2
adc r8, rdx
and rsi, rcx
and eax, ebx
rol r11d, 0x1b
lea rbx, [rsp + rbp - 0x30009b0]
mul ecx
movzx cx, byte [rbp + rbx - 0x3000a00]
mov word [r9 + rbp*2 - 0x60013fa], cx
xor r11w, dx
movzx ecx, si
movzx r11d, byte [rdi + rbp*8 - 0x18004ffb]
sbb rcx, rbp
bt dx, 0x81
cdqe
lea rdi, [rdi + rbp*2 - 0x60013fa]
xadd al, ch
mov ebx, edx
xor r11b, r10b
xor bpl, bpl
div rcx
add r11b, 0x99
dec esi
not r11b
bswap rsi
sal rsi, 0x56
sbb r11b, 0xbd
imul rbp, rdx
not r11b
not si
ror r11b, 1
xor r10b, r11b
not cl
add r11, rsp
sub bl, bpl
mov rsi, qword [rax + r11 - 0x63ffc93f]
mov qword [r9 + rax - 0x63ffc941], rsi
lea rsi, [rcx + rcx*2 - 0x2dcdf5c8]
rol dl, 0x64
push rbx
lea r9, [r9 + rax - 0x63ffc941]
call fcn.14081923d
mov edx, dword [rax + rdi - 0x1109]
ror qword [rsp + r11 + 0x4b3002a0], 0xf2
xor r11, qword [rsp + rax*4 - 0x4428]
xor qword [rsp + r11 + 0x4b2102a0], r11
lea rdi, [rdi + rax - 0x1105]
bt rax, r11
xor edx, r10d
bswap edx
pop rcx
or bl, ah
lea edx, [rcx + rdx - 0x4ae7aeee]
bts r11d, ebx
call fcn.14085d48a
shl rax, cl
idiv rax
mov si, word [rsi + rbx - 0x897e684]
neg rax
call fcn.14084af0d
mov ecx, 0x3da8598f
lea rbx, [rcx - 0x53ef49cf]
lea rax, [rcx + rcx*4 + 0x1696b8be]
mov eax, dword [rdi + rcx - 0x3da8598f]
movzx ebp, bx
btc rbp, rbx
jae 0x1408438e2