joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010060
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x140010149
mov rdi, rax
movsxd r12, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r12, r12
je 0x14001012d
shl r12, 3
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
mov r15, rdi
jmp 0x140010101
add r15, 8
mov rax, qword [rsp + 0x30]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rsp + 0x38], r13
add r12, 0xfffffffffffffff8
je 0x14001012d
mov rcx, r15
call fcn.1400123a0
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140025400
mov r13, qword [rsp + 0x38]
cmp r13, qword [rsp + 0x28]
jne 0x1400100d0
mov rcx, r14
call fcn.14000c330
jmp 0x1400100d0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
jmp 0x140010160
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140014aa0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 0x30]
mov byte [rsp + 0x27], al
movzx eax, byte [0x140064141]
mov ecx, 0x5f0
mov edx, 8
call fcn.140009c00
test rax, rax
je 0x140014d03
mov rbx, rax
lea r15, [rdi + 0x38]
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop word cs:[rax + rax]
mov ebp, 1
lock xadd qword [0x140064150], rbp
mov r14, rbp
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r12, [r14 + rdx]
xor rax, r12
add r14, r8
lea r13, [rax + r9]
mov r12, r14
xor r12, r10
rol rax, 0x15
rol r14, 0x20
xor rbp, r13
xor r13, r11
xor r13, rax
add rbp, r12
rol r12, 0xd
add r14, r13
xor r12, rbp
rol r13, 0x10
xor r13, r14
rol rbp, 0x20
add r14, r12
add rbp, r13
rol r12, 0x11
xor r12, r14
rol r13, 0x15
rol r14, 0x20
xor r13, rbp
xor rbp, r11
xor r14, 0xff
add rbp, r12
add r14, r13
rol r12, 0xd
xor r12, rbp
rol r13, 0x10
rol rbp, 0x20
xor r13, r14
add r14, r12
rol r12, 0x11
add rbp, r13
xor r12, r14
rol r13, 0x15
xor r13, rbp
rol r14, 0x20
add rbp, r12
add r14, r13
rol r12, 0xd
xor r12, rbp
rol r13, 0x10
rol rbp, 0x20
xor r13, r14
add r14, r12
rol r12, 0x11
add rbp, r13
xor r12, r14
rol r13, 0x15
xor r13, rbp
rol r14, 0x20
add rbp, r12
add r14, r13
rol r12, 0xd
xor r12, rbp
rol r13, 0x10
xor r13, r14
add r14, r12
rol r12, 0x11
rol r13, 0x15
mov rbp, r14
rol rbp, 0x20
xor rbp, r12
xor rbp, r13
xor rbp, r14
je 0x140014b50
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rsi + 0x140], cl
mov qword [rsi], 0
mov qword [rsi + 8], rbx
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rsi + 0x100], rcx
mov qword [rsi + 0x108], rbp
mov qword [rsi + 0x110], rax
mov rdx, qword [rdi + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140014cef
test rdx, rdx
je 0x140014cef
mov rcx, qword [rdi + 0x18]
mov r8d, 1
call fcn.140009c10
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.14004be80
int3
Function at 0x140023340
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x140023380
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140023420
jmp 0x14002340f
jae 0x1400234df
cmp r8, 0x201
jae 0x140023420
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140023477
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14002344f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14004ae40
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400234a0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14002354b
mov r8d, r13d
cmp r12, r8
jne 0x140023400
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002357f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14002340f
jmp 0x140023420
cmp r14, r8
jb 0x140023599
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140025400
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140023534
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140009c10
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14002351f
jmp 0x140023534
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14004c030
jmp 0x1400235ae
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14004c3e0
ud2
Function at 0x140028b10
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.140045ac0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x14002e800]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call case.0x140026fb7.260
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x140028d00
test r15, r15
je 0x140028ccc
cmp r15, 0x1000
ja 0x140028d22
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x140028ca0
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x140028c30
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x140028cc0
add r12, rax
cmp r12, r15
je 0x140028c90
jbe 0x140028be0
jmp 0x140028d0e
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x140028b8e
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.14001d6b0
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.14001d6b0
jmp 0x140028ccc
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.14004c450
jmp 0x140028d36
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.14004c3e0
ud2
Function at 0x14002cbc0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400552e8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14002cbf8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
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 0x14002cc4f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14002cc5c
xor edx, edx
xor eax, eax
jmp 0x14002cc86
cmp eax, 0x103
je 0x14002cc90
test eax, eax
js 0x14002cc6f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14002cc86
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 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 + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140025240
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14001dd80
mov ecx, 7
int 0x29
ud2

Function at 0x14002cce0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400552e8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14002cd18
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
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 0x14002cd76
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14002cda3
test eax, eax
js 0x14002cd82
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14002cd99
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 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 + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140025240
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14001dd80
mov ecx, 7
int 0x29
ud2
Function at 0x14002d8f0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0xb5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x14002ecf0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14002ee33
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x14002ee08
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 - 0x38], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14002ed70
mov eax, dword [rbp - 0x38]
mov ecx, 2
test rax, rax
je 0x14002edb2
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14002edb6
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x38], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14002edba
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14002ede4
mov rax, rbp
jmp 0x14002edc6
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14002edea
mov qword [rbp], 1
lea rax, [rbp - 8]
mov qword [rax], 0
lea rcx, [rbp - 0x38]
call fcn.14001d6b0
mov rcx, qword [rbp]
mov rax, qword [rbp - 8]
cmp rcx, 2
jne 0x14002edf5
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x14002ed59
mov ecx, 1
jmp 0x14002ed63
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.14004aee0
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14002ed21
mov qword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.14004adb0
int3
Function at 0x140034480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140035f10
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x1400344be
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r14
jmp 0x1400344e4
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.14002bff0
mov rdi, qword [rbp - 0x10]
cmp rdi, r14
jne 0x1400344fd
lea rcx, [rbp - 8]
call fcn.14001d6b0
mov qword [rsi], r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140034520
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
jmp 0x1400344f0
mov qword [rsi], r14
test rdi, rdi
je 0x1400344f0
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.140009c10

Function at 0x140035a30
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
Function at 0x140044360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400443ea
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400443e0
cmp r10, r11
jb 0x140044466
cmp r10, rdx
ja 0x140044478
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400443e2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400443c0
jmp 0x140044447
ja 0x1400443ea
mov r11, r10
cmp rax, r8
jne 0x140044387
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14004444b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140044420
mov r8, r10
sub ecx, r9d
jns 0x14004443e
jmp 0x14004444d
cmp r10, rdx
je 0x14004445a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14004444d
xor al, 1
cmp r8, rdx
jne 0x140044400
jmp 0x14004444d
xor eax, eax
jmp 0x14004444d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14004bf10
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14004c450
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14004c3e0
int3

Function at 0x140046268
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400462b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400462b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400462b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400462b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400462b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400462b4
xor al, al
add rsp, 0x28
ret
Function at 0x180002900
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 0x18000295d
lea rbx, [0x1800547d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002944
cmp r10, 2
jb 0x180002944
cmp byte [r9], r8b
jne 0x180002944
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 0x180002920
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000299f
lea rbx, [0x1800547d0]
cmp r8b, 0x23
jne 0x180002983
cmp byte [r9], r8b
jne 0x180002983
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 0x180002970
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002c10
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 0x180002c3f
mov r8d, 0x599
lea rdx, str.C:Users_samesDesktop_atermisImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x180002c4b
mov qword [rdi], 0
lea rdx, [0x180054488]
mov rcx, rbx
call fcn.1800029b0
mov rbx, rax
test rax, rax
jne 0x180002c6d
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 0x180002d44
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 0x180002d44
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180002d44
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 0x180002d44
cmp rsi, 0xffffffffffffffff
je 0x180002d44
mov rax, qword [0x180065b60]
test rax, rax
je 0x180002ce1
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180002d44
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 0x180002d31
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180065b60]
test rax, rax
je 0x180002d26
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002d4d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180002d3f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180002d4f
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 0x180005340
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180005376
mov r8d, 0x502
lea rdx, str.C:Users_samesDesktop_atermisImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1800547d0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x180065b60]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x1800053f0
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x1800053ff
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret