joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001082
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x1400eed40
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x1400eed94
lea r11, str.__9_vDabX_8g
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x2aaaaaab
lea r10, [r10 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
movzx eax, byte [rcx + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x1400eed60
mov eax, r9d
ret

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

Disassembly:
jmp 0x1400efb8c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400efc19
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400efc19
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400efc19
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400efc00
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400efbfa
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400efc02
add rdx, 0x28
jmp 0x1400efbdf
xor edx, edx
test rdx, rdx
jne 0x1400efc0b
xor al, al
jmp 0x1400efc1f
cmp dword [rdx + 0x24], 0
jge 0x1400efc15
xor al, al
jmp 0x1400efc1f
mov al, 1
jmp 0x1400efc1f
xor al, al
jmp 0x1400efc1f
add rsp, 0x18
ret

Function at 0x14000111d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ef380
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000114f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ef368
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011ef
test al, al
je 0x1400ef233
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011cc
mov bl, al
mov ecx, dword [0x1400f67e8]
cmp ecx, 1
je 0x1400ef23e
test ecx, ecx
jne 0x1400ef169
mov dword [0x1400f67e8], 1
lea rdx, [0x1400f4660]
lea rcx, [0x1400f4330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400ef14a
mov eax, 0xff
jmp 0x1400ef223
lea rdx, [0x1400f4220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400f67e8], 2
jmp 0x1400ef171
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011b8
call fcn.140001172
mov rbx, rax
cmp qword [rax], 0
je 0x1400ef1a4
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x1400ef1a4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1400f9020]
call fcn.140001195
mov rbx, rax
cmp qword [rax], 0
je 0x1400ef1c6
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x1400ef1c6
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000114a
mov ebx, eax
call fcn.140001154
test al, al
je 0x1400ef248
test sil, sil
jne 0x1400ef1fd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010b9
mov eax, ebx
jmp 0x1400ef223
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011c2
nop
mov ecx, 7
call fcn.1400011c2
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001163
add rsp, 0x28
jmp 0x1400ef0dc

Function at 0x140001154
Capabilities:
Parse pe header

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

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rbp, qword [0x140026c48]
add rbp, 2
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp + 0x98], dl
add dl, dl
mov byte [rsp + 0x88], r9b
mov byte [rsp + 0x90], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x80], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x80], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x98]
add al, al
movzx ecx, byte [rsp + 0x80]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x90]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x90]
xor al, byte [rsp + 0x88]
movzx esi, byte [rsp + 0x88]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp + 0x98]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x1400015a0
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001b20
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140026c48]
lea r8, [0x140026cf0]
sub r8, rbx
mov rcx, rbx
mov r9d, 4
nop
mov edx, 4
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140001b60
sub r9, 1
jne 0x140001b50
lea rdi, [0x140026ce0]
mov sil, 9
sub rdi, rbx
lea rbp, [0x140021590]
nop word [rax + rax]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001c00
inc r8
sub r9, 1
jne 0x140001bf0
mov rax, rbx
lea r8d, [rdx + 4]
nop dword [rax]
nop dword [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001c40
sub r8, 1
jne 0x140001c30
call fcn.140001570
sub rdi, 0x10
add sil, 0xff
jne 0x140001b90
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001ce0
inc r8
sub r9, 1
jne 0x140001cd0
lea rdx, [0x140026c50]
sub rdx, rbx
lea r8d, [r9 + 4]
nop dword [rax + rax]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001d20
sub r8, 1
jne 0x140001d10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140003974
Capabilities:
Parse pe header

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

Function at 0x14000abdc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000a9cc
Function at 0x1400100b4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400100e4
xor eax, eax
jmp 0x1400101a7
mov rbp, rbx
cmp word [rax], si
je 0x140010109
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400100f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400100ec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140010004
movsxd r14, eax
test eax, eax
jne 0x140010147
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400100dd
mov rcx, r14
call fcn.14000d0c0
mov rdi, rax
test rax, rax
jne 0x140010160
xor ecx, ecx
call fcn.14000c43c
jmp 0x14001013c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140010004
test eax, eax
jne 0x140010191
mov rcx, rdi
call fcn.14000c43c
jmp 0x14001019b
xor ecx, ecx
call fcn.14000c43c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001549c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000f164
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140015526
cmp byte [rbp - 0x21], r15b
je 0x140015521
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001555c
call fcn.14000c690
test eax, eax
jne 0x140015548
cmp byte [rbp - 0x21], r15b
je 0x140015540
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001555c
cmp byte [rbp - 0x21], r15b
je 0x140015559
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000e740
test eax, eax
jne 0x1400155fc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000f164
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001559b
cmp byte [rbp - 0x21], r15b
je 0x1400155d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400155d0
call fcn.14000c690
test eax, eax
jne 0x1400155bc
cmp byte [rbp - 0x21], r15b
je 0x1400155b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400155d0
cmp byte [rbp - 0x21], r15b
je 0x1400155cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000e740
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400155fc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400155ff
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001560d
mov rcx, rdi
call fcn.14000c43c
cmp byte [rbp + 0x3f], r15b
je 0x14001561c
mov rcx, qword [rbp + 0x27]
call fcn.14000c43c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400179e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017a08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017a08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002c20
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 0x180002c7d
lea rbx, [0x1800d1c80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002c64
cmp r10, 2
jb 0x180002c64
cmp byte [r9], r8b
jne 0x180002c64
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 0x180002c40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002cbf
lea rbx, [0x1800d1c80]
cmp r8b, 0x23
jne 0x180002ca3
cmp byte [r9], r8b
jne 0x180002ca3
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 0x180002c90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002e00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002e1a
mov qword [r8], 0
lea rdx, [0x1800d16cc]
call fcn.180002cd0
mov rbx, rax
test rax, rax
jne 0x180002e3a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180002f11
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 0x180002f11
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002f11
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 0x180002f11
cmp rdi, 0xffffffffffffffff
je 0x180002f11
mov rax, qword [0x180175520]
test rax, rax
je 0x180002eae
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180002f11
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]
mov rcx, rbx
cmp rax, rdi
je 0x180002efe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180175520]
test rax, rax
je 0x180002ef3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002f1a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180002f0c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180002f1c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180010de0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x180175520]
lea r10, [0x1800d1c80]
mov r9, qword [rax + 0x1d18]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.1800226c0
add rsp, 0x28
ret

Function at 0x180011970
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800eb080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180175520]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x1800119d0
cmp byte [rbx + 0x20d6], 0
jne 0x1800119d0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180002ba0
test dil, 1
je 0x180011af6
jmp 0x180011a5f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800d7944]
mulss xmm1, dword [0x1800d7934]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1800d7888]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.180002ba0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180011ab0
lea r11, [0x1800d1c80]
nop
cmp r9b, 0x23
jne 0x180011a93
cmp byte [r8], r9b
jne 0x180011a93
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 0x180011a80
not ecx
call fcn.18000a960
test rax, rax
je 0x180011af6
cmp byte [rax + 0xcf], 0
je 0x180011af6
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.180002ba0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.18000d410
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800bdca0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180016770
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180016817
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800167ca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180022fd0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800034d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180175518]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001681f
mov rcx, rbx
call fcn.1800034d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180016c60
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x180016cb2
lea r11, [0x1800d1c80]
cmp r9b, 0x23
jne 0x180016c95
cmp byte [r8], r9b
jne 0x180016c95
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180016c82
mov r11, qword [0x180175520]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x180016cf9
lea r9, [r10 + 4]
test r9, r9
je 0x180016cf9
not eax
cmp dword [r9], eax
je 0x180016d02
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x180016cd0
mov rcx, rbx
pop rbx
jmp fcn.180016b70
mov rax, r9
pop rbx
ret