joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b470
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x1400d49d8]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x5b84], r15d
test rcx, rcx
je 0x14001b59b
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x5b88]
mov dword [rbx + 0x5b84], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14001b4d4
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14001ce10
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x14001b4ea
mov edx, 8
mov rcx, rdi
call fcn.14001ce10
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x5b98], r15d
jle 0x14001b535
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x5ba0]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rbx + 0x5b98]
jl 0x14001b510
mov eax, dword [rdi]
lea rdx, [0x1400c0990]
test eax, eax
lea rdi, [0x1400d49d0]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x5b90]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.140005f70
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x14001b591
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 rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x140034ff0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140035025
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400342c0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140035166
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400350e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140035155
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003511d
mov r10, qword [rdx]
cmp r10, rax
je 0x140035117
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140035155
cmp r9, rdx
je 0x140035131
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140035177
cmp r9, rdx
jne 0x140035122
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140035090
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140035155
Function at 0x140038030
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140038061
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400d4ae8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400d4af8]
lea rdx, [rdi + rdi]
call fcn.1400342c0
mov rax, qword [0x1400d4ae8]
lea r9, [rdi - 1]
mov qword [0x1400d4b10], r9
mov qword [0x1400d4b18], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140038202
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400d4af8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003814c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400381c3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140038189
mov r10, qword [rdx]
cmp r10, rax
je 0x140038183
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400381c3
cmp r9, rdx
je 0x14003819f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400381d7
cmp r9, rdx
jne 0x140038190
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400381fd
mov r9, qword [0x1400d4b10]
jmp 0x1400380d1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400381c3
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003e754
Capabilities:
Parse pe header

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

Function at 0x14003eb70
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14003ebaa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003ebaf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003ebf8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400a3640]
cmp byte [rcx + rax], 0
je 0x14003ebf8
dec r8
sub rdx, 1
jne 0x14003ebde
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140050940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.14003f780
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x140050996
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400509ed
mov ebp, 0x4b0000
jmp 0x1400509fb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.140041d60
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140050a11
mov eax, r12d
jmp 0x140050a1a
mov edx, edi
mov ecx, ebp
call fcn.140041d60
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140050a36
shl esi, 0x10
mov ecx, esi
jmp 0x140050b25
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x140050a94
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.14003f780
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140050a84
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.140041b50
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.14003f780
add ebx, eax
jmp 0x140050b2e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x140050aa1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x140050ae0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.14003f780
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x140050ae5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.140041b50
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.14003f780
add ebx, eax
jmp 0x140050b2e
cmp eax, r12d
jge 0x140050b1e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.14003f780
sub ebp, eax
sub r15d, esi
je 0x140050b1e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.140041b50
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.14003f780
add ebx, eax
jmp 0x140050b2e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.14003f780
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.14003f780
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x140089500
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x14008964b
movzx r10d, r14w
mov edi, r14d
mov rax, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.1400899c0
test al, al
jne 0x1400896e6
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1400895db
cmp edx, dword [rbx + 0x60]
jl 0x1400895db
cmp edx, dword [rbx + 0x64]
jg 0x1400895db
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1400895db
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1400895db
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1400895fe
test byte [r9 + 0x18], 8
je 0x1400895fe
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x14008960f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.14008a380
test al, al
jne 0x1400896e6
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140089632
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x140089564
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1400896ea
test rdx, rdx
je 0x1400896ea
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x140089688
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x14008968b
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1400896a6
dec r11d
add r11d, eax
jmp 0x1400896bd
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.14008a640
test al, al
jne 0x1400896e6
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.14008a640
test al, al
jne 0x1400896e6
mov rdx, qword [rsi]
add di, bp
jne 0x140089670
jmp 0x1400896ee
mov al, 1
jmp 0x1400896f9
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1417e4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1417e41df
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 0x1417e4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417e406f
add dl, dl
jne 0x1417e4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417e40f6
xor eax, eax
add dl, dl
jne 0x1417e40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417e41ad
add dl, dl
jne 0x1417e40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417e40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417e40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417e40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417e40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417e407e
mov eax, 1
add dl, dl
jne 0x1417e4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417e4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417e40fb
sub eax, ebx
mov ebx, 1
jne 0x1417e414c
mov ecx, 1
add dl, dl
jne 0x1417e412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417e413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417e4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417e407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417e4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417e4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417e415d
cmp eax, 0x7d00
jae 0x1417e419b
cmp eax, 0x500
jb 0x1417e4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417e407e
cmp eax, 0x7f
ja 0x1417e419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417e407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417e41d2
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 0x1417e407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140030910
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0x5f
sub al, 0xca
and dword [rax], ecx
cmp al, 0x39
int1
xor dword [rsi], esi
or byte [rsi + rbx*4 - 0x71a39b07], bl
jno sym.loader.exe_public:_unsigned_int___cdecl_asmjit::_abi_1_10::BaseBuilder::addPass_class_asmjit::_abi_1_10::Pass____ptr64____ptr64
sbb dword es:[rbp + rbx + 0xf90ead6], ebx
invalid

Function at 0x1413b7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1413b71df
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 0x1413b7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413b706f
add dl, dl
jne 0x1413b7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413b70f6
xor eax, eax
add dl, dl
jne 0x1413b70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413b71ad
add dl, dl
jne 0x1413b70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413b70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413b70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413b70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413b70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1413b707e
mov eax, 1
add dl, dl
jne 0x1413b7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413b7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413b70fb
sub eax, ebx
mov ebx, 1
jne 0x1413b714c
mov ecx, 1
add dl, dl
jne 0x1413b712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413b713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413b7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413b707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1413b7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413b7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413b715d
cmp eax, 0x7d00
jae 0x1413b719b
cmp eax, 0x500
jb 0x1413b7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413b707e
cmp eax, 0x7f
ja 0x1413b719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413b707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413b71d2
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 0x1413b707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1415d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415d81df
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 0x1415d8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415d806f
add dl, dl
jne 0x1415d8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415d80f6
xor eax, eax
add dl, dl
jne 0x1415d80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415d81ad
add dl, dl
jne 0x1415d80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415d80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415d80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415d80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415d80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415d807e
mov eax, 1
add dl, dl
jne 0x1415d8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415d8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415d80fb
sub eax, ebx
mov ebx, 1
jne 0x1415d814c
mov ecx, 1
add dl, dl
jne 0x1415d812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415d813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415d8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415d807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415d8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415d8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415d815d
cmp eax, 0x7d00
jae 0x1415d819b
cmp eax, 0x500
jb 0x1415d8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415d807e
cmp eax, 0x7f
ja 0x1415d819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415d807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415d81d2
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 0x1415d807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002690
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r12d, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400028a6
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000289d
lea rdx, [0x140061938]
lea rcx, [rsp + 0x40]
call fcn.14000c4d0
nop
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x20]
call fcn.14000c4d0
mov r10, qword [rsp + 0x30]
mov r9, qword [rsp + 0x50]
cmp r10, r9
je 0x14000273c
xor bl, bl
mov r9, qword [rsp + 0x38]
jmp 0x1400027e3
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
seta dl
cmova rcx, qword [rsp + 0x40]
lea r8, [rcx + r9*2]
lea r14, [rsp + 0x40]
test dl, dl
cmovne r14, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
mov r9, qword [rsp + 0x38]
cmp r9, 7
seta dl
cmova rcx, qword [rsp + 0x20]
lea r15, [rcx + r10*2]
lea rbx, [rsp + 0x20]
test dl, dl
cmovne rbx, qword [rsp + 0x20]
sub r8, r14
mov rax, r15
sub rax, rbx
xor r8, rax
test r8, 0xfffffffffffffffe
je 0x1400027a2
xor bl, bl
jmp 0x1400027e3
cmp rbx, r15
je 0x1400027e1
sub r14, rbx
nop word [rax + rax]
movzx esi, word [r14 + rbx]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
movzx edi, ax
movzx ecx, si
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp di, ax
jne 0x140002730
add rbx, 2
cmp rbx, r15
jne 0x1400027b0
mov r9, qword [rsp + 0x38]
mov bl, 1
cmp r9, 7
jbe 0x14000281c
lea rdx, [r9*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002817
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000288a
call fcn.14005e4a4
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8, qword [rsp + 0x58]
cmp r8, 7
jbe 0x14000286e
lea rdx, [r8*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002869
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002891
call fcn.14005e4a4
test bl, bl
jne 0x140002898
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002701
jmp 0x14000289d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r12d, dword [rsp + 0x68]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r12d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14005e130
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret