joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1418a6fbc
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
cmc
add rsp, 0x1b
lea r9, [rdx + riz + 0x64898e78]
jmp 0x1418a6f2b
neg r9w
btr r14d, edi
lea rdx, [rdi + rdi]
mov dl, 0x43
mov r15w, 0xa34a
xchg word [rsp + 0x14], cx
jmp 0x1418a6ea6
bsr r11, rax
xchg word [rsp], r8w
mov r13w, 0xeee6
jmp 0x1418a6f00
add rsp, 0xf
mov eax, dword [rsp]
rdtsc
mov r13d, esp
xchg bx, cx
xchg r13d, ebx
jmp 0x1418a6ed6
xchg r14b, r11b
lea rsp, [rsp + 2]
pop r9w
bswap rdx
mov r14b, byte [rsp]
add eax, ebx
jmp 0x1418a6f6a
push qword [rsp + 8]
lea rcx, [rax + riz - 0x41f3]
mov word [rsp + 0xa], r9w
std
neg eax
mov r11d, edi
jmp 0x1418a6eec
mov cx, r9w
mov r8, r12
bswap r13
mov qword [rsp], rdi
xchg dword [rsp], ecx
mov dl, 0xcd
jmp 0x1418a6f92
std
rcr dl, cl
pushfq
xchg word [rsp + 5], cx
xchg word [rsp + 4], dx
rdtsc
jmp 0x1418a6f46
mov r11d, dword [rsp + 7]
mov r15b, byte [rsp + 7]
setl r11b
call fcn.1418a6f7c
stc
bswap r15d
btr r11, rdx
sub rsp, 0xb
mov word [rsp + 3], bx
jmp 0x1418a7008
push rax
mov byte [rsp + 0x11], r9b
jmp 0x1418a6ebc
mov ebx, dword [rsp]
call fcn.1418a6ff2
or cl, byte [rdx + 0x6b8a7f18]
test al, 0x2f
mov edi, 0xc2d529da
jge 0x1418a702c
lea r13, [rdx + r11]
lea ebp, [rdx + rbx]
clc
sete r11b
mov r14b, byte [rsp]
neg ebx
mov r8d, dword [rsp]
jmp 0x1418a6fc7
lea rdx, [rax + rbx]
cpuid
lea r13, [r12 - 0x93]
pop r8
lea rsp, [rsp + 3]
mov r9, qword [rsp + 0x11]
jmp 0x1418a6fdd
and al, 0x66
mov eax, r9d
jmp 0x1418a7069
bt bx, bx
lea rsp, [rsp + 6]
mov r8, qword [rsp + 0x48]
lea rdx, [r8 + riz + 0x67]
mov r14d, 0x60fe465c
mov rdx, qword [rsp]
jmp 0x1418a7720
xchg r14w, r11w
call fcn.1418a70ae
mov r14w, word [rsp]
mov r11, qword [rsp + 0x70]
stc
mov r14b, r11b
jmp 0x1418a7115
lea rsp, [rsp + 0x90]
popfq
jmp 0x1418a77ad
cmp r14d, 0x6e63efb5
lea r14, [r11*8]
inc r14
bswap r14d
mov r14, 0xffffffffe101b71a
mov r14, qword [rsp + 0x79]
jmp 0x1418a70fb
add r14b, 0xb7
lea rdx, [rdi*4]
mov rbx, qword [rsp + 0x60]
lea r14, [r10 + r10]
mov dl, 0x7e
mov r11b, r9b
jmp 0x1418a70c4
bsr dx, cx
mov ebx, r10d
bswap r14
mov r11b, byte [rsp]
mov r14w, word [rsp]
add r14, 0x104d58a4
jmp 0x1418a7159
rol r11d, 0x15
clc
mov bx, si
cld
mov rax, qword [rsp + 0x58]
mov r11d, esp
jmp 0x1418a71a3
lea r15, [r14*8]
mov r14, rbx
neg ax
mov r15, qword [rsp + 0x50]
mov dl, byte [rsp]
lea r11, [r15 + riz + 0x29486b57]
jmp 0x1418a725d
lea rax, [0x140ba1958]
pushfq
call fcn.1418a776e
push r11
pushfq
mov qword [rsp + 1], rdx
mov dword [rsp + 6], r11d
pop word [rsp + 9]
mov qword [rsp + 6], rbp
jmp 0x1418a77f4
push word [rsp + 0xe]
push r13
push rdx
pop qword [rsp + 0x14]
call fcn.1418a77de
invalid
Function at 0x1418aec92
Capabilities:
Check for peb beingdebugged flag

Disassembly:
pop word [rsp]
lea rsp, [rsp + 1]
mov word [rsp + 1], di
jmp 0x1418aecb3
mov dword [rsp + 3], r15d
pop qword [rsp]
jmp 0x1418aec7c
pop word [rsp]
pushfq
push dx
mov qword [rsp], rsi
jmp 0x1418aed0a
mov word [rsp + 1], r11w
mov byte [rsp], r15b
mov byte [rsp + 3], r8b
mov dword [rsp], r10d
mov word [rsp], sp
mov byte [rsp + 2], r11b
jmp 0x1418aec9d
mov word [rsp + 6], r8w
mov word [rsp], cx
pop word [rsp + 8]
push qword [rsp + 1]
mov dword [rsp + 2], r15d
pop qword [rsp]
jmp 0x1418aecef
Function at 0x140001000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd r13, dword [rcx + 0x3c]
xor r15d, r15d
mov rbp, rdx
mov rdi, rcx
mov r10d, r15d
mov ebx, dword [r13 + rcx + 0x88]
add rbx, rcx
mov r14d, dword [rbx + 0x1c]
mov r11d, dword [rbx + 0x20]
add r14, rcx
mov r12d, dword [rbx + 0x24]
add r11, rcx
add r12, rcx
cmp rdx, 0x10000
jae 0x14000107c
mov r8d, dword [rbx + 0x10]
movzx edx, bp
cmp edx, r8d
jb 0x1400011c7
mov ecx, dword [rbx + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x1400011c7
sub edx, r8d
mov r10d, dword [r14 + rdx*4]
jmp 0x1400010d1
mov esi, dword [rbx + 0x18]
mov r9d, r15d
test esi, esi
je 0x1400010d4
nop word [rax + rax]
mov r8d, dword [r11]
mov rax, rbp
add r8, rdi
sub r8, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400010b3
inc rax
test ecx, ecx
jne 0x1400010a0
test edx, edx
je 0x1400010c5
inc r9d
add r11, 4
cmp r9d, esi
jb 0x140001090
jmp 0x1400010d4
mov eax, r9d
movzx ecx, word [r12 + rax*2]
mov r10d, dword [r14 + rcx*4]
add r10, rdi
cmp r10, rbx
jb 0x1400011a7
mov eax, dword [r13 + rdi + 0x8c]
lea rdx, [rax + rax*4]
lea rax, [rbx + rdx*8]
cmp r10, rax
jae 0x1400011a7
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rsi, rax
test rax, rax
je 0x1400011c7
mov edx, 0x2e
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r14, rax
mov byte [rax], r15b
mov rax, qword [0x140006670]
test rax, rax
jne 0x140001182
mov rcx, qword gs:[0x60]
mov rdi, qword [rcx + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140001167
mov rcx, qword [rbx + 0x50]
lea rdx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001163
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001144
jmp 0x140001167
mov r15, qword [rbx + 0x20]
lea rdx, str.LoadLibraryA
mov rcx, r15
call section..text
mov qword [0x140006670], rax
test rax, rax
je 0x1400011c7
mov rcx, rsi
call rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400011c7
lea rdx, [r14 + 1]
mov rcx, rbx
call section..text
mov r10, rax
mov rax, r10
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x1400011aa
Function at 0x140001a80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r8, 0xffffffffffffffff
mov rdi, rcx
mov rcx, r8
xor bl, bl
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], bl
jne 0x140001aa0
shl rcx, 2
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
add rdx, 4
cmovb rdx, r8
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_tedqj2]
movzx ecx, byte [rdi]
xor r11d, r11d
mov r10, rax
test cl, cl
je 0x140001bef
mov qword [rsp + 0x38], rbp
mov r8, rax
lea rbp, [0x140004850]
nop dword [rax]
movsx rax, bl
inc bl
mov byte [rsp + rax + 0x30], cl
movsx r9, byte [rsp + 0x30]
cmp bl, 3
jne 0x140001b65
movsx edx, byte [rsp + 0x31]
mov ecx, r9d
and ecx, 3
mov rax, r9
sar rax, 2
add r11d, 4
shl ecx, 4
movzx eax, byte [rax + rbp]
mov byte [r8], al
mov eax, edx
sar eax, 4
and edx, 0xf
add eax, ecx
movsx rcx, byte [rsp + 0x32]
cdqe
movzx eax, byte [rax + rbp]
mov byte [r8 + 1], al
mov eax, ecx
sar eax, 6
lea eax, [rax + rdx*4]
cdqe
movzx eax, byte [rax + rbp]
mov byte [r8 + 2], al
mov rax, rcx
and eax, 0x3f
movzx eax, byte [rax + rbp]
mov byte [r8 + 3], al
add r8, 4
xor bl, bl
movzx ecx, byte [rdi + 1]
inc rdi
test cl, cl
jne 0x140001af0
test bl, bl
jle 0x140001bea
mov rax, r9
movsxd rcx, r11d
sar rax, 2
movzx eax, byte [rax + rbp]
mov byte [rcx + r10], al
lea eax, [r11 + 1]
movsxd rdx, eax
lea r8d, [rax + 1]
cmp bl, 1
jne 0x140001ba8
mov eax, r9d
mov r11b, 0x3d
and eax, 3
shl eax, 4
movzx ecx, byte [rax + rbp]
jmp 0x140001bcf
movsx ecx, byte [rsp + 0x31]
mov eax, ecx
sar ecx, 4
and eax, 0xf
shl eax, 2
movzx r11d, byte [rax + rbp]
mov eax, r9d
and eax, 3
shl eax, 4
add eax, ecx
movsxd rcx, eax
movzx ecx, byte [rcx + rbp]
mov byte [rdx + r10], cl
lea edx, [r8 + 1]
movsxd rcx, r8d
mov byte [rcx + r10], r11b
lea r11d, [rdx + 1]
movsxd rcx, edx
mov byte [rcx + r10], 0x3d
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rax, r10
movsxd rcx, r11d
mov byte [rcx + r10], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140003d30
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, str.Galaxy__Perm
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140003520
call fcn.140001070
lea rcx, [0x140005260]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140004630
Capabilities:
Parse pe header

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

Disassembly:
call 0x140d581df
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 0x140d58089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d5806f
add dl, dl
jne 0x140d58096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d580f6
xor eax, eax
add dl, dl
jne 0x140d580a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d581ad
add dl, dl
jne 0x140d580b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d580c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d580d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d580dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d580ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d5807e
mov eax, 1
add dl, dl
jne 0x140d58106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d58113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d580fb
sub eax, ebx
mov ebx, 1
jne 0x140d5814c
mov ecx, 1
add dl, dl
jne 0x140d5812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d5813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d58123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d5807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d58168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d58175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d5815d
cmp eax, 0x7d00
jae 0x140d5819b
cmp eax, 0x500
jb 0x140d58196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d5807e
cmp eax, 0x7f
ja 0x140d5819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d5807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d581d2
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 0x140d5807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006a54
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x30], rax
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x140006a73
mov qword [rsp + 0x38], rdx
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400067ac
mov rax, rbx
add rsp, 0x40
pop rbx
ret

Function at 0x140007348
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 0x140007382
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140007387
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 0x1400073d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000a380]
cmp byte [rcx + rax], 0
je 0x1400073d0
dec r8
sub rdx, 1
jne 0x1400073b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140007eb0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007efa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007efa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007efa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007efa
cmp dword [rcx + 0x84], 0xe
jbe 0x140007efa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007efc
xor al, al
add rsp, 0x28
ret
Function at 0x140011ab0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140700f70]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bec], ecx
test rbx, rbx
je 0x140011b1f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140011b30
lea rdx, [0x140119dfc]
mov rcx, rbx
mov rdi, rax
call fcn.140015af0
mov rbx, rax
test rax, rax
je 0x140011b1a
mov r8, qword [rsp + 0x30]
mov r9, rax
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140014930
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001498d
lea rbx, [0x140117bc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140014974
cmp r10, 2
jb 0x140014974
cmp byte [r9], r8b
jne 0x140014974
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140014950
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400149cf
lea rbx, [0x140117bc0]
cmp r8b, 0x23
jne 0x1400149b3
cmp byte [r9], r8b
jne 0x1400149b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400149a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140015630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x140015847
mov qword [r11 + 0x18], rbp
lea rbp, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x14001568e
cmp r8, rsi
jae 0x140015824
movzx edx, byte [r8]
test dl, dl
je 0x140015824
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x118798]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x1400156c2
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x1400156db
movzx r13d, byte [rax]
jmp 0x1400156de
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x1400156ed
movzx r12d, byte [rax]
jmp 0x1400156f0
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1400156ff
movzx r15d, byte [rax]
jmp 0x140015702
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x1187b8]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x1187e8]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x1187d0]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0x118800]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x140015806
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x140015680
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x14001585d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140015880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x140000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x1400158c0
cmp rax, rdi
jae 0x140015a38
movzx r8d, byte [rax]
test r8b, r8b
je 0x140015a38
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x118798]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x1400158f6
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x14001590e
movzx r15d, byte [rcx]
jmp 0x140015911
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x140015920
movzx r14d, byte [rcx]
jmp 0x140015923
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x140015931
movzx ebp, byte [rcx]
jmp 0x140015934
xor bpl, bpl
lea r10, [r9*4]
movzx ecx, sil
mov r9d, dword [r10 + r13 + 0x1187b8]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r11d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r11d
shr r11d, 2
and ecx, 0x3f
or r11d, edx
shl r9d, 6
shr r11d, 2
or r9d, ecx
mov ecx, dword [r10 + r13 + 0x1187e8]
or r11d, r8d
shr r9d, cl
shr r11d, 2
mov edx, r9d
cmp r9d, dword [r10 + r13 + 0x1187d0]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r11d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r11d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r10 + r13 + 0x118800]
or r11d, edx
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x140015a2a
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x1400158b2
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret
Function at 0x140015d00
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x140015d1b
mov qword [r8], 0
call fcn.140015af0
mov rbx, rax
test rax, rax
jne 0x140015d31
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140015e39
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140015e39
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140015e39
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140015e39
cmp rdi, 0xffffffffffffffff
je 0x140015e39
mov rax, qword [0x140700f70]
test rax, rax
je 0x140015db2
inc dword [rax + 0xf4]
mov rdx, qword [0x140700f80]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140015e39
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x140015e11
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140700f70]
test rax, rax
je 0x140015dff
dec dword [rax + 0xf4]
mov rdx, qword [0x140700f80]
mov rcx, rsi
call qword [0x14015b008]
jmp 0x140015e42
test ebp, ebp
jle 0x140015e23
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140015e34
mov qword [r14], rdi
mov rax, rsi
jmp 0x140015e44
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x1400170a0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x140117bc0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [r11 + 0x11]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x12]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x13]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x14]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x15]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x16]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x17]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x140017178
xor r9d, r9d
mov r8, rdx
mov ecx, ebx
lea edx, [r9 + 0xc]
call fcn.140022560
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140017190
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x140117bc0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14001721d
xor r9d, r9d
movsxd r8, edx
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.140022560
mov eax, ebx
add rsp, 0x20
pop rbx
ret