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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
pxor xmm2, xmm2
xor r9d, r9d
xor r10d, r10d
movdqu xmm3, xmm2
movdqu xmm4, xmm2
xor r11d, r11d
xor ebx, ebx
xor esi, esi
xor edi, edi
xor ebp, ebp
xor r12d, r12d
xor r13d, r13d
xor r14d, r14d
mov rax, rcx
mov qword [rsp + 0x100], r8
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 8], 0
mov qword [rsp + 0xf0], rax
nop word [rax + rax]
mov r15, qword [rsp + 0x100]
add rcx, 1
movdqu xmm0, xmmword [rdx]
xor r15, rcx
pxor xmm0, xmm4
mov rax, r15
sub r15, 1
not rax
and rax, r15
mov r15, qword [rsp + 8]
xor r15, qword [rdx + 0x30]
sar rax, 0x3f
and r15, rax
xor qword [rsp + 8], r15
mov r15, qword [rdx + 0x60]
movq xmm1, rax
punpcklqdq xmm1, xmm1
xor r15, r14
pand xmm0, xmm1
and r15, rax
pxor xmm4, xmm0
movdqu xmm0, xmmword [rdx + 0x10]
xor r14, r15
mov r15, qword [rdx + 0x38]
pxor xmm0, xmm3
xor r15, r13
pand xmm0, xmm1
and r15, rax
pxor xmm3, xmm0
movdqu xmm0, xmmword [rdx + 0x20]
xor r13, r15
mov r15, qword [rdx + 0x68]
pxor xmm0, xmm2
xor r15, r12
pand xmm0, xmm1
and r15, rax
pxor xmm2, xmm0
xor r12, r15
mov r15, qword [rdx + 0x40]
xor r15, rbp
and r15, rax
xor rbp, r15
mov r15, qword [rdx + 0x70]
xor r15, rdi
and r15, rax
xor rdi, r15
mov r15, qword [rdx + 0x48]
xor r15, rsi
and r15, rax
xor rsi, r15
mov r15, qword [rdx + 0x78]
xor r15, rbx
and r15, rax
xor rbx, r15
mov r15, qword [rdx + 0x50]
xor r15, r11
and r15, rax
xor r11, r15
mov r15, qword [rdx + 0x80]
add rdx, 0x90
xor r15, r10
and r15, rax
xor r10, r15
mov r15, qword [rdx - 0x38]
xor r15, r9
and r15, rax
xor r9, r15
mov r15, qword [rdx - 8]
xor r15, r8
and r15, rax
xor r8, r15
cmp rcx, 0x10
jne 0x140308120
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x40], rcx
movdqu xmm5, xmmword [rsp + 0x40]
mov qword [rsp + 0x58], rsi
movups xmmword [rax + 0x20], xmm2
movdqu xmm2, xmmword [rsp + 0x50]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x98], r8
movups xmmword [rax], xmm4
movdqu xmm4, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm3
movdqu xmm3, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm5
movdqu xmm5, xmmword [rsp + 0x80]
movups xmmword [rax + 0x40], xmm2
movdqu xmm2, xmmword [rsp + 0x90]
movups xmmword [rax + 0x50], xmm3
movups xmmword [rax + 0x60], xmm4
movups xmmword [rax + 0x70], xmm5
movups xmmword [rax + 0x80], xmm2
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140308770
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, rcx
mov r10, rdx
test r8, r8
je 0x140308918
lea rax, [r8 - 1]
cmp rax, 0xe
jbe 0x14030891c
mov rcx, r8
xor eax, eax
pxor xmm1, xmm1
and rcx, 0xfffffffffffffff0
nop dword [rax + rax]
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm3, xmmword [r10 + rax]
add rax, 0x10
pxor xmm0, xmm3
por xmm1, xmm0
cmp rcx, rax
jne 0x1403087a0
movdqu xmm0, xmm1
psrldq xmm0, 8
por xmm0, xmm1
movdqu xmm2, xmm0
psrldq xmm2, 4
por xmm0, xmm2
movdqu xmm2, xmm0
psrldq xmm2, 2
por xmm0, xmm2
movdqu xmm2, xmm0
psrldq xmm2, 1
por xmm0, xmm2
movd eax, xmm0
movdqu xmm0, xmm1
psrldq xmm1, 8
por xmm1, xmm0
cmp r8, rcx
je 0x14030890f
mov r11, r8
sub r11, rcx
lea rdx, [r11 - 1]
cmp rdx, 6
jbe 0x140308880
movq xmm0, qword [r9 + rcx]
movq xmm2, qword [r10 + rcx]
pxor xmm0, xmm2
por xmm0, xmm1
movq rdx, xmm0
mov rax, rdx
mov rbx, rdx
or al, dh
shr rbx, 0x10
or eax, ebx
mov rbx, rdx
shr rbx, 0x18
or eax, ebx
mov rbx, rdx
shr rbx, 0x20
or eax, ebx
mov rbx, rdx
shr rbx, 0x28
or eax, ebx
mov rbx, rdx
shr rdx, 0x38
shr rbx, 0x30
or eax, ebx
or eax, edx
mov rdx, r11
and rdx, 0xfffffffffffffff8
add rcx, rdx
and r11d, 7
je 0x14030890f
movzx edx, byte [r9 + rcx]
xor dl, byte [r10 + rcx]
or eax, edx
lea rdx, [rcx + 1]
cmp rdx, r8
jae 0x14030890f
movzx edx, byte [r10 + rcx + 1]
xor dl, byte [r9 + rcx + 1]
or eax, edx
lea rdx, [rcx + 2]
cmp rdx, r8
jae 0x14030890f
movzx edx, byte [r9 + rcx + 2]
xor dl, byte [r10 + rcx + 2]
or eax, edx
lea rdx, [rcx + 3]
cmp rdx, r8
jae 0x14030890f
movzx edx, byte [r9 + rcx + 3]
xor dl, byte [r10 + rcx + 3]
or eax, edx
lea rdx, [rcx + 4]
cmp rdx, r8
jae 0x14030890f
movzx edx, byte [r9 + rcx + 4]
xor dl, byte [r10 + rcx + 4]
or eax, edx
lea rdx, [rcx + 5]
cmp rdx, r8
jae 0x14030890f
movzx edx, byte [r9 + rcx + 5]
xor dl, byte [r10 + rcx + 5]
or eax, edx
lea rdx, [rcx + 6]
cmp rdx, r8
jae 0x14030890f
movzx edx, byte [r9 + rcx + 6]
xor dl, byte [r10 + rcx + 6]
or eax, edx
movzx eax, al
pop rbx
ret
xor eax, eax
pop rbx
ret
pxor xmm1, xmm1
xor ecx, ecx
xor eax, eax
jmp 0x14030880b

Function at 0x14030ad00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14030ad40
lea r10, [rcx + rdx*8]
mov r8, 0xffffffffffffffff
mov rdx, qword [rcx]
mov r9, r8
add rcx, 8
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r8
and rax, r9
xor r8, rax
cmp r10, rcx
jne 0x14030ad10
mov rax, r8
ret
mov r8, 0xffffffffffffffff
mov rax, r8
ret

Function at 0x14030ad50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
mov r11, rcx
mov rbx, rdx
test r8, r8
je 0x14030ada0
xor ecx, ecx
mov r9, 0xffffffffffffffff
nop dword [rax]
mov rdx, qword [rbx + rcx*8]
xor rdx, qword [r11 + rcx*8]
mov r10, r9
add rcx, 1
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r9
and rax, r10
xor r9, rax
cmp r8, rcx
jne 0x14030ad68
mov rax, r9
pop rbx
ret
mov r9, 0xffffffffffffffff
mov rax, r9
pop rbx
ret
Function at 0x14030adb0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14030ae10
xor rdx, qword [rcx]
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
cmp r8, 1
je 0x14030ae20
lea r11, [rcx + r8*8]
lea r9, [rcx + 8]
mov r8, 0xffffffffffffffff
nop
mov rcx, qword [r9]
mov r10, r8
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, r8
and rdx, r10
xor r8, rdx
cmp r11, r9
jne 0x14030ade0
and rax, r8
ret
lea rax, [rdx - 1]
not rdx
and rax, rdx
sar rax, 0x3f
ret
mov r8, 0xffffffffffffffff
jmp 0x14030ae09

Function at 0x14030ae80
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov r9, rdx
xor edx, edx
cmp rax, r9
sbb rdx, 0
mov r10, rdx
and r10d, 1
sub r10, 1
mov rax, r10
not r10
sar rax, 0x3f
cmp r8, 1
je 0x14030aeec
lea r9, [rcx + 8]
lea r11, [rcx + r8*8]
mov rax, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [r9]
mov r8, rax
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, rax
and rdx, r8
xor rax, rdx
cmp r11, r9
jne 0x14030aec0
xor rax, r10
mov rdx, r10
and rax, rdx
xor rax, r10
ret

Function at 0x14030afc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
mov rbp, rdx
mov rbx, r8
mov rsi, r9
test r8b, 7
je 0x14030afe8
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
test r8, r8
je 0x14030b05b
lea rdi, [r8*8]
xor edx, edx
mov r8, rdi
call sub.msvcrt.dll_memset
mov r8, rbp
xor r9d, r9d
mov r11, rax
nop dword [rax + rax]
mov rax, rsi
xor rax, r9
mov rdx, rax
sub rax, 1
not rdx
and rdx, rax
xor eax, eax
sar rdx, 0x3f
nop dword [rax]
mov r10, qword [r11 + rax*8]
mov rcx, qword [r8 + rax*8]
xor rcx, r10
and rcx, rdx
xor rcx, r10
mov qword [r11 + rax*8], rcx
add rax, 1
cmp rbx, rax
jne 0x14030b030
add r9, 1
add r8, rdi
cmp r9, 0x20
jne 0x14030b010
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14030d180
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov r13, rcx
mov rbp, r8
test rbx, rbx
je 0x14030d2d0
cmp rbx, rdx
jne 0x14030d2d0
lea rdx, [rbx + rbx]
xor eax, eax
cmp rdx, r9
jne 0x14030d2bd
mov rax, qword [rsp + 0xa0]
mov r15, r8
xor r14d, r14d
xor esi, esi
mov r12, qword [rax]
nop word [rax + rax]
mov r8, qword [r15]
mov rcx, r15
mov rdx, rdi
mov r9, rbx
imul r8, r12
call sym.ring_core_0_17_8_limbs_mul_add_limb
mov rcx, qword [r15 + rbx*8]
xor edx, edx
add rax, rsi
add rax, rcx
cmp rcx, rax
mov qword [r15 + rbx*8], rax
setne dl
or rdx, rsi
xor esi, esi
cmp rcx, rax
setae sil
add r14, 1
add r15, 8
and rsi, rdx
cmp r14, rbx
jb 0x14030d1e0
lea rcx, [rbp + rbx*8]
mov r8, qword [rdi]
mov rax, qword [rcx]
mov rdx, rax
sub rdx, r8
mov qword [r13], rdx
xor edx, edx
cmp rax, r8
sbb rdx, 0
and edx, 1
cmp rbx, 1
je 0x14030d282
mov eax, 1
nop dword [rax + rax]
mov r8, qword [rcx + rax*8]
xor r9d, r9d
sub r8, qword [rdi + rax*8]
sbb r9, 0
sub r8, rdx
sbb r9, 0
mov qword [r13 + rax*8], r8
add rax, 1
mov rdx, r9
and edx, 1
cmp rbx, rax
jne 0x14030d258
xor eax, eax
sub rsi, rdx
nop word [rax + rax]
mov r8, qword [r13 + rax*8]
mov rdx, qword [rcx + rax*8]
xor rdx, r8
and rdx, rsi
xor rdx, r8
mov qword [r13 + rax*8], rdx
mov qword [rcx + rax*8], 0
add rax, 1
cmp rax, rbx
jb 0x14030d290
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14030d2bd

Function at 0x14030d2e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 0x40
xor eax, eax
mov r8d, 1
movabs rbx, 0x8000000000000000
nop dword [rax]
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r9, r11
add rax, rdx
xor r9, r8
and r8, r11
shr r9, 1
add r8, r9
sub r10, 1
jne 0x14030d300
pop rbx
ret
Function at 0x1403172a0
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x14092b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14092b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14092b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092b06f
add dl, dl
jne 0x14092b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092b0f6
xor eax, eax
add dl, dl
jne 0x14092b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092b1ad
add dl, dl
jne 0x14092b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14092b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14092b07e
mov eax, 1
add dl, dl
jne 0x14092b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092b0fb
sub eax, ebx
mov ebx, 1
jne 0x14092b14c
mov ecx, 1
add dl, dl
jne 0x14092b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14092b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14092b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14092b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092b15d
cmp eax, 0x7d00
jae 0x14092b19b
cmp eax, 0x500
jb 0x14092b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092b07e
cmp eax, 0x7f
ja 0x14092b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14092b1d2
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 0x14092b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14003ca00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003ca05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ca35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003ca22
sub eax, 3
jb 0x14003ca4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ca86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ca76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ca74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ca63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c9c2
jmp 0x14003ca0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003cad2
cmp rsi, rcx
jae 0x14003cada
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003cab9
cmp al, 0x8f
ja 0x14003cab9
cmp byte [rsi - 2], 0xf
je 0x14003cabf
sub al, 0xe8
cmp al, 1
ja 0x14003caa3
cmp rsi, rcx
jae 0x14003cada
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003caa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003cada
lodsb al, byte [rsi]
jmp 0x14003cab9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003cb43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40f1c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003cae7
jns 0x14003cb1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003cb26
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003cb3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003cb07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003cb9b
sub rsp, 0xffffffffffffff80
jmp 0x1400242ac
Function at 0x14003eba0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14004bcc8], rbx
je 0x14003ec07
cmp rax, rbx
jne 0x14003ebfa
mov ebx, 1
mov esi, ebx
jmp 0x14003ec0c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14003ebdf
mov ebx, 1
mov eax, dword [0x14004bcd0]
cmp eax, ebx
jne 0x14003ec24
mov edi, 0x1f
mov ecx, edi
call fcn.1401be000
jmp 0x14003ec90
mov eax, dword [0x14004bcd0]
test eax, eax
jne 0x14003ec85
mov dword [0x14004bcd0], ebx
lea r15, [0x140042308]
lea rdi, [0x1400422f0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14003ec77
test eax, eax
jne 0x14003ec7b
cmp qword [rdi], r14
je 0x14003ec6c
mov rax, qword [rdi]
mov rcx, qword [0x1400422b0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14003ec4e
test eax, eax
je 0x14003ec8b
mov eax, 0xff
jmp 0x14003ede6
mov dword [0x14004b284], ebx
mov edi, 0x1f
mov eax, dword [0x14004bcd0]
cmp eax, ebx
jne 0x14003ecb7
lea rdx, [0x1400422e8]
lea rcx, [0x1400422b8]
call sub.msvcrt.dll__initterm
mov dword [0x14004bcd0], 2
test esi, esi
jne 0x14003ecc5
mov rax, r14
xchg qword [0x14004bcc8], rax
cmp qword [0x14004bce8], r14
je 0x14003ecf8
lea rcx, [0x14004bce8]
call fcn.14003f1f0
test eax, eax
je 0x14003ecf8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14004bce8]
mov r9, qword [0x1400422b0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003ed11
mov eax, 0xff
jmp 0x14003ede6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14003ed97
test ax, ax
je 0x14003ed2c
test edx, edx
jne 0x14003ed97
sub ax, bx
cmp ax, di
ja 0x14003ed42
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14003ed2c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400020b4
mov dword [0x14004b280], eax
cmp dword [0x14004b2a0], r14d
jne 0x14003ed80
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14004b284], r14d
jne 0x14003ed95
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14004b280]
jmp 0x14003ede6
cmp ax, 0x22
jne 0x14003edab
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14003ed1a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14003f284
add rsp, 0x28
jmp 0x14003eba0
Function at 0x1400080b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140312cf0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
mov qword [rbp - 0x21], rsi
movdqa xmm0, xmmword [0x1402c79f0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], si
lea rcx, [rbp - 0x21]
call fcn.1400638d8
mov ebx, eax
test eax, eax
js 0x14000812b
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
je 0x140008117
mov ebx, esi
jmp 0x14000812b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov qword [rbp - 0x41], rsi
movdqa xmm0, xmmword [0x1402c79f0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], si
test ebx, ebx
js 0x140008258
lea rdx, [rbp - 0x41]
mov cl, 1
call fcn.14006550c
mov ebx, eax
test eax, eax
js 0x140008258
mov r8d, SafeArrayGetElement
lea rdx, str.FileSyncHelperlogs
lea rcx, [rbp - 0x41]
call fcn.140009f8c
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rdx, qword [rbp - 0x41]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rax, qword [rbp - 0x41]
xor r9d, r9d
mov byte [rsp + 0x48], sil
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], sil
xor r8d, r8d
lea rsi, str.FileSyncHelper
mov rdx, rsi
mov rcx, rsi
call fcn.140020228
mov ebx, eax
lea rax, [0x1402c5ca4]
mov qword [rbp + 0x37], rax
mov dword [rbp + 0x2f], 3
mov dword [rbp + 0x3f], ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x7df240a5
lea rax, [0x1402c6568]
mov qword [rsp + 0x20], rax
lea r9, str.InitializeLogging
mov r8d, reloc.OLEAUT32.dll_RegisterTypeLib
lea rdx, str.D:dbs_shodct0702_230403_1cmd_sclientonedriveProductElevatedHelperServerexewinmain.cpp
lea rcx, [rbp - 1]
call fcn.14001f4fc
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 1]
call fcn.140020760
call fcn.140020378
mov rdx, rsi
lea rcx, str.App_Name
call fcn.1400204f4
nop
lea rcx, [rbp - 0x41]
call fcn.140009f28
nop
lea rcx, [rbp - 0x21]
call fcn.140009f28
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b5dd0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000eb40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140312cf0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ebx, r8d
mov rdi, rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x14000eb8d
mov rax, qword [rcx + 8]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r9
lock inc dword [r9 + 0xc]
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xa33e3cf3
lea rax, [0x1402c6568]
mov qword [rsp + 0x20], rax
lea r9, str.VaultMounter::WatchCaller
mov r8d, QISearch
lea rdx, str.D:dbs_shodct0702_230403_1cmdiclientonedriveProductElevatedHelperServerServiceVaultMounter.cpp
lea rcx, [rbp + 0x1f]
call fcn.14001f4fc
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.140020760
call fcn.140020378
mov ecx, 0x28
call fcn.1400b5df0
mov dword [rax], ebx
mov qword [rax + 8], rdi
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x14000ec1a
mov rcx, qword [rbp - 9]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
lock inc dword [rbx + 0xc]
mov rbx, qword [rbp - 1]
lea rcx, [0x14000e7c0]
mov qword [rax + 0x20], rcx
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140019130]
xor edx, edx
xor ecx, ecx
call fcn.1400cce54
mov qword [rbp + 7], rax
test rax, rax
je 0x14000ecc7
cmp dword [rbp + 0xf], 0
je 0x14000ecd6
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140096acc
test eax, eax
jne 0x14000ecbf
xorps xmm0, xmm0
movaps xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp + 7], xmm0
test rbx, rbx
je 0x14000ec9e
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000ec9e
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004973d.0]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b5dd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, eax
call fcn.140092358
nop
and dword [rbp + 0xf], 0
mov ecx, 6
call fcn.140092394
nop
mov ecx, 1
call fcn.140092394
int3
Function at 0x14001fb84
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140312cf0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
lea r9, [rsp + 0x40]
mov rbx, rcx
xor ebp, ebp
mov edx, 0x8000
mov qword [rsp + 0x40], rbp
lea rcx, [0x140286988]
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
js 0x14001fcb7
mov rdx, qword [rsp + 0x40]
lea r8, str.MicrosoftOneDrivelogs
lea rcx, [rsp + 0x20]
call fcn.140024090
mov rdi, rax
cmp rbx, rax
je 0x14001fc12
mov rcx, rbx
call fcn.140009f28
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rcx, [rsp + 0x20]
call fcn.140009f28
cmp qword [rsi + 0x10], rbp
je 0x14001fc7d
cmp qword [rsi + 0x18], 8
jb 0x14001fc2c
mov rsi, qword [rsi]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x14001fc39
mov rdx, qword [rbx]
mov r8, rsi
lea rcx, [rsp + 0x20]
call fcn.140024090
mov rdi, rax
cmp rbx, rax
je 0x14001fc73
mov rcx, rbx
call fcn.140009f28
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rcx, [rsp + 0x20]
call fcn.140009f28
cmp qword [rbx + 0x18], 8
jb 0x14001fc87
mov rbx, qword [rbx]
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14001fcaa
cmp eax, 0x50
je 0x14001fcaa
mov edi, 0x80004005
cmp eax, 0xb7
jne 0x14001fcac
mov edi, ebp
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b5dd0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret