joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140b7b160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b7b2e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b7b191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7b177
add dl, dl
jne 0x140b7b19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7b1fe
xor eax, eax
add dl, dl
jne 0x140b7b1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7b2b5
add dl, dl
jne 0x140b7b1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7b1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7b1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7b1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b7b1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b7b186
mov eax, 1
add dl, dl
jne 0x140b7b20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7b21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7b203
sub eax, ebx
mov ebx, 1
jne 0x140b7b254
mov ecx, 1
add dl, dl
jne 0x140b7b236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b7b243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7b22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7b186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b7b270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b7b27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7b265
cmp eax, 0x7d00
jae 0x140b7b2a3
cmp eax, 0x500
jb 0x140b7b29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7b186
cmp eax, 0x7f
ja 0x140b7b2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7b186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b7b2da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b7b186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003b50
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 0x140003d3a
lea r9, [rsp + 0x20]
lea r8d, [r15 + 8]
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140003d3a
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.140025bbc
mov rbx, rax
test rax, rax
je 0x140003bfd
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
jmp 0x140003c00
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 0x140003d2d
mov edi, r15d
mov eax, dword [rsp + 0x20]
test rax, 0xfffffffffffffff8
jbe 0x140003d2d
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 0x140003c82
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400012c0
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.140004730
mov r8d, 2
lea rdx, [0x14003cab8]
mov rcx, r14
call fcn.140004730
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003d13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d66
call fcn.140025bb4
inc edi
add rsi, 8
mov ecx, dword [rsp + 0x20]
shr rcx, 3
movsxd rax, edi
cmp rax, rcx
jb 0x140003c40
test rbx, rbx
je 0x140003d3a
mov rcx, rbx
call fcn.140025bb4
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140025cd0
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.140029b90
nop
int3
Function at 0x1400048d0
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 0x140004901
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 0x14000497b
mov rdi, r14
mov rcx, rbx
call fcn.140002ea0
test rax, rax
jle 0x140004953
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 0x14000496b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004973
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140004915
sub r14, rdi
jmp 0x140004a5f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140004992
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004994
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400049c6
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 0x140004a5c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004a01
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 0x140004a3d
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 0x140004a5c
cmp rbp, rax
ja 0x140004a10
test rbp, rbp
je 0x140004a5c
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 0x140004fa0
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 0x1400050d2
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 0x1400050f7
mov rcx, qword [r14 + r12*8 - 8]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140005011
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 0x1400050f7
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 0x140004fe0
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 0x1400050d7
Function at 0x140005450
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 0x1400054fd
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 0x14000551d
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 0x140005673
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 0x140005576
mov eax, 0xffffd8ed
jmp 0x140005678
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 0x14000566c
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14000566c
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 0x1400055e6
mov edx, 0x14c
cmp ax, dx
je 0x1400055e6
mov eax, 0xffffd8e5
jmp 0x140005678
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 0x140005678
mov eax, 0xffffd8e6
jmp 0x140005678
mov eax, 0xffffd8ec
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140025cd0
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 0x140005e90
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 0x140005edf
mov eax, 0xffffd8e7
jmp 0x140005fb4
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.140029d80
mov rcx, rax
lea rdx, str.QueryProcess_info_pointer_:__p__ret_:__d_n
mov r9d, ebx
mov r8, rbp
call fcn.140006200
test ebx, ebx
js 0x140005f6e
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 0x140005f81
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.140029d80
mov rcx, rax
mov r9, rbp
mov r8d, ebx
mov rdx, rsi
call fcn.140006200
mov r14, qword [rsp + 0xb8]
xor eax, eax
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140025cd0
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006020
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 0x1400060a0
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.140025cd0
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.140005450
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 0x140006115
mov ecx, ebx
call fcn.140005dc0
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 0x140006193
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400056a0
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test ebx, ebx
jns 0x1400061d2
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebx
call fcn.140005dc0
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 0x1400109a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r9
mov rax, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x58], rdx
xor edi, edi
movzx r8d, byte [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14000b960
mov rbx, qword [0x14004bd58]
mov r8, qword [rbx + 8]
lea rdx, [0x14004bd58]
lea rcx, [0x14004bd58]
call fcn.140008310
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov rcx, qword [0x14004bd58]
mov rax, qword [rsp + 0x48]
mov qword [0x14004bd58], rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x50]
mov qword [0x14004bd60], rax
mov qword [rsp + 0x50], rdi
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], dil
jne 0x140010a7a
nop dword [rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140008310
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
call fcn.140011490
mov edx, 0x60
mov rcx, rdi
call fcn.140025bb4
cmp byte [rbx + 0x19], 0
je 0x140010a40
mov rcx, qword [rsp + 0x48]
mov edx, 0x60
call fcn.140025bb4
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.14000fc30
movzx edx, byte [0x14004bd68]
movzx ecx, byte [rax]
mov byte [0x14004bd68], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [0x14004bd70]
mov r8, qword [rcx]
mov qword [0x14004bd70], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.140016b40
nop
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140010ad1
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 [0x14004bd20], rax
lea rdx, str.Luna_EmbedSettings
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bd30], rax
lea rdx, str.Luna_Inject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bd28], rax
lea rdx, str.Luna_useembed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bd38], rax
lea rdx, str.Luna_checkisusingembed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bd40], rax
lea rdx, str.Luna_embedcallback
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bd48], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x64]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14004bd50], rax
lea rax, [0x140006270]
mov qword [rsp + 0x38], rax
lea rax, [0x1400062a0]
mov qword [rsp + 0x30], rax
lea rax, [fcn.140003040]
mov qword [rsp + 0x28], rax
lea rax, [fcn.140003040]
mov qword [rsp + 0x20], rax
lea r9, [fcn.140003040]
lea r8, [fcn.140003040]
lea rdx, [0x140006250]
lea rcx, [0x140006260]
call qword [0x14004bd20]
nop
mov rcx, rsi
call fcn.1400024a0
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140025cd0
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140014d20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x140014ed1
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140014520
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140014e96
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x140014e10
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140014e85
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140014e4d
mov r10, qword [rdx]
cmp r10, rax
je 0x140014e47
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140014e85
cmp r9, rdx
je 0x140014e61
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140014eab
cmp r9, rdx
jne 0x140014e52
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x140014dc0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140014e85
lea rcx, str.invalid_hash_bucket_count
call fcn.140024580
int3
Function at 0x14001ef10
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14001ef4d
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x14001ef30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14001ef60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x14004b140]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14001ede0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x38], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.140020a00
mov rbx, rax
lea rdx, str.LOSSLESS_WAITFOR_STOP_SIGNAL
lea rcx, [rsp + 0x60]
call fcn.14001ee70
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001ed30
mov rcx, rax
call fcn.14001f170
mov r9, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400024a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400024a0
nop
lea rcx, [rsp + 0x80]
call fcn.1400024a0
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [rdi]
call qword [rdi + 8]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]