joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001170
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
sub rsp, 0x38
mov rbp, rcx
test rcx, rcx
je 0x1400013b4
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400013b4
cmp qword [rbp + 0x10], 0
je 0x1400011a3
mov eax, 1
add rsp, 0x38
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1400013b4
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x1400013ab
movsxd rcx, dword [rdi + 0x3c]
add rcx, rdi
cmp dword [rcx], 0x4550
jne 0x1400013ab
mov eax, 0x2000
test word [rcx + 0x16], ax
je 0x1400013ab
mov eax, dword [rcx + 0x88]
test eax, eax
je 0x1400013ab
cmp dword [rcx + 0x8c], 0
je 0x1400013ab
mov qword [rsp + 0x60], rsi
xor esi, esi
mov qword [rsp + 0x68], r12
mov r12d, dword [rdi + rax + 0x20]
mov qword [rsp + 0x30], r13
add r12, rdi
mov r13d, dword [rdi + rax + 0x1c]
mov qword [rsp + 0x28], r14
add r13, rdi
lea r14, [rdi + rax]
mov qword [rsp + 0x58], rbx
mov eax, dword [r14 + 0x24]
add rax, rdi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x50], rax
cmp dword [r14 + 0x18], esi
jbe 0x140001356
nop word [rax + rax]
mov ebx, dword [r12 + rsi*4]
add rbx, rdi
jne 0x140001260
xor ecx, ecx
jmp 0x140001345
mov edx, 0x1000
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r8, rax
test rax, rax
jne 0x14000127d
xor ecx, ecx
jmp 0x140001345
xor eax, eax
cmp r8, 4
jb 0x1400012c6
mov r9, r8
shr r9, 2
imul rcx, r9, 0xfffffffffffffffc
add r8, rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbx]
movzx edx, word [rbx + 2]
add eax, ecx
mov ecx, eax
shl edx, 0xb
shl ecx, 0x10
add rbx, 4
xor edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0xb
add eax, ecx
sub r9, 1
jne 0x1400012a0
sub r8, 1
je 0x140001307
sub r8, 1
je 0x1400012f4
cmp r8, 1
jne 0x140001319
movzx ecx, word [rbx]
movzx edx, byte [rbx + 2]
add eax, ecx
mov ecx, eax
shl edx, 0x12
shl ecx, 0x10
xor edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0xb
jmp 0x140001317
movzx ecx, word [rbx]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
jmp 0x140001317
movzx ecx, byte [rbx]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor eax, ecx
mov ecx, eax
shr ecx, 1
add eax, ecx
lea ecx, [rax*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor eax, ecx
mov ecx, eax
shr ecx, 6
add ecx, eax
cmp ecx, dword [rbp]
je 0x140001386
inc esi
cmp esi, dword [r14 + 0x18]
jb 0x140001250
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
add rsp, 0x38
pop rdi
pop rbp
ret
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + rsi*2]
mov ecx, dword [r13 + rax*4]
add rcx, rdi
mov qword [rbp + 0x10], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x140001361
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
add rsp, 0x38
pop rdi
pop rbp
ret
Function at 0x140002474
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400024be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400024be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400024be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400024be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400024be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400024c0
xor al, al
add rsp, 0x28
ret
Function at 0x140003ad0
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 0x140003b2d
lea rbx, [0x14004c2a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003b14
cmp r10, 2
jb 0x140003b14
cmp byte [r9], r8b
jne 0x140003b14
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 0x140003af0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003b6f
lea rbx, [0x14004c2a0]
cmp r8b, 0x23
jne 0x140003b53
cmp byte [r9], r8b
jne 0x140003b53
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 0x140003b40
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140003d10
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 0x140003d45
mov r8d, 0x8bf
lea rdx, str.C:UsersWaezDownloadsimgui_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 0x140003d50
mov qword [rsi], r14
lea rdx, [0x14004ba38]
mov rcx, rbx
call fcn.140003b80
mov rbx, rax
test rax, rax
jne 0x140003d78
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 0x140003ea4
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 0x140003ea4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003ea4
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 0x140003ea4
cmp rdi, 0xffffffffffffffff
je 0x140003ea4
mov rcx, rdi
call fcn.140008a20
mov rbp, rax
test rax, rax
je 0x140003ea4
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 0x140003e91
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14005b148]
test r8, r8
je 0x140003e86
movsx rdx, word [r8 + 0x6250]
lea rcx, [r8 + 0x6254]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003e7b
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 + 0x6250], cx
movsx rax, cx
lea rcx, [r8 + 0x6254]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x624c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003ead
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003e9f
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003eaf
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 0x140013460
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 + 0x108], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14001349c
mov r8d, 0x82c
lea rdx, str.C:UsersWaezDownloadsimgui_masterimgui_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 + 0x110]
lea rdx, [0x14004c2a0]
movsxd r8, dword [rsi + 0x108]
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 + 0x40f4], ebx
jne 0x140013517
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f6c0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013530
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x108], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140013563
mov r8d, 0x82c
lea rdx, str.C:UsersWaezDownloadsimgui_masterimgui_masterimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x128]
lea r10, [0x14004c2a0]
movsxd rcx, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x12c]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret
Function at 0x1400183a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14005b148]
mov edi, ecx
cmp byte [rbx + 0x4ded], 0
jne 0x1400183f2
cmp byte [rbx + 0x4dee], 0
jne 0x1400183f2
movsx r9d, word [rbx + 0x6010]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400038d0
test dil, 2
je 0x14001851f
jmp 0x14001847d
movss xmm1, dword [rbx + 0x3a08]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140054168]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140054160]
addss xmm0, dword [rbx + 0xe0]
addss xmm1, dword [rbx + 0xe4]
mov qword [rbx + 0x4ad0], rax
mov dword [rbx + 0x4abc], 1
movss dword [rbx + 0x4ac8], xmm0
movss dword [rbx + 0x4acc], xmm1
movss xmm0, dword [rbx + 0x3a64]
mulss xmm0, dword [0x1400540e8]
or dword [rbx + 0x4ab8], 0x41
movss dword [rbx + 0x4b18], xmm0
movsx r9d, word [rbx + 0x6010]
call fcn.1400038d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400184d0
lea r11, [0x14004c2a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400184b3
cmp byte [r8], r9b
jne 0x1400184b3
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 0x1400184a0
not ecx
call fcn.14000c0b0
test rax, rax
je 0x14001851f
cmp byte [rax + 0xca], 0
je 0x14001851f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x6010]
movsx r9d, word [rbx + 0x6010]
call fcn.1400038d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000f520
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001dee0
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 + 0x6170], 0
lea rbx, [rcx + 0x6178]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001df83
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001df36
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140020a50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400044c0
mov eax, dword [rbx]
lea rcx, [0x14005b140]
mov r9, qword [rdi + 0x6170]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x6180]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001df8b
mov rcx, rbx
call fcn.1400044c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e2c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14005b148]
xor ebp, ebp
cmp byte [rbx + 0x60c0], bpl
jne 0x14001e3bc
cmp dword [rbx + 0x60e8], ebp
je 0x14001e307
mov r8d, 0x367f
lea rdx, str.C:UsersWaezDownloadsimgui_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 0x14001e3b5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003d10
mov rdi, rax
test rax, rax
je 0x14001e3b5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001e341
mov rcx, rax
call fcn.14001e510
mov r8, qword [0x14005b148]
test r8, r8
je 0x14001e3ac
movsx rdx, word [r8 + 0x6250]
lea rcx, [r8 + 0x6254]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001e3a1
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 + 0x6250], cx
movsx rax, cx
lea rcx, [r8 + 0x6254]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x624c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x60c0], 1
movss xmm0, dword [rbx + 0x60c4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001e459
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x60c4], xmm0
jb 0x14001e459
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001e447
mov rax, qword [0x14005b148]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x60c4], ebp
call fcn.14001e780
lea rdx, [0x14004ba3c]
mov rcx, rdi
mov rsi, rax
call fcn.140003b80
mov rdi, rax
test rax, rax
je 0x14001e44e
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 0x14001e44e
mov byte [rbx + 0xb4], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x60c4], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e470
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005b148]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001e4d3
mov qword [rsp], rbx
lea rbx, [0x14004c2a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001e4b3
cmp byte [r8], r9b
jne 0x14001e4b3
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 0x14001e4a0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60d8]
not eax
mov r8, qword [r10 + 0x60e0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001e4ff
cmp dword [r8 + 8], eax
je 0x14001e506
add r8, 0x48
cmp r8, rcx
jne 0x14001e4f0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003a260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
movsxd r14, dword [rdx + 0xc]
xor esi, esi
mov dword [rsp + 0x88], esi
mov r12d, r8d
mov rbp, rdx
mov rbx, rcx
mov r13d, esi
mov edi, esi
cmp r8d, r14d
jne 0x14003a2d9
test r9d, r9d
je 0x14003a2d9
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140039930
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
mov dword [rbx + 4], esi
mov dword [rbx + 0xc], esi
mov dword [rbx + 0x10], r14d
movss dword [rbx + 8], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rbx], xmm0
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rcx + 4], esi
xor r8d, r8d
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x80], r15
call fcn.140039930
mov r15d, dword [rsp + 0x3c]
cmp r12d, r15d
jl 0x14003a3c5
lea eax, [r15 + rdi]
mov rcx, r14
mov dword [rsp + 0x20], eax
cmp eax, r14d
jne 0x14003a379
test rcx, rcx
jle 0x14003a379
lea r12d, [r14 - 1]
lea r13, [rcx - 1]
cmp r12d, dword [rbp + 0xc]
jle 0x14003a33c
mov r8d, 0xf28
lea rdx, str.C:UsersWaezDownloadsimgui_masterimgui_masterimgui_widgets.cpp
lea rcx, str.idx___obj__CurLenW
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r13, r13
js 0x14003a347
cmp r12d, dword [rbp + 0x18]
jl 0x14003a361
mov r8d, 0x824
lea rdx, str.C:UsersWaezDownloadsimgui_masterimgui_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 [rbp + 0x20]
cmp word [rax + r13*2], 0xa
jne 0x14003a3bd
mov r12d, dword [rsp + 0x90]
mov eax, dword [rsp + 0x20]
movss xmm0, dword [rsp + 0x30]
mov dword [rsp + 0x88], edi
mov edi, eax
addss xmm0, dword [rbx + 4]
movss dword [rbx + 4], xmm0
cmp eax, r14d
je 0x14003a3ba
mov r8d, eax
lea rcx, [rsp + 0x28]
mov rdx, rbp
call fcn.140039930
mov r15d, dword [rsp + 0x3c]
lea eax, [r15 + rdi]
cmp r12d, eax
jl 0x14003a3bd
jmp 0x14003a2ff
mov r15d, esi
mov r13d, dword [rsp + 0x88]
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
mov r14d, dword [rsp + 0x90]
mov dword [rbx + 0x10], r15d
mov r15, qword [rsp + 0x80]
mov dword [rbx + 0xc], edi
movss dword [rbx + 8], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rbx], xmm0
mov dword [rbx + 0x14], r13d
cmp edi, r14d
jge 0x14003a41f
mov r8d, esi
mov edx, edi
mov rcx, rbp
call fcn.140039890
addss xmm0, dword [rbx]
inc esi
lea eax, [rdi + rsi]
movss dword [rbx], xmm0
cmp eax, r14d
jl 0x14003a400
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140045664
Capabilities:
Parse pe header

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

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

Function at 0x140007c18
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 0x140007c87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007c87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007c87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007c87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007c87
cmp dword [rcx + 0x84], 0xe
jbe 0x140007c87
cmp dword [rcx + 0xf8], 0
je 0x140007c87
mov ecx, ebx
call fcn.140007d38
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.140007b14
nop
cmp dword [rbp + 0x20], 0
je 0x140007cd5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007ce0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140007c18

Function at 0x140007e1c
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 0x140007c87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007c87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007c87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007c87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007c87
cmp dword [rcx + 0x84], 0xe
jbe 0x140007c87
cmp dword [rcx + 0xf8], 0
je 0x140007c87
mov ecx, ebx
call fcn.140007d38
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.140007b14
nop
cmp dword [rbp + 0x20], 0
je 0x140007cd5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007ce0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140007c18
Function at 0x14000a998
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14000a9ae
mov al, 1
jmp 0x14000aa0e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14000a9bf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14000aa0c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000e8d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000aa0c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14000aa0c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000aa0c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14000aa0e
xor al, al
add rsp, 0x20
pop rbx
ret