joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060340
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400603e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14006039a
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.1400627e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140049250
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140136646]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400603ef
mov rcx, rbx
call fcn.140049250
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140060870
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140136690]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400608d3
mov qword [rsp], rbx
lea rbx, [0x1400afa60]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400608b3
cmp byte [r8], r9b
jne 0x1400608b3
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 0x1400608a0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140060907
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14006090e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400608f4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140095d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x140095d9f
cmp edx, r11d
jge 0x140095d8e
mov r8d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x140095d84
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x140095d4f
xor cl, cl
jmp 0x140095d58
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x14], r8d
cmp edx, 0x18
jg 0x140095d8e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x140095d43
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x14]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x140095de2
mov eax, dword [rbx + 0x14]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x14], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x140095dc0
mov dword [rbx + 0x10], edx
jns 0x140095e08
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x140095e37
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x140095e21
xor dl, dl
jmp 0x140095e2a
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x140095e18
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140095de4
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140095ea1
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x140095ebb
mov rcx, rbx
call fcn.1400951a0
test eax, eax
je 0x140095e94
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400a3920
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400a395a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400a395f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400a39a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400acb40]
cmp byte [rcx + rax], 0
je 0x1400a39a8
dec r8
sub rdx, 1
jne 0x1400a398e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400a531c
Capabilities:
Parse pe header

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

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

Function at 0x14000b178
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000af74
Function at 0x14000ea94
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 0x14000eac4
xor eax, eax
jmp 0x14000eb87
mov rbp, rbx
cmp word [rax], si
je 0x14000eae9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ead0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000eacc
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.14000e9b4
movsxd r14, eax
test eax, eax
jne 0x14000eb27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000eabd
mov rcx, r14
call fcn.14000cf74
mov rdi, rax
test rax, rax
jne 0x14000eb40
xor ecx, ecx
call fcn.14000d0b0
jmp 0x14000eb1c
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.14000e9b4
test eax, eax
jne 0x14000eb71
mov rcx, rdi
call fcn.14000d0b0
jmp 0x14000eb7b
xor ecx, ecx
call fcn.14000d0b0
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 0x140013cf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140013d18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140013d18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001380
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
jne 0x140001402
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
jmp 0x140001543
movups xmmword [rsp + 0x60], xmm0
lea rax, [0x140001570]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x54], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x44], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140001483
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
jmp 0x140001534
mov edi, dword [rsp + 0x4c]
mov ecx, edi
call fcn.140002664
mov r14, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400014f7
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
mov rcx, r14
call fcn.140002620
nop
jmp 0x140001534
mov eax, dword [r14 + 0x18]
test eax, eax
jne 0x14000151e
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
mov rcx, r14
call fcn.140002620
nop
jmp 0x140001534
lea rdx, [r14 + rax]
mov rcx, rsi
call fcn.140001610
nop
mov rcx, r14
call fcn.140002620
nop
test rbp, rbp
je 0x140001543
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002600
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140002f80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002fca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002fca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002fca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002fca
cmp dword [rcx + 0x84], 0xe
jbe 0x140002fca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002fcc
xor al, al
add rsp, 0x28
ret
Function at 0x180007ce0
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 0x180007d3d
lea rbx, [0x1800b8de0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180007d24
cmp r10, 2
jb 0x180007d24
cmp byte [r9], r8b
jne 0x180007d24
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 0x180007d00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180007d7f
lea rbx, [0x1800b8de0]
cmp r8b, 0x23
jne 0x180007d63
cmp byte [r9], r8b
jne 0x180007d63
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 0x180007d50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180007ec0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180007eda
mov qword [r8], 0
lea rdx, [0x1800e8b88]
call fcn.180007d90
mov rbx, rax
test rax, rax
jne 0x180007efa
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 0x180007fd1
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 0x180007fd1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180007fd1
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 0x180007fd1
cmp rdi, 0xffffffffffffffff
je 0x180007fd1
mov rax, qword [0x180119f40]
test rax, rax
je 0x180007f6e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180007fd1
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 0x180007fbe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180119f40]
test rax, rax
je 0x180007fb3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180007fda
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180007fcc
mov qword [r14], rdi
mov rax, rsi
jmp 0x180007fdc
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 0x18000c3d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x128]
lea r11, [0x1800b8de0]
mov rax, qword [rcx + 0x130]
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 + 0x4080], ebx
jne 0x18000c466
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18002ddf0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000c470
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x130]
lea r9, [0x1800b8de0]
movss xmm2, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movsxd rcx, dword [rcx + 0x128]
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 0x1800107f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x180119f40]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x4038]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1200103
or r12d, eax
cmp qword [rbx + 0x1e0], 0
jne 0x18001084f
cmp qword [rdi + 0x4d20], 0
mov eax, 0x288
je 0x180010854
mov eax, 0x258
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x138]
subss xmm5, dword [rbx + 0x13c]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x180010899
jne 0x180010899
mov eax, 1
jmp 0x18001089b
xor eax, eax
ucomiss xmm0, xmm3
jp 0x1800108aa
jne 0x1800108aa
mov r15d, 2
jmp 0x1800108ad
xor r15d, r15d
movss xmm2, dword [0x180103e60]
or r15d, eax
comiss xmm3, xmm1
jb 0x1800108c9
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x1800108c9
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x1800108da
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x1800108da
movaps xmm0, xmm2
or dword [rdi + 0x4918], 2
xor edx, edx
movss dword [rdi + 0x493c], xmm1
movss dword [rdi + 0x4940], xmm0
mov dword [rdi + 0x4920], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x180010923
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.180007bc0
jmp 0x180010939
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.180007bc0
movss xmm6, dword [rdi + 0x3908]
test sil, sil
jne 0x180010950
mov dword [rdi + 0x3908], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.180013c40
mov rsi, qword [rdi + 0x4038]
movzx ebp, al
movss dword [rdi + 0x3908], xmm6
cmp word [rsi + 0xf8], 1
mov dword [rsi + 0xb4], r14d
mov byte [rsi + 0x10a], r15b
jne 0x180010996
movsd xmm0, qword [rsi + 0x50]
movsd qword [rbx + 0x138], xmm0
mov r9d, r14d
lea rdx, [0x1800e80a9]
not r9d
lea r10, [0x1800b8de0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1800109c3
cmp byte [rdx], r8b
jne 0x1800109c3
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 0x1800109b0
not ebx
cmp dword [rdi + 0x4098], ebx
jne 0x1800109f3
xor edx, edx
xor ecx, ecx
call fcn.18000c630
cmp dword [rdi + 0x4ab8], r14d
jne 0x180010a40
bt r12d, 0x17
jb 0x180010a40
cmp word [rsi + 0x194], 0
jne 0x180010a16
cmp byte [rsi + 0x19a], 0
je 0x180010a40
xor edx, edx
mov rcx, rsi
call fcn.180016d60
xor edx, edx
mov rcx, rsi
call fcn.18001d890
mov rdx, rsi
mov ecx, ebx
call fcn.18000c630
mov eax, dword [rdi + 0x4adc]
mov dword [rdi + 0x40c0], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18001b330
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180118028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180119f40]
mov edi, ecx
cmp byte [rbx + 0x4c69], 0
jne 0x18001b391
cmp byte [rbx + 0x4c6a], 0
jne 0x18001b391
movsx r9d, word [rbx + 0x5d9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180007b40
test dil, 2
je 0x18001b4c0
jmp 0x18001b421
movss xmm1, dword [rbx + 0x39a8]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5d9a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180103ea8]
mulss xmm1, dword [0x180103e88]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x4934], rax
mov dword [rbx + 0x491c], 1
movss dword [rbx + 0x492c], xmm0
mov byte [rbx + 0x4954], 1
movss dword [rbx + 0x4930], xmm1
movss xmm0, dword [rbx + 0x3a04]
mulss xmm0, dword [0x180103c84]
or dword [rbx + 0x4918], 0x41
movss dword [rbx + 0x4978], xmm0
call fcn.180007b40
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18001b471
lea r11, [0x1800b8de0]
cmp r9b, 0x23
jne 0x18001b454
cmp byte [r8], r9b
jne 0x18001b454
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 0x18001b441
not ecx
call fcn.180010d70
test rax, rax
je 0x18001b4c0
cmp byte [rax + 0xeb], 0
je 0x18001b4c0
mov byte [rax + 0xf0], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x110], 1
mov edx, 0x10
inc word [rbx + 0x5d9a]
movsx r9d, word [rbx + 0x5d9a]
call fcn.180007b40
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.180013c40
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800aed10
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180021680
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 + 0x5ed8], 0
lea rbx, [rcx + 0x5ee0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180021727
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800216da
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.18002f2c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800088c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ed8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ee8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180119f50]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002172f
mov rcx, rbx
call fcn.1800088c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180021a80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180119f40]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180021ae3
mov qword [rsp], rbx
lea rbx, [0x1800b8de0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180021ac3
cmp byte [r8], r9b
jne 0x180021ac3
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 0x180021ab0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5e40]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180021b17
mov r10, qword [r10 + 0x5e48]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180021b1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180021b04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret