joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402ee650
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x1402ee7b5
cmp r8, 8
jb 0x1402ee78d
lea rcx, [r9 - 1]
lea rax, [rdx - 1]
add rcx, r8
add rax, r8
cmp r9, rax
ja 0x1402ee689
cmp rcx, rdx
jae 0x1402ee78d
lea rax, [r8 - 1]
add rax, r11
cmp r9, rax
ja 0x1402ee69e
cmp rcx, r11
jae 0x1402ee78d
mov rcx, r11
mov qword [rsp + 0x10], rbx
sub rcx, rdx
mov qword [rsp], rdi
cmp r8, 0x40
jb 0x1402ee747
mov rbx, r8
mov qword [rsp + 0x18], rsi
and ebx, 0x3f
mov rdi, r8
sub rdi, rbx
mov rsi, r9
lea rax, [rdx + 0x10]
sub rsi, rdx
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r10, rdi
jb 0x1402ee6e0
mov rsi, qword [rsp + 0x18]
cmp rbx, 8
jb 0x1402ee77f
mov rbx, r8
and rbx, 0xfffffffffffffff8
mov rdi, r9
lea rax, [r10 + rdx]
sub rdi, rdx
nop dword [rax + rax]
movq xmm1, qword [rax + rcx]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r10, rbx
jb 0x1402ee760
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r8
jae 0x1402ee7b5
sub r11, rdx
lea rax, [r10 + rdx]
sub r9, rdx
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
mov byte [r9 + rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1402ee7a0
add rsp, 8
ret

Function at 0x1402ee8a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, rdi
ja 0x1402ee8d5
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x1402ee91e
sub rdx, rcx
lea r8, [0x14040b0a0]
add rdx, 4
xor r9d, r9d
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.140232640
test rax, rax
jne 0x1402ee91a
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r12
mov r12, rbx
mov qword [rsp + 0x50], r15
mov r15, rdi
shl r15, 4
sub r12, rdi
nop word [rax + rax]
mov rcx, qword [rbp + 0x58]
mov edx, 1
add rcx, r15
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.1402ee4a0
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x1402ee940
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0x28], rbx
shl rbx, 4
add rbx, qword [rbp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1402f0160
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14043c0c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x100]
mov rbp, r8
mov dword [rsp + 0x20], 0x61707865
mov rsi, rdx
mov dword [rsp + 0x24], 0x3320646e
mov rdi, rcx
mov dword [rsp + 0x28], 0x79622d32
mov dword [rsp + 0x2c], 0x6b206574
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
test r8, r8
je 0x1402f039a
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r14
mov qword [r11 + 0x20], r15
mov r15d, dword [rsp + 0x50]
nop word [rax + rax]
mov ebx, 0x40
lea rdx, [rsp + 0x20]
cmp rbp, rbx
lea rcx, [rsp + 0x70]
cmovb rbx, rbp
call fcn.1402f03c0
xor eax, eax
test rbx, rbx
je 0x1402f036b
cmp rbx, 8
jb 0x1402f0331
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rsp + rbx + 0x6f]
cmp rdi, rcx
ja 0x1402f023f
lea rcx, [rsp + 0x70]
cmp rdx, rcx
jae 0x1402f0331
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x1402f0254
cmp rdx, rsi
jae 0x1402f0331
cmp rbx, 0x40
jb 0x1402f02fc
mov rdx, rbx
mov r8, rbx
and edx, 0x3f
sub r8, rdx
lea r9, [rsp + 0x70]
mov r11, rsi
lea r10, [rsp + 0x80]
sub r9, rdi
sub r10, rdi
lea r14, [rsp + 0x90]
sub r11, rdi
lea rcx, [rdi + 0x10]
sub r14, rdi
movdqu xmm0, xmmword [rcx + r11 - 0x10]
add rax, 0x40
movdqu xmm1, xmmword [r9 + rcx - 0x10]
movdqu xmm2, xmmword [r9 + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + r11 - 0x40]
movdqu xmmword [rcx - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx + r11 - 0x30]
movdqu xmm1, xmmword [r10 + rcx - 0x40]
movdqu xmmword [rcx - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + r11 - 0x20]
movdqu xmm2, xmmword [r14 + rcx - 0x40]
movdqu xmmword [rcx - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x20], xmm2
cmp rax, r8
jb 0x1402f0292
cmp rdx, 8
jb 0x1402f032c
mov rcx, rbx
and rcx, 0xfffffffffffffff8
nop dword [rax]
nop word [rax + rax]
movq xmm1, qword [rsi + rax]
movq xmm0, qword [rsp + rax + 0x70]
xorps xmm1, xmm0
movq qword [rdi + rax], xmm1
add rax, 8
cmp rax, rcx
jb 0x1402f0310
cmp rax, rbx
jae 0x1402f036b
lea rcx, [rsp + 0x70]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rsp + 0x70]
sub r9, rcx
nop word [rax + rax]
lea rdx, [rsp + 0x70]
add rdx, rax
inc rax
movzx ecx, byte [rdx + r8]
xor cl, byte [rdx]
mov byte [rdx + r9], cl
cmp rax, rbx
jb 0x1402f0350
inc r15d
add rdi, rbx
add rsi, rbx
mov dword [rsp + 0x50], r15d
sub rbp, rbx
jne 0x1402f01f0
mov r15, qword [rsp + 0xf8]
mov r14, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140154c90
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402f3020
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rsp + 0x30], 0
je 0x1402f3038
lea rax, [0x1402f1620]
mov qword [rsp + 0x30], rax
jmp fcn.1402e95f0
lea rax, [0x1402f07d0]
mov qword [rsp + 0x30], rax
jmp fcn.1402e9340
Function at 0x1402fade0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, r9
mov rbp, r9
shr rsi, 3
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, r9
jb 0x1402fae90
xor edx, edx
test rsi, rsi
je 0x1402fae80
nop dword [rax]
movzx eax, byte [rbx + 6]
movzx ecx, byte [rbx + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx]
shl rcx, 8
add rbx, 8
or rcx, rax
xor qword [r14 + rdx*8], rcx
inc rdx
cmp rdx, rsi
jb 0x1402fae20
mov rcx, r14
call fcn.1402fa5c0
sub rdi, rbp
cmp rdi, rbp
jae 0x1402fae12
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1402fb120
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1402fb2f5
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x14043c0c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [r11 + 0x10], rbp
mov rbx, rdx
mov qword [r11 + 0x18], rsi
lea rbp, [r8 - 1]
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x10], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [r11 - 0x18], r15
inc rbp
lea r15, [rcx + 0x14]
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0x20], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0x28], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x2c], esi
call fcn.14024b840
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14024b1f0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14027f900
mov rcx, r15
call fcn.14024b840
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14024b1f0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14027f900
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
xor edx, edi
xor edi, dword [rsp + 0x28]
xor ecx, esi
xor esi, dword [rsp + 0x2c]
mov eax, edi
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, ecx
shr eax, 8
mov byte [r14 + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, edx
shr eax, 8
mov byte [r15 + 1], al
mov eax, edx
shr eax, 0x10
mov byte [r14], dil
shr edi, 0x18
mov byte [r14 + 4], cl
shr ecx, 0x18
mov byte [r15], dl
shr edx, 0x18
mov byte [r15 + 3], dl
mov byte [r14 + 3], dil
mov byte [r14 + 7], cl
mov byte [r15 + 2], al
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x1402fb170
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140154c90
add rsp, 0xd0
pop rbx
ret
Function at 0x1403094d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9d, dword [rdx + 8]
mov rsi, rdx
cmp r9d, dword [r8 + 8]
mov rbx, r8
mov rdi, rcx
cmovge rbx, rdx
cmovge rsi, r8
mov edx, dword [rbx + 8]
call fcn.1402374e0
test rax, rax
jne 0x140309515
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
cmp dword [rsi + 8], eax
jle 0x140309543
mov r9d, eax
nop
mov rcx, qword [rbx]
lea r9, [r9 + 8]
mov rdx, qword [rsi]
inc eax
mov r8, qword [r9 + rdx - 8]
xor r8, qword [r9 + rcx - 8]
mov rcx, qword [rdi]
mov qword [r9 + rcx - 8], r8
cmp eax, dword [rsi + 8]
jl 0x140309520
mov ecx, dword [rbx + 8]
cmp eax, ecx
jge 0x14030957d
movsxd rcx, eax
lea r8, [rcx*8]
nop word [rax + rax]
mov rcx, qword [rbx]
lea r8, [r8 + 8]
mov rdx, qword [rdi]
inc eax
mov rcx, qword [r8 + rcx - 8]
mov qword [r8 + rdx - 8], rcx
mov ecx, dword [rbx + 8]
cmp eax, ecx
jl 0x140309560
mov dword [rdi + 8], ecx
mov rcx, rdi
call fcn.1402373a0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1403459c0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xd8
mov rax, qword [0x14043c0c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, qword [rdx + 8]
xor esi, esi
mov r15, qword [rdx + 0x10]
mov rax, r12
sub rax, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rdi, r8
mov r13, rdx
mov ebp, esi
cmp r15, r8
jb 0x140345b96
cmp r8, 0x40
ja 0x140345b96
lea rax, [rsp + 0x40]
mov qword [r11 + 0x10], rbx
neg rax
mov qword [r11 - 0x38], r14
and eax, 0x3f
lea r14, [rsp + 0x40]
add r14, rax
lea rax, [r8 + 0x100]
cmp r15, rax
jbe 0x140345a4e
mov rbp, r15
sub rbp, r8
sub rbp, 0x100
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rbx, rsi
call fcn.140355f10
mov r9, rsi
cmp rbp, r15
jae 0x140345b07
mov r11, qword [r13 + 0x20]
mov r10, qword [rsp + 0x28]
lea r13, [r11 + r12]
nop dword [rax]
lea rdx, [r11 + rbp]
mov rax, rbp
xor rax, r10
mov rcx, rdx
sub rcx, r13
xor rcx, r12
lea r8, [rax - 1]
not rax
shr rax, 0x3f
shr r8, 0x3f
and r8, rax
mov rax, rbp
xor rax, r12
neg r8
or rcx, rax
mov rax, r8
xor rcx, rbp
or rax, rsi
shr rcx, 0x3f
and r8, r9
neg rcx
or rbx, r8
mov rsi, rcx
inc rbp
and rsi, rax
movzx eax, byte [rdx]
and al, sil
or byte [r9 + r14], al
inc r9
mov rcx, r9
mov rax, rdi
sub rcx, rdi
xor rax, r9
xor rcx, rdi
or rcx, rax
xor rcx, r9
shr rcx, 0x3f
neg rcx
and r9, rcx
cmp rbp, r15
jb 0x140345a80
xor esi, esi
test rdi, rdi
je 0x140345b7f
mov r9, qword [rsp + 0x30]
mov rax, rbx
and rax, 0xffffffffffffffdf
movzx r8d, byte [rax + r14]
mov rax, rbx
or rax, 0x20
movzx edx, byte [rax + r14]
mov eax, ebx
and eax, 0x20
inc rbx
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [rsp + 0x28], eax
not eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
and cl, dl
and al, r8b
or al, cl
mov rcx, rbx
sub rcx, rdi
mov byte [r9 + rsi], al
xor rcx, rdi
mov rax, rdi
xor rax, rbx
inc rsi
or rcx, rax
xor rcx, rbx
shr rcx, 0x3f
neg rcx
and rbx, rcx
cmp rsi, rdi
jb 0x140345b11
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x140345b98
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140154c90
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140346b30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x140346bbf
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x140346bc4
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x438]
mov qword [rsp + 0x38], rdi
movzx edi, byte [rdx + rax - 1]
call fcn.140158ca0
mov rcx, rax
call fcn.140240870
mov rdx, qword [rbx + 8]
and eax, 0x200000
je 0x140346bd1
sub rdx, rdi
mov eax, 1
mov rdi, qword [rsp + 0x38]
dec rdx
mov qword [rbx + 8], rdx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
cmp rsi, rdx
jbe 0x140346b73
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov r8, rdx
sub r8, rcx
mov esi, 0x100
xor r8, rcx
mov rax, rdx
xor rax, rcx
or r8, rax
xor r8, rdx
shr r8, 0x3f
dec r8
cmp rdx, rsi
cmovb rsi, rdx
xor r9d, r9d
test rsi, rsi
je 0x140346c5a
mov r10, qword [rbx + 0x20]
mov r11, rdi
shr r11, 0x3f
dec r10
add r10, rdx
nop word [rax + rax]
mov rax, r9
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r9
inc r9
shr rcx, 0x3f
xor cl, al
xor al, r11b
or cl, al
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rdi
and rdx, rcx
not rdx
and r8, rdx
cmp r9, rsi
jb 0x140346c20
lea rax, [rdi + 1]
not r8
mov rdi, qword [rsp + 0x38]
movzx ecx, r8b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x30], ecx
not ecx
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x48]
and ecx, 1
or eax, ecx
add rsp, 0x20
pop rsi
ret
Function at 0x1403532c0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1403532e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401937dc
or eax, 0xffffffff
jmp 0x1403532e2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400058e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x68], rbx
cmp dword [0x140012510], ebx
jne 0x1400059a3
mov eax, dword [0x14001250c]
test eax, eax
jne 0x1400059a3
mov edx, dword [0x140012504]
test edx, edx
je 0x140005943
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14001250c]
mov edx, dword [0x140012504]
test eax, eax
jne 0x1400059a3
test edx, edx
jne 0x140005954
call fcn.1400036c0
test eax, eax
je 0x14000596a
lea rdx, [rsp + 0x68]
mov rcx, qword [0x140010048]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1400059a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140005999
cmp eax, 0x78
je 0x140005999
cmp eax, 1
je 0x140005999
cmp eax, 0x32
je 0x140005999
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [0x14001250c], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x140004490]
mov r8, rdi
mov edx, 0x6d47
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp dword [0x140012510], 0
je 0x1400059da
cmp dword [0x14001250c], 0
jne 0x140005a08
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x1400059ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140005a08
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400035a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140006600], rbx
je 0x1400035ec
cmp rax, rbx
jne 0x1400035df
mov ebx, 1
mov esi, ebx
jmp 0x1400035f1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400035c4
mov ebx, 1
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003607
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000366c
mov eax, dword [0x140006608]
test eax, eax
jne 0x140003666
mov dword [0x140006608], ebx
lea r15, [0x1400043a8]
lea rdi, [0x140004390]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140003658
test eax, eax
jne 0x14000365c
cmp qword [rdi], 0
je 0x14000364d
mov rax, qword [rdi]
mov rcx, qword [0x140004370]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000362e
test eax, eax
je 0x14000366c
mov eax, 0xff
jmp 0x140003748
mov dword [0x140006024], ebx
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003693
lea rdx, [0x140004388]
lea rcx, [0x140004378]
call sub.msvcrt.dll__initterm
mov dword [0x140006608], 2
test esi, esi
jne 0x1400036a0
xor eax, eax
xchg qword [0x140006600], rax
cmp qword [0x140006610], 0
je 0x1400036d4
lea rcx, [0x140006610]
call fcn.140003950
test eax, eax
je 0x1400036d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140006610]
mov r9, qword [0x140004370]
call r9
mov r8, qword [0x140006038]
mov rdx, qword [0x140006030]
mov ecx, dword [0x140006028]
call fcn.140001008
mov dword [0x140006020], eax
cmp dword [0x140006040], 0
jne 0x140003704
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140006024], 0
jne 0x140003719
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140006020]
jmp 0x140003748
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14012d000
add rsp, 0x28
jmp 0x1400035a0

Function at 0x14000383c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003888
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003880
cmp dword [rcx + 0x3c], edx
jl 0x140003880
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140003880
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140003888
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140f4c494
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f4c49e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f4c4c7
pop rbp
sub rbp, 0x33
sub rbp, 0xf4c494
sub rsp, 0x20
jmp 0x140f4c4e6
mov rax, 0xf4c494
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xa014d54
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f4c505
jmp 0x140f4c51c
sbb al, 0xdd
mov ebp, 0x5468dddf
push rsp
push rsp
sbb al, 0xd5
xchg ebp, eax
pop rsp
push rbp
push rsp
push rsp
sbb al, 0x55
mov ebp, 0x5c94931c
push rsp
push rsp
push rsp
sbb al, 0x93
xchg esi, eax
jl 0x140f4c58f
push rsp
push rsp
sbb al, 0xa3
mov dh, 0x1c
push rbp
xchg ebp, eax
invalid
or al, 0xe
invalid
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054a0]
mov dword [rax], 1
mov rax, qword [0x1400054b0]
mov dword [rax], 1
mov rax, qword [0x1400054c0]
mov dword [rax], 1
mov rax, qword [0x140005460]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400017d0
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call sym.__main
lea rax, str.powershell_Start_Process_E:AppdataMariaDB_binmysqld.exe__WindowStyle_Hidden
mov rcx, rax
call sym.system
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001b30
Capabilities:
Write file on windows

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