joyce8/EMBER2024-capa huggingface dataset:
Function at 0x133f0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
sub rsp, 0x70
mov rdi, rcx
call fcn.000122d0
lea rcx, [0x0001a978]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
and qword [0x0001a3b0], 0
lea rcx, [0x0001a978]
mov dl, al
mov byte [0x0001a3b8], 0
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
call fcn.00013068
lea rcx, [0x0001a1d8]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rbx, qword [0x0001a1c8]
lea rbp, [0x0001a1c8]
mov sil, al
jmp 0x134b2
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
movzx eax, word [rbx + 0x88]
mov r9, qword [rbx + 0x80]
mov rcx, qword [0x0001ad18]
mov dword [rsp + 0x30], 0x90000
mov word [rsp + 0x28], ax
mov eax, dword [rbx + 0x8c]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call sub.fwpkclnt.sys_FwpsStreamInjectAsync0
mov rbx, qword [rbx]
cmp rbx, rbp
jne 0x13461
lea rcx, [0x0001a1d8]
mov dl, sil
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
call fcn.00011460
lea r11, [rsp + 0x60]
lea rax, [rsp + 0x60]
lea rcx, [0x0001a1e8]
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x60], rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rbx, qword [0x0001a1f0]
mov bpl, al
lea r13, [0x0001a1f0]
jmp 0x13588
lea rcx, [rbx + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
lea r8, [rbx + 0x60]
mov r11b, al
jmp 0x1353f
mov rdx, qword [r8]
mov rcx, qword [rdx]
mov qword [r8], rcx
mov qword [rcx + 8], r8
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
mov qword [rdx + 8], rax
mov qword [rdx], rcx
mov qword [rax], rdx
mov qword [rsp + 0x68], rdx
cmp qword [r8], r8
jne 0x13519
lea r8, [rbx + 0x70]
jmp 0x13570
mov rdx, qword [r8]
lea rcx, [rsp + 0x60]
mov rax, qword [rdx]
mov qword [r8], rax
mov qword [rax + 8], r8
mov rax, qword [rsp + 0x68]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov qword [rsp + 0x68], rdx
cmp qword [r8], r8
jne 0x1354a
lea rcx, [rbx + 0xa8]
mov dl, r11b
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov rbx, qword [rbx]
cmp rbx, r13
jne 0x13503
lea rcx, [0x0001a1e8]
mov dl, bpl
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
jmp 0x135b9
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rax + 8], rdx
call fcn.0001216c
mov rcx, qword [rsp + 0x60]
lea r11, [rsp + 0x60]
cmp rcx, r11
jne 0x135a3
lea rcx, [0x0001aaa0]
call fcn.00012bdc
lea rcx, [0x0001a500]
call fcn.00012bdc
and dword [rdi + 0x30], 0
and qword [rdi + 0x38], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea r11, [rsp + 0x70]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret
Function at 0x1408c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 8]
mov rbx, rdx
test rcx, rcx
jne 0x140af
mov ebx, 0xc000000d
jmp 0x14184
test byte [rcx + 0xa], 5
je 0x140bb
mov rax, qword [rcx + 0x18]
jmp 0x140d7
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
test rax, rax
je 0x14177
cmp dword [rbx + 8], 8
jb 0x14177
lea rcx, [0x0001a978]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov r11b, al
lea rax, [0x00014024]
xchg qword [rdi + 0x68], rax
cmp byte [rdi + 0x44], 0
je 0x1411d
xor eax, eax
xchg qword [rdi + 0x68], rax
test rax, rax
je 0x1411d
mov ebx, 0xc0000120
jmp 0x14153
mov rax, qword [rdi + 0xb8]
lea rdx, [rdi + 0xa8]
lea r8, [0x0001ab40]
or byte [rax + 3], 1
mov rax, qword [0x0001ab48]
mov qword [rdx], r8
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov ebx, 0x103
mov qword [0x0001ab48], rdx
lea rcx, [0x0001a978]
mov dl, r11b
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
lea rcx, [0x0001a520]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueDpc]
jmp 0x1417c
mov ebx, 0xc000009a
cmp ebx, 0x103
je 0x14197
and qword [rdi + 0x38], 0
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], ebx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x16030
Capabilities:
Register network filter via wfp api

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x1a0
mov rax, qword [0x0001a100]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x58]
call fcn.00018340
mov rcx, qword [0x0001ad38]
and dword [rsp + 0x80], 0
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmm0, xmmword [rdi]
lea r11, [0x000188c0]
lea r12, [0x00018900]
lea rdx, [rsp + 0x60]
movdqu xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r12
xor r9d, r9d
movdqu xmm1, xmmword [rsp + 0x20]
xor r8d, r8d
movdqu xmmword [rsp + 0x70], xmm1
call sub.fwpkclnt.sys_FwpmCalloutAdd0
test eax, eax
js 0x1618b
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0xc8
call fcn.00018340
and dword [rsp + 0x120], 0
lea rax, [rsp + 0x30]
movdqu xmm0, xmmword [rbx]
movdqu xmm5, xmmword [rdi]
mov ebx, 1
lea rcx, [rsp + 0x30]
xor edx, edx
movdqu xmmword [rsp + 0x144], xmm0
movdqu xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x100], xmm5
lea r8d, [rbx + 0x27]
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r12
mov dword [rsp + 0x140], 0x5003
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x130], ebx
movdqu xmmword [rsp + 0x110], xmm0
call fcn.00018340
mov rcx, qword [0x0001ad38]
and dword [rsp + 0x40], 0
movdqu xmm5, xmmword [0x00019390]
movdqu xmmword [rsp + 0x30], xmm5
lea rdx, [rsp + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x48], ebx
mov byte [rsp + 0x50], 6
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.00018060
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1a0
pop r12
pop rdi
pop rsi
ret

Function at 0x161b8
Capabilities:
Register network filter via wfp api

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x170
mov rax, qword [0x0001a100]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x58]
call fcn.00018340
mov rcx, qword [0x0001ad38]
and dword [rsp + 0x50], 0
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rsp + 0x30], xmm0
movdqu xmm0, xmmword [rdi]
lea r11, [0x00018940]
lea r12, [0x00018970]
lea rdx, [rsp + 0x30]
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r12
xor r9d, r9d
movdqu xmm1, xmmword [rsp + 0x20]
xor r8d, r8d
movdqu xmmword [rsp + 0x40], xmm1
call sub.fwpkclnt.sys_FwpmCalloutAdd0
test eax, eax
js 0x162d9
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0xc8
call fcn.00018340
mov rcx, qword [0x0001ad38]
and qword [rsp + 0x108], 0
movdqu xmm5, xmmword [rdi]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rsi]
and dword [rsp + 0xf0], 0
and dword [rsp + 0x100], 0
lea rdx, [rsp + 0x90]
xor r9d, r9d
xor r8d, r8d
movdqu xmmword [rsp + 0xd0], xmm5
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0x110], 0x5003
movdqu xmmword [rsp + 0x114], xmm0
movdqu xmmword [rsp + 0xe0], xmm1
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.00018060
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop r12
pop rdi
pop rsi
ret
Function at 0x1c064
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.0001c008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.00011164
Function at 0x140008840
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx]
test eax, eax
je 0x1400088ac
mov qword [rsp + 0x20], rbx
cmp eax, 0x11
jle 0x140008885
cmp eax, 0x13
jle 0x1400088a7
cmp eax, 0x1e
je 0x140008863
cmp eax, 0x1f
jne 0x140008885
lea rbx, [rcx + 8]
test rbx, rbx
je 0x1400088a7
mov rcx, qword [rbx]
call fcn.1401be23c
mov qword [rbx], 0
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.....libgfflibjxrlibJXRGlueJxr.c
lea rcx, str.FALSE
mov r8d, 0xc2
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.1401ebaa4
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140021250
Capabilities:
Get common file path

Disassembly:
push rbx
push r14
sub rsp, 0x148
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r14d, r14d
mov rbx, rcx
cmp dword [rcx + 0x9c], r14d
jne 0x14002128d
mov eax, dword [rcx + 0x40cc]
add eax, dword [rcx + 0xc8]
mov eax, r14d
je 0x140021292
mov eax, 1
mov dword [rcx + 0x85c0], eax
call fcn.14000def0
test eax, eax
je 0x1400212a9
or eax, 0xffffffff
jmp 0x1400214d9
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rsi
mov rsi, qword [rbx + 0xb8]
mov qword [rsp + 0x140], rdi
mov rdi, qword [rbx + 0x8648]
mov rcx, rsi
lea rdx, [rdi + 0x28]
call qword [rsi + 0x50]
lea rax, [rdi - 0x2000]
mov qword [rdi + 4], r14
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov dword [rdi + 0xc], 0xffffdfff
mov qword [rdi + 0x20], rsi
mov rax, qword [rbx + 0x86a0]
test rax, rax
je 0x1400214bf
lea rdi, [rax*8]
mov rcx, rdi
call fcn.1401bee78
mov qword [rbx + 0x8b48], rax
test rax, rax
je 0x1400214f4
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1401c0040
mov rax, qword [rbx + 0xa0]
imul rax, qword [rbx + 0x86e0]
imul rax, qword [rbx + 0x86e8]
cmp rax, 0x4000000
jb 0x140021383
mov rdi, qword [rbx + 0x86a0]
shl rdi, 3
mov rcx, rdi
call fcn.1401bee78
mov qword [rbx + 0x8b50], rax
test rax, rax
je 0x1400214f4
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1401c0040
mov rbp, r14
cmp qword [rbx + 0x86a0], r14
jbe 0x1400214bf
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0xa0]
lea rdi, [rbp*8]
imul rax, qword [rbx + 0x86e0]
imul rax, qword [rbx + 0x86e8]
cmp rax, 0x4000000
jb 0x14002145a
mov ecx, 0x104
call fcn.1401bee78
mov rcx, qword [rbx + 0x8b50]
mov qword [rdi + rcx], rax
mov rax, qword [rbx + 0x8b50]
mov rsi, qword [rdi + rax]
test rsi, rsi
je 0x1400214f4
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400214f4
cmp eax, 0x104
jae 0x1400214f4
mov r9, qword [rbx + 0x8b50]
lea rdx, [0x1402693e4]
lea rcx, [rsp + 0x20]
mov r9, qword [rdi + r9]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1400214f4
mov rcx, qword [rbx + 0x8b48]
lea r8, [0x1402693e8]
mov rdx, rsi
add rcx, rdi
call fcn.14000d750
jmp 0x140021469
mov rcx, qword [rbx + 0x8b48]
add rcx, rdi
call fcn.14000db00
test eax, eax
jne 0x1400214f4
mov rax, qword [rbx + 0x8b48]
mov rsi, qword [rdi + rax]
mov rax, qword [rbx + 0x8698]
mov rdi, qword [rdi + rax]
mov rcx, rsi
lea rdx, [rdi + 0x28]
call qword [rsi + 0x50]
lea rax, [rdi - 0x2000]
inc rbp
mov qword [rdi + 4], r14
mov dword [rdi + 0xc], 0xffffdfff
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
cmp rbp, qword [rbx + 0x86a0]
jb 0x1400213a0
xor eax, eax
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x148
pop r14
pop rbx
ret
or eax, 0xffffffff
jmp 0x1400214c1
Function at 0x140042510
Capabilities:
Encode data using xor

Disassembly:
mov r10d, r8d
mov eax, r8d
movzx edx, dl
sar r10d, 0x18
sar eax, 0x10
xor r10b, al
mov eax, r8d
sar eax, 8
xor r10b, al
xor r10b, r8b
lea r8, [0x140000000]
movzx r11d, byte [rdx + r8 + 0x29be10]
movzx eax, r10b
movsxd r10, r9d
movzx r8d, byte [rax + r8 + 0x29bf10]
test r9d, r9d
jle 0x140042574
movzx eax, r11b
add al, al
lea edx, [rax + r11]
shl dl, 5
add r8b, dl
add dl, r11b
lea rcx, [rcx + 1]
xor byte [rcx - 1], r8b
dec r10
jne 0x140042561
ret
Function at 0x140045f00
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [rcx]
mov r15d, 1
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x28]
lea edx, [r15 + 7]
mov r8d, r15d
call fcn.1401c1e14
test rax, rax
jne 0x140045f48
lea eax, [r15 + 3]
jmp 0x1400460e2
cmp byte [rsp + 0x28], 0x89
jne 0x14004610e
cmp byte [rsp + 0x29], 0x50
jne 0x14004610e
cmp byte [rsp + 0x2a], 0x4e
jne 0x14004610e
cmp byte [rsp + 0x2b], 0x47
jne 0x14004610e
cmp byte [rsp + 0x2c], 0xd
jne 0x14004610e
cmp byte [rsp + 0x2d], 0xa
jne 0x14004610e
cmp byte [rsp + 0x2e], 0x1a
jne 0x14004610e
cmp byte [rsp + 0x2f], 0xa
jne 0x14004610e
mov rcx, qword [rsi]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x40], rbp
call fcn.1401c1a94
test eax, eax
jne 0x14004610a
lea r14d, [rax + 4]
mov rcx, rsi
call fcn.140066b70
mov r9, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8, r15
mov rdx, r14
movsxd rbp, eax
call fcn.1401c1e14
mov ebx, dword [rsp + 0x20]
cmp ebx, dword [str.IEND]
je 0x1400460fa
mov ecx, dword [rdi]
mov edx, dword [rdi + 4]
inc ecx
cmp ecx, edx
jl 0x140046039
mov rcx, qword [rdi + 8]
add edx, 0x10
mov dword [rdi + 4], edx
movsxd rax, edx
test rcx, rcx
jne 0x14004601b
lea rcx, [rax + rax*2]
shl rcx, 3
call fcn.1401bee78
jmp 0x14004602c
lea rdx, [rax + rax*2]
shl rdx, 3
call fcn.1401bef30
mov ebx, dword [rsp + 0x20]
mov qword [rdi + 8], rax
test rax, rax
je 0x1400460d1
movsxd rax, dword [rdi]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8], ebx
movsxd rax, dword [rdi]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 4], ebp
test ebp, ebp
jle 0x1400460a4
mov rcx, rbp
call fcn.1401bee78
movsxd rcx, dword [rdi]
lea r8, [rcx + rcx*2]
mov rcx, qword [rdi + 8]
mov qword [rcx + r8*8 + 8], rax
movsxd rax, dword [rdi]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rcx*8 + 8]
test rcx, rcx
je 0x140046097
mov r9, qword [rsi]
mov r8, r15
mov rdx, rbp
call fcn.1401c1e14
jmp 0x1400460a4
mov rcx, qword [rsi]
mov r8d, r15d
mov edx, ebp
call fcn.1401c1f88
mov rcx, rsi
call fcn.140066b70
movsxd rcx, dword [rdi]
lea rdx, [rcx + rcx*2]
mov rcx, qword [rdi + 8]
mov dword [rcx + rdx*8 + 0x10], eax
inc dword [rdi]
mov rcx, qword [rsi]
call fcn.1401c1a94
test eax, eax
je 0x140045fc1
xor eax, eax
jmp 0x1400460d5
movzx eax, r15w
mov rbx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
mov r8d, r15d
mov edx, 0xfffffff8
call fcn.1401c1f88
xor eax, eax
jmp 0x1400460d5
mov eax, 2
jmp 0x1400460e2
Function at 0x140046120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rdi, r9
mov r9, qword [rcx]
mov rbx, rcx
mov esi, r8d
mov rbp, rdx
mov r14d, 2
lea rcx, [rsp + 0x80]
mov r8d, 1
mov edx, r14d
call fcn.1401c1e14
test rax, rax
jne 0x14004616b
lea eax, [r14 + 2]
jmp 0x140046239
movzx ecx, word [rsp + 0x80]
mov qword [rsp + 0x88], r15
mov r15d, 0x4d4d
cmp cx, r15w
je 0x140046191
mov edx, 0x4949
cmp cx, dx
jne 0x1400461c8
mov r9, qword [rbx]
lea rcx, [rsp + 0x50]
mov r8d, 1
mov rdx, r14
call fcn.1401c1e14
test rax, rax
jne 0x1400461b3
mov eax, 4
jmp 0x140046231
movzx eax, word [rsp + 0x50]
mov ecx, 0x2a00
cmp ax, cx
je 0x1400461ce
cmp ax, 0x2a
je 0x1400461ce
movzx eax, r14w
jmp 0x140046231
cmp word [rsp + 0x80], r15w
lea rcx, [fcn.140066b70]
lea rax, [fcn.140066b20]
cmove rax, rcx
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0xa8]
xor r9d, r9d
cmp word [rsp + 0x80], r15w
mov qword [rsp + 0x40], rcx
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x38], ecx
sete r9b
mov qword [rsp + 0x30], rdi
mov rcx, rbx
mov r8d, eax
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbp
call fcn.1400456d0
mov r15, qword [rsp + 0x88]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140046e70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, qword [rcx]
mov r15, rdx
mov edx, 8
mov rdi, r8
mov r14, rcx
lea r8d, [rdx - 7]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x474e5089
mov dword [rsp + 0x24], 0xa1a0a0d
call fcn.1401c24f8
test rax, rax
jne 0x140046ec7
mov eax, 6
jmp 0x140047012
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x38], rbp
xor ebp, ebp
mov qword [rsp + 0x30], rsi
mov esi, ebp
cmp dword [rdi], ebp
jle 0x140046f84
mov ebx, ebp
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 8]
mov rdx, r14
mov ecx, dword [rbx + rax + 4]
call fcn.140067100
mov r9, qword [r14]
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov edx, 4
lea rcx, [rax + rcx*8]
lea r8d, [rdx - 3]
call fcn.1401c24f8
test rax, rax
je 0x140047029
mov rax, qword [rdi + 8]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x140046f53
movsxd rdx, dword [rbx + rax + 4]
mov r9, qword [r14]
mov r8d, 1
call fcn.1401c24f8
test rax, rax
je 0x140047029
mov rax, qword [rdi + 8]
mov rdx, r14
mov ecx, dword [rbx + rax + 0x10]
call fcn.140067100
mov rax, qword [rdi + 8]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x140046f76
call fcn.1401be23c
inc esi
add rbx, 0x18
cmp esi, dword [rdi]
jl 0x140046ef0
mov rcx, qword [rdi + 8]
call fcn.1401be23c
mov ecx, 0xfa00
call fcn.1401bee78
mov rcx, qword [r15]
mov rdi, rax
call fcn.1401c1a94
test eax, eax
jne 0x140046ff8
nop word [rax + rax]
mov r9, qword [r15]
mov edx, 1
mov r8d, 0xfa00
mov rcx, rdi
call fcn.1401c1e14
mov rbx, rax
test eax, eax
je 0x140046fe4
mov r9, qword [r14]
movsxd r8, eax
mov edx, 1
mov rcx, rdi
call fcn.1401c24f8
cmp ebx, eax
jne 0x140047029
cmp ebx, 0xfa00
jne 0x140046ff8
mov rcx, qword [r15]
call fcn.1401c1a94
test eax, eax
je 0x140046fb0
mov rcx, rdi
call fcn.1401be23c
movzx eax, bp
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov eax, 6
jmp 0x140047003
Function at 0x140047030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r12, r9
mov rdi, r8
mov r14d, edx
mov rbp, rcx
mov dword [rsp + 0x20], 0x33323130
mov dword [rsp + 0x24], 0x37363534
mov dword [rsp + 0x28], 0x62613938
mov dword [rsp + 0x2c], 0x66656463
or rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [r8 + rsi], 0
jne 0x140047080
lea ecx, [rdx + 0xa]
mov eax, edx
sar eax, 5
add eax, esi
lea ecx, [rax + rcx*2]
movsxd rcx, ecx
call fcn.1401bee78
mov r15, rax
lea rbx, [rax + 1]
mov byte [rax], 0xa
mov rdx, rbx
sub rdx, rdi
nop
movzx ecx, byte [rdi]
lea rdi, [rdi + 1]
mov byte [rdx + rdi - 1], cl
test cl, cl
jne 0x1400470b0
movsxd rax, esi
lea rdx, str._8lu
mov r8d, r14d
add rbx, rax
lea rcx, [rbx + 1]
mov byte [rbx], 0xa
call fcn.1401bea4c
add rbx, 9
xor r8d, r8d
test r14d, r14d
jle 0x14004713b
nop word [rax + rax]
mov eax, 0x38e38e39
mul r8d
shr edx, 3
lea ecx, [rdx + rdx*8]
shl ecx, 2
cmp r8d, ecx
jne 0x14004710c
mov byte [rbx], 0xa
inc rbx
movzx eax, byte [rbp]
inc r8d
add rbx, 2
shr rax, 4
inc rbp
movzx eax, byte [rsp + rax + 0x20]
mov byte [rbx - 2], al
movsx rax, byte [rbp - 1]
and eax, 0xf
movzx eax, byte [rsp + rax + 0x20]
mov byte [rbx - 1], al
cmp r8d, r14d
jl 0x1400470f0
mov byte [rbx], 0xa
inc rbx
mov rax, r15
mov byte [rbx], 0
sub ebx, r15d
mov dword [r12], ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004a030
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rsi, rdx
mov r11, rcx
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14004a050
movups xmm0, xmmword [0x14029cbb0]
mov ecx, dword [0x14029cbc0]
xor r10d, r10d
lea rbp, [0x1402aabc8]
mov dword [0x1402aabd8], ecx
mov r9d, r10d
movups xmmword [0x1402aabc8], xmm0
test eax, eax
je 0x14004a0b9
mov rbx, r11
mov edi, eax
nop dword [rax]
movzx r8d, byte [rbx]
mov edx, r9d
inc r9d
movzx ecx, byte [rdx + rbp]
lea rbx, [rbx + 1]
xor cl, r8b
cmp r9d, 5
mov byte [rbx - 1], cl
cmove r9d, r10d
mov byte [rdx + rbp], r8b
dec rdi
jne 0x14004a090
mov ebx, r10d
mov edi, r10d
test eax, eax
je 0x14004a101
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
sub ecx, edi
dec ecx
mov r8d, ecx
movzx r9d, byte [rcx + r11]
lea ecx, [rbx + 5]
inc ebx
mov edx, ecx
movzx ecx, byte [rcx + rbp]
xor cl, r9b
cmp ebx, 5
cmove ebx, r10d
inc edi
mov byte [r8 + r11], cl
mov byte [rdx + rbp], r9b
cmp edi, eax
jb 0x14004a0d0
mov r9d, r10d
test eax, eax
je 0x14004a13c
mov rbx, r11
mov edi, eax
nop dword [rax]
movzx r8d, byte [rbx]
lea ecx, [r9 + 0xa]
inc r9d
mov edx, ecx
movzx ecx, byte [rcx + rbp]
lea rbx, [rbx + 1]
xor cl, r8b
cmp r9d, 5
mov byte [rbx - 1], cl
cmove r9d, r10d
mov byte [rdx + rbp], r8b
dec rdi
jne 0x14004a110
mov ebx, r10d
mov edi, r10d
test eax, eax
je 0x14004a181
nop word [rax + rax]
mov ecx, eax
sub ecx, edi
dec ecx
mov r8d, ecx
movzx r9d, byte [rcx + r11]
lea ecx, [rbx + 0xf]
inc ebx
mov edx, ecx
movzx ecx, byte [rcx + rbp]
xor cl, r9b
cmp ebx, 5
cmove ebx, r10d
inc edi
mov byte [r8 + r11], cl
mov byte [rdx + rbp], r9b
cmp edi, eax
jb 0x14004a150
xor ecx, ecx
mov dword [rsi], ecx
test eax, eax
je 0x14004a1ad
mov edx, eax
nop dword [rax + rax]
mov rax, r10
inc r10
lea r11, [r11 + 1]
and eax, 3
lea rcx, [rax + rsi]
movzx eax, byte [r11 - 1]
add byte [rcx], al
dec rdx
jne 0x14004a190
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x14004a1d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14004a214
call qword [sym.imp.USER32.dll_EmptyClipboard]
xor edx, edx
mov rcx, rbx
call fcn.140047470
test rax, rax
je 0x14004a208
mov rdx, rax
mov ecx, 8
call qword [sym.imp.USER32.dll_SetClipboardData]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x20
pop rbx
ret
Function at 0x14004aac0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rdx
mov rdi, rcx
mov ebx, 1
nop
lea rdx, str._s__d_s
lea rcx, [rsp + 0x30]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call fcn.1401bea4c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14004ab26
inc ebx
cmp ebx, 0x3e7
jl 0x14004aaf0
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x30]
sub rdi, rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rdi + rax - 1], cl
test cl, cl
jne 0x14004ab40
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401bd600
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret