joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c224
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, [0x14003d2b0]
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 0x14001c27b
cmp word [rdx], r13w
jne 0x14001c27b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001c280
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001c3a5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001c3c6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001c2b9
mov rdx, r9
mov word [rbx], cx
jmp 0x14001c2e0
cmp r9, r8
jae 0x14001c2f0
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 0x14001c29a
jmp 0x14001c3a5
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 0x14001c39a
cmp dword [rsp + 0x80], esi
je 0x14001c39a
lea r8, [0x14003d2b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001c372
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001c342
mov word [rbx], r13w
jmp 0x14001c3a2
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 0x14001c34f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001c3a2
cmp word [rsp + 0x70], r13w
jne 0x14001c37f
cmp rbx, r14
je 0x14001c33c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001ce8c
cmp word [rsp + 0x70], r13w
je 0x14001c3a5
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, [0x14003d2b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001c39f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001c3a5
Function at 0x14001fe84
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 0x14001feb4
xor eax, eax
jmp 0x14001ff77
mov rbp, rbx
cmp word [rax], si
je 0x14001fed9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001fec0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001febc
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.14001e594
movsxd r14, eax
test eax, eax
jne 0x14001ff17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001fead
mov rcx, r14
call fcn.140019258
mov rdi, rax
test rax, rax
jne 0x14001ff30
xor ecx, ecx
call fcn.14001921c
jmp 0x14001ff0c
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.14001e594
test eax, eax
jne 0x14001ff61
mov rcx, rdi
call fcn.14001921c
jmp 0x14001ff6b
xor ecx, ecx
call fcn.14001921c
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 0x140022eec
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.140018d6c
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 0x140022f8d
cmp ebx, dword [rsp + 0x30]
je 0x140022f86
test esi, esi
je 0x140022f86
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140022f61
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140022f6e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140022f4b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140022f72
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140022f8f
mov eax, 1
jmp 0x140022f8f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140024634
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.14000e928
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400246be
cmp byte [rbp - 0x21], r15b
je 0x1400246b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400246f4
call fcn.14001a0f0
test eax, eax
jne 0x1400246e0
cmp byte [rbp - 0x21], r15b
je 0x1400246d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400246f4
cmp byte [rbp - 0x21], r15b
je 0x1400246f1
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.1400149e8
test eax, eax
jne 0x140024794
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e928
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140024733
cmp byte [rbp - 0x21], r15b
je 0x140024768
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140024768
call fcn.14001a0f0
test eax, eax
jne 0x140024754
cmp byte [rbp - 0x21], r15b
je 0x14002474d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140024768
cmp byte [rbp - 0x21], r15b
je 0x140024765
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.1400149e8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140024794
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140024797
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400247a5
mov rcx, rdi
call fcn.14001921c
cmp byte [rbp + 0x3f], r15b
je 0x1400247b4
mov rcx, qword [rbp + 0x27]
call fcn.14001921c
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 0x140025f20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140025f48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140025f48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1406f2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406f21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406f2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f206f
add dl, dl
jne 0x1406f2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f20f6
xor eax, eax
add dl, dl
jne 0x1406f20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f21ad
add dl, dl
jne 0x1406f20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406f20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406f207e
mov eax, 1
add dl, dl
jne 0x1406f2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f20fb
sub eax, ebx
mov ebx, 1
jne 0x1406f214c
mov ecx, 1
add dl, dl
jne 0x1406f212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406f2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f215d
cmp eax, 0x7d00
jae 0x1406f219b
cmp eax, 0x500
jb 0x1406f2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f207e
cmp eax, 0x7f
ja 0x1406f219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406f21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406f207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18001aec0
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 0x18001af1d
lea rbx, [0x18006d4d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001af04
cmp r10, 2
jb 0x18001af04
cmp byte [r9], r8b
jne 0x18001af04
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 0x18001aee0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001af5f
lea rbx, [0x18006d4d0]
cmp r8b, 0x23
jne 0x18001af43
cmp byte [r9], r8b
jne 0x18001af43
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 0x18001af30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001b060
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x18001b07e
mov qword [r8], r14
lea rdx, [0x180072f38]
call fcn.18001af70
mov rbx, rax
test rax, rax
jne 0x18001b0a3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18001b1cd
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 0x18001b1cd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001b1cd
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001b1cd
cmp rdi, 0xffffffffffffffff
je 0x18001b1cd
mov rcx, rdi
call fcn.18001f440
mov rbp, rax
test rax, rax
je 0x18001b1cd
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 0x18001b1ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x180081d28]
test r8, r8
je 0x18001b1af
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18001b1a4
lea ecx, [rdx + 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 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001b1d6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18001b1c8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x18001b1d8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18001ec00
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x18006d4d0]
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 + 0x4054], ebx
jne 0x18001ec96
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180033bb0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18001eca0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x18006d4d0]
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 0x180022640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x180080040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x180081d28]
mov r11d, 1
mov r15d, dword [rsp + 0x90]
mov r14d, edx
mov r9d, r15d
mov r10, rcx
mov rbx, qword [rsi + 0x4008]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
mov r9d, dword [rsi + 0x49c8]
cmovae eax, r11d
bts r9d, 8
mov dword [rsi + 0x49c8], r9d
mov dword [rsi + 0x4a00], eax
cmp qword [rbx + 0x1b8], 0
jne 0x1800226df
cmp qword [rsi + 0x4dc8], 0
mov eax, 0x260
je 0x1800226e4
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.18002b600
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rsi + 0x49e8], xmm0
xor edx, edx
mov dword [rsi + 0x49c8], r9d
mov dword [rsi + 0x49d0], r11d
mov r9, qword [rbx + 8]
test r10, r10
je 0x180022754
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.18001ad20
jmp 0x180022765
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.18001ad20
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3920]
xor edx, edx
call fcn.1800257f0
mov rdi, qword [rsi + 0x4008]
movzx ebp, al
movss dword [rsi + 0x3920], xmm6
cmp word [rdi + 0xcc], 1
mov dword [rdi + 0x88], r14d
jne 0x1800227ac
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, r14d
lea rdx, [0x180072391]
not r9d
lea r10, [0x18006d4d0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1800227d9
cmp byte [rdx], r8b
jne 0x1800227d9
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 0x1800227c6
not ebx
cmp dword [rsi + 0x406c], ebx
jne 0x180022809
xor edx, edx
xor ecx, ecx
call fcn.18001ee60
cmp dword [rsi + 0x4af8], r14d
jne 0x180022856
bt r15d, 0x17
jb 0x180022856
cmp word [rdi + 0x16c], 0
jne 0x18002282c
cmp byte [rdi + 0x172], 0
je 0x180022856
xor edx, edx
mov rcx, rdi
call fcn.180027d70
xor edx, edx
mov rcx, rdi
call fcn.18002e4e0
mov rdx, rdi
mov ecx, ebx
call fcn.18001ee60
mov eax, dword [rsi + 0x4b1c]
mov dword [rsi + 0x4090], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180066840
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x18002c320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180080040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180081d28]
mov edi, ecx
cmp byte [rbx + 0x4d01], 0
jne 0x18002c381
cmp byte [rbx + 0x4d02], 0
jne 0x18002c381
movsx r9d, word [rbx + 0x5e58]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001aca0
test dil, 2
je 0x18002c4af
jmp 0x18002c40a
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e58]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800739b8]
mulss xmm1, dword [0x1800739ac]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49e0], rax
mov dword [rbx + 0x49cc], 1
movss dword [rbx + 0x49d8], xmm0
movss dword [rbx + 0x49dc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x18007390c]
or dword [rbx + 0x49c8], 0x41
movss dword [rbx + 0x4a28], xmm0
call fcn.18001aca0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002c460
lea r11, [0x18006d4d0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18002c443
cmp byte [r8], r9b
jne 0x18002c443
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 0x18002c430
not ecx
call fcn.180022b70
test rax, rax
je 0x18002c4af
cmp byte [rax + 0xbe], 0
je 0x18002c4af
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e58]
movsx r9d, word [rbx + 0x5e58]
call fcn.18001aca0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1800257f0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180066840
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800323d0
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 + 0x5fb0], 0
lea rbx, [rcx + 0x5fb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180032477
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003242a
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.180034d90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001b850
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180081d1c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18003247f
mov rcx, rbx
call fcn.18001b850
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800327a0
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
mov rbx, qword [0x180081d28]
xor ebp, ebp
cmp byte [rbx + 0x5f08], bpl
jne 0x18003287f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180032878
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.18001b060
mov rsi, rax
test rax, rax
je 0x180032878
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180032804
mov rcx, rax
call fcn.1800329d0
mov r8, qword [0x180081d28]
test r8, r8
je 0x18003286f
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180032864
lea ecx, [rdx + 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 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f08], 1
movss xmm0, dword [rbx + 0x5f0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18003290e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f0c], xmm0
jb 0x18003290e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x180032901
mov rax, qword [0x180081d28]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f0c], ebp
call fcn.180032c30
lea rdx, [0x180072f3c]
mov rcx, rdi
mov rsi, rax
call fcn.18001af70
mov rdi, rax
test rax, rax
je 0x180032908
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180032908
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f0c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180032930
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180081d28]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180032993
mov qword [rsp], rbx
lea rbx, [0x18006d4d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180032973
cmp byte [r8], r9b
jne 0x180032973
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 0x180032960
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f20]
not eax
mov r8, qword [r10 + 0x5f28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1800329bf
cmp dword [r8 + 8], eax
je 0x1800329c6
add r8, 0x48
cmp r8, rcx
jne 0x1800329b0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret