joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015d144
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14047f080]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404766f4]
test eax, eax
je 0x14015d18f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404766f4]
test eax, eax
jne 0x14015d198
call fcn.1400134f4
test eax, eax
je 0x14015d1b4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402474b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015d1bc
xor eax, eax
jmp 0x14015d219
test rbx, rbx
jne 0x14015d1dc
lea rcx, str.DestroyPropertySheetPage
call fcn.14015d328
mov rbx, rax
test rax, rax
je 0x14015d1e7
mov qword [0x14047f080], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14015d1fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14015d1fe
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015d217
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14015d230
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14047f088]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1404766f4]
test eax, eax
je 0x14015d27f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404766f4]
test eax, eax
jne 0x14015d288
call fcn.1400134f4
test eax, eax
je 0x14015d2a4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402474b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015d2ae
or rax, 0xffffffffffffffff
jmp 0x14015d310
test rbx, rbx
jne 0x14015d2ce
lea rcx, str.PropertySheetW
call fcn.14015d328
mov rbx, rax
test rax, rax
je 0x14015d2db
mov qword [0x14047f088], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14015d2f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14015d2f4
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015d30d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401858ec
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140185754
Function at 0x4015e0
Capabilities:
Set registry value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rsi, [rsp + 0x60]
mov r13, r8
mov r12, r9
mov rcx, rsi
call sym.Glib::ustring::ustring_Glib::ustring_const_
cmp qword [0x0040f020], 0
je 0x4017fd
lea rbx, [0x0040f020]
mov rbp, 0xffffffff80000002
lea rdi, [rsp + 0x80]
jmp 0x40163a
add rbx, 0x18
cmp qword [rbx], 0
je 0x401686
mov r9, qword [rbx + 0x10]
xor edx, edx
mov rcx, rsi
movsxd r8, dword [rbx + 8]
call sym.Glib::ustring::compare_unsigned_long_long__unsigned_long_long__char_const__const
test eax, eax
jne 0x401630
mov r9, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
mov rbp, qword [rbx]
movsxd r8, dword [rbx + 8]
call sym.Glib::ustring::ustring_Glib::ustring_const__unsigned_long_long__unsigned_long_long_
mov rdx, rdi
mov rcx, rsi
call sym.Glib::ustring::operator_Glib::ustring_const_
mov rcx, rdi
add rbx, 0x18
call sym.Glib::ustring::ustring__
cmp qword [rbx], 0
jne 0x40163a
mov rcx, rsi
call sym.Glib::ustring::data___const
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call sym.g_utf8_to_utf16
mov rcx, r13
mov rbx, rax
call sym.Glib::ustring::data___const
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call sym.g_utf8_to_utf16
mov rcx, r12
mov rdi, rax
call sym.Glib::ustring::data___const
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call sym.g_utf8_to_utf16
mov r13, rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x401790
mov rcx, rsi
call sym.Glib::ustring::c_str___const
mov rbp, rax
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, [rax + 0x60]
mov r8, rbp
xor ebp, ebp
lea rdx, str.RegistryTool:_Could_not_create_the_registry_key__s_n
call fcn.004015b0
mov rcx, rbx
call sym.g_free
mov rcx, rdi
call sym.g_free
mov rcx, rsi
call sym.Glib::ustring::ustring__
mov eax, ebp
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r12
call sym.Glib::ustring::size___const
lea eax, [rax + rax + 2]
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov r9d, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4017e8
mov rcx, r12
call sym.Glib::ustring::c_str___const
mov rbp, rax
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, [rax + 0x60]
mov r8, rbp
xor ebp, ebp
lea rdx, str.RegistryTool:_Could_not_set_the_value__s_n
call fcn.004015b0
jmp 0x4017ed
mov ebp, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401763
mov rbp, 0xffffffff80000002
jmp 0x401686
Function at 0x407190
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00416784]
test ebp, ebp
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
jle 0x4072aa
mov rax, qword [0x00416788]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x4071de
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x407290
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x4071c2
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4072e2
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00416788]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call sym._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov qword [r13 + 8], rax
mov rax, qword [0x00416788]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4072c5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x407289
sub eax, 0x40
and eax, 0xffffffbf
je 0x407289
mov r9, rbp
mov r8d, 0x40
add r9, qword [0x00416788]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4072b1
add dword [0x00416784], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x4071eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov rax, qword [0x00416788]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rbp + 8]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]

Function at 0x407a60
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00416aa0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00416a80]
test rbx, rbx
je 0x407ab4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x407aab
test rsi, rsi
je 0x407aab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x407a90
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x00416aa0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x407cf0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x407d00
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x407d10
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x407d51
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x407d48
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x407d53
add rax, 0x28
cmp rax, r9
jne 0x407d34
xor eax, eax
ret
Function at 0x407e00
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x00412670]
cmp word [rbx], 0x5a4d
je 0x407e20
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x407e14
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym._FindPESection

Function at 0x408fe0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12d, 1
mov edi, ecx
mov rbp, rdx
mov rbx, r9
lea ecx, [r8 - 1]
mov r8d, 0x66666667
mov eax, ecx
movsxd rsi, ecx
sar ecx, 0x1f
imul r8d
sar edx, 2
mov r8d, edx
sub r8d, ecx
je 0x409038
mov ecx, 0x66666667
nop dword [rax]
mov eax, r8d
sar r8d, 0x1f
add r12d, 1
imul ecx
sar edx, 2
sub edx, r8d
mov r8d, edx
jne 0x409020
mov eax, dword [rbx + 0x2c]
cmp eax, 0xffffffff
je 0x4090c0
cmp eax, r12d
cmovge r12d, eax
mov eax, dword [rbx + 0xc]
lea edx, [r12 + 2]
cmp eax, edx
jg 0x4090b0
mov dword [rbx + 0xc], 0xffffffff
mov r9, rbx
mov r8d, 1
mov rdx, rbp
mov ecx, edi
add r12d, 1
call sym.__pformat_emit_float
mov ecx, dword [rbx + 8]
mov rdx, rbx
mov eax, dword [rbx + 0x2c]
mov dword [rbx + 0x10], eax
mov eax, ecx
and ecx, 0x20
or eax, 0x1c0
or ecx, 0x45
mov dword [rbx + 8], eax
call sym.__pformat_putc
mov rdx, rbx
mov rcx, rsi
add dword [rbx + 0xc], r12d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.__pformat_int.isra.0
sub eax, edx
mov dword [rbx + 0xc], eax
jmp 0x40905e
mov edx, dword [0x0040f9a0]
cmp edx, 0xffffffff
je 0x4090e9
test edx, edx
mov eax, 2
jne 0x4090e1
call sym._get_output_format
and eax, 1
neg eax
add eax, 3
mov dword [rbx + 0x2c], eax
jmp 0x409044
lea rcx, str.PRINTF_EXPONENT_DIGITS
call sym.getenv
test rax, rax
je 0x409110
movsx eax, byte [rax]
xor edx, edx
sub eax, 0x30
cmp eax, 2
setbe dl
mov dword [0x0040f9a0], edx
jmp 0x4090cb
xor edx, edx
jmp 0x409108
Function at 0x46d920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x46d952
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x46d9fa
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x46d996
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x46d9e5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x46d9b2
mov dword [rsp + 0x1c], 1
jmp 0x46d9ba
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x46d9e3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x46d98c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x46d948
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x140f67824
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f6782e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f67857
pop rbp
sub rbp, 0x33
sub rbp, 0xf67824
sub rsp, 0x20
jmp 0x140f67876
mov rax, 0xf67824
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x462fd415
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f67895
jmp 0x140f678ac
pop rbp
pushfq
cld
sahf
pushfq
sub dword [0xd5538dcc], edx
invalid
Function at 0x140004db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xe38], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x140004df1
mov r8d, 0x608
lea rdx, str.C:Users_swiftDocumentsSpoofer_2.0_GREYSpoofer_2.0_GREYimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x38d1], 0
mov rbp, qword [rbx + 0xe38]
je 0x140004fc0
movss xmm1, dword [0x14017dd4c]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140004e45
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140004e3e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140004e3c
je 0x140004e3e
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140004e6a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140004e63
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140004e61
je 0x140004e63
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3fb0]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140004ec1
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140004ea7
mov r8d, 0x766
lea rdx, str.C:Users_swiftDocumentsSpoofer_2.0_GREYSpoofer_2.0_GREYimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140004f57
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140004e88
movsd xmm0, qword [rbp + 0xe48]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x140004eff
jne 0x140004eff
ucomiss xmm1, xmm7
jp 0x140004eff
je 0x140004fb8
mov eax, dword [rbp + 0x3fd4]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3fd4], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3fd0]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x140004f8d
inc ecx
test r8d, r8d
je 0x140004f79
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140004f7e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140004ed4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140021b70
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x1400054a0
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 0x1400054fd
lea rbx, [0x140170420]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400054e4
cmp r10, 2
jb 0x1400054e4
cmp byte [r9], r8b
jne 0x1400054e4
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 0x1400054c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000553f
lea rbx, [0x140170420]
cmp r8b, 0x23
jne 0x140005523
cmp byte [r9], r8b
jne 0x140005523
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 0x140005510
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140005640
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140005675
mov r8d, 0x81f
lea rdx, str.C:Users_swiftDocumentsSpoofer_2.0_GREYSpoofer_2.0_GREYimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140005680
mov qword [rsi], r14
lea rdx, [0x14016fc08]
mov rcx, rbx
call fcn.140005550
mov rbx, rax
test rax, rax
jne 0x1400056a8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 0x1400057d2
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 0x1400057d2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400057d2
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 0x1400057d2
cmp rdi, 0xffffffffffffffff
je 0x1400057d2
mov rcx, rdi
call fcn.140009ce0
mov rbp, rax
test rax, rax
je 0x1400057d2
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 0x1400057bf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14039fee0]
test r8, r8
je 0x1400057b4
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400057a9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400057db
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400057cd
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400057dd
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]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400092a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x1400092dc
mov r8d, 0x76f
lea rdx, str.C:Users_swiftDocumentsSpoofer_2.0_GREYSpoofer_2.0_GREYimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x140170420]
movsxd r8, dword [rsi + 0x100]
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 [rsi]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x140009357
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140020410
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140009370
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400093a3
mov r8d, 0x76f
lea rdx, str.C:Users_swiftDocumentsSpoofer_2.0_GREYSpoofer_2.0_GREYimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x120]
lea r9, [0x140170420]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0x100]
subss xmm0, xmm2
mov rax, qword [rbx + 0x108]
movss xmm3, dword [rbx + 0x124]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret