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

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x1401070a0]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400c611f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0xc0000011
jne 0x1400c612c
xor edx, edx
xor eax, eax
jmp 0x1400c6156
cmp eax, 0x103
je 0x1400c6160
test eax, eax
js 0x1400c613f
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1400c6156
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1400bcb30
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1400b1c30
mov ecx, 7
int 0x29
ud2

Function at 0x1400c61b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x1401070a0]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400c6246
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1400c6273
test eax, eax
js 0x1400c6252
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1400c6269
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1400bcb30
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1400b1c30
mov ecx, 7
int 0x29
ud2
Function at 0x1400c6da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 8], rcx
movzx r15d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0
mov r12, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r13d, r13d
jmp 0x1400c6e0c
mov word [rax + rdi*2], r14w
inc rdi
mov qword [rbp - 0x10], rdi
mov rdx, qword [rbx]
mov r14d, esi
test si, si
jne 0x1400c6eb0
nop dword [rax + rax]
cmp rdx, r12
je 0x1400c6f6f
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r14d, r9b
test r14b, r14b
jns 0x1400c6eda
mov r8d, r14d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r14b, 0xdf
jbe 0x1400c6ed0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r14d, byte [rdx + 2]
shl r10d, 6
and r14d, 0x3f
or r14d, r10d
cmp r9b, 0xf0
jb 0x1400c6ef8
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r14d, 6
and edx, 0x3f
or edx, r14d
or edx, r8d
mov r14d, edx
cmp r14d, 0xffff
jbe 0x1400c6eda
jmp 0x1400c6f08
mov word [rbx + 0x10], 0
xor esi, esi
cmp r14w, 0x22
je 0x1400c6ee6
jmp 0x1400c6f40
shl r8d, 6
or r8d, r10d
mov r14d, r8d
xor esi, esi
mov rdx, rcx
cmp r14w, 0x22
jne 0x1400c6f40
xor r13b, 1
mov r14d, esi
test si, si
je 0x1400c6e20
jmp 0x1400c6eb0
shl r8d, 0xc
or r14d, r8d
cmp r14d, 0xffff
jbe 0x1400c6eda
lea r8d, [r14 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov word [rbx + 0x10], r14w
mov rdx, rcx
mov esi, r14d
mov r14d, r8d
cmp r14w, 0x22
je 0x1400c6ee6
nop dword [rax]
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x1400c6f4f
test r13b, 1
je 0x1400c6f6b
cmp rdi, qword [rbp - 0x20]
jne 0x1400c6e00
lea rcx, [rbp - 0x20]
call fcn.1400b7d30
mov rax, qword [rbp - 0x18]
jmp 0x1400c6e00
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or r15b, al
je 0x1400c6fa8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.1400bd0a0
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1400c6fc2
jmp 0x1400c6fd4
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400c6fd4
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.1400227d0
mov rax, qword [rbp - 8]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c7c00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 4]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [0x1400c7ce0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x1400c7c8f
mov rsi, qword [sym.imp.KERNEL32.dll_SleepEx]
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call rsi
cmp dword [rbp - 4], 1
jne 0x1400c7c60
mov eax, dword [rbp]
mov esi, dword [rbp + 4]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rsi, rcx
jne 0x1400c7ca2
xor eax, eax
jmp 0x1400c7cd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x1400c7cc2
call fcn.1400cedd0
xor ecx, ecx
cmp al, 0xb
setne al
cmove rsi, rcx
jmp 0x1400c7cd2
cmp rcx, 0xb
setne al
xor edx, edx
cmp ecx, 0xb
cmove rsi, rdx
movzx eax, al
mov rdx, rsi
add rsp, 0x68
pop rsi
pop rbp
ret

Function at 0x1400c8170
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400c8264
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x1400c822a
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x28], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c81e5
mov eax, dword [rbp - 0x28]
mov ecx, 2
test rax, rax
jne 0x1400c81fc
jmp 0x1400c8209
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1400c8209
cmp eax, 0x3e5
jne 0x1400c821a
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x1400c820d
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x1400c820f
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.1400f35c0
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400c81a1
mov qword [rbp - 0x28], 0
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400f3576
int3
Function at 0x1400cd310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
sub esp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
or dh, bh
invalid
invalid
dec dword [rax - 0x77]
invalid
lea rcx, [rbp - 0x40]
shr al, 0x57
sbb al, 0
add byte [rax - 0x75], cl
ror byte [r8 - 0x75], 0x7d
enter 0xffffffffffff8948, 0xffffffffffffffc1
neg rcx
jno 0x1400cd35d
mov qword [rbp - 0x20], rdi
movabs rax, 0x8000000000000000
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
or byte [rax - 0x77], 0x45
invalid
jmp 0x1400cd38a
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x28]
fmul dword [rax - 0x73]
push rbp
invalid
call fcn.1400c4da0
mov rbx, qword [rbp - 0x28]
mov ebx, dword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rax, rbx
neg rax
invalid
jno case.0x1400bf667.132
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400cd3e8
lea rax, [rdi - 1]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi - 1]
mov qword [rbp - 8], rax
clc
mov rax, qword [rdi + 7]
mov qword [rbp], rax
mov rax, qword [rax]
test rax, rax
invalid
je 0x1400cd3ba
mov rcx, qword [rbp - 8]
call rax
mov rcx, qword [rbp - 8]
mov rax, qword [rbp]
mov eax, dword [rbp]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400cd3d4
mov r8, qword [rax + 0x10]
call fcn.1400227d0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x10]
call fcn.1400227d0
invalid
movabs rax, 0x8000000000000000
mov qword [rsi], rax
invalid
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov r14, qword [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400cd422
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
jmp 0x1400cd3f5
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
je 0x1400cd3f5
add rbx, rbx
mov r8d, 2
add byte [rax], al
mov rcx, rdi
mov rdx, rbx
add rsp, 0x90
add byte [rax], al
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.1400227d0
invalid

Function at 0x1400cea00
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
Function at 0x1400d0020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x1400d008c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x1400d008c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x1400d008c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x1400d0138
cmp byte [rdx], 0xed
jne 0x1400d0141
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x1400d0141
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x1400d00d1
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x1400d022b
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.1400c1a50
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x1400d0250
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x1400d01de
test rdi, rdi
je 0x1400d01d0
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x1400d0168
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x1400d01d0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x1400d0160
cmp r10b, 0xe0
jb 0x1400d014a
cmp r10b, 0xed
jne 0x1400d019f
cmp r8, rax
je 0x1400d01d0
lea r8, [r9 + 2]
cmp r8, rax
je 0x1400d01d0
cmp byte [r9 + 1], 0x9f
ja 0x1400d01cc
add r9, 3
mov r8, r9
jmp 0x1400d0160
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x1400d0160
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x1400d0160
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x1400d01fe
add rcx, rbx
mov r8, rdi
call fcn.1400f0e80
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.1400f35c0
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x1400d01db
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.1400f35c0
mov rdx, r15
jmp 0x1400d00ec
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1400f35c0
mov rbx, qword [rsi + 0x10]
jmp 0x1400d0129
Function at 0x1400e3968
Capabilities:
Parse pe header

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

Function at 0x1400e70e0
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 0x1400e714f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e714f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e714f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e714f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e714f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e714f
cmp dword [rcx + 0xf8], 0
je 0x1400e714f
mov ecx, ebx
call fcn.1400e7200
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.1400e6fdc
nop
cmp dword [rbp + 0x20], 0
je 0x1400e719d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e71a8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400e70e0

Function at 0x1400e72e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e70e0
Function at 0x1400ea3ac
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 0x1400ea3dc
xor eax, eax
jmp 0x1400ea49f
mov rbp, rbx
cmp word [rax], si
je 0x1400ea401
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400ea3e8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400ea3e4
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.1400ea2cc
movsxd r14, eax
test eax, eax
jne 0x1400ea43f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ea3d5
mov rcx, r14
call fcn.1400eb288
mov rdi, rax
test rax, rax
jne 0x1400ea458
xor ecx, ecx
call fcn.1400e892c
jmp 0x1400ea434
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.1400ea2cc
test eax, eax
jne 0x1400ea489
mov rcx, rdi
call fcn.1400e892c
jmp 0x1400ea493
xor ecx, ecx
call fcn.1400e892c
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 0x1400ed990
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.1400e939c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400eda1a
cmp byte [rbp - 0x21], r15b
je 0x1400eda15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400eda50
call fcn.1400eba98
test eax, eax
jne 0x1400eda3c
cmp byte [rbp - 0x21], r15b
je 0x1400eda34
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400eda50
cmp byte [rbp - 0x21], r15b
je 0x1400eda4d
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.1400e897c
test eax, eax
jne 0x1400edaf0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400e939c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400eda8f
cmp byte [rbp - 0x21], r15b
je 0x1400edac4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400edac4
call fcn.1400eba98
test eax, eax
jne 0x1400edab0
cmp byte [rbp - 0x21], r15b
je 0x1400edaa9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400edac4
cmp byte [rbp - 0x21], r15b
je 0x1400edac1
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.1400e897c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400edaf0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400edaf3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400edb01
mov rcx, rdi
call fcn.1400e892c
cmp byte [rbp + 0x3f], r15b
je 0x1400edb10
mov rcx, qword [rbp + 0x27]
call fcn.1400e892c
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 0x1400f09f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f0a18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400f0a18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003fa0
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 0x180003ffd
lea rbx, [0x1800d99c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180003fe4
cmp r10, 2
jb 0x180003fe4
cmp byte [r9], r8b
jne 0x180003fe4
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 0x180003fc0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000403f
lea rbx, [0x1800d99c0]
cmp r8b, 0x23
jne 0x180004023
cmp byte [r9], r8b
jne 0x180004023
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 0x180004010
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180004200
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 0x18000422f
mov r8d, 0x78f
lea rdx, str.C:UsersedsonMusicHR_BASICO_SRCimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000423b
mov qword [rdi], 0
lea rdx, [0x1800d91f8]
mov rcx, rbx
call fcn.180004050
mov rbx, rax
test rax, rax
jne 0x18000425d
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 0x180004336
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 0x180004336
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180004336
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 0x180004336
cmp rsi, 0xffffffffffffffff
je 0x180004336
mov rax, qword [0x180202510]
test rax, rax
je 0x1800042d3
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 0x180004336
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 0x180004323
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180202510]
test rax, rax
je 0x180004318
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000433f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180004331
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180004341
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 0x180007d40
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 0x180007d77
mov r8d, 0x705
lea rdx, str.C:UsersedsonMusicHR_BASICO_SRCimgui.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, [0x1800d99c0]
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 [0x180202510]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x180007df6
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.18001ec10
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret