joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180076130
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x9e3779b9
cmp rdx, 3
jae 0x18007614a
mov r10d, 0x9e3779b9
mov rax, rdx
jmp 0x18007620c
mov rax, rdx
mov r10d, 0x9e3779b9
movzx r11d, byte [rcx]
add r11d, r10d
movzx r10d, byte [rcx + 1]
add r10d, r9d
movzx r9d, byte [rcx + 2]
add r9d, r8d
sub r11d, r10d
sub r11d, r9d
mov r8d, r9d
shr r8d, 0xd
xor r8d, r11d
sub r10d, r9d
sub r10d, r8d
mov r11d, r8d
shl r11d, 8
xor r11d, r10d
sub r9d, r8d
sub r9d, r11d
mov r10d, r11d
shr r10d, 0xd
xor r10d, r9d
sub r8d, r11d
sub r8d, r10d
mov r9d, r10d
shr r9d, 0xc
xor r9d, r8d
sub r11d, r10d
sub r11d, r9d
mov r8d, r9d
shl r8d, 0x10
xor r8d, r11d
sub r10d, r9d
sub r10d, r8d
mov r11d, r8d
shr r11d, 5
xor r11d, r10d
sub r9d, r8d
sub r9d, r11d
mov r10d, r11d
shr r10d, 3
xor r10d, r9d
sub r8d, r11d
sub r8d, r10d
mov r9d, r10d
shl r9d, 0xa
xor r9d, r8d
sub r11d, r10d
sub r11d, r9d
mov r8d, r9d
shr r8d, 0xf
xor r8d, r11d
add rcx, 3
add rax, 0xfffffffffffffffd
cmp rax, 2
ja 0x180076153
cmp rax, 1
je 0x18007621f
cmp rax, 2
jne 0x180076225
movzx eax, byte [rcx + 1]
add r9d, eax
movzx eax, byte [rcx]
add r10d, eax
add r8d, edx
sub r10d, r8d
sub r10d, r9d
mov eax, r8d
shr eax, 0xd
xor eax, r10d
sub r9d, r8d
sub r9d, eax
mov ecx, eax
shl ecx, 8
xor ecx, r9d
sub r8d, eax
sub r8d, ecx
mov edx, ecx
shr edx, 0xd
xor edx, r8d
sub eax, ecx
sub eax, edx
mov r8d, edx
shr r8d, 0xc
xor r8d, eax
sub ecx, edx
sub ecx, r8d
mov r9d, r8d
shl r9d, 0x10
xor r9d, ecx
sub edx, r8d
sub edx, r9d
mov ecx, r9d
shr ecx, 5
xor ecx, edx
sub r8d, r9d
sub r8d, ecx
mov edx, ecx
shr edx, 3
xor edx, r8d
sub r9d, ecx
sub r9d, edx
mov eax, edx
shl eax, 0xa
xor eax, r9d
add edx, eax
sub ecx, edx
shr eax, 0xf
xor eax, ecx
ret
Function at 0x180079ff0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x130
mov rsi, rcx
mov rax, qword [0x18010e118]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov rax, qword [0x1801123b0]
cmp rax, 0xffffffffffffffff
je 0x18007a07e
test rax, rax
jne 0x18007a04b
lea rcx, str.KERNEL32.DLL
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x18007a073
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x18007a073
mov qword [0x1801123b0], rax
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1800c5320
mov rcx, rsi
xor edx, edx
mov r8d, 0x800
add rsp, 0x130
pop rsi
jmp 0x1800f1000
mov qword [0x1801123b0], 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov edx, 0x104
call sub.KERNEL32.dll_GetSystemDirectoryA
test eax, eax
jne 0x18007a098
xor esi, esi
jmp 0x18007a123
mov rcx, rsi
test sil, 3
jne 0x18007a0c6
mov rdx, rsi
mov rcx, rdx
mov r8d, dword [rdx]
mov edx, r8d
not edx
add r8d, 0xfefefeff
and r8d, edx
lea rdx, [rcx + 4]
test r8d, 0x80808080
je 0x18007a0a4
mov r8, rcx
inc rcx
cmp byte [r8], 0
jne 0x18007a0c6
sub r8, rsi
lea ecx, [rax + 1]
add rcx, r8
add rcx, 0xfffffffffffffefc
cmp rcx, 0xfffffffffffffefb
jae 0x18007a0ef
xor esi, esi
jmp 0x18007a123
mov eax, eax
mov byte [rsp + rax + 0x20], 0x5c
inc r8
je 0x18007a10e
lea rcx, [rsp + rax]
add rcx, 0x20
inc rcx
mov rdx, rsi
call fcn.1800a3420
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 8
call 0x1800f1000
mov rsi, rax
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1800c5320
mov rax, rsi
add rsp, 0x130
pop rsi
ret
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryExA]

Function at 0x1800a1024
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800a10af
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1800a10af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800a10af
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1800a10ab
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800a10a5
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x1800a10a5
test rdx, rdx
je 0x1800a10ab
cmp dword [rdx + 0x24], 0
jge 0x1800a10a1
xor al, al
jmp 0x1800a10b5
mov al, 1
jmp 0x1800a10b5
add rdx, 0x28
jmp 0x1800a1077
xor al, al
jmp 0x1800a10b5
xor al, al
jmp 0x1800a10b5
add rsp, 0x18
ret

Function at 0x180001120
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001148
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x14000c7d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1408
call fcn.1400262d0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1380], 0xfffffffffffffffe
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140052d70]
movabs rcx, 0x44fe12190b896011
movabs r14, 0x661ef172c9cfa2a4
mov rax, qword [rax + rcx]
add rax, r14
movabs rdx, 0x44fe12190b8961f7
add rdx, qword [0x140052d78]
lea rbx, [0x140054a96]
mov rcx, rbx
call rax
mov rax, qword [0x140052d70]
movabs rcx, 0x44fe12190b896019
mov rax, qword [rax + rcx]
add rax, r14
lea rcx, [rbp + 0x1350]
mov rdx, rbx
call rax
mov rax, qword [0x140052d88]
movabs rcx, 0x123cf0a1657b095
movabs r10, 0x830fe9901a92c605
add r10, qword [rax + rcx]
lea rcx, [rbp - 0x50]
mov edx, edi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, qword [0x140052d70]
movabs rcx, 0x44fe12190b896021
mov rax, qword [rax + rcx]
movabs rbx, 0x661ef172c9cfa2a4
add rax, rbx
lea rdi, [rbp + 0x1350]
lea rdx, [rbp + 0x1370]
mov rcx, rdi
call rax
mov rax, qword [0x140052d70]
movabs rcx, 0x44fe12190b896029
mov rax, qword [rax + rcx]
add rax, rbx
lea rdx, [rbp + 0x1378]
mov rcx, rdi
call rax
mov rdi, qword [rbp + 0x1378]
mov rbx, qword [rbp + 0x1370]
mov rax, qword [0x140052d90]
movabs rcx, 0x13c736e88263794b
movabs r15, 0x2dec8d633bb61a52
mov r8, qword [rax + rcx]
add r8, r15
lea rcx, [rbp + 0x1338]
lea rdx, [rbp - 0x50]
call r8
mov rax, qword [0x140052d90]
movabs rcx, 0x13c736e882637953
add r15, qword [rax + rcx]
lea r14, [rbp + 0x1338]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call r15
mov rax, qword [0x140052da8]
movabs rcx, 0xd7bb93839dc6cfaa
movabs rdi, 0x44d3196cc3af5c23
mov rdx, qword [rax + rcx]
add rdx, rdi
mov rcx, r14
call rdx
mov rax, qword [0x140052da8]
movabs rcx, 0xd7bb93839dc6cfb2
add rdi, qword [rax + rcx]
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0x1350]
mov r9d, 0x10
mov rcx, rsi
xor r8d, r8d
call rdi
mov rax, qword [0x140052d70]
movabs rcx, 0x44fe12190b896031
movabs rdx, 0x661ef172c9cfa2a4
add rdx, qword [rax + rcx]
lea rcx, [rbp + 0x1350]
call rdx
mov rax, rsi
add rsp, 0x1408
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret

Function at 0x1400273ac
Capabilities:
Parse pe header

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

Function at 0x14002b638
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002b780

Function at 0x14002de80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002dea8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002dea8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140034794
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 0x1400347c4
xor eax, eax
jmp 0x140034887
mov rbp, rbx
cmp word [rax], si
je 0x1400347e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400347d0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400347cc
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.1400346b4
movsxd r14, eax
test eax, eax
jne 0x140034827
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400347bd
mov rcx, r14
call fcn.1400323b8
mov rdi, rax
test rax, rax
jne 0x140034840
xor ecx, ecx
call fcn.14002f880
jmp 0x14003481c
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.1400346b4
test eax, eax
jne 0x140034871
mov rcx, rdi
call fcn.14002f880
jmp 0x14003487b
xor ecx, ecx
call fcn.14002f880
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 0x1400348a4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14003492b
mov rsi, rbx
cmp word [rax], bp
je 0x1400348ea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400348d4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400348d0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400323b8
mov rdi, rax
test rax, rax
je 0x140034918
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140028750
mov rbp, rdi
xor ecx, ecx
call fcn.14002f880
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140038738
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003874e
mov al, 1
jmp 0x1400387ae
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003875f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400387ac
mov ecx, dword [rcx + 0x18]
nop
call fcn.140034d88
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400387ac
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400387ac
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400387ac
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400387ae
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140038e48
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.14002d164
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140038ed2
cmp byte [rbp - 0x21], r15b
je 0x140038ecd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140038f08
call fcn.140030660
test eax, eax
jne 0x140038ef4
cmp byte [rbp - 0x21], r15b
je 0x140038eec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140038f08
cmp byte [rbp - 0x21], r15b
je 0x140038f05
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.140034304
test eax, eax
jne 0x140038fa8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002d164
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140038f47
cmp byte [rbp - 0x21], r15b
je 0x140038f7c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140038f7c
call fcn.140030660
test eax, eax
jne 0x140038f68
cmp byte [rbp - 0x21], r15b
je 0x140038f61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140038f7c
cmp byte [rbp - 0x21], r15b
je 0x140038f79
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.140034304
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140038fa8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140038fab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140038fb9
mov rcx, rdi
call fcn.14002f880
cmp byte [rbp + 0x3f], r15b
je 0x140038fc8
mov rcx, qword [rbp + 0x27]
call fcn.14002f880
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 0x140011325
Capabilities:
Terminate process

Disassembly:
jmp 0x140017d30
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]
add rsp, 0x28
ret
Function at 0x1400113e3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018860
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018880
xor al, al
jmp 0x140018901
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018893
xor al, al
jmp 0x140018901
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 0x1400188bd
xor al, al
jmp 0x140018901
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400188d1
xor al, al
jmp 0x140018901
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400188e3
xor al, al
jmp 0x140018901
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400188ff
xor al, al
jmp 0x140018901
mov al, 1
add rsp, 0x38
ret
Function at 0x140003bc0
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 0x140003c1d
lea rbx, [0x1400ddf90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003c04
cmp r10, 2
jb 0x140003c04
cmp byte [r9], r8b
jne 0x140003c04
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 0x140003be0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003c5f
lea rbx, [0x1400ddf90]
cmp r8b, 0x23
jne 0x140003c43
cmp byte [r9], r8b
jne 0x140003c43
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 0x140003c30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003e20
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 0x140003e4f
mov r8d, 0x78f
lea rdx, str.C:UsersRBMDesktopBYAPSSSAM_Cimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003e5b
mov qword [rdi], 0
lea rdx, [0x1400dd7c8]
mov rcx, rbx
call fcn.140003c70
mov rbx, rax
test rax, rax
jne 0x140003e7d
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 0x140003f56
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 0x140003f56
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003f56
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 0x140003f56
cmp rsi, 0xffffffffffffffff
je 0x140003f56
mov rax, qword [0x140145120]
test rax, rax
je 0x140003ef3
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 0x140003f56
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 0x140003f43
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140145120]
test rax, rax
je 0x140003f38
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003f5f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003f51
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003f61
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 0x140007bd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007c07
mov r8d, 0x705
lea rdx, str.C:UsersRBMDesktopBYAPSSSAM_Cimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400ddf90]
movsxd r8, dword [rbx + 0xe8]
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 [0x140145120]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007c86
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001eae0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007ca0
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 0x140007cd3
mov r8d, 0x705
lea rdx, str.C:UsersRBMDesktopBYAPSSSAM_Cimgui.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, [0x1400ddf90]
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 0x1400173d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140145120]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140017422
cmp byte [rbx + 0x4a5e], 0
jne 0x140017422
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003a80
test dil, 1
je 0x140017548
jmp 0x1400174ad
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400e749c]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400e747c]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1400e73e0]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003a80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017500
lea r11, [0x1400ddf90]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400174e3
cmp byte [r8], r9b
jne 0x1400174e3
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 0x1400174d0
not ecx
call fcn.14000c460
test rax, rax
je 0x140017548
cmp byte [rax + 0xae], 0
je 0x140017548
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003a80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ef60
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret