joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000189a
Capabilities:
Delete file

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x40], rcx
mov rcx, qword [rbp + 0x40]
call sym.chdir
lea rax, [0x14000a07b]
mov rcx, rax
call dbg.opendir
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x140001a48
jmp 0x140001a21
mov rax, qword [rbp - 0x10]
add rax, 8
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
lea rdx, [0x14000a07b]
mov rcx, rax
call sym.strcmp
mov ebx, eax
mov rax, qword [rbp - 0x18]
lea rdx, [0x14000a07d]
mov rcx, rax
call sym.strcmp
add ebx, eax
mov rax, qword [rbp - 0x18]
lea rdx, str.AppData
mov rcx, rax
call sym.strcmp
add eax, ebx
cmp eax, 3
jne 0x140001a15
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.recognize_dir
test eax, eax
jne 0x140001a15
mov rax, rsp
mov rbx, rax
mov edx, 0x7fffffff
mov ecx, 0x7fffffff
mov rax, qword [sym.imp.USER32.dll_SetCursorPos]
call rax
mov eax, 0x100
cdqe
sub rax, 1
mov qword [rbp - 0x20], rax
mov eax, 0x100
cdqe
mov rsi, rax
mov edi, 0
mov eax, 0x100
cdqe
mov r12, rax
mov r13d, 0
mov eax, 0x100
cdqe
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140002b00
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp - 0x28], rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.msvcrt.dll__getcwd]
call rax
mov rdx, rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x28]
mov r9, rcx
mov r8, rdx
lea rdx, str._s_s
mov rcx, rax
call sym.sprintf
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.checkperms
test al, al
je 0x140001a01
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.flame
lea rax, [0x14000a07d]
mov rcx, rax
call sym.chdir
mov rsp, rbx
jmp 0x140001a21
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.remove
mov rax, qword [rbp - 8]
mov rcx, rax
call dbg.readdir
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x1400018db
mov rax, qword [rbp - 8]
mov rcx, rax
call dbg.closedir
mov edx, 0x7fffffff
mov ecx, 0x7fffffff
mov rax, qword [sym.imp.USER32.dll_SetCursorPos]
call rax
nop
lea rsp, [rbp + 8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret

Function at 0x140001a69
Capabilities:
Get disk size

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], 0
lea rax, [rbp - 8]
mov r9d, 0
mov r8d, 0
mov rdx, rax
lea rax, [0x14000a08e]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
call rax
test eax, eax
je 0x140001aa9
mov rax, qword [rbp - 8]
jmp 0x140001aae
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x140001e00
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14000d0b4]
mov r12, rcx
test ebx, ebx
jle 0x140001fa0
mov rax, qword [0x14000d0b8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140001ebb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140001f45
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140001ea0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140001fc2
mov rax, qword [0x14000d0b8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000d0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001fa7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001f3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001f50
add dword [0x14000d0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14000d0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001f3e
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 ebx, ebx
jmp 0x140001ec8
mov rax, qword [0x14000d0b8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002490
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x14000d120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d100]
test rbx, rbx
je 0x1400024ec
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400024e3
test r12, r12
je 0x1400024e3
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400024c8
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002720
Capabilities:
Parse pe header

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

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002795
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000278c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002797
add rax, 0x28
cmp rax, r9
jne 0x140002778
xor eax, eax
ret

Function at 0x1400027a0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140002830
mov rdx, qword [0x14000a760]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000281e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000281e
cmp word [rax + 0x18], 0x20b
jne 0x14000281e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140002830
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140002809
add r12, 0x28
cmp r12, rsi
je 0x140002830
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140002800
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov rdx, qword [0x14000a760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002860
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002868
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002860
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400028b5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400028ac
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002860
add rax, 0x28
cmp rax, r9
jne 0x140002898
xor eax, eax
ret

Function at 0x1400028c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a760]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400028e0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400028e8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400028e0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002900
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a760]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002920
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002928
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002920
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x140002968
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000295f
test rcx, rcx
je 0x140002920
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002950
xor eax, eax
ret
Function at 0x140002970
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a760]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002990
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002998
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

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

Disassembly:
mov rdx, qword [0x14000a760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400029d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400029d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400029d0
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400029d0
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002a1c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002a30
add rdx, 0x28
cmp rdx, r9
jne 0x140002a08
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x14000a760]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002a62
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002a70
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a62
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002a62
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002a62
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002abd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002ad0
add rdx, 0x28
cmp r10, rdx
jne 0x140002aa8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002adf
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002aef
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002ac6
test ecx, ecx
jg 0x140002ad8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x130
mov r12, rcx
call sym._errno
mov dword [rax], 0
test r12, r12
je 0x140002cf8
cmp byte [r12], 0
je 0x140002cd0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140002d10
test al, 0x10
je 0x140002cd0
lea rsi, [rsp + 0x20]
mov rdx, r12
mov r8d, 0x104
mov rcx, rsi
call sym._fullpath
mov rcx, rsi
call sym.strlen
lea rcx, [rax + 0x24b]
mov rbx, rax
mov rbp, rax
call sym.malloc
mov r12, rax
test rax, rax
je 0x140002d3f
lea rdx, [rax + 0x244]
lea rax, [rbx + 1]
cmp eax, 8
jb 0x140002c98
mov rcx, qword [rsp + 0x20]
lea rdi, [r12 + 0x24c]
and rdi, 0xfffffffffffffff8
mov qword [r12 + 0x244], rcx
mov ecx, eax
mov r8, qword [rsi + rcx - 8]
mov qword [rdx + rcx - 8], r8
mov rcx, rdx
sub rcx, rdi
sub rsi, rcx
add ecx, eax
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
cmp byte [r12 + 0x244], 0
je 0x140002c38
movzx ecx, byte [r12 + rbx + 0x243]
cmp cl, 0x5c
je 0x140002c38
cmp cl, 0x2f
jne 0x140002ce0
nop dword [rax]
mov eax, 0x2a
mov ecx, 0x20
mov word [rdx + rbp], ax
lea rdx, [r12 + 0x130]
xor eax, eax
mov qword [r12 + 0x238], 0xffffffffffffffff
mov rdi, rdx
mov dword [r12 + 0x240], 0
mov qword [r12 + 0x128], 0
rep stosq qword [rdi], rax
mov dword [rdi], 0
mov rax, r12
add rsp, 0x130
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
test al, 4
jne 0x140002d28
test eax, eax
je 0x140002c0f
movzx ecx, byte [rsp + 0x20]
mov byte [rdx], cl
test al, 2
je 0x140002c0f
mov ecx, eax
movzx r8d, word [rsi + rcx - 2]
mov word [rdx + rcx - 2], r8w
jmp 0x140002c0f
call sym._errno
xor r12d, r12d
mov dword [rax], 0x14
jmp 0x140002c80
mov ecx, 0x5c
mov rbp, rax
mov word [rdx + rbx], cx
jmp 0x140002c38
call sym._errno
mov dword [rax], 0xe
jmp 0x140002c80
call sym._errno
xor r12d, r12d
mov dword [rax], 2
jmp 0x140002c80
mov ecx, dword [rsp + 0x20]
mov dword [rdx], ecx
mov ecx, eax
mov r8d, dword [rsi + rcx - 4]
mov dword [rdx + rcx - 4], r8d
jmp 0x140002c0f
call sym._errno
mov dword [rax], 0xc
jmp 0x140002c80

Function at 0x140a48000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140a4800a
jmp 0x140a4a00f
jmp fcn.1406b9058
Function at 0x180006820
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800a6478]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800a7200]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x1fad], 0
jne 0x180006888
cmp byte [rbx + 0x1fae], 0
jne 0x180006888
movsx r9d, word [rbx + 0x308e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.18000b630
test sil, 1
je 0x1800069b9
jmp 0x180006921
movss xmm1, dword [rbx + 0x1628]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x180086e74]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x180086e68]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
or dword [rbx + 0x1d18], 1
mov qword [rbx + 0x1d30], rax
movss dword [rbx + 0x1d28], xmm0
mov dword [rbx + 0x1d1c], 1
movss dword [rbx + 0x1d2c], xmm1
movss xmm0, dword [rbx + 0x1684]
mov rax, qword [0x1800a7200]
mulss xmm0, dword [0x180086e18]
or dword [rax + 0x1d18], 0x40
movss dword [rax + 0x1d78], xmm0
movsx r9d, word [rbx + 0x308e]
call fcn.18000b630
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180006971
lea r11, [0x1800865d0]
cmp r9b, 0x23
jne 0x180006954
cmp byte [r8], r9b
jne 0x180006954
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180006941
not ecx
call fcn.18000a040
test rax, rax
je 0x1800069b9
cmp byte [rax + 0x8e], 0
je 0x1800069b9
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x308e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x308e]
call fcn.18000b630
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.180003c20
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180057710
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x18000a740
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1800865d0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1800a7200]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x18000a7cd
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x18000a7dc
mov byte [rax + 0x1cac], 1
mov rcx, qword [0x1800a7200]
cmp dword [rcx + 0x1c54], ebx
jne 0x18000a7fc
mov r8, r9
mov ecx, ebx
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.1800086e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18000a8b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xe8]
lea r8, [0x1800865d0]
movss xmm3, dword [rcx + 0xec]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd0]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xc8]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
movss dword [rsp + 4], xmm1
subss xmm0, xmm2
movss xmm1, dword [rdx + 0xc]
mov edx, dword [rax + rcx*4 - 4]
subss xmm1, xmm3
movzx eax, byte [rsp]
not edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 1]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 2]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 3]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 4]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 5]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 6]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 7]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 8]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 9]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xa]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xb]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xc]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xd]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xe]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xf]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1800a7200]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c6c], edx
jne 0x18000aa4f
mov dword [rax + 0x1c70], edx
cmp dword [rax + 0x1ca8], edx
jne 0x18000aa5e
mov byte [rax + 0x1cac], 1
mov eax, edx
add rsp, 0x18
ret
Function at 0x18000b380
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 0x18000b39b
mov qword [r8], 0
call fcn.18000b4e0
mov rbx, rax
test rax, rax
jne 0x18000b3b1
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 fcn.180064c0c
mov esi, eax
cmp eax, 0xffffffff
je 0x18000b4b2
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180064650
test eax, eax
jne 0x18000b4b2
mov rcx, rbx
call fcn.180064c0c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000b4b2
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.180064650
test eax, eax
jne 0x18000b4b2
cmp rdi, 0xffffffffffffffff
je 0x18000b4b2
mov rax, qword [0x1800a7200]
test rax, rax
je 0x18000b42e
inc dword [rax + 0x3b0]
mov rdx, qword [0x1800a7210]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x18000b4b2
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180064318
cmp rax, rdi
je 0x18000b48b
mov rcx, rbx
call fcn.180063c30
mov rax, qword [0x1800a7200]
test rax, rax
je 0x18000b479
dec dword [rax + 0x3b0]
mov rdx, qword [0x1800a7210]
mov rcx, rsi
call qword [0x1800a6008]
jmp 0x18000b4ba
test ebp, ebp
jle 0x18000b49d
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call fcn.18005f6a0
mov rcx, rbx
call fcn.180063c30
test r14, r14
je 0x18000b4ad
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000b4bc
mov rcx, rbx
call fcn.180063c30
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 0x18000b780
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 0x18000b7dd
lea rbx, [0x1800865d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000b7c4
cmp r10, 2
jb 0x18000b7c4
cmp byte [r9], r8b
jne 0x18000b7c4
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 0x18000b7a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000b81f
lea rbx, [0x1800865d0]
cmp r8b, 0x23
jne 0x18000b803
cmp byte [r9], r8b
jne 0x18000b803
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 0x18000b7f0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18000bad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x180000000]
mov r13, rax
test rbx, rbx
je 0x18000bb10
cmp rax, rbx
jae 0x18000bcbc
movzx r8d, byte [rax]
test r8b, r8b
je 0x18000bcbc
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0x86b20]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x18000bb48
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x18000bb61
movzx r12d, byte [rcx]
jmp 0x18000bb64
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x18000bb72
movzx ebp, byte [rcx]
jmp 0x18000bb75
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x18000bb83
movzx esi, byte [rcx]
jmp 0x18000bb86
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0x86b40]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x86b70]
or r10d, r8d
shr r15d, cl
lea rcx, [0x180000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0x86b58]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x86b88]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x18000bca6
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x18000baf8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x18000bcbc
xor r10d, r10d
inc r14d
jmp 0x18000baf8
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret