joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bd420
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
lea rcx, [0x14012d228]
mov rbx, rdx
call fcn.1400072c0
test eax, eax
jne 0x1400bd45d
lea r8, [0x1400f1524]
lea rdx, [0x1400f1ab0]
lea rcx, [0x14012c5c0]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.14004e590
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rbp, [rsi + rbx]
lea rbx, [rsi + 4]
xor r14d, r14d
cmp rbx, rbp
ja 0x1400bd522
mov r13d, dword [rsi]
test r13d, r13d
je 0x1400bd522
mov rax, rbx
add rbx, 8
cmp rbx, rbp
ja 0x1400bd522
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, rbp
ja 0x1400bd522
mov rdx, r14
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x1400bd5e0
test rdi, rdi
je 0x1400bd509
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400bd581
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.1400d7a30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, rbp
jbe 0x1400bd490
cmp dword [0x14012d254], r14d
je 0x1400bd55c
cmp qword [0x14012d238], r14
je 0x1400bd548
mov rcx, qword [0x14012d228]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012d238], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012d254], r14d
mov qword [0x14012d228], r14
mov eax, 1
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x14012d254], r14d
je 0x1400bd5c4
cmp qword [0x14012d238], r14
je 0x1400bd5b0
mov rcx, qword [0x14012d228]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012d238], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012d254], r14d
mov qword [0x14012d228], r14
lea r8, [0x1400f1524]
lea rdx, [0x1400f1a78]
lea rcx, [0x14012c5c0]
call fcn.14004e590
jmp 0x1400bd561
cmp dword [0x14012d254], r14d
je 0x1400bd61a
cmp qword [0x14012d238], r14
je 0x1400bd606
mov rcx, qword [0x14012d228]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012d238], r14
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012d254], r14d
mov qword [0x14012d228], r14
lea r8, [0x1400f1524]
lea rdx, [0x1400f5a40]
lea rcx, [0x14012c5c0]
call fcn.14004e590
jmp 0x1400bd561
Function at 0x1400bda90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
movzx ecx, byte [rcx + 0x23]
mov rbx, rdx
test ecx, ecx
je 0x1400bdcd1
dec ecx
mov qword [rsp + 0x50], rsi
je 0x1400bdb26
dec ecx
je 0x1400bdaf3
dec ecx
je 0x1400bdad7
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
je 0x1400bdae1
xor esi, esi
mov word [rdx], si
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdx
call fcn.140006b40
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x1400bdc77
mov word [rbx + rax*2], si
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140001130
cmp dword [0x14012ac4c], 0
jne 0x1400bdc2e
cmp qword [rdi + 0x10], 0
jne 0x1400bdc2e
cmp qword [0x14012e1a8], rdi
jne 0x1400bdb54
test rbx, rbx
jne 0x1400bdbd3
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400bdbce
xor esi, esi
mov qword [0x14012e1a8], rsi
test rbx, rbx
je 0x1400bdbbc
mov edx, dword [0x14012ac28]
test edx, edx
je 0x1400bdb9e
mov r9, qword [rdi + 0x28]
lea r8, [0x140111c30]
lea rcx, [0x14012c5c0]
mov qword [rsp + 0x20], rsi
call fcn.14004f010
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.1400baad0
mov rsi, qword [rsp + 0x50]
mov eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
dec eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400bdc15
cmp byte [rdi + 0x23], 0
jne 0x1400bdbdf
mov rax, qword [rdi + 0x10]
jmp 0x1400bdbe2
mov rax, rdi
test byte [rax + 0x21], 4
je 0x1400bdbf7
lea rcx, [0x14012c5c0]
mov rdx, rdi
call fcn.14004f190
xor esi, esi
xor eax, eax
mov word [rbx], si
mov qword [0x14012e1a8], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
mov qword [0x14012e1a8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, r8
shr rbp, 1
test rbx, rbx
je 0x1400bdccc
test r8, r8
jne 0x1400bdc87
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x1400bdc6d
lea rcx, [0x14012c5c0]
mov rdx, rdi
call fcn.14004f190
mov word [rbx], si
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 8]
cmp rbx, rdx
je 0x1400bdccc
cmp r8, 0x186a0
jae 0x1400bdcbe
movzx eax, word [rdx]
test ax, ax
je 0x1400bdcb4
add rdx, 2
mov word [rbx], ax
add rbx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x1400bdca1
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x1400bdc72
mov rcx, rbx
call fcn.1400d7a30
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x1400bdc72
mov rcx, qword [rdi + 0x10]
call fcn.1400bda90
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d7648
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400d74b8

Function at 0x1400e2fc8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140123ea8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400db46c
xor ebx, ebx
cmp qword [0x140128d48], rbx
mov rdi, rax
jne 0x1400e30db
lea rcx, [0x1400f0b20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400e31b2
lea rdx, [0x1400f0b10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e31b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1400f0b00]
mov rcx, rsi
mov qword [0x140128d48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1400f0ae8]
mov rcx, rsi
mov qword [0x140128d50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1400f0ac8]
mov rcx, rsi
mov qword [0x140128d58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140128d68], rax
test rax, rax
je 0x1400e30d2
lea rdx, [0x1400f0ab0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140128d60], rax
jmp 0x1400e30e2
mov rax, qword [0x140128d60]
jmp 0x1400e30e9
mov rax, qword [0x140128d60]
mov r11, qword [0x140128d68]
cmp rax, rdi
je 0x1400e3150
cmp r11, rdi
je 0x1400e3150
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140128d68]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400e3150
test rax, rax
je 0x1400e3150
call rsi
test rax, rax
je 0x1400e314a
lea rcx, [rsp + 0x30]
mov r9d, reloc.WSOCK32.dll_ioctlsocket
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400e314a
test byte [rsp + 0x40], 1
jne 0x1400e3150
bts ebp, 0x15
jmp 0x1400e3190
mov rcx, qword [0x140128d50]
cmp rcx, rdi
je 0x1400e3190
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400e3190
call rax
mov rbx, rax
test rax, rax
je 0x1400e3190
mov rcx, qword [0x140128d58]
cmp rcx, rdi
je 0x1400e3190
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400e3190
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140128d48]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400e31b2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400e31b4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df260
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001e80
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400dd040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1402d6490]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000209e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000209e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1402d6490]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140001f54
movsx rdx, word [r8 + 0x6040]
lea rax, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140001f49
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 + 0x6040], cx
movsx rax, cx
lea rax, [rax*8 + 0x6044]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6038]
test rdi, rdi
je 0x140001f71
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140001f74
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140001fb7
mov rsi, qword [r8 + 0x90]
jmp 0x140001fba
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140001fe5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1402d6490]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14000205e
inc rbx
cmp rbx, 5
jl 0x140002040
jmp 0x14000208a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1400020a0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003fd50
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140006330
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 0x14000638d
lea rbx, [0x1400c9a70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140006374
cmp r10, 2
jb 0x140006374
cmp byte [r9], r8b
jne 0x140006374
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 0x140006350
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400063cf
lea rbx, [0x1400c9a70]
cmp r8b, 0x23
jne 0x1400063b3
cmp byte [r9], r8b
jne 0x1400063b3
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 0x1400063a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400064d0
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 0x1400064ee
mov qword [r8], r14
lea rdx, [0x1400c9570]
call fcn.1400063e0
mov rbx, rax
test rax, rax
jne 0x140006513
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 0x14000663f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000663f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000663f
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 0x14000663f
cmp rdi, 0xffffffffffffffff
je 0x14000663f
mov rcx, rdi
call fcn.140009ec0
mov rbp, rax
test rax, rax
je 0x14000663f
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 0x14000662c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1402d6490]
test r8, r8
je 0x140006621
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140006616
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 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140006648
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000663a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000664a
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 0x1400099c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1400c9a70]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4060], ebx
jne 0x140009a54
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001d210
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cfc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1402d6490]
movzx esi, r9b
mov r15d, dword [rsp + 0x80]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x4018]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x14000d023
cmp qword [rdi + 0x4db8], 0
lea rax, [rbx + 0x250]
je 0x14000d02a
lea rax, [rbx + 0x220]
movss xmm3, dword [rax]
xorps xmm5, xmm5
movss xmm2, dword [rax + 4]
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movss xmm4, dword [0x1400cebf8]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
comiss xmm5, xmm1
cvtdq2ps xmm0, xmm0
jb 0x14000d077
addss xmm3, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm4
comiss xmm5, xmm0
jb 0x14000d087
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm4
or dword [rdi + 0x49c8], 2
xor edx, edx
movss dword [rdi + 0x49e8], xmm1
movss dword [rdi + 0x49ec], xmm0
mov dword [rdi + 0x49d0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000d0d0
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400061c0
jmp 0x14000d0e6
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.1400061c0
movss xmm6, dword [rdi + 0x3920]
test sil, sil
jne 0x14000d0fd
mov dword [rdi + 0x3920], 0
mov rcx, qword [rsp + 0x60]
mov r8d, r15d
xor edx, edx
call fcn.14000fcd0
mov rsi, qword [rdi + 0x4018]
movzx ebp, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
jne 0x14000d13c
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400c8a21]
not r9d
lea r10, [0x1400c9a70]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000d169
cmp byte [rdx], r8b
jne 0x14000d169
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 0x14000d156
not ebx
cmp dword [rdi + 0x4078], ebx
jne 0x14000d199
xor edx, edx
xor ecx, ecx
call fcn.140009a70
cmp dword [rdi + 0x4af8], r14d
jne 0x14000d1e6
bt r15d, 0x17
jb 0x14000d1e6
cmp word [rsi + 0x15c], 0
jne 0x14000d1bc
cmp byte [rsi + 0x162], 0
je 0x14000d1e6
xor edx, edx
mov rcx, rsi
call fcn.140012570
xor edx, edx
mov rcx, rsi
call fcn.1400184e0
mov rdx, rsi
mov ecx, ebx
call fcn.140009a70
mov eax, dword [rdi + 0x4b1c]
mov dword [rdi + 0x40a0], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140016980
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400dd040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402d6490]
mov edi, ecx
cmp byte [rbx + 0x4d01], 0
jne 0x1400169e1
cmp byte [rbx + 0x4d02], 0
jne 0x1400169e1
movsx r9d, word [rbx + 0x5e34]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140006140
test dil, 2
je 0x140016b0f
jmp 0x140016a6c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e34]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400cec38]
mov edx, 0x10
mulss xmm1, dword [0x1400cec20]
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 + 0x3a30]
mulss xmm0, dword [0x1400ceb94]
or dword [rbx + 0x49c8], 0x41
movss dword [rbx + 0x4a28], xmm0
call fcn.140006140
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016ac0
lea r11, [0x1400c9a70]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016aa3
cmp byte [r8], r9b
jne 0x140016aa3
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 0x140016a90
not ecx
call fcn.14000d4f0
test rax, rax
je 0x140016b0f
cmp byte [rax + 0xb6], 0
je 0x140016b0f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5e34]
movsx r9d, word [rbx + 0x5e34]
call fcn.140006140
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000fcd0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003fd50
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001bb40
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 + 0x5f88], 0
lea rbx, [rcx + 0x5f90]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001bbe7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001bb9a
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.14001dd90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140006a50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5f88]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5f98]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1402d6488]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001bbef
mov rcx, rbx
call fcn.140006a50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001be50
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 [0x1402d6490]
xor ebp, ebp
cmp byte [rbx + 0x5ee0], bpl
jne 0x14001bf2f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001bf28
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400064d0
mov rsi, rax
test rax, rax
je 0x14001bf28
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001beb4
mov rcx, rax
call fcn.14001c080
mov r8, qword [0x1402d6490]
test r8, r8
je 0x14001bf1f
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001bf14
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 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ee0], 1
movss xmm0, dword [rbx + 0x5ee4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001bfbe
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5ee4], xmm0
jb 0x14001bfbe
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001bfb1
mov rax, qword [0x1402d6490]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5ee4], ebp
call fcn.14001c2e0
lea rdx, [0x1400c9574]
mov rcx, rdi
mov rsi, rax
call fcn.1400063e0
mov rdi, rax
test rax, rax
je 0x14001bfb8
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 0x14001bfb8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5ee4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001bfe0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402d6490]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001c043
mov qword [rsp], rbx
lea rbx, [0x1400c9a70]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001c023
cmp byte [r8], r9b
jne 0x14001c023
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 0x14001c010
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ef8]
not eax
mov r8, qword [r10 + 0x5f00]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001c06f
cmp dword [r8 + 8], eax
je 0x14001c076
add r8, 0x48
cmp r8, rcx
jne 0x14001c060
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret