joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801d343c
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 0x1801d346c
xor eax, eax
jmp 0x1801d352f
mov rbp, rbx
cmp word [rax], si
je 0x1801d3491
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1801d3478
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1801d3474
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.1801cb5a4
movsxd r14, eax
test eax, eax
jne 0x1801d34cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1801d3465
mov rcx, r14
call fcn.1801cb4b4
mov rdi, rax
test rax, rax
jne 0x1801d34e8
xor ecx, ecx
call fcn.1801cb478
jmp 0x1801d34c4
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.1801cb5a4
test eax, eax
jne 0x1801d3519
mov rcx, rdi
call fcn.1801cb478
jmp 0x1801d3523
xor ecx, ecx
call fcn.1801cb478
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 0x1801d354c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1801d35d3
mov rsi, rbx
cmp word [rax], bp
je 0x1801d3592
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1801d357c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1801d3578
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1801cb4b4
mov rdi, rax
test rax, rax
je 0x1801d35c0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1801dfcf0
mov rbp, rdi
xor ecx, ecx
call fcn.1801cb478
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1801d5de4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1801d5dfa
mov al, 1
jmp 0x1801d5e5a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1801d5e0b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1801d5e58
mov ecx, dword [rcx + 0x18]
nop
call fcn.1801bfd64
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1801d5e58
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1801d5e58
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1801d5e58
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1801d5e5a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1801d6790
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180287dd0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1801d67e7
cmp word [rdx], r13w
jne 0x1801d67e7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1801d67ec
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1801d6911
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1801d6932
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1801d6825
mov rdx, r9
mov word [rbx], cx
jmp 0x1801d684c
cmp r9, r8
jae 0x1801d685c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1801d6806
jmp 0x1801d6911
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801d6906
cmp dword [rsp + 0x80], esi
je 0x1801d6906
lea r8, [0x180287dd0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1801d68de
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1801d68ae
mov word [rbx], r13w
jmp 0x1801d690e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1801d68bb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1801d690e
cmp word [rsp + 0x70], r13w
jne 0x1801d68eb
cmp rbx, r14
je 0x1801d68a8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1801d2f8c
cmp word [rsp + 0x70], r13w
je 0x1801d6911
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180287dd0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1801d690b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1801d6911
Function at 0x1801daebc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1801cb6e4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1801daf5d
cmp ebx, dword [rsp + 0x30]
je 0x1801daf56
test esi, esi
je 0x1801daf56
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1801daf31
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1801daf3e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1801daf1b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1801daf42
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1801daf5f
mov eax, 1
jmp 0x1801daf5f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1801df430
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1801d2f8c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1801d2f8c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1801df580
cmp rax, 0xffffffffffffffff
je 0x1801df580
xor edi, edi
test rbp, rbp
jle 0x1801df52b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1801cefbc
mov rbx, rax
test rax, rax
jne 0x1801df4b8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1801df521
mov edx, 0x8000
mov ecx, r14d
call fcn.1801df2b4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1801d4f54
cmp eax, 0xffffffff
je 0x1801df501
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1801df4c8
mov edx, r15d
mov ecx, r14d
call fcn.1801df2b4
jmp 0x1801df521
cmp byte [rsi + 0x38], dil
je 0x1801df518
cmp dword [rsi + 0x34], 5
jne 0x1801df518
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1801df521
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1801cb478
jmp 0x1801df594
jns 0x1801df594
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1801d2f8c
cmp rax, 0xffffffffffffffff
jne 0x1801df54c
cmp byte [rsi + 0x30], dil
je 0x1801df594
mov edi, dword [rsi + 0x2c]
jmp 0x1801df594
mov ecx, r14d
call fcn.1801bfd64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1801df594
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1801df594
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1801df58d
mov eax, dword [rsi + 0x2c]
jmp 0x1801df592
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1801d2f8c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180002b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rbx, rcx
call qword [sym.imp.USER32.dll_WindowFromDC]
cmp rax, qword [0x1800b6938]
jne 0x180002b3b
cmp byte [0x1800b6b3c], 0
jne 0x180002d47
mov rcx, rbx
call qword [sym.imp.USER32.dll_WindowFromDC]
mov qword [0x1800b6938], rax
lea r8, [0x180002aa0]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
cmp byte [0x1800b6b3c], 0
je 0x180002b8a
mov rcx, qword [0x1800b6938]
call fcn.18002f140
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rbp
jmp fcn.18002dda0
test rax, rax
je 0x180002d47
mov qword [0x1800b6b90], rax
mov rcx, rbx
call qword [sym.imp.OPENGL32.dll_wglCreateContext]
mov qword [0x1800b6b80], rax
mov rbx, qword [0x1800b6948]
mov rdx, qword [0x1800b6940]
mov ecx, 0x6270
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r9, rax
mov r8, qword [0x1800b6948]
xor r10d, r10d
test r8, r8
je 0x180002c34
mov r11d, dword [r8 + 0x3f68]
movsx rax, word [r8 + 0x60e0]
lea rdx, [r8 + 0x60e4]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r11d
je 0x180002c29
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e0], cx
movsx rax, cx
lea rdx, [r8 + 0x60e4]
lea rdx, [rdx + rax*8]
mov dword [rdx], r11d
mov dword [rdx + 4], r10d
inc word [rdx + 4]
inc dword [r8 + 0x60d8]
mov qword [rbp + 0x68], r9
lea rax, [rbp + 0x70]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x20], r9
test r9, r9
je 0x180002c57
xor edx, edx
mov rcx, r9
call fcn.180003600
mov r10, rax
mov qword [0x1800b6948], r10
call fcn.180007770
mov rdx, qword [0x1800b6948]
test rbx, rbx
cmovne rdx, rbx
mov qword [0x1800b6948], rdx
call fcn.1800014a0
mov rcx, qword [rdx + 0x38]
xorps xmm3, xmm3
movups xmmword [rsp + 0x30], xmm3
movups xmmword [rsp + 0x40], xmm3
movups xmmword [rbp - 0x80], xmm3
mov byte [rsp + 0x3c], 1
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x4c], 1
movss xmm2, dword [0x1800a4b70]
mov dword [rbp - 0x80], 0x3f800000
mov dword [rbp - 0x7c], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x78], ax
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm3
movaps xmmword [rbp - 0x10], xmm3
xorps xmm0, xmm0
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movaps xmmword [rbp], xmm0
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x20], xmm3
movaps xmmword [rbp + 0x30], xmm3
movaps xmmword [rbp + 0x40], xmm3
lea rax, [0x180079c90]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 0x225bc
movss xmm0, dword [0x1800a4b10]
movss dword [rbp - 0x2c], xmm0
lea rdx, [rbp - 0x40]
call fcn.1800296d0
mov rcx, qword [0x1800b6938]
call fcn.18002f140
call fcn.18002dda0
mov byte [0x1800b6b3c], 1
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rbp
ret
Function at 0x1800059a0
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 0x1800059fd
lea rbx, [0x18009c530]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800059e4
cmp r10, 2
jb 0x1800059e4
cmp byte [r9], r8b
jne 0x1800059e4
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 0x1800059c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180005a3f
lea rbx, [0x18009c530]
cmp r8b, 0x23
jne 0x180005a23
cmp byte [r9], r8b
jne 0x180005a23
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 0x180005a10
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18000ba90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1800ad010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1800b6948]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a18]
mov rbx, qword [rdi + 0x4010]
bts r9d, 8
mov dword [rdi + 0x4a18], r9d
mov dword [rdi + 0x4a50], 1
cmp qword [rbx + 0x1b8], 0
jne 0x18000bb07
cmp qword [rdi + 0x4e08], 0
mov eax, 0x260
je 0x18000bb0c
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.180015760
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a38], xmm0
xor edx, edx
mov dword [rdi + 0x4a18], r9d
mov dword [rdi + 0x4a20], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x18000bb7e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.180005860
jmp 0x18000bb8e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.180005860
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.18000ee40
mov rsi, qword [rdi + 0x4010]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x18000bbd8
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1800a11a1]
not r9d
lea r10, [0x18009c530]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18000bc05
cmp byte [rdx], r8b
jne 0x18000bc05
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18000bbf2
not ebx
cmp dword [rdi + 0x4074], ebx
jne 0x18000bc35
xor edx, edx
xor ecx, ecx
call fcn.180008210
cmp dword [rdi + 0x4b50], ebp
jne 0x18000bc7a
cmp word [rsi + 0x16c], 0
jne 0x18000bc50
cmp byte [rsi + 0x172], 0
je 0x18000bc7a
xor edx, edx
mov rcx, rsi
call fcn.180011650
xor edx, edx
mov rcx, rsi
call fcn.1800185a0
mov rdx, rsi
mov ecx, ebx
call fcn.180008210
mov eax, dword [rdi + 0x4b7c]
mov dword [rdi + 0x40a0], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180046230
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x1800122c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x18009c530]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x405c], ebx
jne 0x180012356
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001d850
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180012360
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x18009c530]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180016500
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ad010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800b6948]
mov edi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x180016561
cmp byte [rbx + 0x4d3e], 0
jne 0x180016561
movsx r9d, word [rbx + 0x5ea8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180005750
test dil, 2
je 0x18001668f
jmp 0x1800165ea
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ea8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800a4b0c]
mulss xmm1, dword [0x1800a4afc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a30], rax
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a28], xmm0
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1800a4a64]
or dword [rbx + 0x4a18], 0x41
movss dword [rbx + 0x4a78], xmm0
call fcn.180005750
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016640
lea r11, [0x18009c530]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180016623
cmp byte [r8], r9b
jne 0x180016623
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 0x180016610
not ecx
call fcn.18000bea0
test rax, rax
je 0x18001668f
cmp byte [rax + 0xbe], 0
je 0x18001668f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc6], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5ea8]
movsx r9d, word [rbx + 0x5ea8]
call fcn.180005750
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18000ee40
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180046230
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001bf70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6000], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x18001bff3
xor edx, edx
add rcx, 0x6008
call fcn.18001dd10
mov r8, rsi
lea rcx, [rbx + 0x6008]
mov rdx, rbp
call fcn.180006290
mov eax, dword [rbx + 0x6008]
xor edx, edx
mov r9, qword [rbx + 0x6000]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6010]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x1800b6933]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001bfff
add rcx, 0x6008
call fcn.180006290
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001c450
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800b6948]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001c4b3
mov qword [rsp], rbx
lea rbx, [0x18009c530]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001c493
cmp byte [r8], r9b
jne 0x18001c493
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001c480
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f70]
not eax
mov r8, qword [r10 + 0x5f78]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001c4df
cmp dword [r8 + 8], eax
je 0x18001c4e6
add r8, 0x48
cmp r8, rcx
jne 0x18001c4d0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x18001c730
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1800b6948]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f5c], ecx
test rbx, rbx
je 0x18001c79f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.18001c7b0
lea rdx, [0x1800a1e8c]
mov rcx, rbx
mov rdi, rax
call fcn.180005a50
mov rbx, rax
test rax, rax
je 0x18001c79a
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