joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14002e1a7
mov rbx, r15
mov rbp, r15
jmp 0x14002e1ea
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14002e1c1
cmp rbx, rcx
je 0x14002e1e4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14002e1b3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
je 0x14002e349
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, Ordinal_27
call fcn.1400b6248
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rax, qword [r13]
mov qword [rdi + 0x10], rax
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14002e23a
cvtsi2ss xmm0, rcx
jmp 0x14002e24f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002e262
cvtsi2ss xmm1, rcx
jmp 0x14002e277
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14002e2e1
mov rcx, rsi
call fcn.14002e380
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x14002e2b4
mov qword [rsp + 0x28], 0
jmp 0x14002e2d4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14002e2d1
mov rbx, rax
cmp rax, rdx
je 0x14002e315
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14002e2c0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14002e325
mov qword [rcx + rax*8], rdi
jmp 0x14002e337
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14002e2d9
cmp r8, rbp
jne 0x14002e330
mov qword [rcx + rax*8], rdi
jmp 0x14002e33c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14002e33c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14002e1c9
lea rcx, str.unordered_map_set_too_long
call fcn.1400b43cc
int3
Function at 0x14002e430
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14002e3a5
cvtsi2ss xmm0, rdx
jmp 0x14002e3ba
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400e3fa0
movss xmm1, dword [0x14011bee0]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14002e3e8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14002e3e8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14002e41a
cmp rbx, 0x200
jae 0x14002e417
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14002e41a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14002e430
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002e5dd
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002dfe0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14002e5a6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [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, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14002e520
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14002e595
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14002e55d
mov r10, qword [rdx]
cmp r10, rax
je 0x14002e557
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 0x14002e595
cmp r9, rdx
je 0x14002e571
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14002e5b7
cmp r9, rdx
jne 0x14002e562
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, rbx
jne 0x14002e4d0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
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 0x14002e595
lea rcx, str.invalid_hash_bucket_count
call fcn.1400b43cc
int3
Function at 0x14002f560
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rsi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14002f659
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002f76b
mov rdx, qword [rsp + 0x60]
call fcn.140033460
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x14002f64c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f796
mov rcx, r8
call fcn.1400b61d0
jmp 0x14002f76b
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14002f748
nop
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14002f695
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.14002fbe0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rsp + 0x68]
je 0x14002f6e5
mov eax, dword [rsp + 0x20]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x28], si
add qword [rsp + 0x60], 0x28
jmp 0x14002f6f9
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140033c00
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14002f732
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f72d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f79c
call fcn.1400b61d0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002f670
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
mov rax, rbx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400b5fc0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400c8dbc
nop
call fcn.1400c8dbc
nop
int3
Function at 0x140043ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r15d, byte [rcx + 0x15]
xor r12d, r12d
test r15b, r15b
sete r12b
lea rbx, [rsi + 0x58]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rsi + 0x20]
mov rdi, qword [rax]
cmp rdi, rax
je 0x140043ff4
movabs rbx, 0xcbf29ce484222325
movabs r13, 0x100000001b3
nop dword [rax]
mov rbp, qword [rdi]
mov rax, qword [rdi + 0x38]
cmp byte [rax + 0x58], 0
jne 0x140043fe3
mov r9, qword [rdi + 0x20]
lea r8, [rdi + 0x10]
cmp qword [rdi + 0x28], 7
jbe 0x140043f54
mov r8, qword [rdi + 0x10]
mov rdx, rbx
xor ecx, ecx
add r9, r9
je 0x140043f74
nop
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r13
inc rcx
cmp rcx, r9
jb 0x140043f60
movsxd rcx, dword [rdi + 0x30]
xor rcx, rdx
and rcx, qword [rsi + 0x48]
shl rcx, 4
mov rdx, qword [rsi + 0x30]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x140043faf
cmp rax, rdi
jne 0x140043fa5
mov rax, qword [rsi + 0x20]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140043fb7
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x140043fb7
cmp rax, rdi
jne 0x140043fb7
mov qword [rdx], rbp
mov rcx, qword [rdi]
dec qword [rsi + 0x28]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.140034a60
mov edx, 0x48
mov rcx, rdi
call fcn.1400b61d0
mov rdi, rbp
cmp rbp, qword [rsi + 0x20]
jne 0x140043f30
lea rbx, [rsi + 0x58]
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.140046890
test r15b, r15b
je 0x140044015
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rsi
call fcn.140046890
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rsi + 0x18]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140046100
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.1400e6460
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x1400461ee
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jne 0x1400461ee
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x1400461ee
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x1400461ee
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jne 0x1400461ee
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x1400461f0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400b5fc0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x1400466a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0xb0
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
movsxd r14, r8d
lea rcx, [rsp + 0x60]
call fcn.140047630
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140047cd0
xor ebx, ebx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0xa0], r14d
cmp rdx, 7
jbe 0x140046761
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046752
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046880
call fcn.1400b61d0
movups xmm1, xmmword [rsp + 0x20]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0x80]
mov qword [rsp + 0xe8], rdi
movq rax, xmm1
movq rdi, xmm0
movabs rcx, 0xcbf29ce484222325
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rsi, xmm0
lea r8, [rax + rax]
cmp rsi, 7
cmova rdx, rdi
test r8, r8
je 0x1400467d3
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rbx
xor rcx, rax
imul rcx, r9
cmp rbx, r8
jb 0x1400467c0
mov r9, r14
lea r8, [rsp + 0x80]
xor r9, rcx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140034980
cmp qword [rax + 8], 0
je 0x140046817
lea rdx, [rsp + 0x80]
lea rcx, [rbp + 0x18]
call fcn.140046be0
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x80]
cmp rsi, 7
jbe 0x14004684e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140046846
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004687a
mov rcx, rdi
call fcn.1400b61d0
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b5fc0
add rsp, 0xb0
pop r14
pop rbp
pop rbx
ret
call fcn.1400c8dbc
int3
call fcn.1400c8dbc
int3
Function at 0x140046be0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov rdi, rcx
mov r9, rdx
jbe 0x140046c01
mov r9, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x140046c34
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r10
jb 0x140046c20
movsxd r9, dword [r8 + 0x20]
mov rcx, rdi
xor r9, rdx
lea rdx, [rsp + 0x20]
call fcn.140034980
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140046ccc
mov rdx, qword [rdi + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140046c85
cmp rax, rbx
jne 0x140046c7b
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140046c90
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140046c90
cmp rax, rbx
jne 0x140046c90
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140034a60
mov edx, 0x48
mov rcx, rbx
call fcn.1400b61d0
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140047850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400e6460
mov dword [rsp + 0x58], 0x104
call fcn.140043020
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x1a]
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.140033360
nop
call fcn.14005c8b0
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140047933
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140047920
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140043920
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140047958
cmp rdx, qword [r15 + 8]
je 0x140047958
mov rdi, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x14004799a
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140047992
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a8b
mov rcx, rbx
call fcn.1400b61d0
test rdi, rdi
je 0x1400479b8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
xor edx, edx
call rdi
jmp 0x1400479ca
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400479f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14002fbe0
nop
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140047740
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140047a57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047a52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a85
call fcn.1400b61d0
mov rax, r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b5fc0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400c8dbc
int3
call fcn.1400c8dbc
int3
Function at 0x140049850
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14004987c
jle 0x140049878
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140049891
jle 0x14004988d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400498a4
jle 0x1400498a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400498b9
jle 0x1400498b5
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x140049918
lea rax, [rbx + 0xf8]
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 7
jbe 0x1400498db
mov rax, qword [rax]
mov word [rax], si
cmp byte [rbx + 0x1c], sil
je 0x140049900
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400498f8
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140049907
add rbx, 0x118
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 7
jbe 0x140049915
mov rbx, qword [rbx]
mov word [rbx], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004a830
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.1400e6460
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], gethostname
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14004aa90
mov r12, rax
test rax, rax
je 0x14004aa44
test rdi, rdi
jne 0x14004a9c2
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.1400e6460
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14004a914
mov eax, 0xc0150002
jmp 0x14004aa46
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
setg r14b
test rax, rax
jle 0x14004a9ae
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14b, r14b
je 0x14004a974
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004a990
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.140041c60
nop
jmp 0x14004a9fe
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14004aa46
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
cmp rcx, rdx
je 0x14004a9fe
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14004a9f9
mov rdx, qword [rdx]
call fcn.140041c60
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x14004aa27
test rcx, rcx
jle 0x14004aa20
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14004aa44
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14004aa71
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400b5fc0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14004aa46