joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cb3c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000cb9f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000cbb3
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cbb3
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14000cbb8
cmp dword [rcx + 8], 0
je 0x14000cbb3
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000cbb8
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140010204
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140019834
mov rsi, rax
test rax, rax
je 0x140010280
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001027b
cmp dword [rbx], 0x40
jb 0x14001027b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x14001027b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140010284
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140017c0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140017c74
call fcn.14000e75c
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140017c74
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140017c96
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140017600
mov esi, eax
test rdi, rdi
je 0x140017c94
test rbx, rbx
je 0x140017c94
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400185c4
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xc8], 0
jne 0x140018602
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1400186b6
call fcn.140008b7c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140018621
mov ecx, 0x80004005
call fcn.140001a20
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140154ac0
test eax, eax
je 0x140018689
cmp eax, 0xc
je 0x140018683
cmp eax, 0x16
je 0x14001867d
cmp eax, 0x22
je 0x14001867d
cmp eax, 0x50
je 0x140018689
call fcn.1400089dc
int3
call fcn.1400089dc
int3
call fcn.140008994
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1400186b4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001a3c8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14001a3ee
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000cb3c
jmp 0x14001a455
cmp byte [0x14020bce0], 0
jne 0x14001a432
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001a422
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020bcd8], rax
jmp 0x14001a429
mov rax, qword [0x14020bcd8]
mov byte [0x14020bce0], 1
jmp 0x14001a439
mov rax, qword [0x14020bcd8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14001a44f
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14001a455
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a8dc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rdx]
mov rbx, rdx
cmp dword [rcx - 0x10], 0
je 0x14001a90e
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001a90e
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.14004ed70
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14008f044
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
test r8, r8
jne 0x14008f075
call fcn.14000e75c
mov rdi, qword [rax + 0x18]
mov r8, qword [0x14020ed40]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x14008f094
xor eax, eax
jmp 0x14008f0e0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14008f090
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x14008f0d5
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r12
mov rcx, r13
mov r8d, eax
call fcn.14008ef08
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1400bea84
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400bea95
xor eax, eax
jmp 0x1400beac3
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400bec58
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400bec69
xor eax, eax
jmp 0x1400bec8d
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400bec94
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x1400becd6
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x1400bede8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x1400bee13
call fcn.1400089dc
int3
test rbx, rbx
jne 0x1400bee1e
call fcn.1400089dc
int3
test r9, r9
jne 0x1400bee29
call fcn.1400089dc
int3
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400beeac
cmp dword [rsp + 0x48], 3
jne 0x1400beeac
test eax, eax
jne 0x1400beeac
cmp dword [rdi], eax
je 0x1400beeac
mov ecx, dword [rdi]
call fcn.14000239c
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400beea0
cmp dword [rsp + 0x48], 3
jne 0x1400beea0
test eax, eax
jne 0x1400beea0
mov eax, 1
jmp 0x1400beeae
mov rcx, qword [rbx]
call fcn.1400023e0
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400befb8
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140130368
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x140130391
mov rdi, qword [rdx + 0x10]
jmp 0x1401303e2
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x1401303b2
call fcn.140009628
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1401303cc
call fcn.140009628
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1401303e2
call fcn.140009628
call fcn.14000e75c
cmp qword [rax + 0x68], 0
je 0x1401303fc
mov rdx, rdi
mov rcx, rbp
call fcn.14012ea30
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1401301a8
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x140130423
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x140130432
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14015397c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1401537ec
Function at 0x140158e9b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1402066f0]
jne 0x1401526da
rol rcx, 0x10
test cx, 0xffff
jne 0x1401526d6
repz ret
ror rcx, 0x10
jmp 0x140158df4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402123a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140212498]
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 0x140158e79
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, [0x1402123a0]
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 0x140158e9b
mov rax, qword [rsp + 0x88]
mov qword [0x140212498], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140212438], rax
mov rax, qword [0x140212498]
mov qword [0x140212310], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140212420], rax
mov dword [0x140212300], 0xc0000409
mov dword [0x140212304], 1
mov rax, qword [0x1402066f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402066f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140212398], eax
mov ecx, 1
call fcn.140164eb4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401c6ae8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140212398], 0
jne 0x140158f22
mov ecx, 1
call fcn.140164eb4
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 0x1401652dc
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 [0x1402066f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14015ba28
xor ebx, ebx
cmp qword [0x1402133d0], rbx
mov rdi, rax
jne 0x1401653ef
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1401654c6
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401654c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401c8688]
mov rcx, rsi
mov qword [0x1402133d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401c8670]
mov rcx, rsi
mov qword [0x1402133d8], 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 [0x1402133e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1402133f0], rax
test rax, rax
je 0x1401653e6
lea rdx, [0x1401c8638]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1402133e8], rax
jmp 0x1401653f6
mov rax, qword [0x1402133e8]
jmp 0x1401653fd
mov rax, qword [0x1402133e8]
mov r11, qword [0x1402133f0]
cmp rax, rdi
je 0x140165464
cmp r11, rdi
je 0x140165464
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1402133f0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140165464
test rax, rax
je 0x140165464
call rsi
test rax, rax
je 0x14016545e
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14016545e
test byte [rsp + 0x40], 1
jne 0x140165464
bts ebp, 0x15
jmp 0x1401654a4
mov rcx, qword [0x1402133d8]
cmp rcx, rdi
je 0x1401654a4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1401654a4
call rax
mov rbx, rax
test rax, rax
je 0x1401654a4
mov rcx, qword [0x1402133e0]
cmp rcx, rdi
je 0x1401654a4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1401654a4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402133d0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1401654c6
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1401654c8
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401526c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
push rax
invalid
jno 0x14001ad37
sti
movabs al, byte [0xd995e86bba4149d4]
xor esi, esi
xchg esp, eax
test dword [rcx], eax
xor eax, dword [rbp + 0x599f5eaf]
jp 0x14001ad4d
jl 0x14001acb0
mov ebx, 0x359197f1
push rax
xor esi, eax
jnp 0x14001ad99
invalid
movabs al, byte [0xa61520a1f7fefbb3]
invalid
invalid
sbb esp, dword [rcx + 0x4f]
imul esi, dword [rcx + rdx*8 + 0x48], 0xffffffee
mov edi, 0x73cdf0b8
mov bl, 0xd1
invalid
Function at 0x10000c8d0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov dx, word [0x1000564e0]
cmp dx, 0xcb
sete al
cmp dx, 0xcc
sete dl
or al, dl
jne 0x10000ca02
mov rax, qword [0x100071840]
test rax, rax
je 0x10000c910
mov ecx, dword [0x100071630]
call rax
mov rbx, rax
jmp 0x10000c917
lea rbx, [0x100071638]
cmp word [0x100071620], 0
jle 0x10000c93e
lea rcx, [0x1000715f0]
call fcn.10000cbe0
mov rcx, rbx
call fcn.10000c3b0
mov rcx, rbx
call fcn.10000c440
mov rsi, qword [rbx]
jmp 0x10000c967
mov rdi, qword [rsi + 8]
test byte [rsi], 1
jne 0x10000c960
mov rdx, rsi
mov rcx, rbx
call fcn.10000b620
jmp 0x10000c964
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x10000c948
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x100071620], 0
jle 0x10000ca02
invalid
invalid
invalid
Function at 0x1000294a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0x18], 0
mov eax, dword [rbp - 0x18]
and eax, dword [rbp - 0x1c]
xor eax, dword [rbp - 0x18]
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x18]
imul eax, eax, 0xa
mov dword [rbp - 0x1c], eax
inc dword [rbp - 0x18]
cmp dword [rbp - 0x18], 0x6a
jle 0x1000294b6
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x14]
mov rax, qword gs:[eax]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 8], rax
lea rsp, [rbp]
pop rbp
ret
Function at 0x10002b0d0
Capabilities:
Encode data using xor

Disassembly:
dec r8d
test r8d, r8d
jl 0x10002b0f5
or r9d, 0xffffffff
inc r9d
movsxd r10, r9d
lea r11, [rdx + r10]
lea rax, [rcx + r10]
mov r10b, byte [r11]
xor byte [rax], r10b
cmp r9d, r8d
jl 0x10002b0dc
ret

Function at 0x10004fc70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov esi, dword [rcx + 0x38]
mov edx, dword [rbx + 0x94]
mov eax, dword [rbx + 0x50]
sub eax, edx
sub eax, dword [rbx + 0x8c]
mov edi, eax
mov eax, dword [rbx + 0x8c]
or eax, edi
or eax, dword [rbx + 0x94]
cmove edi, esi
je 0x10004fd62
cmp edi, 0xffffffff
jne 0x10004fcba
dec edi
jmp 0x10004fd62
mov eax, esi
lea rdx, [rax + rax - 0x106]
mov eax, dword [rbx + 0x8c]
cmp rdx, rax
jg 0x10004fd62
mov rdx, qword [rbx + 0x48]
mov eax, esi
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x48]
mov r8d, esi
call fcn.100001b80
sub dword [rbx + 0x90], esi
sub dword [rbx + 0x8c], esi
sub dword [rbx + 0x7c], esi
mov r12d, dword [rbx + 0x6c]
mov rdx, qword [rbx + 0x60]
mov eax, r12d
lea r13, [rdx + rax*2]
sub r13, 2
movzx r14d, word [r13]
cmp esi, r14d
ja 0x10004fd21
mov eax, r14d
sub eax, esi
mov word [r13], ax
jmp 0x10004fd28
mov word [r13], 0
dec r12d
jne 0x10004fd07
mov r12d, esi
mov rdx, qword [rbx + 0x58]
mov eax, esi
lea r13, [rdx + rax*2]
sub r13, 2
movzx r14d, word [r13]
cmp esi, r14d
ja 0x10004fd54
mov eax, r14d
sub eax, esi
mov word [r13], ax
jmp 0x10004fd5b
mov word [r13], 0
dec r12d
jne 0x10004fd3a
add edi, esi
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x10004fdf1
mov rax, qword [rbx + 0x48]
mov ecx, dword [rbx + 0x8c]
mov edx, dword [rbx + 0x94]
add rdx, rcx
add rdx, rax
mov rcx, qword [rbx]
mov r8d, edi
call fcn.10004f8b0
mov r12d, eax
add dword [rbx + 0x94], eax
cmp dword [rbx + 0x94], 3
jb 0x10004fdd8
mov rax, qword [rbx + 0x48]
mov edx, dword [rbx + 0x8c]
movzx eax, byte [rax + rdx]
mov dword [rbx + 0x68], eax
mov rax, qword [rbx + 0x48]
mov edx, dword [rbx + 0x8c]
movzx r8d, byte [rax + rdx + 1]
mov eax, dword [rbx + 0x78]
mov edx, dword [rbx + 0x68]
mov ecx, eax
shl edx, cl
xor r8d, edx
and r8d, dword [rbx + 0x74]
mov dword [rbx + 0x68], r8d
cmp dword [rbx + 0x94], 0x106
jae 0x10004fdf1
mov rax, qword [rbx]
cmp dword [rax + 8], 0
jne 0x10004fc84
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x180001370
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x60
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000144c
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x18000144c
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + rax + 0x4c], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x54], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x60
pop rdi
ret