joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4665e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404643
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409e40
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404620
cmp byte [0x005d3a0d], 0
je 0x4665f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x463840
jmp 0x404620

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a29e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
call fcn.0040a360
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x005d3d20]
movabs rcx, 0xe7037ed1a0b428db
xor rax, rcx
movabs rcx, 0xa0761d6478bd642f
xor rbx, rcx
call fcn.0040a340
mov rbx, rax
movabs rax, 0x1d8e4e27c47d124b
call fcn.0040a340
add rsp, 0x10
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a240
cmp byte [0x005d3a0d], 0
je 0x466635
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005d3fe0]
aesenc xmm0, xmmword [0x005d3ff0]
aesenc xmm0, xmmword [0x005d4000]
movq rax, xmm0
ret
jmp 0x40a240

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a31e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
call fcn.0040a3a0
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x005d3d20]
movabs rcx, 0xe7037ed1a0b428db
xor rax, rcx
movabs rcx, 0xa0761d6478bd642f
xor rbx, rcx
call fcn.0040a340
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
call fcn.0040a340
add rsp, 0x10
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a2c0
cmp byte [0x005d3a0d], 0
je 0x466676
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005d3fe0]
aesenc xmm0, xmmword [0x005d3ff0]
aesenc xmm0, xmmword [0x005d4000]
movq rax, xmm0
ret
jmp 0x40a2c0

Function at 0x4681e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x468214
mov rcx, 0x28
jmp 0x46821f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005d3c50], rcx
pop rbp
ret
Function at 0x479000
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
xor edx, edx
jmp 0x479018
movzx esi, byte [rbx + rdx]
imul eax, eax, 0x1000193
inc rdx
xor eax, esi
cmp rcx, rdx
jg 0x479009
ret

Function at 0x47f720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47f7ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00404500
xorps xmm15, xmm15
mov r14, qword [0x005d3c50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47f7cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004bfbe0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044cde0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047ff20
inc rbx
cmp rcx, rbx
jae 0x47f7be
mov edi, 1
lea rsi, [0x004bfbe0]
call fcn.0044cea0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004ef798]
lea rsi, [0x004eee18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047f720
Function at 0x48fde0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49000f
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x48fe20
dec rbx
mov r10, rbx
neg r10
sar r10, 0x3f
and r10d, 1
add rax, r10
mov rcx, r9
nop dword [rax + rax]
test rbx, rbx
je 0x48fff0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x48ff53
cmp r9b, 0x22
je 0x48fe62
cmp r9b, 0x5c
jne 0x48ff65
lea r9, [rcx + 1]
nop
jmp 0x48fe04
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [rcx + r8]
sar r9, 1
mov rax, rdi
mov rbx, rdx
mov rcx, rsi
mov rdi, r9
call fcn.0048fd40
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x48ff0a
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x48fefb
mov r8, qword [rsp + 0x50]
nop
cmp r8, 1
jle 0x48fef1
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x48fee9
inc rbx
cmp rcx, rbx
jae 0x48feda
mov edi, 1
lea rsi, [0x004bfaa0]
call fcn.0044cea0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r8 - 1]
lea r8, [r9 + 1]
jmp 0x48ff05
mov rsi, r8
mov r8, r9
jmp 0x48ff05
mov rsi, r8
mov r8, qword [rsp + 0x58]
jmp 0x48ff05
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor edx, 1
jmp 0x48ff39
inc rbx
cmp rcx, rbx
jae 0x48ff25
mov edi, 1
lea rsi, [0x004bfaa0]
nop
call fcn.0044cea0
mov byte [rbx + rax - 1], 0x22
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, r8
mov r8d, edx
mov rdx, rbx
mov rbx, rsi
mov rsi, rcx
jmp 0x48fe04
cmp r9b, 9
je 0x48ff60
cmp r9b, 0x20
jne 0x48ff65
nop
test r8b, r8b
je 0x48ffbb
mov rax, rdi
mov rbx, rdx
mov rdi, rcx
mov rcx, rsi
call fcn.0048fd40
inc rbx
cmp rcx, rbx
jae 0x48ff8f
mov edi, 1
lea rsi, [0x004bfaa0]
call fcn.0044cea0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rsi, rcx
mov rdx, rbx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
jmp 0x48fe04
mov rax, rdi
mov rbx, rdx
mov rdi, rcx
mov rcx, rsi
call fcn.0048fd40
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rdx + r8]
add rsp, 0x60
pop rbp
ret
mov rax, rdi
mov rbx, rdx
mov rdi, rcx
mov rcx, rsi
nop dword [rax]
call fcn.0048fd40
xor edi, edi
xor esi, esi
add rsp, 0x60
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048fde0
Function at 0x499b40
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x499bab
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x499b64
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x499b81
cmp rdx, 0
je 0x499bcd
test rdx, 0xf
je 0x499b5d
test rdx, 7
jne 0x499b81
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x499b5d
ret
Function at 0x49c540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49c646
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], r9
call fcn.0049af40
mov rax, qword [rsp + 0x68]
nop
cmp rax, 0x10
jl 0x49c631
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jl 0x49c61e
mov rax, qword [rsp + 0x48]
mov ebx, 0x10
mov rcx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, rbx
mov r8, qword [rsp + 0x70]
call fcn.004998e0
test al, al
jne 0x49c60b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
shr rax, 2
dec rax
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
call fcn.0049c880
xorps xmm15, xmm15
mov r14, qword [0x005d3c50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x30
pop rbp
ret
lea rax, [0x004bf760]
lea rbx, [0x004ef3c0]
call fcn.00439e00
lea rax, [0x004bf760]
lea rbx, [0x004ef3b0]
call fcn.00439e00
lea rax, [0x004bf760]
lea rbx, [0x004ef3a0]
nop
call fcn.00439e00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.00464800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.0049c540

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

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x49c8bf
jb 0x49c8d4
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x49c940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x49ca14
jb 0x49ca73
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0049c820
aeskeygenassist xmm1, xmm0, 1
call fcn.0049c840
aeskeygenassist xmm1, xmm2, 2
call fcn.0049c820
aeskeygenassist xmm1, xmm0, 2
call fcn.0049c840
aeskeygenassist xmm1, xmm2, 4
call fcn.0049c820
aeskeygenassist xmm1, xmm0, 4
call fcn.0049c840
aeskeygenassist xmm1, xmm2, 8
call fcn.0049c820
aeskeygenassist xmm1, xmm0, 8
call fcn.0049c840
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0049c820
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0049c840
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0049c820
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0049c840
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0049c820
jmp 0x49cae1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0049c780
aeskeygenassist xmm1, xmm2, 2
call fcn.0049c7e0
aeskeygenassist xmm1, xmm2, 4
call fcn.0049c780
aeskeygenassist xmm1, xmm2, 8
call fcn.0049c7e0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0049c780
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0049c7e0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0049c780
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0049c7e0
jmp 0x49cae1
aeskeygenassist xmm1, xmm0, 1
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 2
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 4
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 8
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0049c740
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0049c740
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x49caee
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x49cc20
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x004eef60]
movdqu xmm14, xmmword [0x004eef70]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x49cd0b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x49cd0b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x49cd70
ret
Function at 0x4a3b40
Capabilities:
Hash data using fnv

Disassembly:
movzx ecx, bl
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
ret

Function at 0x4a3b60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
xor edx, edx
jmp 0x4a3b81
movzx esi, byte [rbx + rdx]
xor rax, rsi
inc rdx
movabs rsi, 0x100000001b3
imul rax, rsi
cmp rcx, rdx
jg 0x4a3b69
ret

Function at 0x4a3ba0
Capabilities:
Hash data using fnv

Disassembly:
xor ecx, ecx
jmp 0x4a3bc0
movzx edx, bl
xor rax, rdx
inc rcx
shr rbx, 8
movabs rdx, 0x100000001b3
imul rax, rdx
nop
cmp rcx, 8
jl 0x4a3ba4
ret

Function at 0x4a3be0
Capabilities:
Hash data using fnv

Disassembly:
xor ecx, ecx
jmp 0x4a3c00
movzx edx, bl
xor rax, rdx
inc rcx
shr ebx, 8
movabs rdx, 0x100000001b3
imul rax, rdx
nop
cmp rcx, 4
jl 0x4a3be4
ret

Function at 0xca6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xca61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xca6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xca606f
add dl, dl
jne 0xca6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xca60f6
xor eax, eax
add dl, dl
jne 0xca60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xca61ad
add dl, dl
jne 0xca60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xca60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xca607e
mov eax, 1
add dl, dl
jne 0xca6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xca60fb
sub eax, ebx
mov ebx, 1
jne 0xca614c
mov ecx, 1
add dl, dl
jne 0xca612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xca613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xca6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xca607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xca6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xca6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xca615d
cmp eax, 0x7d00
jae 0xca619b
cmp eax, 0x500
jb 0xca6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xca607e
cmp eax, 0x7f
ja 0xca619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xca607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xca61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xca607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001640
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14000165f
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140001674
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000168e
and eax, 0x410
cmp eax, 0x410
je 0x14000169d
lea rdx, [0x1400011d0]
mov rcx, rbx
call fcn.1400012c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x1400016c0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [0x140027058], ebx
mov ecx, eax
jne 0x140001722
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140001715
lea rdx, str.RemoveDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [rbx + 2]
test rax, rax
jne 0x14000171a
mov ecx, 1
mov eax, ecx
xchg dword [0x140027058], eax
cmp ecx, 1
jne 0x1400018b0
mov qword [rsp + 0x260], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x268], rsi
xor edx, edx
mov qword [rsp + 0x270], rdi
mov r8d, 0x208
mov qword [rsp + 0x248], r14
mov qword [rsp + 0x240], r15
call fcn.140007670
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400018ac
cmp word [rsp + 0x20], bx
je 0x1400018ac
mov ebp, ebx
lea rax, [rsp + 0x20]
mov rsi, rbx
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x1400017a0
mov r15d, 0x5c
test rdi, rdi
je 0x1400017d3
movzx eax, word [rsp + rdi*2 + 0x1e]
mov rbx, rdi
cmp r15w, ax
je 0x1400017d3
mov ecx, 0x2f
cmp cx, ax
je 0x1400017d3
lea ebp, [rcx - 0x2e]
lea rbx, [rdi + 1]
add rbx, 0xc
je 0x1400018ac
lea rbx, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x1400018ac
test rdi, rdi
je 0x140001821
lea r8, [rdi + rdi]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140009d10
mov rsi, rdi
test ebp, ebp
je 0x14000182d
mov word [r14 + rsi*2], r15w
inc rsi
movups xmm0, xmmword [str.Wtsapi32.dll]
mov rcx, r14
movups xmmword [r14 + rsi*2], xmm0
movsd xmm1, qword [0x140020988]
movsd qword [r14 + rsi*2 + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rbx
mov r14, qword [rsp + 0x248]
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x268]
mov rbp, qword [rsp + 0x260]
mov r15, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400059d0
add rsp, 0x250
pop rbx
ret
xor eax, eax
jmp 0x14000186b
xor edx, edx
lea rcx, str.Wtsapi32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140001893
Function at 0x1400021b0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push rbx
sub rsp, 0x30
mov ecx, dword [0x140025a00]
mov ebx, 0x80000000
lea eax, [rcx + rbx]
test ebx, eax
jne 0x1400021f5
cmp ecx, 0x80010106
je 0x1400021f5
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x140025a00], eax
lea ecx, [rax + rbx]
test ebx, ecx
jne 0x1400021f5
cmp eax, 0x80010106
jne 0x140002287
cmp qword [0x140026ff0], 0
jne 0x140002233
xor edx, edx
lea rax, [0x140026ff0]
lea r9, [0x140020d80]
mov qword [rsp + 0x20], rax
lea rcx, [0x140020e30]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000223e
cmp qword [0x140026ff0], 0
je 0x140002262
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov rcx, qword [0x140026ff0]
test rcx, rcx
je 0x140002262
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400183c0]
mov qword [0x140026ff0], 0
mov ecx, dword [0x140025a00]
lea eax, [rcx + rbx]
test ebx, eax
jne 0x140002277
cmp ecx, 0x80010106
jne 0x140002287
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [0x140025a00], 0x80004005
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140002bd0
Capabilities:
Check if file exists
Create directory
Delete directory
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x240
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140007670
xor ebp, ebp
lea rdx, [rsp + 0x20]
xor r9d, r9d
xor ecx, ecx
mov ebx, ebp
lea r8d, [rbp + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140002d9d
lea rdx, str.Zoom_bin
lea rcx, [rsp + 0x20]
call fcn.1400049f0
mov rdi, rax
test rax, rax
je 0x140002d9d
lea rdx, str.Zoom.exe
mov qword [rsp + 0x250], rsi
mov rcx, rax
call fcn.1400049f0
mov rsi, rax
test rax, rax
je 0x140002d1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002d1c
test al, 0x10
jne 0x140002d1c
mov rcx, rsi
call fcn.140005580
test eax, eax
je 0x140002d1c
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.temp
mov rcx, rdi
call fcn.1400049f0
mov rbx, rax
test rax, rax
je 0x140002d1c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140002cf8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002ce0
and eax, 0x410
cmp eax, 0x410
je 0x140002cef
lea rdx, [0x1400011d0]
mov rcx, rbx
call fcn.1400012c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002d12
mov rcx, rbx
call fcn.14000c8c4
mov rbx, rbp
mov rcx, rdi
call fcn.14000c8c4
jmp 0x140002d29
mov rcx, rdi
call fcn.14000c8c4
test rsi, rsi
je 0x140002d31
mov rcx, rsi
call fcn.14000c8c4
mov rsi, qword [rsp + 0x250]
test rbx, rbx
je 0x140002d9d
mov rcx, qword [0x140027008]
test rcx, rcx
je 0x140002d90
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x140002d51
cmp rax, 4
jb 0x140002d90
lea rcx, [rcx + rax*2]
mov r8d, 4
add rcx, 0xfffffffffffffff8
lea rdx, str..msi
call fcn.14000c480
test eax, eax
jne 0x140002d90
lea rdx, str.temp.msi
mov rcx, rbx
call fcn.1400049f0
mov rbp, rax
mov rcx, rbx
call fcn.14000c8c4
mov rax, rbp
jmp 0x140002d9f
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400059d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret