joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4381f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rcx, rbx
call fcn.004381c0
cmp eax, 0xffffffff
jne 0x438424
mov rcx, rbx
call fcn.0040a4f0
mov edi, eax
mov rax, qword [0x0044d250]
mov r13, qword [rax]
test r13, r13
je 0x438230
mov r13, qword [r13 - 8]
mov rcx, qword [0x0044d250]
mov rdx, qword [0x004269a0]
mov r8d, 1
mov r9d, r13d
add r9d, 1
movsxd r9, r9d
call fcn.0040bce0
mov ecx, edi
lea rcx, [rcx + rcx*2]
movsxd rcx, ecx
call fcn.004051c0
mov rcx, qword [0x0044d250]
mov rcx, qword [rcx]
movsxd rdx, r13d
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8], rax
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8]
mov rdx, rbx
call fcn.0041cd40
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov dword [rax + rcx*8 + 8], esi
mov ecx, esi
call sub.msvcrt.dll__get_osfhandle
mov rcx, qword [0x0044d250]
mov rcx, qword [rcx]
movsxd rdx, r13d
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8 + 0x10], rax
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8 + 0x10]
xor rdx, rdx
xor r8, r8
mov r9d, 2
call sub.kernel32.dll_SetFilePointer_1
mov rcx, qword [0x0044d250]
mov rcx, qword [rcx]
movsxd rdx, r13d
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov dword [rcx + rdx*8 + 0x18], eax
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
movsxd rcx, dword [rax + rcx*8 + 0x18]
call fcn.004051c0
mov rcx, qword [0x0044d250]
mov rcx, qword [rcx]
movsxd rdx, r13d
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8 + 0x20], rax
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8 + 0x10]
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointer_1
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8 + 0x10]
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rdx, r13d
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov rdx, qword [rax + rdx*8 + 0x20]
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd r8, r13d
add r8, r8
lea r8, [r8 + r8*2]
mov r8d, dword [rax + r8*8 + 0x18]
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile_1
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rcx, r13d
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8 + 0x20]
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd rdx, r13d
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov edx, dword [rax + rdx*8 + 0x18]
call fcn.004271a0
mov rax, qword [0x0044d250]
mov rax, qword [rax]
movsxd r13, r13d
add r13, r13
lea r13, [r13 + r13*2]
mov dword [rax + r13*8 + 0x28], 0
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x43a800
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x2a0
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x48], r9
mov rcx, qword [rbp + 0x30]
call fcn.00426d10
mov ebx, eax
xor rcx, rcx
mov rsi, qword [rbp + 0x2f8]
jmp 0x43a846
add ecx, 1
jmp 0x43a840
add rsi, 2
cmp word [rsi], 0
jne 0x43a83c
cmp word [rsi], 0
jne 0x43a837
mov rax, qword [rbp + 0x2f8]
neg rax
lea rax, [rsi + rax]
mov r8d, 2
cqo
idiv r8
mov edx, ebx
add edx, eax
add edx, 1
imul ecx, edx
add ecx, ecx
call fcn.0043ea20
mov r13, rax
mov rsi, qword [rbp + 0x2f8]
mov rdi, r13
jmp 0x43a8c1
mov rcx, rdi
mov rdx, qword [rbp + 0x30]
mov r8d, ebx
call fcn.00426c00
movsxd rax, ebx
lea rcx, [rdi + rax*2]
mov rdx, rsi
call fcn.00426d30
movsxd rax, ebx
add rax, rax
add rdi, rax
jmp 0x43a8b7
add rsi, 2
add rdi, 2
cmp word [rsi], 0
jne 0x43a8af
add rdi, 2
cmp word [rsi], 0
jne 0x43a886
mov word [rdi], 0
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov r8d, dword [rbp + 0x2f0]
mov r9, r13
mov byte [rsp + 0x20], 1
call fcn.0043b940
mov esi, eax
mov rax, qword [rbp + 0x38]
mov word [rax], 0x2a
mov word [rax + 2], 0
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_FindFirstFileW_1
mov rbx, rax
mov rax, qword [rbp + 0x38]
mov word [rax], 0
cmp rbx, 0xffffffffffffffff
je 0x43a9c2
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x7c]
call fcn.00426d30
mov eax, dword [rbp + 0x50]
test eax, 0x10
je 0x43a9a6
lea rcx, [rbp + 0x7c]
lea rdx, [0x0043a9d4]
call fcn.0041ce10
test eax, eax
je 0x43a9a6
lea rcx, [rbp + 0x7c]
lea rdx, [0x0043a9d8]
call fcn.0041ce10
test eax, eax
je 0x43a9a6
mov rcx, qword [rbp + 0x38]
call fcn.00426f10
mov rsi, rax
add rsi, 2
mov word [rsi], 0x5c
add rsi, 2
mov word [rsi], 0
mov rcx, qword [rbp + 0x30]
mov rdx, rsi
mov r8, qword [rbp + 0x40]
mov r9, qword [rbp + 0x48]
mov eax, dword [rbp + 0x2f0]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0x2f8]
mov qword [rsp + 0x28], rax
call fcn.0043a800
mov esi, eax
mov rcx, rbx
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x43a91c
mov rcx, rbx
call sub.kernel32.dll_FindClose_1
mov eax, esi
lea rsp, [rbp + 0x2a0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x43ce30
Capabilities:
Read file on windows

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x58
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x38], r9
call sub.msvcrt.dll__get_osfhandle
mov r13, rax
mov rbx, qword [0x0044d168]
mov rcx, r13
xor rdx, rdx
xor r8, r8
mov r9d, 1
call sub.kernel32.dll_SetFilePointer_1
mov edi, eax
mov rcx, r13
mov rdx, qword [0x0044d168]
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x43ce9c
xor rax, rax
jmp 0x43cf51
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0
jne 0x43ceae
xor rax, rax
jmp 0x43cf51
mov rax, qword [rsp + 0x38]
mov esi, dword [rax]
mov eax, esi
test eax, eax
jbe 0x43cf04
cmp eax, 3
jb 0x43cef9
cmp byte [rbx], 0xa
jne 0x43cecb
cmp byte [rbx + 1], 0xd
je 0x43ced6
cmp byte [rbx], 0xd
jne 0x43cef9
cmp byte [rbx + 1], 0xa
jne 0x43cef9
mov byte [rbx + 2], 0
mov esi, ebx
sub esi, dword [0x0044d168]
add esi, 2
mov rcx, r13
mov edx, edi
add edx, esi
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointer_1
jmp 0x43cf04
sub eax, 1
add rbx, 1
test eax, eax
ja 0x43cebb
nop
mov rax, qword [0x0044d458]
mov ecx, dword [rax]
call fcn.004380d0
mov rcx, qword [0x0044d458]
mov ecx, dword [rcx]
test eax, eax
setne dl
movzx rdx, dl
mov r8, qword [0x0044d168]
mov r9d, esi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
call sub.kernel32.dll_MultiByteToWideChar_1
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x43feb0
Capabilities:
Set current directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
mov rbp, rsp
xor rdi, rdi
mov word [rbp + 0x238], 0x3d
add cx, 0x40
mov word [rbp + 0x23a], cx
mov word [rbp + 0x23c], 0x3a
mov word [rbp + 0x23e], 0
xor rsi, rsi
lea rcx, [rbp + 0x238]
call fcn.004291e0
mov rbx, rax
test rbx, rbx
je 0x43ff0c
mov rcx, rbx
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
setne sil
test sil, sil
jne 0x43ff87
test rbx, rbx
je 0x43ff23
mov ecx, 1
call sub.kernel32.dll_SetErrorMode
mov edi, eax
movzx rax, word [rbp + 0x23a]
mov word [rbp + 0x2e], ax
movzx rax, word [rbp + 0x23c]
mov word [rbp + 0x30], ax
mov word [rbp + 0x32], 0x5c
mov word [rbp + 0x34], 0
lea rcx, [rbp + 0x238]
lea rdx, [rbp + 0x2e]
call fcn.00429550
lea rcx, [rbp + 0x2e]
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
jne 0x43ff7b
lea rcx, [0x0043ffb0]
xor rdx, rdx
lea r8, [rbp + 0x20]
or r9d, 0xffffffff
call fcn.00440100
test rbx, rbx
je 0x43ff87
mov ecx, edi
call sub.kernel32.dll_SetErrorMode
mov rcx, qword [0x0044d670]
xor rdx, rdx
call fcn.0042b8a0
lea rsp, [rbp + 0x248]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4409b0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
xor rdi, rdi
mov rcx, rbx
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x4409dc
call sub.kernel32.dll_GetLastError_2
mov dword [0x0044ccb0], eax
test esi, esi
je 0x4409ea
mov rcx, rbx
call fcn.00440a00
mov edi, eax
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x440c10
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov word [rbp + 0x28], cx
mov word [rbp + 0x2a], 0x3a
mov word [rbp + 0x2c], 0x5c
mov word [rbp + 0x2e], 0
lea rcx, [rbp + 0x28]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x440c41
xor rax, rax
jmp 0x440c43
mov al, 1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x440c50
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x260
mov rbp, rsp
mov word [rbp + 0x44], cx
mov word [rbp + 0x46], 0x3a
mov word [rbp + 0x48], 0x5c
mov word [rbp + 0x4a], 0
lea rcx, [rbp + 0x44]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x440c83
mov al, 1
jmp 0x440ce0
cmp eax, 2
je 0x440cdd
cmp eax, 5
je 0x440cdd
lea rcx, [rbp + 0x44]
lea rdx, [rbp + 0x4e]
mov r8d, 0x104
lea r9, [rbp + 0x258]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x440cdd
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x440cdd
mov al, 1
jmp 0x440ce0
xor rax, rax
lea rsp, [rbp + 0x260]
pop rbp
ret

Function at 0x4412d0
Capabilities:
Set console window title

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov rbx, rcx
test rbx, rbx
je 0x4413ce
mov rax, qword [0x0044d228]
cmp qword [rax], 0
jne 0x4413ce
mov rax, qword [0x0044d0a8]
cmp byte [rax], 0
jne 0x4413ce
mov ecx, 0x20c
call fcn.004051c0
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x4413ce
mov rcx, qword [rbp + 0x28]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov esi, eax
test esi, esi
je 0x4413ce
mov rcx, rbx
call fcn.00426d10
lea rcx, [rbp + 0x28]
mov edx, esi
add edx, eax
add edx, dword [0x0046b2a4]
add edx, 0xa
add edx, edx
mov edx, edx
call fcn.00405220
cmp qword [rbp + 0x28], 0
je 0x4413ce
mov rax, qword [0x0044d320]
cmp byte [rax], 0
je 0x441387
mov rax, qword [rbp + 0x28]
mov ecx, dword [0x0046b2a4]
lea rcx, [rax + rcx*2]
mov rdx, rbx
call fcn.00426d30
jmp 0x4413bc
mov rcx, qword [rbp + 0x28]
lea rdx, [0x004413d8]
call fcn.00426d50
mov rcx, qword [rbp + 0x28]
call fcn.00426d10
mov dword [0x0046b2a4], eax
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
call fcn.00426d50
mov rax, qword [0x0044d320]
mov byte [rax], 1
mov rcx, qword [rbp + 0x28]
call sub.kernel32.dll_SetConsoleTitleW
mov rcx, qword [rbp + 0x28]
call fcn.004051f0
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4413e0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x44141b
mov rax, qword [0x0044d228]
cmp qword [rax], 0
jne 0x44141b
mov rax, qword [0x0044d320]
cmp byte [rax], 0
je 0x44141b
call sub.kernel32.dll_SetConsoleTitleW
mov dword [0x0046b2a4], 0
mov rax, qword [0x0044d320]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x441c80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
movzx rbx, word [rax]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 2]
mov word [rbp + 0x3c], ax
mov rax, qword [rbp + 0x28]
movzx rsi, word [rax + 4]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 6]
mov word [rbp + 0x3e], ax
mov qword [rbp + 0x30], rdx
mov r13d, 1
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441c30
mov ebx, eax
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
movzx rax, word [rbp + 0x3c]
add ax, word [rcx]
mov word [rbp + 0x3c], ax
add rcx, 2
mov qword [rbp + 0x30], rcx
add si, word [rcx]
add rcx, 2
mov qword [rbp + 0x30], rcx
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441c30
mov word [rbp + 0x3e], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov edi, ebx
xor di, si
mov rcx, rbp
mov edx, edi
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441c30
mov edi, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
movzx rcx, word [rbp + 0x3e]
xor ax, cx
mov ecx, edi
add cx, ax
mov eax, ecx
mov rcx, rbp
mov edx, eax
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441c30
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
add di, ax
xor bx, ax
movzx rcx, word [rbp + 0x3e]
xor cx, di
mov word [rbp + 0x3e], cx
movzx rcx, word [rbp + 0x3c]
xor di, cx
xor si, ax
mov word [rbp + 0x3c], si
mov esi, edi
add r13d, 1
cmp r13d, 9
jne 0x441cc7
nop
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441c30
mov ebx, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov word [rax], bx
mov rax, qword [rbp + 0x30]
add si, word [rax]
mov rax, qword [rbp + 0x28]
mov word [rax + 2], si
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
mov rcx, qword [rbp + 0x30]
add ax, word [rcx]
mov rcx, qword [rbp + 0x28]
mov word [rcx + 4], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00441c30
mov rcx, qword [rbp + 0x28]
mov word [rcx + 6], ax
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x403420
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403460
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x403457
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x403462
add rax, 0x28
cmp rax, r9
jne 0x403444
xor eax, eax
repz ret

Function at 0x403520
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x403544
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.004033e0
test eax, eax
je 0x40353b
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00403420
Function at 0x140002ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xdf8], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x140002ee1
mov r8d, 0x5bd
lea rdx, str.C:Users_azeleDesktopImGui_Ready_For_Sellmenu_Mrkzimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x37b1], 0
mov rbp, qword [rbx + 0xdf8]
je 0x1400030b0
movss xmm1, dword [0x1400defac]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140002f35
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140002f2e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140002f2c
je 0x140002f2e
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140002f5a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140002f53
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140002f51
je 0x140002f53
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3e70]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140002fb1
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140002f97
mov r8d, 0x71d
lea rdx, str.C:Users_azeleDesktopImGui_Ready_For_Sellmenu_Mrkzimgui.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 0x140003047
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140002f78
movsd xmm0, qword [rbp + 0xe08]
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 0x140002fef
jne 0x140002fef
ucomiss xmm1, xmm7
jp 0x140002fef
je 0x1400030a8
mov eax, dword [rbp + 0x3e94]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3e94], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3e90]
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 0x14000307d
inc ecx
test r8d, r8d
je 0x140003069
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000306e
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 0x140002fc4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.1400210e0
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 0x140003540
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 0x14000359d
lea rbx, [0x1400d7400]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003584
cmp r10, 2
jb 0x140003584
cmp byte [r9], r8b
jne 0x140003584
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 0x140003560
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400035df
lea rbx, [0x1400d7400]
cmp r8b, 0x23
jne 0x1400035c3
cmp byte [r9], r8b
jne 0x1400035c3
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 0x1400035b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400037a0
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 0x1400037cf
mov r8d, 0x7d5
lea rdx, str.C:Users_azeleDesktopImGui_Ready_For_Sellmenu_Mrkzimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400037db
mov qword [rdi], 0
lea rdx, [0x1400d6c28]
mov rcx, rbx
call fcn.1400035f0
mov rbx, rax
test rax, rax
jne 0x1400037fd
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 0x1400038d4
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 0x1400038d4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400038d4
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 0x1400038d4
cmp rsi, 0xffffffffffffffff
je 0x1400038d4
mov rax, qword [0x140365d48]
test rax, rax
je 0x140003871
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400038d4
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 0x1400038c1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140365d48]
test rax, rax
je 0x1400038b6
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400038dd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400038cf
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400038df
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 0x1400074b0
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 + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x1400074ec
mov r8d, 0x726
lea rdx, str.C:Users_azeleDesktopImGui_Ready_For_Sellmenu_Mrkzimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x1400d7400]
movsxd r8, dword [rsi + 0xf0]
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 + 0x3f40], ebx
jne 0x140007567
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001ff40
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret