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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400044d8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400044fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004500
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004559
test ecx, ecx
jle 0x140004539
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140004559
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004559
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140004580
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400045a2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400045b8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400045d4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400045d6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004612
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400046ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000464d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000468e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400046ae
cmp rbx, rax
ja 0x140004660
test rbx, rbx
je 0x1400046ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004b3d
xor eax, eax
jmp 0x140004ca9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004b77
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004b77
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004ca9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004c9c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004bba
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004be5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004ca1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004c54
sub eax, 1
je 0x140004c54
cmp eax, 2
jne 0x140004c9c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004ca1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004c82
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140004c9c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004ca1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005af0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005110
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400051e3
cmp byte [rcx + 0x71], 0
je 0x1400051e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400051df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400051a4
sub eax, 1
je 0x1400051a8
cmp eax, 2
jne 0x1400051df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005af0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400051d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400051df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000518c
xor al, al
jmp 0x14000518c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005af0
add rsp, 0x60
pop rbx
ret

Function at 0x140006510
Capabilities:
Parse pe header

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

Disassembly:
mov r10, rcx
mov eax, dword [0x1801be224]
syscall
ret
Function at 0x180006090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1801bd5c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801be160]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x1fad], 0
jne 0x1800060f8
cmp byte [rbx + 0x1fae], 0
jne 0x1800060f8
movsx r9d, word [rbx + 0x308e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18000b010
test sil, 1
je 0x180006229
jmp 0x180006191
movss xmm1, dword [rbx + 0x1628]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x180094d94]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x180094d88]
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 [0x1801be160]
mulss xmm0, dword [0x180094d38]
or dword [rax + 0x1d18], 0x40
movss dword [rax + 0x1d78], xmm0
movsx r9d, word [rbx + 0x308e]
call fcn.18000b010
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800061e1
lea r11, [0x1800944f0]
cmp r9b, 0x23
jne 0x1800061c4
cmp byte [r8], r9b
jne 0x1800061c4
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 0x1800061b1
not ecx
call fcn.1800098e0
test rax, rax
je 0x180006229
cmp byte [rax + 0x8e], 0
je 0x180006229
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, 0x10
movsx r9d, word [rbx + 0x308e]
call fcn.18000b010
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1800034d0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18006a0e0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180009960
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x1800099b0
lea r11, [0x1800944f0]
cmp r9b, 0x23
jne 0x180009993
cmp byte [r8], r9b
jne 0x180009993
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 0x180009980
not ecx
jmp fcn.1800098e0
Function at 0x18000a050
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, [0x1800944f0]
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 [0x1801be160]
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 0x18000a0dd
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x18000a0ec
mov byte [rax + 0x1cac], 1
mov rcx, qword [0x1801be160]
cmp dword [rcx + 0x1c54], ebx
jne 0x18000a10c
mov r8, r9
mov ecx, ebx
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.180007fc0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18000a1c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xe8]
lea r8, [0x1800944f0]
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 [0x1801be160]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c6c], edx
jne 0x18000a35f
mov dword [rax + 0x1c70], edx
cmp dword [rax + 0x1ca8], edx
jne 0x18000a36e
mov byte [rax + 0x1cac], 1
mov eax, edx
add rsp, 0x18
ret
Function at 0x18000ad60
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 0x18000ad7b
mov qword [r8], 0
call fcn.18000aec0
mov rbx, rax
test rax, rax
jne 0x18000ad91
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.18007224c
mov esi, eax
cmp eax, 0xffffffff
je 0x18000ae92
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180071c98
test eax, eax
jne 0x18000ae92
mov rcx, rbx
call fcn.18007224c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000ae92
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.180071c98
test eax, eax
jne 0x18000ae92
cmp rdi, 0xffffffffffffffff
je 0x18000ae92
mov rax, qword [0x1801be160]
test rax, rax
je 0x18000ae0e
inc dword [rax + 0x3b0]
mov rdx, qword [0x1801be170]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x18000ae92
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180071980
cmp rax, rdi
je 0x18000ae6b
mov rcx, rbx
call fcn.18007129c
mov rax, qword [0x1801be160]
test rax, rax
je 0x18000ae59
dec dword [rax + 0x3b0]
mov rdx, qword [0x1801be170]
mov rcx, rsi
call qword [0x1801bd008]
jmp 0x18000ae9a
test ebp, ebp
jle 0x18000ae7d
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call fcn.180091680
mov rcx, rbx
call fcn.18007129c
test r14, r14
je 0x18000ae8d
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000ae9c
mov rcx, rbx
call fcn.18007129c
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 0x18000b160
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 0x18000b1bd
lea rbx, [0x1800944f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000b1a4
cmp r10, 2
jb 0x18000b1a4
cmp byte [r9], r8b
jne 0x18000b1a4
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 0x18000b180
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000b1ff
lea rbx, [0x1800944f0]
cmp r8b, 0x23
jne 0x18000b1e3
cmp byte [r9], r8b
jne 0x18000b1e3
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 0x18000b1d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18000b4c0
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 0x18000b500
cmp rax, rbx
jae 0x18000b6ac
movzx r8d, byte [rax]
test r8b, r8b
je 0x18000b6ac
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0x94a40]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x18000b538
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x18000b551
movzx r12d, byte [rcx]
jmp 0x18000b554
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x18000b562
movzx ebp, byte [rcx]
jmp 0x18000b565
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x18000b573
movzx esi, byte [rcx]
jmp 0x18000b576
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0x94a60]
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 + 0x94a90]
or r10d, r8d
shr r15d, cl
lea rcx, [0x180000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0x94a78]
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 + 0x94aa8]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x18000b696
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 0x18000b4e8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x18000b6ac
xor r10d, r10d
inc r14d
jmp 0x18000b4e8
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
Function at 0x18000b720
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 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x18000b949
mov qword [r11 + 0x20], rsi
lea rsi, [0x180000000]
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
mov qword [rsp], r8
test rbp, rbp
je 0x18000b782
cmp r8, rbp
jae 0x18000b926
movzx edx, byte [r8]
test dl, dl
je 0x18000b926
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x94a40]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x18000b7b8
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x18000b7d1
movzx r13d, byte [rax]
jmp 0x18000b7d4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x18000b7e3
movzx r12d, byte [rax]
jmp 0x18000b7e6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x18000b7f5
movzx r15d, byte [rax]
jmp 0x18000b7f8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x94a60]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x94a90]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x94a78]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x94aa8]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18000b903
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x18000b90d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x18000b926
mov word [rdi], si
add rdi, 2
lea rsi, [0x180000000]
cmp rdi, qword [rsp + 8]
jb 0x18000b770
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 rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x18000b95f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180012ce0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x1801be160]
lea r10, [0x1800944f0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x1c20]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x1c54], edi
jne 0x180012d87
mov r8, r9
mov ecx, edi
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.180007fc0
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180012dbb
inc r8d
test ecx, ecx
je 0x180012da4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180012da9
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180019950
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180018040
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [0x1801be160]
cmp byte [rbx + 0x30c9], 0
jne 0x180018191
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001818a
lea rdx, [0x180094bf4]
mov qword [rsp + 0x38], rdi
call fcn.18000aec0
mov rdi, rax
test rax, rax
je 0x180018185
mov qword [rsp + 0x40], r14
mov rcx, rax
mov qword [rsp + 0x30], rbp
call fcn.18007224c
mov r14d, eax
cmp eax, 0xffffffff
je 0x180018173
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.180071c98
test eax, eax
jne 0x180018173
mov rcx, rdi
call fcn.18007224c
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x180018173
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call fcn.180071c98
test eax, eax
jne 0x180018173
mov r14, rbp
cmp rbp, 0xffffffffffffffff
je 0x180018173
mov rax, qword [0x1801be160]
test rax, rax
je 0x180018105
inc dword [rax + 0x3b0]
mov rdx, qword [0x1801be170]
mov rcx, r14
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x180018173
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, rax
call fcn.180071980
mov rcx, rdi
cmp rax, r14
je 0x18001813f
call fcn.18007129c
jmp 0x18001814f
call fcn.18007129c
mov rdx, r14
mov rcx, rbp
call fcn.18000cd10
mov rax, qword [0x1801be160]
test rax, rax
je 0x180018161
dec dword [rax + 0x3b0]
mov rdx, qword [0x1801be170]
mov rcx, rbp
call qword [0x1801bd008]
jmp 0x18001817b
mov rcx, rdi
call fcn.18007129c
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x30c9], 1
movss xmm0, dword [rbx + 0x30cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1800181d4
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x30cc], xmm0
jb 0x1800181d4
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1800181c3
call fcn.180015f20
jmp 0x1800181ca
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x30cc], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret