joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400193d8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, r9
mov r15, rdx
mov r13, rcx
xor r12d, r12d
mov word [rdx], r12w
mov word [r9], r12w
mov qword [rbp + 0xb8], r12
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityTemp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400195cc
mov eax, r12d
mov rdi, qword [rbp + 0xd8]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001946a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi], r12
mov rcx, qword [rbp + 0xb8]
mov qword [rdi], rcx
test eax, eax
jne 0x1400195cc
lea rcx, [rsp + 0x40]
call fcn.1400169bc
nop
lea rcx, [rsp + 0x40]
call fcn.140016bf8
mov rbx, qword [rax]
jmp 0x1400195b9
mov rsi, qword [rbx + 0x10]
mov rbx, qword [rbx]
lea rdx, str.SystemSetting
mov rcx, qword [rsi + 0x28]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400195b9
mov dword [rbp + 0xd0], 4
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb8]
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400195b9
cmp dword [rbp + 0xb8], 4
jne 0x1400195b9
mov eax, r12d
test eax, eax
jne 0x1400195b9
mov eax, dword [rbp + 0xc0]
test al, 2
je 0x1400195b9
mov dword [r13 + 0xf8], 1
and eax, 0xfffffffd
mov dword [rbp + 0xc0], eax
mov dword [rbp + 0xd0], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 4]
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or rax, 0xffffffffffffffff
test byte [rbp + 0xc0], 1
je 0x140019590
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14001956d
test rax, rax
je 0x14001958b
lea r8, [0x1400217f8]
mov rcx, r15
call fcn.140019ec4
mov rcx, r15
jmp 0x1400195b1
inc rax
cmp word [r14 + rax*2], r12w
jne 0x140019590
test rax, rax
je 0x1400195ae
lea r8, [0x1400217f8]
mov rcx, r14
call fcn.140019ec4
mov rcx, r14
mov r8, qword [rsi]
call fcn.140019ec4
test rbx, rbx
jne 0x140019499
lea rcx, [rsp + 0x40]
call fcn.140016a04
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a6d8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x890
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14002a7b8]
xor rax, rsp
mov qword [rsp + 0x888], rax
mov r14, r8
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov r15d, 1
mov rcx, r8
call fcn.140019b3c
nop
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
je 0x14001a765
mov eax, ebx
jmp 0x14001a780
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 1
ja 0x14001a8af
mov eax, dword [rsp + 0x44]
shr eax, 1
mov dword [rsp + 0x40], eax
mov ecx, ebx
test ecx, ecx
jne 0x14001a8af
test eax, eax
je 0x14001a8af
mov ecx, eax
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14001d21c
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14001a8b6
mov word [rax], bx
lea r9, [rsp + 0x40]
mov r8, rax
mov rdx, r13
mov rcx, r12
call fcn.1400159e0
test eax, eax
jne 0x14001a82b
cmp dword [rsp + 0x40], ebx
jbe 0x14001a82b
cmp dword [rsp + 0x40], 0x400
jbe 0x14001a7ef
mov word [rdi + 0x7fe], bx
mov rax, rsi
inc rax
cmp word [rdi + rax*2], bx
jne 0x14001a7f2
mov r8d, eax
mov rdx, rdi
mov rcx, r14
call fcn.1400034bc
nop
jmp 0x14001a82b
cmp word [rdi], 0x40
jne 0x14001a8a2
test r15d, r15d
je 0x14001a8a2
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
mov r9d, 0x400
lea r8, [rsp + 0x70]
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegLoadMUIStringW]
nop
test eax, eax
jne 0x14001a88d
mov word [rsp + 0x86e], bx
lea rax, [rsp + 0x70]
inc rsi
cmp word [rax + rsi*2], bx
jne 0x14001a872
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400034bc
jmp 0x14001a896
mov rcx, r14
call fcn.140019b3c
nop
jmp 0x14001a8a2
mov rcx, rdi
call sub.msvcrt.dll_free
mov eax, r15d
jmp 0x14001a8b8
mov eax, 1
jmp 0x14001a8b8
xor eax, eax
mov rcx, qword [rsp + 0x888]
xor rcx, rsp
call fcn.14001d6c0
add rsp, 0x890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001a8e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
mov dword [r8], r9d
lea rax, [r11 + 0x20]
mov rcx, qword [rcx]
mov rbx, r8
mov edi, r9d
mov qword [r11 - 0x10], rax
lea r9, [r11 + 8]
mov qword [r11 - 0x18], rbx
xor r8d, r8d
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a933
cmp dword [rsp + 0x40], 4
jne 0x14001a933
test eax, eax
jne 0x14001a933
mov eax, 1
jmp 0x14001a937
mov dword [rbx], edi
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14001a948
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2160]
mov eax, 0x2260
call fcn.14001e200
sub rsp, rax
mov rax, qword [0x14002a7b8]
xor rax, rsp
mov qword [rbp + 0x2150], rax
mov r15, rdx
lea r8, [rsp + 0x20]
mov r13, rcx
xor ebx, ebx
mov qword [rdx], rbx
lea rcx, [rsp + 0x40]
mov edx, 0x2000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14001aa9f
mov eax, dword [rsp + 0x20]
mov ecx, 0x800
shr eax, 2
cmp eax, ecx
cmova eax, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], ebx
mov ecx, eax
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14001aa9f
mov edi, ebx
cmp dword [rsp + 0x20], ebx
jbe 0x14001aa9b
mov r14d, edi
lea rdx, [rsp + 0x28]
mov ecx, dword [rsp + r14*4 + 0x40]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14001aa86
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x14001aa86
mov r8d, dword [rsp + r14*4 + 0x40]
cmp r12d, r8d
je 0x14001aa86
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14001aa86
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14001aa7d
mov rdx, qword [rsp + 0x30]
lea r8, [rbp + 0x1f40]
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14001aa7d
mov rdx, r13
lea rcx, [rbp + 0x1f40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14001aa93
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rsp + 0x20]
jae 0x14001aa9b
jmp 0x14001a9e9
mov ebx, dword [rsp + r14*4 + 0x40]
mov qword [r15], rsi
mov eax, ebx
jmp 0x14001aaa1
xor eax, eax
mov rcx, qword [rbp + 0x2150]
xor rcx, rsp
call fcn.14001d6c0
mov rbx, qword [rsp + 0x22b0]
add rsp, 0x2260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b62c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x48
and dword [rbp + 0x28], 0
lea rax, [rbp + 0x40]
xor esi, esi
mov qword [rsp + 0x20], rax
and qword [rbp + 0x40], rsi
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfigcolorfiltering
xor r8d, r8d
mov rcx, 0xffffffff80000001
lea ebx, [rsi + 1]
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b6b7
mov rsi, qword [rbp + 0x40]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Active
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b6b7
cmp dword [rbp + 0x38], 4
jne 0x14001b6b7
test eax, eax
jne 0x14001b6b7
cmp dword [rbp + 0x28], eax
jne 0x14001b74a
lea rax, [rbp - 0x18]
xor edi, edi
and qword [rbp - 0x18], rdi
lea rdx, str.SoftwareMicrosoftColorFiltering
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b73a
mov rdi, qword [rbp - 0x18]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Active
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b73a
cmp dword [rbp + 0x38], 4
jne 0x14001b73a
test eax, eax
jne 0x14001b73a
cmp dword [rbp + 0x28], eax
setne cl
call fcn.14001bda0
cmp dword [rbp + 0x28], 0
setne bl
jmp 0x14001b73c
xor bl, bl
test rdi, rdi
je 0x14001b74a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x14001b758
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
add rsp, 0x48
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001bda0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
movzx eax, cl
xor r8d, r8d
mov dword [rsp + 0x60], eax
test cl, cl
lea rax, [r11 + 0x10]
mov rcx, 0xffffffff80000001
je 0x14001be1a
and qword [r11 - 0x18], r8
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfigcolorfiltering
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], r8
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001be53
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140022398]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001be48
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfig_
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001be53
mov rcx, qword [rsp + 0x68]
lea rdx, str.colorfiltering
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret

Function at 0x14001be60
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x60], ecx
call fcn.14001b62c
xor r8d, r8d
mov rcx, 0xffffffff80000001
test al, al
lea rax, [rsp + 0x68]
je 0x14001bedd
and qword [rsp + 0x40], r8
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfigcolorfiltering
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], r8
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001bf16
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1400223a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001bf0b
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfig_
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bf16
mov rcx, qword [rsp + 0x68]
lea rdx, str.colorfiltering
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret
Function at 0x14001d420
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14002b798], rbx
je 0x14001d487
cmp rax, rbx
jne 0x14001d47a
mov ebx, 1
mov esi, ebx
jmp 0x14001d48c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d45f
mov ebx, 1
mov eax, dword [0x14002b7a0]
cmp eax, ebx
jne 0x14001d4a4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001d510
mov eax, dword [0x14002b7a0]
test eax, eax
jne 0x14001d505
mov dword [0x14002b7a0], ebx
lea r15, [0x140020180]
lea rdi, [0x140020168]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14001d4f7
test eax, eax
jne 0x14001d4fb
cmp qword [rdi], r14
je 0x14001d4ec
mov rax, qword [rdi]
mov rcx, qword [0x1400200f0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001d4ce
test eax, eax
je 0x14001d50b
mov eax, 0xff
jmp 0x14001d666
mov dword [0x14002ae44], ebx
mov edi, 0x1f
mov eax, dword [0x14002b7a0]
cmp eax, ebx
jne 0x14001d537
lea rdx, [0x140020160]
lea rcx, [0x1400200f8]
call sub.msvcrt.dll__initterm
mov dword [0x14002b7a0], 2
test esi, esi
jne 0x14001d545
mov rax, r14
xchg qword [0x14002b798], rax
cmp qword [0x14002b7b8], r14
je 0x14001d578
lea rcx, [0x14002b7b8]
call fcn.14001db90
test eax, eax
je 0x14001d578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14002b7b8]
mov r9, qword [0x1400200f0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001d591
mov eax, 0xff
jmp 0x14001d666
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14001d617
test ax, ax
je 0x14001d5ac
test edx, edx
jne 0x14001d617
sub ax, bx
cmp ax, di
ja 0x14001d5c2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14001d5ac
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140002748
mov dword [0x14002ae40], eax
cmp dword [0x14002ae60], r14d
jne 0x14001d600
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ae44], r14d
jne 0x14001d615
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ae40]
jmp 0x14001d666
cmp ax, 0x22
jne 0x14001d62b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001d59a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14001dc24
add rsp, 0x28
jmp 0x14001d420
Function at 0x14001da8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001dad8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001dad0
cmp dword [rcx + 0x3c], edx
jl 0x14001dad0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001dad0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14001dad8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140002720
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 0x14000277d
lea rbx, [0x1400a2500]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002764
cmp r10, 2
jb 0x140002764
cmp byte [r9], r8b
jne 0x140002764
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 0x140002740
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400027bf
lea rbx, [0x1400a2500]
cmp r8b, 0x23
jne 0x1400027a3
cmp byte [r9], r8b
jne 0x1400027a3
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 0x140002790
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002980
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400029af
mov r8d, 0x600
lea rdx, str.D:SourceCodeDAMAGE_ONLYimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400029bb
mov qword [rdi], 0
lea rdx, [0x1400a2100]
mov rcx, rbx
call fcn.1400027d0
mov rbx, rax
test rax, rax
jne 0x1400029dd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002ab6
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 0x140002ab6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002ab6
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 0x140002ab6
cmp rsi, 0xffffffffffffffff
je 0x140002ab6
mov rax, qword [0x14015d290]
test rax, rax
je 0x140002a53
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140002ab6
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140002aa3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14015d290]
test rax, rax
je 0x140002a98
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002abf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002ab1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140002ac1
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 rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004e30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x140004e66
mov r8d, 0x67f
lea rdx, str.D:SourceCodeDAMAGE_ONLYimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1400a2500]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x14015d290]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1b30], edx
jne 0x140004ee0
mov dword [rax + 0x1b34], edx
cmp dword [rax + 0x1b70], edx
jne 0x140004eef
mov byte [rax + 0x1b74], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x14000fb20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x14015d290]
mov rbp, rcx
mov r14, rcx
shr rbp, 0x38
mov r15, rcx
shr r14, 0x30
mov r12, rcx
shr r15, 0x28
mov rbx, qword [rax + 0x1ae0]
mov r13, rcx
mov rax, rcx
shr r12, 0x20
shr rax, 0x10
add rbx, 0xc8
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov rax, rcx
shr r13, 0x18
shr rax, 8
cmp dword [rbx], 0
mov qword [rsp + 0x60], rax
jg 0x14000fba6
mov r8d, 0x67f
lea rdx, str.D:SourceCodeDAMAGE_ONLYimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x1400a2500]
mov rax, qword [rbx + 8]
mov esi, dword [rax + rdx*4 - 4]
not esi
movzx eax, dil
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, byte [rsp + 0x60]
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, byte [rsp + 0x68]
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r13b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r12b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r15b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r14b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rax
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rbp
xor esi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not esi
cmp edx, r8d
jne 0x14000fc7c
lea ecx, [rdx + 1]
test r8d, r8d
je 0x14000fc68
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000fc6d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140018180
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
inc dword [rbx]
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010b00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14015d290]
mov edi, edx
cmp byte [rbx + 0x1e25], 0
jne 0x140010b51
cmp byte [rbx + 0x1e26], 0
jne 0x140010b51
mov r9d, dword [rbx + 0x2ec8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400026a0
test dil, 1
je 0x140010c76
jmp 0x140010bdb
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400da48c]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400da474]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], 1
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x1400da40c]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
mov r9d, dword [rbx + 0x2ec8]
call fcn.1400026a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010c30
lea r11, [0x1400a2500]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140010c13
cmp byte [r8], r9b
jne 0x140010c13
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 0x140010c00
not ecx
call fcn.14000a0c0
test rax, rax
je 0x140010c76
cmp byte [rax + 0x8e], 0
je 0x140010c76
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xac], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ec8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2ec8]
call fcn.1400026a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c6b0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140015cf0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14015d290]
cmp byte [rbx + 0x2f5c], 0
je 0x140015ddc
cmp qword [rbx + 0x2f68], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f70]
je 0x140015dc4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140015d6b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140017f00
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002ef0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f68]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f78]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14015d288]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002ef0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret