joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001fa0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor esi, esi
xor r15d, r15d
mov qword [rsp + 0x88], rdx
mov rdx, rcx
lea rcx, str._smimeglobs
call dbg.heap_wprintf
lea rdx, [0x1400111f8]
mov qword [rsp + 0x28], rax
mov rcx, rax
call qword [sym.imp.ucrtbase.dll__wfopen]
mov r12, rax
test rax, rax
je 0x1400021af
mov r13, qword [sym.imp.ucrtbase.dll_fgets]
mov r14, qword [sym.imp.ucrtbase.dll_strlen]
nop dword [rax + rax]
test r15, r15
je 0x14000217b
xor ebx, ebx
test r15, r15
je 0x1400021a0
mov rdi, qword [sym.imp.ucrtbase.dll_strchr]
mov rbp, qword [sym.imp.kernel32.dll_HeapReAlloc]
jmp 0x14000206c
mov rcx, r15
call r14
mov edx, 0xa
mov rcx, r15
mov ebx, eax
call rdi
test rax, rax
jne 0x140002108
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
add esi, esi
mov r8, r15
xor edx, edx
movsxd r9, esi
mov rcx, qword [rax + 0x30]
call rbp
mov r15, rax
test rax, rax
je 0x1400021c1
mov edx, esi
movsxd rcx, ebx
mov r8, r12
sub edx, ebx
add rcx, r15
call r13
test rax, rax
jne 0x140002028
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
xor edx, edx
mov r8, r15
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
xor r13d, r13d
mov rcx, qword [rax + 0x30]
call rbx
mov rcx, r12
call qword [sym.imp.ucrtbase.dll_feof]
test eax, eax
setne r13b
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
mov rcx, r12
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax], 0
cmp byte [r15], 0x23
je 0x140002000
mov edx, 0x3a
mov rcx, r15
call rdi
mov rbx, rax
test rax, rax
je 0x140002000
mov ecx, 0x20
call dbg.xmalloc
mov byte [rbx], 0
mov rcx, r15
mov rdi, rax
call dbg.utf8_chars_to_wchars
lea rcx, [rbx + 1]
mov qword [rdi], rax
call dbg.utf8_chars_to_wchars
mov rbx, qword [rsp + 0x88]
mov qword [rdi + 8], rax
lea rax, [rdi + 0x10]
mov rdx, qword [rbx + 8]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rdx
mov qword [rdx], rax
mov qword [rbx + 8], rax
test r15, r15
jne 0x140002009
mov ecx, 0x1000
mov esi, 0x1000
xor ebx, ebx
call dbg.xmalloc
mov r15, rax
test r15, r15
jne 0x140002014
nop dword [rax + rax]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
xor r13d, r13d
jmp 0x1400020b2
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
mov r13d, 1
jmp 0x1400020d3
test byte [0x140010000], 2
jne 0x1400021d5
mov ecx, 1
call qword [sym.imp.kernel32.dll_ExitProcess]
lea r9, str.out_of_memory_n
lea r8, str.xrealloc
mov ecx, 1
lea rdx, [0x140010000]
call sym.wine_dbg_log.constprop.0
jmp 0x1400021ca
Function at 0x140002200
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [sym.imp.advapi32.dll_RegGetValueW]
mov r9d, 2
xor r14d, r14d
lea rdi, [rsp + 0x4c]
mov r12, rcx
mov r13, rdx
mov rbx, r8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rsi
test eax, eax
jne 0x14000227c
mov ecx, dword [rsp + 0x4c]
call dbg.xmalloc
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov rdx, r13
mov qword [rsp + 0x28], rax
mov r14, rax
mov r9d, 2
mov rcx, r12
mov qword [rsp + 0x20], 0
call rsi
test eax, eax
jne 0x140002290
mov rax, r14
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, r14
xor edx, edx
xor r14d, r14d
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14000227c

Function at 0x1400022c0
Capabilities:
Check if process is running under wine
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
mov r9, rcx
movzx ecx, word [rcx]
mov dword [rsp + 0x44], 0x104
mov rbx, rdx
test cx, cx
je 0x140002312
mov rax, r9
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x1400022f0
sub rax, r9
sar rax, 1
cdqe
add rax, 0x21
cmp rax, 0x104
ja 0x140002440
lea rsi, [rsp + 0x50]
mov r8d, 0x53
lea rdx, [0x140012c60]
mov rax, rsi
jmp 0x140002334
movzx r8d, word [rdx]
add rax, 2
add rdx, 2
mov word [rax - 2], r8w
test r8w, r8w
jne 0x140002330
cmp word [rsp + 0x50], 0
mov rdx, rsi
je 0x140002362
nop word [rax + rax]
add rdx, 2
cmp word [rdx], 0
jne 0x140002358
xor eax, eax
jmp 0x140002375
movzx ecx, word [r9 + rax]
mov word [rdx + rax], cx
add rax, 2
test cx, cx
jne 0x140002370
lea rax, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov r13d, eax
test eax, eax
jne 0x140002440
mov rbp, qword [sym.imp.advapi32.dll_RegEnumValueW]
mov r14, qword [sym.imp.ucrtbase.dll_wcscmp]
xor edi, edi
lea r12, [rsp + 0x44]
lea r15, [rsp + 0x260]
jmp 0x1400023fa
mov rdx, rsi
mov rcx, 0xffffffff80000001
mov r8, r15
call dbg.reg_get_valW
mov rcx, rbx
mov rdx, rax
call r14
test eax, eax
je 0x140002460
mov dword [rsp + 0x44], 0x104
add edi, 1
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x48]
mov r9, r12
mov edx, edi
mov qword [rsp + 0x30], 0
mov r8, r15
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbp
test eax, eax
je 0x1400023d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x140002443
xor r13d, r13d
mov eax, r13d
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov r13d, 1
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x140002443
Function at 0x14000eba0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
call qword [sym.imp.ucrtbase.dll_strlen]
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x14000ebf3
cmp byte [r12 + rbx - 1], 0xa
je 0x14000ebce
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
xchg dword [0x140020324], eax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, 1
mov r9, rax
mov r8, rbx
mov rcx, r12
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x28
pop rbx
pop r12
ret
Function at 0x14000f1b0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x118
cmp qword [0x140020340], 0
lea r13, [0x140020340]
mov ebx, ecx
mov rsi, rdx
mov rdi, r8
je 0x14000f390
mov rcx, rsi
call qword [0x140020340]
movzx eax, al
bt eax, ebx
jae 0x14000f3f0
mov ecx, dword [0x140020324]
xor eax, eax
mov rdx, qword gs:[0x30]
cmp dword [rdx + 0x48], ecx
je 0x14000f27a
test byte [0x140010020], 8
jne 0x14000f328
lea r12, [rsp + 0x40]
mov rbp, r12
lea rdx, str._04x:
test byte [0x140010030], 8
jne 0x14000f2d0
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x48]
mov rcx, rbp
call dbg.sprintf
test rdi, rdi
je 0x14000f24f
cmp ebx, 3
jbe 0x14000f290
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.ucrtbase.dll_strlen]
mov r9, rbx
mov edx, 1
mov rcx, r12
mov r8, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cdqe
add rsi, 1
mov qword [rsp + 0x28], rdi
lea r8, str._s:_s:_s
lea rcx, [rbp + rax]
mov rax, r12
mov qword [rsp + 0x20], rsi
sub rax, rcx
lea rdx, [rax + 0xc8]
lea rax, str.fixme
mov r9, qword [rax + rbx*8]
call sym.snprintf.constprop.0
jmp 0x14000f24f
cmp qword [0x140020340], 0
je 0x14000f3d0
lea rcx, [0x140010030]
call qword [0x140020340]
lea rdx, str._04x:
test al, 8
je 0x14000f230
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x40]
mov rcx, rbp
mov qword [rsp + 0x38], rdx
call dbg.sprintf
mov rdx, qword [rsp + 0x38]
cdqe
add rbp, rax
jmp 0x14000f230
cmp qword [0x140020340], 0
je 0x14000f3b0
lea rcx, [0x140010020]
call qword [0x140020340]
test al, 8
je 0x14000f214
call qword [sym.imp.kernel32.dll_GetTickCount]
lea r12, [rsp + 0x40]
lea rdx, str._3u._03u:
mov r8d, eax
mov rcx, r12
mov r9, r8
imul r8, r8, 0x10624dd3
shr r8, 0x26
imul eax, r8d, 0x3e8
sub r9d, eax
call dbg.sprintf
movsxd rbp, eax
add rbp, r12
jmp 0x14000f21c
lea r8, [dbg.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, r13
call sym.load_func.part.0
jmp 0x14000f1dc
lea r8, [dbg.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, r13
call sym.load_func.part.0
jmp 0x14000f332
lea r8, [dbg.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, r13
call sym.load_func.part.0
jmp 0x14000f2de
mov eax, 0xffffffff
jmp 0x14000f27a

Function at 0x14000f750
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov ecx, 1
call sym._configure_wide_argv
call sym._initialize_wide_environment
call sym.__p___argc
mov r12d, dword [rax]
call sym.__p___wargv
mov r13, qword [rax]
call sym._get_initial_wide_environment
xor ecx, ecx
mov rbx, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x3c]
cmp word [rax + rdx + 0x5c], 2
sete cl
add ecx, 1
call sym._set_app_type
mov ecx, r12d
mov r8, rbx
mov rdx, r13
call dbg.wmain
mov ecx, eax
call sym.exit
nop
nop
nop
nop
Function at 0x14000f7c0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
sub rsp, 0x98
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov rbx, rax
movzx eax, word [rax]
test ax, ax
je 0x14000f844
cmp ax, 9
je 0x14000f830
cmp ax, 0x20
je 0x14000f830
xor r9d, r9d
xor ecx, ecx
nop dword [rax + rax]
cmp ax, 0x5c
je 0x14000f898
cmp ax, 0x22
je 0x14000f880
xor ecx, ecx
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
je 0x14000f844
cmp ax, 9
sete dl
cmp ax, 0x20
sete r8b
or dl, r8b
je 0x14000f7f0
test r9b, 1
jne 0x14000f7f0
nop dword [rax]
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 9
je 0x14000f830
cmp ax, 0x20
je 0x14000f830
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetStartupInfoW]
test byte [rsp + 0x5c], 1
je 0x14000f8a0
movzx esi, word [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
mov r9d, esi
mov r8, rbx
xor edx, edx
mov rcx, rax
call dbg.wWinMain
add rsp, 0x98
pop rbx
pop rsi
ret
and ecx, 1
jne 0x14000f804
xor r9d, 1
jmp 0x14000f806
add ecx, 1
jmp 0x14000f806
mov eax, 1
mov esi, 1
mov word [rsp + 0x60], ax
jmp 0x14000f85b
Function at 0x140002b60
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 0x140002bbd
lea rbx, [0x14003f930]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002ba4
cmp r10, 2
jb 0x140002ba4
cmp byte [r9], r8b
jne 0x140002ba4
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 0x140002b80
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002bff
lea rbx, [0x14003f930]
cmp r8b, 0x23
jne 0x140002be3
cmp byte [r9], r8b
jne 0x140002be3
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 0x140002bd0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002d40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002d5a
mov qword [r8], 0
lea rdx, [0x14003f4a0]
call fcn.140002c10
mov rbx, rax
test rax, rax
jne 0x140002d7a
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 0x140002e51
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 0x140002e51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002e51
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 0x140002e51
cmp rdi, 0xffffffffffffffff
je 0x140002e51
mov rax, qword [0x14004b700]
test rax, rax
je 0x140002dee
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002e51
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 0x140002e3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004b700]
test rax, rax
je 0x140002e33
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002e5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002e4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002e5c
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 0x1400063e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14003f930]
mov rax, qword [rcx + 0xf8]
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 + 0x3f20], ebx
jne 0x140006476
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140019e60
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140009a20
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 [0x14004b700]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
movss xmm3, dword [rbx + 0x250]
movss xmm5, dword [rbx + 0x254]
jne 0x140009a72
cmp qword [rdi + 0x4b30], 0
je 0x140009a7a
movss xmm3, dword [rbx + 0x220]
cvttss2si eax, dword [r8]
xor r15d, r15d
subss xmm3, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
xorps xmm4, xmm4
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x140009ab4
lea eax, [r15 + 1]
je 0x140009ab7
mov eax, r15d
ucomiss xmm0, xmm4
jp 0x140009ac4
jne 0x140009ac4
mov r15d, 2
movss xmm2, dword [0x1400445e8]
or r15d, eax
comiss xmm4, xmm1
jb 0x140009ae0
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x140009ae0
movaps xmm1, xmm2
comiss xmm4, xmm0
jb 0x140009af1
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x140009af1
movaps xmm0, xmm2
or dword [rdi + 0x47b0], 2
xor edx, edx
movss dword [rdi + 0x47d0], xmm1
movss dword [rdi + 0x47d4], xmm0
mov dword [rdi + 0x47b8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x140009b3a
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140002a40
jmp 0x140009b50
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.140002a40
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000c730
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x140009ba1
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x14003e991]
not r9d
lea r10, [0x14003f930]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x140009bd3
cmp byte [rdx], r8b
jne 0x140009bd3
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 0x140009bc0
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x140009c03
xor edx, edx
xor ecx, ecx
call fcn.140006480
cmp dword [rdi + 0x48c8], r14d
jne 0x140009c49
cmp word [rsi + 0x15c], 0
jne 0x140009c1f
cmp byte [rsi + 0x162], 0
je 0x140009c49
xor edx, edx
mov rcx, rsi
call fcn.14000ec20
xor edx, edx
mov rcx, rsi
call fcn.140014ef0
mov rdx, rsi
mov ecx, ebx
call fcn.140006480
mov eax, dword [rdi + 0x48ec]
mov dword [rdi + 0x3f60], 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 0x140012ec0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004b700]
mov edi, ecx
cmp byte [rbx + 0x4a79], 0
jne 0x140012f21
cmp byte [rbx + 0x4a7a], 0
jne 0x140012f21
movsx r9d, word [rbx + 0x5bb2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400029c0
test dil, 2
je 0x14001304f
jmp 0x140012faa
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bb2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004460c]
mulss xmm1, dword [0x140044604]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47c8], rax
mov dword [rbx + 0x47b4], 1
movss dword [rbx + 0x47c0], xmm0
movss dword [rbx + 0x47c4], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x140044550]
or dword [rbx + 0x47b0], 0x41
movss dword [rbx + 0x4810], xmm0
call fcn.1400029c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013000
lea r11, [0x14003f930]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140012fe3
cmp byte [r8], r9b
jne 0x140012fe3
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 0x140012fd0
not ecx
call fcn.140009f90
test rax, rax
je 0x14001304f
cmp byte [rax + 0xb6], 0
je 0x14001304f
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 + 0x5bb2]
movsx r9d, word [rbx + 0x5bb2]
call fcn.1400029c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c730
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003c8a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018790
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 + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018837
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400187ea
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.14001aa90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400031d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004b6f8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001883f
mov rcx, rbx
call fcn.1400031d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018cc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14004b700]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018d23
mov qword [rsp], rbx
lea rbx, [0x14003f930]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018d03
cmp byte [r8], r9b
jne 0x140018d03
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 0x140018cf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018d57
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140018d5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018d44
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 0x140038550
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov eax, r8d
cmp byte [0x14004b6f9], r9b
lea r8, [r11 - 0x38]
mov qword [r11 - 0x40], r9
mov qword [r11 - 0x48], r9
mov dword [r11 - 0x50], r9d
mov qword [r11 - 0x20], rax
mov eax, dword [0x14004b728]
mov dword [r11 - 0x34], r9d
mov qword [r11 - 0x30], rcx
mov rcx, qword [0x14004b720]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], r9
mov r9d, 0x20
mov dword [rsp + 0x40], eax
jne 0x1400385ba
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
setne al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003c8a0
add rsp, 0x78
ret