joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400033c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140027bd0], eax
je 0x1400033ed
mov eax, 0x10dd
jmp 0x140003607
cmp dword [0x140027bd4], 0
je 0x140003401
mov eax, dword [0x140027bd4]
jmp 0x140003607
cmp qword [rsp + 0x78], 0
jne 0x140003413
mov eax, 0x57
jmp 0x140003607
cmp qword [rsp + 0x70], 0
jne 0x140003425
mov eax, 6
jmp 0x140003607
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x140003457
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x140027bd4], eax
mov rax, qword [rsp + 0x70]
mov qword [0x140027bd8], rax
mov eax, dword [rsp + 0x20]
jmp 0x140003607
mov ecx, 0x30
call fcn.14000562c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400034ca
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x140027bd4], eax
cmp qword [rsp + 0x30], 0
je 0x1400034b5
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.140005668
nop
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x140027bd8], rax
mov eax, dword [rsp + 0x20]
jmp 0x140003607
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140003390
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140003390
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x140003527
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x140003544
mov dword [rsp + 0x20], 9
cmp dword [0x140027bc8], 0
je 0x14000353f
jmp 0x14000348a
jmp 0x140003480
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x140003571
mov dword [rsp + 0x20], 9
cmp dword [0x140027bc8], 0
je 0x14000356c
jmp 0x14000348a
jmp 0x140003480
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1400035a8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140003480
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140027be8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x140027be8], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x140003610
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140027bd0], eax
je 0x14000362b
mov eax, 0x10dd
jmp 0x140003754
mov rax, qword [0x140027be8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400036d7
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1400036a1
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1400036a1
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.140002000
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.140005668
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140003637
mov qword [0x140027be8], 0
call fcn.140002a60
nop
mov rax, qword [0x140027be0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000373d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.140005668
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1400036f4
mov qword [0x140027be0], 0
mov dword [0x140027bd0], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140003c80
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x140027bd4], 0
je 0x140003c9d
mov eax, dword [0x140027bd4]
jmp 0x140003d64
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x140003cb0
xor eax, eax
jmp 0x140003d64
mov ecx, 0x10
call fcn.14000562c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140003d1f
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x140003d04
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.140005668
nop
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x140027bd4], eax
mov qword [0x140027bd8], 0
mov eax, dword [rsp + 0x20]
jmp 0x140003d64
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x140003d39
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x140003cd9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x140027be0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x140027be0], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x140005170
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x60], 0
jne 0x140005197
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400051b7
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x140005351
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400051ee
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x140005351
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x14000520c
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x140005351
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140005273
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x78], 0
je 0x140005271
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x7c], 0
je 0x140005271
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x78]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x1400052d8
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1400052d8
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
je 0x1400052d8
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x8c], 0
je 0x1400052d8
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140005317
lea rcx, [0x14001b6e8]
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400052fd
xor eax, eax
jmp 0x140005351
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rdx, str._CorExeMain
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_GetProcAddress
jmp 0x140005351
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x28], 0
jne 0x14000532e
xor eax, eax
jmp 0x140005351
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
jmp 0x140005351
add rsp, 0x58
ret

Function at 0x140005be4
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000bef3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000bef3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000bef3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000bef3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000bef3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000bef3
cmp dword [rcx + 0xf8], 0
je 0x14000bef3
mov ecx, ebx
call fcn.14000bfa4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000bd80
nop
cmp dword [rbp + 0x20], 0
je 0x14000bf41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000bf4c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000be84

Function at 0x14000c088
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000be84
Function at 0x140011f28
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 0x140011f58
xor eax, eax
jmp 0x14001201b
mov rbp, rbx
cmp word [rax], si
je 0x140011f7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140011f64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140011f60
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.140011e48
movsxd r14, eax
test eax, eax
jne 0x140011fbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140011f51
mov rcx, r14
call fcn.14000eddc
mov rdi, rax
test rax, rax
jne 0x140011fd4
xor ecx, ecx
call fcn.14000cfa4
jmp 0x140011fb0
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.140011e48
test eax, eax
jne 0x140012005
mov rcx, rdi
call fcn.14000cfa4
jmp 0x14001200f
xor ecx, ecx
call fcn.14000cfa4
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 0x1400157c4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400157da
mov al, 1
jmp 0x14001583a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400157eb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140015838
mov ecx, dword [rcx + 0x18]
nop
call fcn.140012790
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015838
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140015838
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140015838
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001583a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140016810
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140010f18
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001689a
cmp byte [rbp - 0x21], r15b
je 0x140016895
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400168d0
call fcn.14000d1f4
test eax, eax
jne 0x1400168bc
cmp byte [rbp - 0x21], r15b
je 0x1400168b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400168d0
cmp byte [rbp - 0x21], r15b
je 0x1400168cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400104f8
test eax, eax
jne 0x140016970
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140010f18
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001690f
cmp byte [rbp - 0x21], r15b
je 0x140016944
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016944
call fcn.14000d1f4
test eax, eax
jne 0x140016930
cmp byte [rbp - 0x21], r15b
je 0x140016929
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016944
cmp byte [rbp - 0x21], r15b
je 0x140016941
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400104f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140016970
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140016973
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140016981
mov rcx, rdi
call fcn.14000cfa4
cmp byte [rbp + 0x3f], r15b
je 0x140016990
mov rcx, qword [rbp + 0x27]
call fcn.14000cfa4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140018c60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140018c88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140018c88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003ea0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003ed5
mov r8d, 0x850
lea rdx, str.E:CppSPECTRYimgui_masterimgui_masterimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140003ee0
mov qword [rsi], r14
lea rdx, [0x14008f3b8]
mov rcx, rbx
call fcn.140003d00
mov rbx, rax
test rax, rax
jne 0x140003f08
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 0x140004034
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 0x140004034
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004034
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 0x140004034
cmp rdi, 0xffffffffffffffff
je 0x140004034
mov rcx, rdi
call fcn.1400089c0
mov rbp, rax
test rax, rax
je 0x140004034
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 0x140004021
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400eeaf0]
test r8, r8
je 0x140004016
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000400b
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000403d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000402f
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000403f
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 0x140018de0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400eeaf0]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140018e32
cmp byte [rbx + 0x4d4e], 0
jne 0x140018e32
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003a30
test dil, 2
je 0x140018f5f
jmp 0x140018ebd
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14009ee94]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14009ee80]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x14009ede8]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003a30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018f10
lea r11, [0x14008fbd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018ef3
cmp byte [r8], r9b
jne 0x140018ef3
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 0x140018ee0
not ecx
call fcn.14000cea0
test rax, rax
je 0x140018f5f
cmp byte [rax + 0xbe], 0
je 0x140018f5f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003a30
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140010010
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001e6e0
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 + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001e787
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001e73a
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.140021220
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004650
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400eeae8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001e78f
mov rcx, rbx
call fcn.140004650
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ead0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400eeaf0]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14001ebcc
cmp dword [rbx + 0x5f90], ebp
je 0x14001eb17
mov r8d, 0x34b0
lea rdx, str.E:CppSPECTRYimgui_masterimgui_masterimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001ebc5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003ea0
mov rdi, rax
test rax, rax
je 0x14001ebc5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001eb51
mov rcx, rax
call fcn.14001ed20
mov r8, qword [0x1400eeaf0]
test r8, r8
je 0x14001ebbc
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001ebb1
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001ec69
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001ec69
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001ec57
mov rax, qword [0x1400eeaf0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001efa0
lea rdx, [0x14008f3bc]
mov rcx, rdi
mov rsi, rax
call fcn.140003d00
mov rdi, rax
test rax, rax
je 0x14001ec5e
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 0x14001ec5e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ec80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400eeaf0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ece3
mov qword [rsp], rbx
lea rbx, [0x14008fbd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ecc3
cmp byte [r8], r9b
jne 0x14001ecc3
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 0x14001ecb0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001ed0f
cmp dword [r8 + 8], eax
je 0x14001ed16
add r8, 0x48
cmp r8, rcx
jne 0x14001ed00
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret