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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800301e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800300c7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180030024
mov rax, qword [0x180046008]
cmp qword [rsp + 0x20], rax
ja 0x180030024
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18002ffe6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180030053
jmp 0x1800300c7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800300aa
cmp qword [rsp + 0x48], 0x10000
jb 0x1800300aa
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180030098
mov rax, qword [rsp + 0x28]
jmp 0x1800300c9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800300c2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800301e0
mov qword [rsp + 0x20], rax
jmp 0x18002ffe6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800300d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180030220
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800301d3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18003012b
mov rax, qword [0x180046008]
cmp qword [rsp + 0x20], rax
ja 0x18003012b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800300ed
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18003015a
jmp 0x1800301d3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800301b1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800301b1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18003019f
mov rax, qword [rsp + 0x28]
jmp 0x1800301d5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800301ce
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180030220
mov qword [rsp + 0x20], rax
jmp 0x1800300ed
xor eax, eax
add rsp, 0x68
ret
Function at 0x180030270
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180030800
mov qword [rsp + 0x28], 0
cmp qword [0x180056838], 0
jne 0x1800302b8
cmp qword [0x180056830], 0
je 0x1800302b8
mov rax, qword [0x180056830]
mov qword [0x180056838], rax
cmp qword [0x180056838], 0
je 0x18003035e
mov rax, qword [0x180056838]
cmp qword [rax + 0x10], 0
je 0x18003035e
mov rax, qword [0x180056838]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18003035e
mov rax, qword [0x180056838]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18003035e
mov rax, qword [0x180056838]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180030324
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18003032b
xor eax, eax
jmp 0x1800304d9
mov rax, qword [0x180056838]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800304d9
mov rax, qword [0x180056830]
mov qword [0x180056838], rax
jmp 0x180030380
mov rax, qword [0x180056838]
mov rax, qword [rax + 8]
mov qword [0x180056838], rax
cmp qword [0x180056838], 0
je 0x1800303cd
cmp qword [0x180056838], 0
je 0x1800303cb
mov rax, qword [0x180056838]
cmp qword [rax + 0x10], 0
je 0x1800303cb
mov rax, qword [0x180056838]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800303cb
mov rax, qword [0x180056838]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800303cb
jmp 0x1800302fc
jmp 0x18003036e
mov rcx, qword [rsp + 0x60]
call fcn.180032680
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800304e0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800304d7
mov rax, qword [rsp + 0x48]
mov qword [0x180056838], rax
mov rax, qword [0x180056838]
mov dword [rax], 0x52727464
mov rax, qword [0x180056838]
mov qword [rax + 0x10], 0
mov rax, qword [0x180056838]
mov rcx, qword [0x180056830]
mov qword [rax + 8], rcx
mov rax, qword [0x180056838]
mov qword [0x180056830], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180056838]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180030488
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800304c2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18003047e
mov rax, qword [0x180056838]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800302fc
xor eax, eax
add rsp, 0x58
ret
Function at 0x140003080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xe30], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x1400030c1
mov r8d, 0x613
lea rdx, str.C:Users_samesDesktopimgui_masterimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x38c9], 0
mov rbp, qword [rbx + 0xe30]
je 0x140003290
movss xmm1, dword [0x1400514f4]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140003115
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14000310e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14000310c
je 0x14000310e
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x14000313a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003133
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003131
je 0x140003133
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3f78]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140003191
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140003177
mov r8d, 0x793
lea rdx, str.C:Users_samesDesktopimgui_masterimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140003227
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140003158
movsd xmm0, qword [rbp + 0xe40]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x1400031cf
jne 0x1400031cf
ucomiss xmm1, xmm7
jp 0x1400031cf
je 0x140003288
mov eax, dword [rbp + 0x3f9c]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3f9c], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3f98]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x14000325d
inc ecx
test r8d, r8d
je 0x140003249
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000324e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x1400031a4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.14001fc20
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x140003780
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 0x1400037dd
lea rbx, [0x140049e70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400037c4
cmp r10, 2
jb 0x1400037c4
cmp byte [r9], r8b
jne 0x1400037c4
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 0x1400037a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000381f
lea rbx, [0x140049e70]
cmp r8b, 0x23
jne 0x140003803
cmp byte [r9], r8b
jne 0x140003803
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 0x1400037f0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400039c0
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 0x1400039f5
mov r8d, 0x836
lea rdx, str.C:Users_samesDesktopimgui_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 0x140003a00
mov qword [rsi], r14
lea rdx, [0x140049638]
mov rcx, rbx
call fcn.140003830
mov rbx, rax
test rax, rax
jne 0x140003a28
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 0x140003b52
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 0x140003b52
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003b52
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 0x140003b52
cmp rdi, 0xffffffffffffffff
je 0x140003b52
mov rcx, rdi
call fcn.140007f60
mov rbp, rax
test rax, rax
je 0x140003b52
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 0x140003b3f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400ae018]
test r8, r8
je 0x140003b34
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003b29
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 0x140003b5b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003b4d
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003b5d
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 0x140007850
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14000788c
mov r8d, 0x79c
lea rdx, str.C:Users_samesDesktopimgui_masterimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x140049e70]
movsxd r8, dword [rsi + 0x100]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x140007907
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e4c0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017130
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400ae018]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140017182
cmp byte [rbx + 0x4d4e], 0
jne 0x140017182
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003580
test dil, 2
je 0x1400172af
jmp 0x14001720b
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140051470]
xor eax, eax
mulss xmm1, dword [0x140051460]
addss xmm0, dword [rbx + 0xe40]
lea edx, [rax + 0x10]
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 [0x1400513e8]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003580
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017260
lea r11, [0x140049e70]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140017243
cmp byte [r8], r9b
jne 0x140017243
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 0x140017230
not ecx
call fcn.14000b780
test rax, rax
je 0x1400172af
cmp byte [rax + 0xbe], 0
je 0x1400172af
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.140003580
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000e810
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001ccd0
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 0x14001cd77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cd2a
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.14001f7f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004170
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, [0x1400ae010]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cd7f
mov rcx, rbx
call fcn.140004170
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d0c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400ae018]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14001d1bc
cmp dword [rbx + 0x5f90], ebp
je 0x14001d107
mov r8d, 0x348b
lea rdx, str.C:Users_samesDesktopimgui_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 0x14001d1b5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400039c0
mov rdi, rax
test rax, rax
je 0x14001d1b5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001d141
mov rcx, rax
call fcn.14001d310
mov r8, qword [0x1400ae018]
test r8, r8
je 0x14001d1ac
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001d1a1
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 0x14001d259
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001d259
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001d247
mov rax, qword [0x1400ae018]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001d590
lea rdx, [0x14004963c]
mov rcx, rdi
mov rsi, rax
call fcn.140003830
mov rdi, rax
test rax, rax
je 0x14001d24e
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 0x14001d24e
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 0x14001d270
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400ae018]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d2d3
mov qword [rsp], rbx
lea rbx, [0x140049e70]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d2b3
cmp byte [r8], r9b
jne 0x14001d2b3
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 0x14001d2a0
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 0x14001d2ff
cmp dword [r8 + 8], eax
je 0x14001d306
add r8, 0x48
cmp r8, rcx
jne 0x14001d2f0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140042b24
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rbp
mov rbx, rdx
mov qword [rsp + 0x38], rsi
mov rsi, r8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov r14, rcx
mov qword [rsp + 0x20], r15
mov r15, qword [rcx + 8]
mov rcx, qword [rcx]
mov rbp, r15
sub rbp, rcx
cmp r8, rbp
jae 0x1400044d8
lfence
mov rdi, qword [r14]
mov rcx, r14
add rdi, r8
mov r8, qword [r14 + 8]
mov rdx, rdi
call fcn.1400015d0
mov qword [r14 + 8], rdi
jmp 0x140004516
jbe 0x140004516
mov rax, qword [r14 + 0x10]
sub rax, rcx
mov rcx, r14
cmp rsi, rax
jbe 0x1400044f6
lfence
mov rdx, rsi
call fcn.1400086d0
jmp 0x140004516
call fcn.1400015b0
mov rdi, rsi
xor edx, edx
sub rdi, rbp
mov rcx, r15
mov r8, rdi
call fcn.1400194d0
lea rax, [rdi + r15]
mov qword [r14 + 8], rax
mov rcx, r14
call fcn.140001440
mov r15, qword [rsp + 0x20]
lea rdx, [rsi + rbx]
mov r14, qword [rsp + 0x28]
xor r8d, r8d
mov rdi, qword [rsp + 0x30]
cmp rbx, rdx
mov rbp, qword [rsp + 0x58]
mov rcx, rax
cmova rsi, r8
test rsi, rsi
je 0x1400045d7
cmp rsi, 0x40
jb 0x1400045d7
lea r9, [rax - 1]
lea rax, [rbx - 1]
add r9, rsi
add rax, rsi
cmp rcx, rax
ja 0x14000456e
cmp r9, rbx
jae 0x1400045d7
and rsi, 0xffffffffffffffc0
movdqa xmm2, xmmword [0x14004ff80]
nop word [rax + rax]
movdqu xmm0, xmmword [rbx]
add r8, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbx + 0x10]
movdqu xmmword [rcx], xmm1
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmmword [rcx + 0x10], xmm1
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbx + 0x30]
add rbx, 0x40
movdqu xmmword [rcx + 0x20], xmm1
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
cmp r8, rsi
jb 0x140004580
mov rsi, qword [rsp + 0x38]
cmp rbx, rdx
jae 0x140004600
sub rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx]
xor al, 0x2c
mov byte [rcx + rbx], al
inc rbx
cmp rbx, rdx
jb 0x1400045f0
add rsp, 0x40
pop rbx
ret