joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x10
cmp dword [0x140005680], 0
jne 0x140001203
mov rax, qword gs:[0x60]
xor r15d, r15d
mov edx, r15d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14000120f
nop word [rax + rax]
mov r10, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x14000107d
lea rdx, [r10 + rcx]
mov ecx, dword [r10 + rcx + 0xc]
mov eax, dword [rcx + r10]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000107d
mov eax, dword [rcx + r10 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001089
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001040
test rdx, rdx
je 0x14000120f
mov r11d, dword [rdx + 0x18]
mov qword [rsp + 0x20], rbx
mov ebx, r15d
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x38], rdi
add rsi, r10
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r12
add rdi, r10
mov qword [rsp], r14
add rbp, r10
mov r12d, 0x775a
lea r14, [0x140005680]
nop word [rax + rax]
lea eax, [r11 - 1]
mov r9d, dword [rdi + rax*4]
add r9, r10
cmp word [r9], r12w
jne 0x140001144
mov edx, r15d
mov r8d, 0x5cff5e30
mov rax, r9
nop dword [rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc edx
add ecx, eax
mov eax, edx
add rax, r9
xor r8d, ecx
cmp byte [rax], r15b
jne 0x140001100
mov edx, ebx
lea eax, [r11 - 1]
add rdx, rdx
inc ebx
mov dword [r14 + rdx*8 + 8], r8d
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [r14 + rdx*8 + 0xc], eax
mov qword [r14 + rdx*8 + 0x10], r15
cmp ebx, 0x258
je 0x14000114a
add r11d, 0xffffffff
jne 0x1400010e0
mov r12, qword [rsp + 8]
lea eax, [rbx - 1]
mov rbp, qword [rsp + 0x28]
mov r11d, r15d
mov dword [0x140005680], ebx
test eax, eax
je 0x1400011f0
nop dword [rax + rax]
mov ecx, ebx
mov eax, r15d
sub ecx, r11d
cmp ecx, 1
je 0x1400011e5
nop dword [rax]
lea r10d, [rax + 1]
mov r9d, eax
add r9, r9
mov r8d, r10d
add r8, r8
mov esi, dword [r14 + r9*8 + 0xc]
mov edi, dword [r14 + r8*8 + 0xc]
cmp esi, edi
jbe 0x1400011d6
mov eax, dword [r14 + r8*8 + 8]
mov edx, dword [r14 + r9*8 + 8]
mov rcx, qword [r14 + r9*8 + 0x10]
mov dword [r14 + r9*8 + 8], eax
mov rax, qword [r14 + r8*8 + 0x10]
mov qword [r14 + r9*8 + 0x10], rax
mov dword [r14 + r9*8 + 0xc], edi
mov dword [r14 + r8*8 + 8], edx
mov dword [r14 + r8*8 + 0xc], esi
mov qword [r14 + r8*8 + 0x10], rcx
mov ebx, dword [0x140005680]
mov ecx, ebx
mov eax, r10d
sub ecx, r11d
dec ecx
cmp r10d, ecx
jb 0x140001180
inc r11d
lea eax, [rbx - 1]
cmp r11d, eax
jb 0x140001170
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp]
mov eax, 1
add rsp, 0x10
pop r15
ret
xor eax, eax
add rsp, 0x10
pop r15
ret
Function at 0x140001640
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3916903
call fcn.140001220
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001680
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x39d0117
call fcn.140001220
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400016c0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8b158197
call fcn.140001220
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001fd8
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d61c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d625a
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d623e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d6232
cmp qword [rbp - 0x10], 0
je 0x2fc4d6232
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d61f8
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d625b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d6360
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d6388
mov eax, 0
jmp 0x2fc4d63d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d63b1
mov eax, 0
jmp 0x2fc4d63d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d63d1
mov eax, 0
jmp 0x2fc4d63d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14002d200
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.1400366f0
nop
cmp byte [rsp + 0x40], 0
je 0x14002d374
mov rsi, qword [rsi + 8]
add rsi, 0x140
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140046060
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002d27a
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002d2b3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002d2a0
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc50
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002d33a
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002d303
cmp rax, rdi
jne 0x14002d2f9
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002d30e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002d30e
cmp rax, rdi
jne 0x14002d30e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000b9a0
mov edx, 0x40
mov rcx, rdi
call fcn.140074cc4
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002d374
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d36e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d3a7
call fcn.140074cc4
nop
cmp byte [rsp + 0x40], 0
je 0x14002d385
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074de0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b508
nop
int3
add rcx, 8
jmp 0x14002d200
Function at 0x1400309c0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x1400518d0
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400d66f0]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.140056250
test eax, eax
jne 0x140051a91
cmp dword [0x1400d673c], 0x7fffffff
je 0x140051a9c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400d66b0]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x1400519b0
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x1400519b2
nop dword [rax]
cmp rax, rcx
je 0x1400519b0
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x1400519a0
jmp 0x1400519b2
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x140051a51
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140052ff0
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140074c88
test rax, rax
je 0x140051a04
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004baa0]
xor edx, edx
xor ecx, ecx
call fcn.140087e94
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140051a7f
cmp dword [rbp - 0x11], 0
je 0x140051a74
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.140056794
test eax, eax
jne 0x140051a74
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.140056258
mov ecx, 1
call fcn.1400564cc
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.1400564cc
nop
mov ecx, 5
call fcn.1400564cc
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.1400564cc
int3
Function at 0x1400311e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.1400366f0
nop
cmp byte [rsp + 0x40], 0
je 0x14002d374
mov rsi, qword [rsi + 8]
add rsi, 0x140
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140046060
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002d27a
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002d2b3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002d2a0
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc50
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002d33a
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002d303
cmp rax, rdi
jne 0x14002d2f9
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002d30e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002d30e
cmp rax, rdi
jne 0x14002d30e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000b9a0
mov edx, 0x40
mov rcx, rdi
call fcn.140074cc4
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002d374
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d36e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d3a7
call fcn.140074cc4
nop
cmp byte [rsp + 0x40], 0
je 0x14002d385
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074de0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b508
nop
int3
add rcx, 8
jmp 0x14002d200
Function at 0x14003a380
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffd050f7f
nop
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14003a3f8
lea rcx, [rsp + 0x58]
call fcn.140037800
mov rax, qword [rsp + 0x58]
cmp rax, r14
jge 0x14003a3de
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
jmp 0x14003a3e3
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.1400223c0
inc ebx
cmp ebx, 0xa
jl 0x14003a3b0
xor al, al
jmp 0x14003a467
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
mov ecx, 2
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp qword [rdi + 0x18], 7
mov rsi, rax
jbe 0x14003a420
mov rdi, qword [rdi]
mov rcx, qword [rbx]
lea rbx, [rcx*2 + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.14009e920
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14003b190
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14003b1b4
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x14003b242
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003b210
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14003b210
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14009e920
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003b22d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003b235
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14003b1d1
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x14003b320
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14003b259
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003b25b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003b28d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14009e920
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003b31d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003b2c8
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 rsi, 0xfff
jbe 0x14003b2fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14008092c
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14003b31d
cmp rsi, rax
ja 0x14003b2d1
test rsi, rsi
je 0x14003b31d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008092c
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x14003c320
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebx, ebx
cmp qword [rcx + 0x18], 7
jbe 0x14003c347
mov rcx, qword [rcx]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x100
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov rax, rbx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140074de0
add rsp, 0x300
pop rbx
ret

Function at 0x14003c7a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
movsxd rdi, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov esi, ebx
je 0x14003c85c
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14003c8dd
add rdi, rdi
je 0x14003c837
cmp rdi, 0x1000
jb 0x14003c82c
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003c8d1
call fcn.140074c88
test rax, rax
je 0x14003c8d7
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003c837
mov rcx, rdi
call fcn.140074c88
mov rbx, rax
mov rbp, rbx
mov qword [rsp + 0x28], rbx
lea rsi, [rdi + rbx]
mov qword [rsp + 0x38], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14009efc0
mov qword [rsp + 0x30], rsi
jmp 0x14003c861
mov rbp, qword [rsp + 0x28]
sub rsi, rbx
sar rsi, 1
mov r8d, esi
mov rdx, rbp
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, rbp
mov rcx, r14
call fcn.140019460
nop
test rbx, rbx
je 0x14003c8b5
lea rdx, [rsi + rsi]
cmp rdx, 0x1000
jb 0x14003c8ad
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14003c8d7
mov rbx, rcx
mov rcx, rbx
call fcn.140074cc4
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call fcn.14000d5e0
int3
call fcn.14007b508
int3
call fcn.14000d7f0
int3
Function at 0x14004ef60
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x14004f0cc
lea r10, [rsp + 0x9a]
nop word [rax + rax]
sub r10, 2
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r10], bx
mov ebx, edx
test edx, edx
jne 0x14004efa0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x9a]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.1400147c0
nop
lea r8, [rsp + 0x50]
lea rdx, str.LUNA_VNR_HOOKMAN_
lea rcx, [rsp + 0x30]
call fcn.14004b2b0
mov rdi, rax
cmp qword [rax + 0x10], 0
jne 0x14004f00c
xor r8d, r8d
jmp 0x14004f019
mov r8, rdi
cmp qword [rax + 0x18], 7
jbe 0x14004f019
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
mov rcx, rdi
call fcn.14000b6f0
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004f046
mov rcx, rbx
mov rax, qword [0x1400a7b70]
call rax
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004f084
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f07f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f0f3
call fcn.140074cc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004f0d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov r8d, 0xc
lea rdx, [0x1400aa8f8]
lea rcx, [rsp + 0x50]
call fcn.140014920
lea rcx, [rsp + 0x50]
call fcn.14004ed10
xor al, al
jmp 0x14004f0d2
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140074de0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
call fcn.14007b508
int3
Function at 0x14004f730
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rsi
sub rsp, 0x70
mov ebx, ecx
lea rsi, [0x1400d66f0]
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x58], 0
mov rcx, rsi
call fcn.140056250
test eax, eax
jne 0x14004f8e0
cmp dword [0x1400d673c], 0x7fffffff
je 0x14004f8eb
mov byte [rsp + 0x58], 1
lea r8, [0x1400d66b0]
mov qword [rsp + 0x60], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0x81]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x82]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x83]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x14004f810
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x14004f812
nop word [rax + rax]
cmp rax, rcx
je 0x14004f810
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x14004f800
jmp 0x14004f812
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x14004f8ad
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.140052ff0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 5
mov ecx, 0x10
call fcn.140074c88
test rax, rax
je 0x14004f856
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004ba50]
xor edx, edx
xor ecx, ecx
call fcn.140087e94
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004f8cd
cmp dword [rsp + 0x38], 0
je 0x14004f8c2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140056794
test eax, eax
jne 0x14004f8c2
mov rcx, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
jmp fcn.140056258
mov ecx, 1
call fcn.1400564cc
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400564cc
nop
mov ecx, 5
call fcn.1400564cc
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.1400564cc
int3