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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x1400f2118]
xor rax, rsp
mov qword [rsp + 0x440], rax
and qword [rsp + 0x38], 0
mov r12, r9
mov rbp, r8
mov r15, rdx
mov r14, rcx
xor ebx, ebx
call fcn.140050c88
lea rdx, [rsp + 0x38]
mov rcx, rax
mov r13, rax
call fcn.1400506e0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140050fbb
mov rcx, r14
call fcn.14004a210
xor edi, edi
cmp qword [r14 + 0x10], rbx
jbe 0x140050f15
xor ecx, ecx
mov rdx, qword [r14]
lea r9, [rsp + 0x30]
mov r8d, dword [r14 + 0x10]
add rdx, rcx
and qword [rsp + 0x20], rbx
mov rcx, rsi
sub r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140050fbb
add edi, dword [rsp + 0x30]
mov ecx, edi
cmp rcx, qword [r14 + 0x10]
jb 0x140050ee1
test r12, r12
jne 0x140050f74
call fcn.14004a30c
mov rbx, rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140050fbb
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140050d3c
mov edi, eax
test eax, eax
je 0x140050f22
cmp eax, 0xffffffff
je 0x140050fbb
mov rcx, rbx
call fcn.14004a330
mov qword [r15], rax
xor ebx, ebx
mov dword [rbp], edi
jmp 0x140050fc3
xor r8d, r8d
lea edx, [r8 + 0x20]
lea ecx, [rdx - 0x1f]
call fcn.140008cbc
xor r9d, r9d
lea rdx, [0x140050dd0]
mov r8, rax
mov rcx, rsi
mov rdi, rax
call fcn.14004c7ec
xor esi, esi
mov qword [rdi], rax
call fcn.14004a30c
mov rcx, qword [rsp + 0x4b0]
mov qword [rdi + 0x18], rcx
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r12
jmp 0x140050fc5
and qword [r15], 0
and dword [rbp], 0
xor edi, edi
mov rcx, qword [rsp + 0x38]
call fcn.140008bbc
mov rcx, r13
call fcn.140008bbc
cmp rsi, 0xffffffffffffffff
je 0x140050fe6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140050ff3
mov rcx, rbx
call fcn.14004a23c
mov rax, rdi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400581b0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051554
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x18], 0
lea rax, [rbp - 0x10]
and dword [rbp + 0x10], 0
lea rdx, str.SYSTEMCurrentControlSetControlCMFClass
mov r9d, TlsAlloc
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005161f
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x18]
lea rax, [rbp + 0x10]
mov dword [rbp + 0x20], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1400d43e4]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1400515cf
cmp eax, 0xea
jne 0x14005161f
mov eax, dword [rbp + 0x10]
mov dword [0x1400f390c], eax
test eax, eax
je 0x140051629
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x18]
shl eax, 2
lea rdx, str.Init
mov dword [rbp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1400f3910]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140051629
mov eax, dword [0x1400f390c]
mov dword [0x1400f3918], eax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x40
pop rbp
ret

Function at 0x140051630
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400f390c]
test eax, eax
je 0x1400516ff
cmp dword [0x1400f3918], eax
je 0x1400516ff
lea rax, [rsp + 0x40]
mov r9d, TlsAlloc
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlCMFClass
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x14005169b
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
lea rdx, str.SYSTEMCurrentControlSetControlCMFClass
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp ebx, 2
jne 0x1400516ff
mov rcx, qword [rsp + 0x40]
lea rax, [0x1400f390c]
mov r9d, 4
lea rdx, [0x1400d43e4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400516ff
mov eax, dword [0x1400f390c]
lea rdx, str.Init
mov rcx, qword [rsp + 0x40]
mov r9d, 3
shl eax, 2
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rax, qword [0x1400f3910]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x30
pop rbx
ret

Function at 0x140051914
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov r8d, dword [0x1400f390c]
mov edx, ecx
mov ebx, ecx
mov rcx, qword [0x1400f3910]
call fcn.1400518bc
test eax, eax
jne 0x140051961
and qword [rsp + 0x28], 0
lea r8, [0x1400519d4]
and dword [rsp + 0x20], eax
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x140051d58
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400f2118]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rax, [rbp + 7]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMRNGFFFF
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ecx, ecx
test eax, eax
jne 0x140051e52
lea rax, [rbp + 0xf]
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x50], rcx
xor edx, edx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x37]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rbp + 0x17]
subsd xmm0, qword [rbp + 0x1f]
mulsd xmm0, qword [0x1400d5188]
cvttsd2si rax, xmm0
cmp eax, 0x4f1a00
jbe 0x140051e69
lea rdx, str.SYSTEMRNGFFFF
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400581b0
add rsp, 0xb0
pop rbp
ret
mov eax, 1
jmp 0x140051e54
Function at 0x140051e70
Capabilities:
Check for time delay via gettickcount
Initialize winsock library

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, 0x1f0
mov rax, qword [0x1400f2118]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
call fcn.140003460
mov rdx, rax
mov qword [0x1400f4948], rax
xor ecx, ecx
call fcn.14001167c
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp qword [0x1400f3910], 0
jne 0x140051edf
mov ecx, 0x1000
call fcn.1400843bc
mov qword [0x1400f3910], rax
call fcn.140051554
and qword [rsp + 0x28], 0
lea r8, [0x140051968]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp word [rsp + 0x34], 6
ja 0x140051fc4
movzx ecx, word [rsp + 0x38]
sub cx, 0xc
cmp cx, 6
ja 0x140051fc4
movzx ecx, word [rsp + 0x32]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [rdx + rdx*2]
cmp ecx, eax
jne 0x140051fc4
call fcn.140051d58
test eax, eax
jne 0x140051fc4
call fcn.14005143c
xor edi, edi
cmp dword [0x1400f3908], edi
jbe 0x140051faf
lea rsi, [0x1400f6dc0]
mov ebx, 0x1000000
mov ebp, dword [rsi]
lea rcx, [0x1400f8dc0]
mov r8d, dword [0x1400f3900]
or ebp, ebx
mov edx, ebp
call fcn.1400518bc
test eax, eax
jne 0x140051f93
mov ecx, ebp
call fcn.140051914
add ebx, 0x1000000
cmp ebx, 0xff000000
jb 0x140051f6f
inc edi
add rsi, 4
cmp edi, dword [0x1400f3908]
jb 0x140051f6a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, 0xa4cb80
jbe 0x140051fc4
call fcn.14005294c
mov ecx, 0x2932e0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140051f0c
Function at 0x1400535a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1400f49e0], 0
jne 0x1400536ff
mov bl, 1
lea rcx, str.advapi32.dll
mov byte [0x1400f49e0], bl
call fcn.14004d7a8
mov qword [0x1400f49e8], rax
test rax, rax
je 0x1400536f5
lea rdx, str.GetSecurityInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f6590], rax
test rax, rax
je 0x1400536f5
mov rcx, qword [0x1400f49e8]
test rcx, rcx
je 0x140053619
lea rdx, str.SetSecurityInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400f49e8]
jmp 0x14005361b
xor eax, eax
mov qword [0x1400f6588], rax
test rax, rax
je 0x1400536f5
test rcx, rcx
je 0x140053646
lea rdx, str.OpenProcessToken
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400f49e8]
jmp 0x140053648
xor eax, eax
mov qword [0x1400f65b0], rax
test rax, rax
je 0x1400536f5
test rcx, rcx
je 0x140053673
lea rdx, str.GetTokenInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400f49e8]
jmp 0x140053675
xor eax, eax
mov qword [0x1400f65a8], rax
test rax, rax
je 0x1400536f5
test rcx, rcx
je 0x14005369c
lea rdx, [0x1400d5238]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400f49e8]
jmp 0x14005369e
xor eax, eax
mov qword [0x1400f65a0], rax
test rax, rax
je 0x1400536f5
test rcx, rcx
je 0x1400536c5
lea rdx, [0x1400d5258]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400f49e8]
jmp 0x1400536c7
xor eax, eax
mov qword [0x1400f6598], rax
test rax, rax
je 0x1400536f5
test rcx, rcx
je 0x1400536e7
lea rdx, str.SetEntriesInAclA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400536e9
xor eax, eax
mov qword [0x1400f6580], rax
test rax, rax
jne 0x1400536f7
xor bl, bl
mov byte [0x1400f49e1], bl
jmp 0x140053705
mov bl, byte [0x1400f49e1]
mov al, bl
add rsp, 0x20
pop rbx
ret
Function at 0x14005498c
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r8d, r8d
mov rbx, rcx
mov rbp, rdx
mov ecx, 0x105
mov qword [rsp + 0x50], rcx
lea r14d, [r8 + 1]
mov edx, r14d
call fcn.140008cbc
mov r9d, dword [rsp + 0x50]
mov r8, rax
mov edx, dword [rbx + 8]
mov rdi, rax
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0xea
jmp 0x140054a11
mov r9, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x28], 0
mov r8, r14
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.140008bd0
mov r9d, dword [rsp + 0x50]
mov r8, rax
mov edx, dword [rbx + 8]
mov rdi, rax
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, esi
je 0x1400549db
test eax, eax
sete sil
test eax, eax
jne 0x140054a2a
mov rdx, rbp
mov rcx, rdi
call fcn.14004d9b0
add dword [rbx + 8], r14d
mov rcx, rdi
call fcn.140008bbc
mov rbx, qword [rsp + 0x58]
mov al, sil
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140054ce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400f2118]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
mov ecx, 1
call fcn.140054528
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140054d52
jmp 0x140054d26
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x140054d49
lea rcx, [rsp + 0x40]
call rdi
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140054d17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400581b0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret

Function at 0x140054ec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov dword [rsp + 0x50], 4
mov ebx, r8d
test rcx, rcx
je 0x140054f0e
mov rcx, qword [rcx]
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
lea r9, [r11 + 0x20]
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140054f0e
cmp dword [rsp + 0x50], 4
jne 0x140054f0e
cmp dword [rsp + 0x68], 4
mov eax, dword [rsp + 0x30]
je 0x140054f10
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x140054f18
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140054fb2
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 8]
and qword [r11 - 0x18], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140054fb2
cmp dword [rsp + 0x40], 1
jne 0x140054fb2
mov ecx, dword [rsp + 0x50]
lea edx, [rax + 1]
inc ecx
xor r8d, r8d
call fcn.140008cbc
mov rcx, qword [rdi]
lea r9, [rsp + 0x40]
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140054faa
cmp dword [rsp + 0x40], 1
jne 0x140054faa
mov eax, dword [rsp + 0x50]
mov byte [rax + rbx], 0
mov rax, rbx
jmp 0x140054fb4
mov rcx, rbx
call fcn.140008bbc
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140054fc4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400f2118]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
jmp 0x140055021
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140055010
mov rcx, qword [rsp + 0x20]
call fcn.140054fc4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, rbx
mov r9d, 0x105
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140054fe4
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400581b0
add rsp, 0x150
pop rbx
ret

Function at 0x140055064
Capabilities:
Set registry value

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
mov rbp, r9
mov rbx, r8
mov edi, edx
mov rsi, rcx
call fcn.14004a278
mov r9, rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov r14, rax
call fcn.140054aec
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareSimonTathamPuTTYSshHostKeys
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1400550f4
mov rcx, rbp
call fcn.140066d10
mov rdx, qword [r14]
mov r9d, 1
mov rcx, qword [rsp + 0x30]
add eax, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call fcn.14004a23c
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 0x1400553ac
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r8
mov r10d, edx
mov rbx, rcx
test edx, edx
jne 0x1400553ff
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400553f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400553f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004da2c
mov r8, rax
lea rcx, str.Unable_to_delete__s:__s
mov rdx, rbx
call fcn.14004b6f4
or qword [rdi], 0xffffffffffffffff
xor al, al
jmp 0x14005545d
xor r9d, r9d
mov eax, 0x80
cmp r10d, 2
cmove r9d, eax
xor ecx, ecx
cmp r10d, 2
lea eax, [rdx - 2]
mov edx, 0x80000000
setne cl
add ecx, 2
neg eax
mov eax, 0x40000000
sbb r8d, r8d
and r8d, 3
cmp r10d, 2
cmove edx, eax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov qword [rdi], rax
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140055748
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov edi, edx
mov ecx, 2
call fcn.140054528
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140055792
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14005586c
Capabilities:
Set registry value

Disassembly:
test rcx, rcx
je 0x14005589e
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x1400558a0
Capabilities:
Set registry value

Disassembly:
test rcx, rcx
je 0x1400558f5
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, r8
mov rcx, r8
mov rsi, rdx
call fcn.140066d10
mov rcx, qword [rbx]
mov r9d, 1
add eax, r9d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140066d10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x140066d2d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140066d88
test al, 7
jne 0x140066d20
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140066d41
mov rdx, qword [rax - 8]
test dl, dl
je 0x140066db2
test dh, dh
je 0x140066dac
shr rdx, 0x10
test dl, dl
je 0x140066da6
test dh, dh
je 0x140066da0
shr rdx, 0x10
test dl, dl
je 0x140066d9a
test dh, dh
je 0x140066d94
shr edx, 0x10
test dl, dl
je 0x140066d8e
test dh, dh
jne 0x140066d41
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14009a820
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14009a60f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009a60f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009a60f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009a60f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009a60f
cmp dword [rcx + 0x84], 0xe
jbe 0x14009a60f
cmp dword [rcx + 0xf8], 0
je 0x14009a60f
mov ecx, ebx
call fcn.14009a740
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14009a39c
cmp dword [rbp + 0x20], 0
je 0x14009a65c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14009a664
int3
xor r8d, r8d
xor edx, edx
jmp 0x14009a5a8
Function at 0x180002550
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 0x1800025ad
lea rbx, [0x180034280]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002594
cmp r10, 2
jb 0x180002594
cmp byte [r9], r8b
jne 0x180002594
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 0x180002570
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800025ef
lea rbx, [0x180034280]
cmp r8b, 0x23
jne 0x1800025d3
cmp byte [r9], r8b
jne 0x1800025d3
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 0x1800025c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800027c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1800027ef
mov r8d, 0x599
lea rdx, str.C:UsersCoderDesktopRust_CheatImGui_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 rsi, rsi
je 0x1800027fb
mov qword [rsi], 0
lea rdx, [0x180033f40]
mov rcx, rbx
call fcn.180002600
mov rbx, rax
test rax, rax
jne 0x18000281d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180002908
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 0x180002908
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002908
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 0x180002908
cmp rdi, 0xffffffffffffffff
je 0x180002908
mov rax, qword [0x180042ad0]
test rax, rax
je 0x180002899
inc dword [rax + 0x3bc]
mov rdx, qword [0x180042ac0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbp, rax
test rax, rax
je 0x180002908
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]
mov rcx, rbx
cmp rax, rdi
je 0x1800028f5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180042ad0]
test rax, rax
je 0x1800028e4
dec dword [rax + 0x3bc]
mov rdx, qword [0x180042ac0]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x180002911
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180002903
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180002913
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x180004160
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xc0]
mov rbx, rcx
mov edi, edx
test eax, eax
jg 0x18000419d
mov r8d, 0x502
lea rdx, str.C:UsersCoderDesktopRust_CheatImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xc0]
movsxd rcx, eax
lea r8, [0x180034280]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + rcx*4 - 4]
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 [0x180042ad0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x180004212
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x180004221
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret