joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a520
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x140057080]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000a58a
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000a5af
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x14004c5d8]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov rcx, rsi
mov qword [rsi + 0x18], r15
call fcn.1400070c0
jmp 0x14000a69e
mov qword [rsp + 0x4b8], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x4c0], rdi
nop word [rax + rax]
lea rcx, [rsp + 0x5c]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a5e0
cmp qword [r14 + 0x18], 7
mov r9, r14
mov rcx, qword [r14 + 0x10]
jbe 0x14000a5fb
mov r9, qword [r14]
cmp rcx, rax
jne 0x14000a64f
test rcx, rcx
je 0x14000a631
lea rdx, [rsp + 0x5c]
sub r9, rdx
lea rax, [rsp + 0x5c]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14000a6c6
add rax, 2
sub rcx, 1
jne 0x14000a612
mov eax, r15d
test eax, eax
jne 0x14000a64f
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14000a6d3
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000a5d0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x14004c5d8]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov qword [rsi + 0x18], r15
mov rcx, rsi
call fcn.1400070c0
mov rdi, qword [rsp + 0x4c0]
mov rbx, qword [rsp + 0x4b8]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001e4b0
mov rbp, qword [rsp + 0x4c8]
add rsp, 0x490
pop r15
pop r14
pop rsi
ret
mov eax, 1
cmovb eax, ebx
jmp 0x14000a62d
mov r9d, 0x104
lea r8, [rsp + 0x270]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x270]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a714
mov r8, rbx
lea rdx, [rsp + 0x270]
jmp 0x14000a686
Function at 0x140015510
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x140057080]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebp, r9d
mov rsi, rcx
call fcn.14000a230
test al, al
je 0x140015746
xorps xmm0, xmm0
lea rdx, [0x14004a428]
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
mov ebx, 1
mov r8d, ebx
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
call fcn.1400070c0
lea rcx, [rsp + 0x60]
call fcn.140009a10
mov rdx, qword [rsp + 0x78]
movzx edi, al
cmp rdx, 7
jbe 0x1400155bd
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400155b8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001576b
call fcn.14001e4d0
test dil, dil
jne 0x1400155e3
mov r9d, 0x10
lea r8, str.Chyba
lea rdx, str.SAMPSAC_nebyl_um
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140015746
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x405
xor edi, edi
cmp ax, cx
je 0x140015601
mov ecx, 0x41b
cmp ax, cx
je 0x140015601
mov ebx, edi
mov dword [0x140059ec8], ebx
lea rax, [0x140014520]
lea rbx, str.SAMPSACWindowClass
mov qword [rsp + 0x80], rdi
mov edx, 0x7f00
mov qword [rsp + 0xc0], rbx
xor ecx, ecx
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], rsi
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0xb0], 6
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov qword [rsp + 0x58], rdi
lea r8, str.SAMPS_AntiCheat
mov qword [rsp + 0x50], rsi
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rdi
mov rdx, rbx
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
je 0x140015746
mov edx, ebp
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
lea rcx, [rsp + 0xd0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140015746
nop dword [rax]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140015710
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14001e4b0
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
call fcn.1400275dc
int3
Function at 0x14001c994
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 0x14001c9ce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001c9d3
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 0x14001ca1c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14003f540]
cmp byte [rcx + rax], 0
je 0x14001ca1c
dec r8
sub rdx, 1
jne 0x14001ca02
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001f334
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001f37e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001f37e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001f37e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001f37e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001f37e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001f380
xor al, al
add rsp, 0x28
ret

Function at 0x140024390
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400243c7
call fcn.140028340
mov dword [rax], 0x16
call fcn.1400275bc
xor eax, eax
jmp 0x140024455
mov rdx, r9
mov rcx, r8
call fcn.14002432c
mov rbx, rax
test rax, rax
je 0x140024452
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140024258]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14002443f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400282b4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140024426
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140024435
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14002cb58
jmp 0x140024452
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002444f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140029078
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400290e7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400290e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400290e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400290e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400290e7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400290e7
cmp dword [rcx + 0xf8], 0
je 0x1400290e7
mov ecx, ebx
call fcn.140029198
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140028f74
nop
cmp dword [rbp + 0x20], 0
je 0x140029135
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140029140
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140029078

Function at 0x14002927c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140029078
Function at 0x140032324
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400323ab
mov rsi, rbx
cmp word [rax], bp
je 0x14003236a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140032354
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140032350
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002d604
mov rdi, rax
test rax, rax
je 0x140032398
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003a220
mov rbp, rdi
xor ecx, ecx
call fcn.14002cb58
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140034ed0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002c720
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140034f71
cmp ebx, dword [rsp + 0x30]
je 0x140034f6a
test esi, esi
je 0x140034f6a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140034f45
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140034f52
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140034f2f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140034f56
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140034f73
mov eax, 1
jmp 0x140034f73
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140039e80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140039ea8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140039ea8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14101b3b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14101b3be
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 0x14101b3e7
pop rbp
sub rbp, 0x33
sub rbp, 0x101b3b4
sub rsp, 0x20
jmp 0x14101b406
mov rax, 0x101b3b4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffa3c9a466
xor byte [rax], dl
inc rax
dec rcx
jne 0x14101b425
jmp 0x14101b43c
out dx, eax
invalid
Function at 0x140002d00
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 0x140002d35
mov r8d, 0x8f3
lea rdx, str.C:Users_tntDesktopAstraLoader_CAstraLoaderimgui.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 0x140002d40
mov qword [rsi], r14
lea rdx, [0x140074e78]
mov rcx, rbx
call fcn.140002b70
mov rbx, rax
test rax, rax
jne 0x140002d68
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 0x140002e94
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002e94
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002e94
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 0x140002e94
cmp rdi, 0xffffffffffffffff
je 0x140002e94
mov rcx, rdi
call fcn.140008ca0
mov rbp, rax
test rax, rax
je 0x140002e94
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 0x140002e81
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14008d6e8]
test r8, r8
je 0x140002e76
movsx rdx, word [r8 + 0x2750]
lea rcx, [r8 + 0x2754]
mov r9d, dword [r8 + 0x12b0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140002e6b
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 + 0x2750], cx
movsx rax, cx
lea rcx, [r8 + 0x2754]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x274c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002e9d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140002e8f
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140002e9f
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 0x140013e20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rdi, rcx
movsxd rsi, edx
jg 0x140013e5c
mov r8d, 0x826
lea rdx, str.C:Users_tntDesktopAstraLoader_CAstraLoaderimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rdi + 0x108]
lea rdx, [rsp + 0x38]
mov rbx, qword [rdi + 0x110]
lea r8, [0x1400756c0]
mov ebx, dword [rbx + rax*4 - 4]
not ebx
nop dword [rax]
movzx eax, byte [rdx]
inc rdx
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [rsp + 0x3c]
xor ebx, dword [r8 + rcx*4]
cmp rdx, rax
jb 0x140013e80
mov rax, qword [rdi]
not ebx
cmp dword [rax + 0x13c0], ebx
jne 0x140013eb9
mov r8, rsi
mov edx, 4
mov ecx, ebx
call fcn.140021580
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001fc20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x2628], 0
lea rbx, [rcx + 0x2630]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001fcc3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001fc76
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140022b60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400034b0
mov eax, dword [rbx]
lea rcx, [0x14008d6e0]
mov r9, qword [rdi + 0x2628]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x2638]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001fccb
mov rcx, rbx
call fcn.1400034b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400200e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14008d6e8]
xor ebp, ebp
cmp byte [rbx + 0x2568], bpl
jne 0x1400201dc
cmp dword [rbx + 0x2590], ebp
je 0x140020127
mov r8d, 0x383c
lea rdx, str.C:Users_tntDesktopAstraLoader_CAstraLoaderimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400201d5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140002d00
mov rdi, rax
test rax, rax
je 0x1400201d5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140020161
mov rcx, rax
call fcn.140020330
mov r8, qword [0x14008d6e8]
test r8, r8
je 0x1400201cc
movsx rdx, word [r8 + 0x2750]
lea rcx, [r8 + 0x2754]
mov r9d, dword [r8 + 0x12b0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400201c1
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 + 0x2750], cx
movsx rax, cx
lea rcx, [r8 + 0x2754]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x274c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x2568], 1
movss xmm0, dword [rbx + 0x256c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140020279
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x256c], xmm0
jb 0x140020279
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x140020267
mov rax, qword [0x14008d6e8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x256c], ebp
call fcn.1400205a0
lea rdx, [0x140074e7c]
mov rcx, rdi
mov rsi, rax
call fcn.140002b70
mov rdi, rax
test rax, rax
je 0x14002026e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14002026e
mov byte [rbx + 0xbc], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x256c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400544b0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x2a8
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x70
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x84], rax
mov dword [rsp + 0x8c], eax
lea rax, str.runas
movups xmmword [rsp + 0x24], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14005459c
mov qword [rsp + 0x2a0], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x4c7
jne 0x140054567
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.admin_privileges_are_important_for_this_task._n
jmp 0x14005458f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_restart_with_admin_privileges._Error:
call fcn.14005a0b0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140074f50]
call fcn.14005a0b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x2a8
ret
Function at 0x14006cbc4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006cc0e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006cc0e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006cc0e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006cc0e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006cc0e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006cc10
xor al, al
add rsp, 0x28
ret
Function at 0x180004a4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x158
lea rax, str.mkwi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xe0], 0
lea rdx, [rsp + 0xe0]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x3c]
call fcn.1800051fb
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x24]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x1c]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
call fcn.1800050db
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x48]
mov eax, eax
mov edx, eax
xor ecx, ecx
call qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x24]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x34]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
call fcn.1800050db
mov qword [rsp + 0xf0], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [rsp + 0xf0]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x14]
movzx ecx, cx
cmp eax, ecx
je 0x180004b74
mov eax, dword [rsp + 0x48]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x180004b33
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xb8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x180004bc7
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xb8]
movsx ax, byte [rcx + rax]
mov ecx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
jmp 0x180004b7c
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x24]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x50]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x40]
and al, 0x40