joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cc80
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42cf26
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x16d0]
mov rcx, qword [rax + 0x16c0]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42cf1a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x16c0], 0
cmp byte [0x005e6954], 0
jne 0x42cce2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42cd2b
xor edx, edx
jmp 0x42cd0e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x16d0]
mov rax, rcx
call fcn.0041d320
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42cce6
add rax, 0x16c0
call fcn.0042cb40
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42ceb2
mov rsi, qword [rax + rdx*8 + 0x16d0]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42cd28
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00412280
test rax, rax
jne 0x42cd82
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42cd28
nop
mov rsi, rcx
shr rcx, 3
and rsi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42cdc5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42cd28
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42cf0d
lea r10, [0x005b8db8]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42ce4c
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42ce85
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x16a8]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x16a8], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42cd28
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42cf05
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x16d0], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42cd28
cmp rbx, 0x200
ja 0x42cef7
lea rdx, [rax + 0x16d0]
lea rsi, [rax + 0x1698]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004229e0
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x16c0]
call fcn.0042cb40
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.00460760
mov rax, r8
call fcn.004606e0
mov rax, r8
mov ecx, 0x40
call fcn.00460700
mov edx, 0x200
nop
call fcn.00460740
nop
mov qword [rsp + 8], rax
call fcn.004626e0
mov rax, qword [rsp + 8]
jmp fcn.0042cc80
Function at 0x460120
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402bef
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409320
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045dfe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402bc0
cmp byte [0x005e6953], 0
je 0x460135
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45d100
jmp 0x402bc0

Function at 0x460140
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005e6c20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005e6953], 0
je 0x460175
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005e6ea0]
aesenc xmm0, xmmword [0x005e6eb0]
aesenc xmm0, xmmword [0x005e6ec0]
movq rax, xmm0
ret
jmp 0x409520

Function at 0x460180
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005e6c20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005e6953], 0
je 0x4601b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005e6ea0]
aesenc xmm0, xmmword [0x005e6eb0]
aesenc xmm0, xmmword [0x005e6ec0]
movq rax, xmm0
ret
jmp 0x409580

Function at 0x461b00
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005e6e20]
mov qword [rsp + 8], rdx
lea r8d, [0x005e6968]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00460080
add rsp, 0x30
ret

Function at 0x4629c0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
call fcn.0045cc20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x462a60
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
call fcn.0045cd60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
Function at 0x476c40
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
xor edx, edx
jmp 0x476c58
movzx esi, byte [rbx + rdx]
inc rdx
imul eax, eax, 0x1000193
xor eax, esi
cmp rcx, rdx
jg 0x476c49
ret
Function at 0x140003a20
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140003c0a
lea r9, [rsp + 0x20]
lea r8d, [r15 + 8]
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140003c0a
mov ecx, dword [rsp + 0x20]
shr rcx, 3
mov eax, 8
mul rcx
mov rdi, rax
mov r12, 0xffffffffffffffff
cmovo rdi, r12
mov rcx, rdi
call fcn.140025b0c
mov rbx, rax
test rax, rax
je 0x140003acd
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
jmp 0x140003ad0
mov rbx, r15
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, rbx
mov rcx, rbp
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140003bfd
mov edi, r15d
mov eax, dword [rsp + 0x20]
test rax, 0xfffffffffffffff8
jbe 0x140003bfd
mov rsi, rbx
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r9d, 0x208
lea r8, [rsp + 0x60]
mov rdx, qword [rsi]
mov rcx, rbp
call sub.KERNEL32.dll_K32GetModuleFileNameExW
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x60]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x140003b52
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140001190
nop
mov rax, qword [rsp + 0x48]
lea r8, [rax + rax]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.140004600
mov r8d, 2
lea rdx, [0x14003ca98]
mov rcx, r14
call fcn.140004600
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003be3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c36
call fcn.140025b04
inc edi
add rsi, 8
mov ecx, dword [rsp + 0x20]
shr rcx, 3
movsxd rax, edi
cmp rax, rcx
jb 0x140003b10
test rbx, rbx
je 0x140003c0a
mov rcx, rbx
call fcn.140025b04
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140025c20
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140029ae0
nop
int3
Function at 0x1400047a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400047d1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000484b
mov rdi, r14
mov rcx, rbx
call fcn.140002d70
test rax, rax
jle 0x140004823
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000483b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004843
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400047e5
sub r14, rdi
jmp 0x14000492f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140004862
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004864
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004896
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000492c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400048d1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000490d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call sub.msvcrt.dll_fread
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000492c
cmp rbp, rax
ja 0x1400048e0
test rbp, rbp
je 0x14000492c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140004e70
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea eax, [rcx - 1]
mov r14, rdx
movsxd r13, eax
cmp r13, 1
jle 0x140004fa2
movsxd r12, ecx
xor ebx, ebx
mov r15d, 1
nop word [rax + rax]
mov rcx, qword [r14 + r15*8]
call sub.msvcrt.dll__wtoi
mov r8d, eax
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140004fc7
mov rcx, qword [r14 + r12*8 - 8]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140004ee1
lea rbp, [rax*2 + 2]
mov dword [rsp + 0x20], 4
mov r8, rbp
mov r9d, 0x3000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140004fc7
mov r8, qword [r14 + r12*8 - 8]
mov r9, rbp
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0x2710
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15
mov ebx, 0
cmp r15, r13
jl 0x140004eb0
mov eax, 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x140004fa7
Function at 0x140005320
Capabilities:
Read file on windows
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x460
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
lea rax, str.RshFileMap000
xor edx, edx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rsp + 0x20], 0x34
mov rbx, rcx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
test eax, eax
je 0x1400053cd
xor r9d, r9d
mov qword [rsp + 0x20], 0x34
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea rcx, [rbx + 0x14]
mov edx, dword [rax]
mov dword [rbx], edx
mov edx, dword [rax + 4]
mov dword [rbx + 4], edx
mov edx, dword [rax + 8]
mov dword [rbx + 8], edx
mov edx, dword [rax + 0xc]
mov dword [rbx + 0xc], edx
mov edx, dword [rax + 0x10]
mov dword [rbx + 0x10], edx
lea rdx, [rax + 0x14]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1400053ed
mov dword [rbx], r14d
mov dword [rbx + 4], 0x3a4
mov dword [rbx + 8], 0x411
mov dword [rbx + 0xc], 0xfffffde4
mov qword [rbx + 0x10], 0x64
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x140005543
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005446
mov eax, 0xffffd8ed
jmp 0x140005548
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], r14
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000553c
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14000553c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rcx, dword [rsp + 0x8c]
lea rdi, [rsp + 0x54]
add rdi, rcx
mov esi, 0x8664
movzx eax, word [rdi]
cmp ax, si
je 0x1400054b6
mov edx, 0x14c
cmp ax, dx
je 0x1400054b6
mov eax, 0xffffd8e5
jmp 0x140005548
mov rax, qword [rsp + rcx + 0x80]
lea r9, str.RcpEvent000
mov qword [rbx + 0x50], rax
xor r8d, r8d
mov eax, dword [rsp + rcx + 0x78]
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor edx, edx
mov qword [rbx + 0x38], rax
lea rax, str.RcpFileMap000
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor r9d, r9d
mov qword [rsp + 0x20], 8
mov rcx, rax
mov qword [rbx + 0x40], rax
xor r8d, r8d
mov edx, 0xf001f
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp word [rdi], si
mov qword [rbx + 0x48], rax
mov eax, 0xffffd8ef
cmove eax, r14d
jmp 0x140005548
mov eax, 0xffffd8e6
jmp 0x140005548
mov eax, 0xffffd8ec
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140025c20
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140005d60
Capabilities:
Patch process command line

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov rdi, rdx
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
jne 0x140005daf
mov eax, 0xffffd8e7
jmp 0x140005e84
mov rcx, qword [rdi]
lea r8, [rsp + 0x40]
mov qword [rsp + 0xb0], rbx
mov r9d, 0x30
xor edx, edx
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0x20], 0
call rbp
mov r14d, 2
mov ebx, eax
mov ecx, r14d
call fcn.140029cd0
mov rcx, rax
lea rdx, str.QueryProcess_info_pointer_:__p__ret_:__d_n
mov r9d, ebx
mov r8, rbp
call fcn.1400060d0
test ebx, ebx
js 0x140005e3e
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov rcx, qword [rdi]
lea r9d, [r14 + 6]
add rdx, 0x10
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbp, qword [rsi + 0x58]
add rbp, qword [rsp + 0x30]
mov qword [rsi + 0x58], rbp
lea rsi, str.ProcessID_:__u__EntryPoint_1_:__p_n
jmp 0x140005e51
mov rbp, qword [rsi + 0x50]
add rbp, qword [rsi + 0x58]
mov qword [rsi + 0x58], rbp
lea rsi, str.ProcessID_:__u__EntryPoint_0_:__p_n
mov ebx, 0x10
mov ecx, r14d
mov ebx, dword [rbx + rdi]
call fcn.140029cd0
mov rcx, rax
mov r9, rbp
mov r8d, ebx
mov rdx, rsi
call fcn.1400060d0
mov r14, qword [rsp + 0xb8]
xor eax, eax
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140025c20
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005ef0
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rdx
lea r8, str.RcpInternalMutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140005f70
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r9d, r9d
lea r8, str.NT_Locale_Emulator_Advance
mov rcx, rax
lea rdx, str.Err:_NTLEAS_could_not_startup_two_instances_at_one_time.
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffd8ee
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140025c20
mov rdi, qword [rsp + 0x180]
add rsp, 0x160
pop rbp
ret
mov rdi, qword [rdi + 8]
lea rcx, [rbp - 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x170], rbx
xor eax, eax
mov rdx, rdi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call fcn.140005320
lea rdx, str.MS_PGothic
mov dword [rbp - 0x20], 4
lea rcx, [rbp - 0xc]
mov dword [rbp - 0x1c], 0x3a4
mov ebx, eax
mov dword [rbp - 0x18], 0x411
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
test ebx, ebx
jns 0x140005fe5
mov ecx, ebx
call fcn.140005c90
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], eax
movdqu xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140006063
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140005570
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test ebx, ebx
jns 0x1400060a2
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebx
call fcn.140005c90
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140010730
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
xor ebp, ebp
add rcx, 0x10
mov rdx, r9
call fcn.14000f9c0
nop
lea rdx, [rdi + 0x20]
mov qword [rsp + 0x40], rdx
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
call fcn.14000b6e0
nop
lea rbx, [rdi + 0x30]
mov qword [rsp + 0x40], rbx
mov dword [rbx], ebp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
lea ecx, [rbp + 0x18]
call fcn.140025ac8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [rbp + 0x10]
call fcn.1400144e0
nop
lea rbx, [rdi + 0xa0]
mov qword [rsp + 0x40], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lea ecx, [rbp + 0x40]
call fcn.140025ac8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140010819
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rdx, str.Luna_Start
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x70], rax
lea rdx, str.Luna_EmbedSettings
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x80], rax
lea rdx, str.Luna_Inject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x78], rax
lea rdx, str.Luna_useembed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x88], rax
lea rdx, str.Luna_checkisusingembed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x90], rax
lea rdx, str.Luna_embedcallback
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x98], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x64]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rdi + 0xb0], rax
mov rax, qword [rdi + 0x70]
mov rcx, rdi
call rax
mov ecx, 8
call fcn.140025ac8
test rax, rax
je 0x1400108db
mov qword [rax], rdi
jmp 0x1400108de
mov rax, rbp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140008ad0]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001095d
cmp dword [rsp + 0x58], 0
je 0x140010952
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400250b8
test eax, eax
jne 0x140010952
mov rcx, rsi
call fcn.140002370
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140025c20
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 1
call fcn.1400251f4
nop
mov dword [rsp + 0x58], ebp
mov ecx, 6
call fcn.1400251f4
int3