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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call fcn.14001e984
mov edx, 0x5b
mov rcx, rax
mov rbp, rax
call fcn.140008af0
mov rdi, rax
test rax, rax
je 0x140004540
lea rcx, [rax + 1]
mov edx, 0x5d
call fcn.140008af0
mov rbx, rax
test rax, rax
je 0x140004540
lea rcx, [rax + 1]
mov edx, 0xa
mov byte [rax], 0
call fcn.140008af0
test rax, rax
je 0x1400044b3
mov byte [rax], 0
mov rcx, qword [section..data]
lea rax, [rsp + 0x48]
lea rdx, [rdi + 1]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400044f9
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_open_key
xor r9d, r9d
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140004538
mov rcx, qword [rsp + 0x48]
lea rdx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14000452d
cmp eax, 2
je 0x14000452d
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_delete_key
xor r9d, r9d
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.1400099cc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140004558
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call fcn.14001e984
mov edx, 0x5b
mov rcx, rax
mov rbp, rax
call fcn.140008af0
mov rdi, rax
test rax, rax
je 0x140004654
lea rcx, [rax + 1]
mov edx, 0x5d
call fcn.140008af0
mov rbx, rax
test rax, rax
je 0x140004654
lea rcx, [rax + 1]
mov edx, 0x3d
mov byte [rax], 0
call fcn.140008af0
test rax, rax
je 0x140004654
mov byte [rax], 0
mov rcx, qword [section..data]
lea rax, [rsp + 0x48]
lea rdx, [rdi + 1]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000460d
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_open_key
xor r9d, r9d
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000464c
mov rcx, qword [rsp + 0x48]
lea rdx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x140004641
cmp eax, 2
je 0x140004641
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_delete_value
xor r9d, r9d
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.1400099cc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14000466c
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3a
call fcn.140008af0
mov rbx, rax
test rax, rax
je 0x14000469c
inc rbx
movsx ecx, byte [rbx]
call fcn.14000ce1c
test eax, eax
jne 0x140004684
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
add rsp, 0x20
pop rbx
ret
Function at 0x1400046a4
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3a
call fcn.140008af0
mov rbx, rax
test rax, rax
je 0x1400046d4
inc rbx
movsx ecx, byte [rbx]
call fcn.14000ce1c
test eax, eax
jne 0x1400046bc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add rsp, 0x20
pop rbx
ret
Function at 0x140004dac
Capabilities:
Link many functions at runtime

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
push r13
push r14
sub rsp, 0x20
mov r13d, edx
lea rdx, str.Py_Initialize
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_SetProgramName
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_Finalize
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleString
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PySys_GetObject
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_OptimizeFlag
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp qword [0x1400360d8], rcx
jne 0x140004e4a
xor eax, eax
jmp 0x140004e91
cmp rdi, rcx
je 0x140004e8e
cmp rsi, rcx
je 0x140004e8e
cmp rbp, rcx
je 0x140004e8e
cmp r12, rcx
je 0x140004e8e
cmp r14, rcx
je 0x140004e8e
cmp rax, rcx
je 0x140004e8e
cmp r13d, ecx
setne cl
mov dword [rax], ecx
lea rcx, [0x1400383a0]
call rsi
call rdi
mov edx, r13d
mov rcx, r12
call fcn.140004c4c
mov ebx, eax
call rbp
mov eax, ebx
jmp 0x140004e91
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14000e014
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400134c8
nop
cmp dword [0x140036140], 1
je 0x14000dfc0
mov dword [0x14003613c], 1
mov byte [0x140036138], r12b
test ebx, ebx
jne 0x14000dfac
mov rcx, qword [0x1400389a8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000df99
mov rcx, qword [0x1400389a0]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000df38
call fcn.14001186c
cmp qword [rdi], rax
jne 0x14000df38
jmp 0x14000df1e
cmp rdi, rsi
jb 0x14000df99
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001186c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400389a8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400389a0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000df77
cmp r13, rax
je 0x14000df97
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000df1e
lea rdx, [0x1400275c8]
lea rcx, [0x1400275a8]
call fcn.14000dcd8
lea rdx, [0x1400275d8]
lea rcx, [0x1400275d0]
call fcn.14000dcd8
nop
test r12d, r12d
je 0x14000dfcf
mov ecx, 8
call fcn.1400133a8
test r12d, r12d
jne 0x14000dffa
mov dword [0x140036140], 1
lea ecx, [r12 + 8]
call fcn.1400133a8
mov ecx, r15d
call fcn.14000dc6c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000de88

Function at 0x14000e020
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000de88
Function at 0x14000e3c3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400342a0]
jne 0x1400091ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1400091b6
repz ret
ror rcx, 0x10
jmp 0x14000e31c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140036200]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400362f8]
mov qword [rsp + 0x58], r11
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 0x14000e3a1
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, [0x140036200]
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 0x14000e3c3
mov rax, qword [rsp + 0x88]
mov qword [0x1400362f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140036298], rax
mov rax, qword [0x1400362f8]
mov qword [0x140036170], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140036280], rax
mov dword [0x140036160], 0xc0000409
mov dword [0x140036164], 1
mov rax, qword [0x1400342a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400342a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400361f8], eax
mov ecx, 1
call fcn.14001ad2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002deb0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400361f8], 0
jne 0x14000e44a
mov ecx, 1
call fcn.14001ad2c
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 0x14001e084
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14001186c
xor ebx, ebx
mov rdi, rax
cmp qword [0x140036ec8], rbx
jne 0x14001e18a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14001e25f
lea rdx, [0x14002fbe8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001e25f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140036ec8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140036ed0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140036ed8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140036ee8], rax
test rax, rax
je 0x14001e181
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140036ee0], rax
jmp 0x14001e191
mov rax, qword [0x140036ee0]
jmp 0x14001e198
mov rax, qword [0x140036ee0]
mov r11, qword [0x140036ee8]
cmp rax, rdi
je 0x14001e200
cmp r11, rdi
je 0x14001e200
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140036ee8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14001e200
test rax, rax
je 0x14001e200
call rsi
test rax, rax
je 0x14001e1fa
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001e1fa
test byte [rsp + 0x38], 1
jne 0x14001e200
bts ebp, 0x15
jmp 0x14001e23e
mov rcx, qword [0x140036ed0]
cmp rcx, rdi
je 0x14001e23e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001e23e
call rax
mov rbx, rax
test rax, rax
je 0x14001e23e
mov rcx, qword [0x140036ed8]
cmp rcx, rdi
je 0x14001e23e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001e23e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140036ec8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001e25f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14001e261
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140025f74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x140025fae
call fcn.14000f6b4
and dword [rax], 0
call fcn.14000f694
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.14000e5f8
mov eax, ebx
jmp 0x140025ffe
test edx, 0xfffffff9
jne 0x140025f81
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140025fd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000f6d4
call fcn.14000f694
mov eax, dword [rax]
jmp 0x140025ffe
test al, 0x10
jne 0x140025ffc
test al, 1
je 0x140025ffc
test bl, 2
je 0x140025ffc
call fcn.14000f6b4
mov dword [rax], 5
call fcn.14000f694
mov dword [rax], 0xd
jmp 0x140025fce
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140001ea0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
and qword [rbp + 0x7f], 0
mov rsi, rdx
mov rdx, rcx
mov edi, r8d
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and dword [rsp + 0x50], 0
lea rax, [rbp - 1]
and qword [rsp + 0x48], 0
lea r9, [rbp + 0xf]
and qword [rbp + 0x27], 0
lea r8, [rbp + 0x1f]
mov dword [rsp + 0x40], 0x20
lea rcx, [rbp + 0x7f]
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov eax, 3
mov dword [rbp + 0x1f], 0x30
mov dword [rsp + 0x38], eax
mov edx, 0x10000000
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], pe_nt_image_headers64
and qword [rsp + 0x20], 0
mov dword [rbp + 0x37], 0x240
movdqu xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
test eax, eax
js 0x140001f85
mov rcx, qword [rbp + 0x7f]
xor eax, eax
and qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rbp - 9], rax
xor r8d, r8d
lea rax, [rbp - 9]
xor edx, edx
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rbp + 0x7f]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xc0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140023472
Capabilities:
Delete file

Disassembly:
mov rax, rsp
or r9d, 0x71fc17af
ror r9b, 0x80
btc r9d, ecx
mov qword [rax + 0x18], rbx
shl r9b, cl
or r8d, r15d
test r14d, r11d
push rbp
lea rbp, [rax - 0x5f]
rcr r8d, cl
sub rsp, 0xc0
shr r9b, cl
and qword [rax - 0x58], 0
lea r9, [rbp + 0x17]
seta r8b
adc r8b, r9b
xchg r8d, r8d
and qword [rbp + 0x6f], 0
lea r8, [rbp + 0x27]
clc
and qword [rbp + 0x67], 0
xorps xmm0, xmm0
and qword [rbp + 0x2f], 0
clc
cmovb edx, r9d
cmc
mov edx, 0x110000
stc
cmp r12b, sil
cmp rsp, 0x155f41a2
mov dword [rax - 0x60], 0x100
test r9b, cl
and qword [rax - 0x68], 0
and dword [rax - 0x70], 0
and dword [rax - 0x78], 0
cmc
and qword [rax - 0x80], 0
cmc
mov dword [rsp + 0x40], 0x60
cmc
jmp 0x14002350f
mov dword [rsp + 0x38], 1
clc
mov dword [rsp + 0x30], 4
clc
test r13b, r10b
mov qword [rbp + 0x37], rcx
shld ecx, r14d, 0xb9
lea rcx, [rbp + 0x6f]
stc
mov dword [rsp + 0x28], pe_nt_image_headers64
and qword [rsp + 0x20], 0
mov dword [rbp + 0x27], 0x30
jmp 0x14002354c
mov dword [rbp + 0x3f], 0x240
jmp 0x140023558
movdqu xmmword [rbp + 0x47], xmm0
jmp 0x140023562
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
mov ebx, eax
cmc
cmp sil, 0x8b
clc
test eax, eax
js 0x140023652
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x67]
and qword [rsp + 0x30], 0
jmp 0x14002358e
xor r9d, r9d
movzx rcx, r12w
cqo
movsxd rdx, esi
mov rcx, qword [rbp + 0x6f]
not rdx
bswap dx
cmovg rdx, r8
mov edx, 0x110000
mov qword [rsp + 0x28], rax
jmp 0x1400235b7
mov r8, qword [r8]
mov dword [rsp + 0x20], 0x454c4946
jmp 0x1400235c7
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
mov ebx, eax
test eax, eax
jmp 0x1400235d6
js 0x14002363d
mov rax, qword [rbp + 0x67]
movsx cx, r15b
xor edx, edx
btr rcx, rdx
rcl rcx, cl
mov rcx, qword [rax + 0x28]
cmc
and qword [rcx + 0x10], 0
mov rcx, qword [rbp + 0x67]
mov rcx, qword [rcx + 0x28]
jmp 0x140023605
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
test al, al
jmp 0x140023612
je 0x14002362e
lea rcx, [rbp + 0x27]
jmp 0x140023621
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov ebx, eax
jmp 0x14002362e
mov rcx, qword [rbp + 0x67]
jmp 0x140023637
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x6f]
cmc
test sil, r12b
sub edx, edx
jmp 0x14002364c
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, ebx
rcl bh, 0xef
ror bpl, cl
bsr ebp, r10d
mov rbx, qword [rsp + 0xe0]
adc bpl, al
and bp, bp
shrd bp, r8w, 0xe1
add rsp, 0xc0
pop rbp
ret

Function at 0x1400236a7
Capabilities:
Link function at runtime on windows

Disassembly:
sub rsp, 0x38
movsx rdx, dx
mov rdx, rcx
cmova ecx, ebx
setg ch
lea rcx, [rsp + 0x20]
jmp 0x1400236c3
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
jmp 0x1400236d3
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
add rsp, 0x38
jmp 0x1400236e2
ret
Function at 0x1400238c1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
movsx r10, di
rcr r10w, cl
mov qword [rsp + 0x10], rdi
movzx eax, word [rcx + 0x14]
clc
and r10d, ebp
lea r10, [rcx + 0x18]
movzx ebx, word [rcx + 6]
sar r11w, cl
clc
sub r9d, r9d
cmc
bsr r11w, si
sal r11b, 0x7f
add r10, rax
sar di, cl
mov edi, r8d
and r11b, r15b
sal r11b, 0xa1
sub r11b, bl
cmp r9w, bx
movzx r11d, r9w
mov r11w, 0x66b0
movsx r11, r12w
movzx r11d, r9w
jmp 0x140023923
jae 0x1400239b4
mov r8d, dword [r10 + 0xc]
cmp r8d, edx
jmp 0x140023935
ja 0x14002395b
mov ecx, dword [r10 + 8]
cmp r15b, r10b
add ecx, r8d
jmp 0x14002394e
cmp ecx, edx
jmp 0x140023955
ja 0x14002397b
add r10, 0x28
jmp 0x140023964
inc r11w
clc
cmp r12b, 0x81
cmp r11w, bx
jmp 0x140023976
jmp 0x140023923
mov eax, dword [r10 + 0x14]
test edi, r12d
sub bh, 0xef
btr ebx, esi
sub eax, r8d
xor bh, 5
cmp rdx, rbx
jmp 0x140023996
add edx, eax
bts ax, r11w
cmp edx, edi
sbb r9d, r9d
add di, r13w
bt eax, edi
and r9d, edx
movzx ax, r11b
xchg bx, di
mov rbx, qword [rsp + 8]
mov ax, 0x5a15
mov eax, r9d
not dil
mov rdi, qword [rsp + 0x10]
jmp 0x1400239cd
ret

Function at 0x1400239ce
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
cmc
stc
mov qword [rsp + 0x10], rbp
test ch, 0x2d
clc
mov qword [rsp + 0x18], rsi
push rdi
push r14
adc dil, 0xb7
bt r14w, 0x51
push r15
clc
shr r15b, cl
sub rsp, 0x20
or r14b, bl
mov rdi, rcx
mov r14, r8
add r15b, 0xb5
sub ecx, ecx
mov r15, rdx
cmp r12, r11
clc
test rdi, rdi
je 0x140023af4
movsxd r9, dword [rdi + 0x3c]
lea rbx, [rdi + 0x18]
sar bpl, 0xd8
lea rbx, [rbx + r9]
sub esi, esi
and ebp, 0x4517aa8
shl bp, 0x84
movzx eax, word [r9 + rdi + 0x14]
sub ebp, 0x3a3810da
sbb bpl, r10b
movsx bp, dl
movzx ebp, word [r9 + rdi + 6]
lea rbx, [rbx + rax]
test al, dil
jmp 0x140023a5a
test ebp, ebp
jmp 0x140023a61
je 0x140023af4
mov eax, dword [rbx]
clc
cmp eax, dword [0x140002b30]
jmp 0x140023a75
jne 0x140023a8f
mov al, byte [rbx + 4]
jmp 0x140023a83
cmp al, byte [0x140002b34]
je 0x140023aa2
mov eax, dword [rbx]
cmp eax, dword [0x140002b40]
jmp 0x140023a9c
jne 0x140023adc
mov ecx, dword [rbx + 0xc]
adc edx, r15d
mov r9, r14
bts rdx, rcx
or r8b, r13b
mov edx, dword [rbx + 8]
neg r8b
add rcx, rdi
mov r8, r15
jmp 0x140023ac3
call fcn.140023b2d
mov rcx, rax
cmp bl, sil
jmp 0x140023ad3
test rax, rax
jne 0x140023af4
inc esi
add rbx, 0x28
jmp 0x140023ae7
cmp esi, ebp
jmp 0x140023aee
jb 0x140023a67
mov rbx, qword [rsp + 0x40]
cbw
mov rax, rcx
btr r15w, cx
ror r15d, 0x75
not sil
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
movzx edi, r9w
pop r15
pop r14
movsx edi, di
movzx edi, bx
pop rdi
jmp 0x140023b2c
ret
Function at 0x140001c00
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
sub rsi, rcx
mov r9d, 4
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rsi + rcx + 0xa0]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140001c40
sub r9, 1
jne 0x140001c30
mov bpl, 9
lea rdi, [rsi + 0x90]
lea r14, [0x14003a2a0]
nop word [rax + rax]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001ce0
inc r8
sub r9, 1
jne 0x140001cd0
mov rax, rbx
lea r8d, [rdx + 4]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001d20
sub r8, 1
jne 0x140001d10
mov rcx, rbx
call fcn.140001640
sub rdi, 0x10
add bpl, 0xff
jne 0x140001c70
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001dc0
inc r8
sub r9, 1
jne 0x140001db0
lea edx, [r9 + 4]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001df0
sub rdx, 1
jne 0x140001de2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret