joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010e0
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x1a0
lea rbp, [rsp + 0x20]
mov rax, qword gs:[0x60]
mov qword [rbp], rax
mov rax, qword [rbp]
mov rax, qword [rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
je 0x1400011c2
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x48]
test rax, rax
je 0x1400011b2
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x48]
cmp eax, 0x104
jge 0x1400011b2
xor eax, eax
mov word [rbp + 0x130], ax
movzx eax, word [rbp + 0x130]
mov rcx, qword [rbp + 0x10]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140001197
movzx eax, word [rbp + 0x130]
mov rcx, qword [rbp + 0x10]
mov rcx, qword [rcx + 0x50]
movzx ecx, byte [rcx + rax*2]
call fcn.1400016b0
movzx ecx, word [rbp + 0x130]
mov byte [rbp + rcx + 0x20], al
movzx eax, word [rbp + 0x130]
inc ax
mov word [rbp + 0x130], ax
jmp 0x14000114a
lea rcx, [rbp + 0x20]
call fcn.1400016f0
cmp dword [rbp + 0x190], eax
jne 0x1400011b2
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x20]
jmp 0x1400011c4
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp + 0x10], rax
jmp 0x140001116
xor eax, eax
lea rsp, [rbp + 0x180]
pop rbp
ret
Function at 0x1400011d0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x1b0
lea rbp, [rsp + 0x20]
cmp qword [rbp + 0x1b0], 0
je 0x1400011fd
mov eax, dword [rbp + 0x1b8]
test rax, rax
jne 0x140001204
xor eax, eax
jmp 0x14000138c
mov rax, qword [rbp + 0x1b0]
mov qword [rbp], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000122f
xor eax, eax
jmp 0x14000138c
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
cmp dword [rax], 0x4550
je 0x140001258
xor eax, eax
jmp 0x14000138c
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0x90]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x118], eax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
xor eax, eax
mov word [rbp + 0x138], ax
jmp 0x14000130c
movzx eax, word [rbp + 0x138]
inc ax
mov word [rbp + 0x138], ax
movzx eax, word [rbp + 0x138]
cmp eax, dword [rbp + 0x118]
jae 0x14000138c
movzx eax, word [rbp + 0x138]
mov rcx, qword [rbp + 0x128]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x140], rax
movzx eax, word [rbp + 0x138]
mov rcx, qword [rbp + 0x130]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x120]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov rcx, qword [rbp + 0x140]
call fcn.1400016f0
cmp dword [rbp + 0x1b8], eax
jne 0x140001387
mov rax, qword [rbp + 0x148]
jmp 0x14000138c
jmp 0x1400012fb
lea rsp, [rbp + 0x190]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400016f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x60
mov rbp, rsp
mov dword [rbp + 8], 0xffffffff
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140001780
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
mov dword [rbp], eax
mov eax, dword [rbp]
mov ecx, dword [rbp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 8], eax
mov dword [rbp + 0x10], 7
jmp 0x14000174f
mov eax, dword [rbp + 0x10]
dec eax
mov dword [rbp + 0x10], eax
cmp dword [rbp + 0x10], 0
jl 0x140001776
mov eax, dword [rbp + 8]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rbp + 4], eax
mov eax, dword [rbp + 8]
shr eax, 1
mov ecx, dword [rbp + 4]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 8], eax
jmp 0x140001747
mov eax, dword [rbp + 0xc]
inc eax
mov dword [rbp + 0xc], eax
jmp 0x140001712
mov eax, dword [rbp + 8]
not eax
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x14002c920
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.140035f20
nop
cmp byte [rsp + 0x40], 0
je 0x14002ca94
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140045d80
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c99a
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c9d3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c9c0
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc60
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002ca5a
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 0x14002ca23
cmp rax, rdi
jne 0x14002ca19
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002ca2e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002ca2e
cmp rax, rdi
jne 0x14002ca2e
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.140074bc4
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002ca94
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cac7
call fcn.140074bc4
nop
cmp byte [rsp + 0x40], 0
je 0x14002caa5
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074ce0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b408
nop
int3
add rcx, 8
jmp 0x14002c920
Function at 0x14002fc20
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002fd03
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002fd03
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002fd21
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14002fcf3
cmp word [rcx], 0x5c
jne 0x14002fcec
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14002fcec
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002fcd7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x14002fce9
test r8b, 0x10
jne 0x14002fcec
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x14002fcec
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140033e60
test edi, edi
jne 0x14002fc50
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140031eb0
int3
Function at 0x140030330
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x1400517d0
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.140056150
test eax, eax
jne 0x140051991
cmp dword [0x1400d673c], 0x7fffffff
je 0x14005199c
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 0x1400518b0
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x1400518b2
nop dword [rax]
cmp rax, rcx
je 0x1400518b0
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x1400518a0
jmp 0x1400518b2
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x140051951
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140052ef0
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.140074b88
test rax, rax
je 0x140051904
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, [0x14004b820]
xor edx, edx
xor ecx, ecx
call fcn.140087d94
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14005197f
cmp dword [rbp - 0x11], 0
je 0x140051974
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.140056694
test eax, eax
jne 0x140051974
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.140056158
mov ecx, 1
call fcn.1400563cc
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.1400563cc
nop
mov ecx, 5
call fcn.1400563cc
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.1400563cc
int3
Function at 0x140030920
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.140035f20
nop
cmp byte [rsp + 0x40], 0
je 0x14002ca94
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140045d80
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c99a
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c9d3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c9c0
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc60
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002ca5a
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 0x14002ca23
cmp rax, rdi
jne 0x14002ca19
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002ca2e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002ca2e
cmp rax, rdi
jne 0x14002ca2e
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.140074bc4
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002ca94
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cac7
call fcn.140074bc4
nop
cmp byte [rsp + 0x40], 0
je 0x14002caa5
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074ce0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b408
nop
int3
add rcx, 8
jmp 0x14002c920
Function at 0x140034f00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140034f44
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140034f30
ret
Function at 0x140039f90
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 0x14003a008
lea rcx, [rsp + 0x58]
call fcn.1400372a0
mov rax, qword [rsp + 0x58]
cmp rax, r14
jge 0x140039fee
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
jmp 0x140039ff3
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.1400220e0
inc ebx
cmp ebx, 0xa
jl 0x140039fc0
xor al, al
jmp 0x14003a077
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 0x14003a030
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.14009e820
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 0x14003ada0
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 0x14003adc4
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 0x14003ae52
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 0x14003ae20
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14003ae20
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14009e820
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003ae3d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003ae45
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14003ade1
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x14003af30
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14003ae69
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003ae6b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003ae9d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14009e820
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 0x14003af2d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003aed8
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 0x14003af0e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14008082c
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14003af2d
cmp rsi, rax
ja 0x14003aee1
test rsi, rsi
je 0x14003af2d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008082c
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 0x14003bf30
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 0x14003bf57
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.140074ce0
add rsp, 0x300
pop rbx
ret

Function at 0x14003c420
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 0x14003c4dc
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14003c55d
add rdi, rdi
je 0x14003c4b7
cmp rdi, 0x1000
jb 0x14003c4ac
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003c551
call fcn.140074b88
test rax, rax
je 0x14003c557
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003c4b7
mov rcx, rdi
call fcn.140074b88
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.14009eec0
mov qword [rsp + 0x30], rsi
jmp 0x14003c4e1
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.1400194f0
nop
test rbx, rbx
je 0x14003c535
lea rdx, [rsi + rsi]
cmp rdx, 0x1000
jb 0x14003c52d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14003c557
mov rbx, rcx
mov rcx, rbx
call fcn.140074bc4
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.14007b408
int3
call fcn.14000d7f0
int3
Function at 0x14004ee60
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 0x14004efcc
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 0x14004eea0
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.14004b1b0
mov rdi, rax
cmp qword [rax + 0x10], 0
jne 0x14004ef0c
xor r8d, r8d
jmp 0x14004ef19
mov r8, rdi
cmp qword [rax + 0x18], 7
jbe 0x14004ef19
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 0x14004ef46
mov rcx, rbx
mov rax, qword [0x1400a7b98]
call rax
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004ef84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ef7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004eff3
call fcn.140074bc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004efd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov r8d, 4
lea rdx, [0x1400aa4b0]
lea rcx, [rsp + 0x50]
call fcn.140014920
lea rcx, [rsp + 0x50]
call fcn.14004ec10
xor al, al
jmp 0x14004efd2
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140074ce0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
call fcn.14007b408
int3
Function at 0x14004f630
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.140056150
test eax, eax
jne 0x14004f7e0
cmp dword [0x1400d673c], 0x7fffffff
je 0x14004f7eb
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 0x14004f710
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x14004f712
nop word [rax + rax]
cmp rax, rcx
je 0x14004f710
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x14004f700
jmp 0x14004f712
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x14004f7ad
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.140052ef0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 5
mov ecx, 0x10
call fcn.140074b88
test rax, rax
je 0x14004f756
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, [0x14004b870]
xor edx, edx
xor ecx, ecx
call fcn.140087d94
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004f7cd
cmp dword [rsp + 0x38], 0
je 0x14004f7c2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140056694
test eax, eax
jne 0x14004f7c2
mov rcx, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
jmp fcn.140056158
mov ecx, 1
call fcn.1400563cc
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400563cc
nop
mov ecx, 5
call fcn.1400563cc
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.1400563cc
int3
Function at 0x1400508c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r8d, dword [rcx]
movabs rbx, 0x100000001b3
add r8, qword [rcx + 8]
movabs r11, 0xcbf29ce484222325
mov r9, qword [rcx + 0x18]
mov rax, r8
add r9, qword [rcx + 0x10]
shr rax, 8
movzx r10d, al
movzx eax, r8b
xor rax, r11
imul rax, rbx
xor r10, rax
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
imul r10, rbx
xor r10, rcx
movzx ecx, al
imul r10, rbx
mov rax, r8
shr rax, 0x20
xor r10, rcx
movzx ecx, al
mov rax, r8
shr rax, 0x28
imul r10, rbx
xor r10, rcx
movzx ecx, al
imul r10, rbx
mov rax, r8
shr r8, 0x38
shr rax, 0x30
xor r10, rcx
movzx ecx, al
mov rax, r9
shr rax, 8
movzx edx, al
imul r10, rbx
movzx eax, r9b
xor rax, r11
xor r10, rcx
imul rax, rbx
imul r10, rbx
xor rdx, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul rdx, rbx
xor r10, r8
xor rdx, rcx
movzx ecx, al
imul rdx, rbx
mov rax, r9
shr rax, 0x20
xor rdx, rcx
movzx ecx, al
mov rax, r9
shr rax, 0x28
imul rdx, rbx
xor rdx, rcx
movzx ecx, al
imul rdx, rbx
mov rax, r9
shr r9, 0x38
shr rax, 0x30
xor rdx, rcx
movzx eax, al
imul rdx, rbx
xor rax, rdx
imul rax, rbx
xor rax, r9
add rax, r10
imul rax, rbx
mov rbx, qword [rsp + 8]
ret