joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002dfc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0xc8]
mov rbx, rcx
mov r13, rdx
mov r12d, r9d
mov r15, r8
mov edx, dword [rax + 0xf8]
mov ecx, dword [rax + 0x108]
call qword [rbx + 0x18]
mov rbp, qword [rsp + 0x88]
mov r8d, 4
mov rcx, rax
mov rdi, rax
lea rdx, [rbp + 0x104]
call fcn.140003eec
mov rcx, rdi
call fcn.140003e6c
movzx ecx, byte [rbp + 0x12c]
mov edx, eax
add rdx, rdi
mov byte [rdx], cl
movzx ecx, byte [rbp + 0x12d]
mov byte [rdx + 1], cl
mov rcx, rdi
movzx eax, byte [rbp + 0x12e]
mov byte [rdx + 2], al
movzx eax, byte [rbp + 0x12f]
mov byte [rdx + 3], al
mov byte [rdi + 8], 0x25
call fcn.140003e6c
movsxd rsi, eax
mov rcx, rdi
inc rsi
add rsi, rdi
call fcn.140003e6c
test eax, eax
je 0x140002ed1
mov ecx, eax
lea r8, [rcx + rdi]
lea r9, [rsi + rcx*2]
nop dword [rax]
movsx edx, byte [r8]
lea r8, [r8 - 1]
mov word [r9], dx
lea r9, [r9 - 2]
add eax, 0xffffffff
jne 0x140002ebc
mov edx, eax
mov r8d, 0x104
mov rcx, rsi
movsx eax, byte [rdx + rdi]
mov word [rsi + rdx*2], ax
mov rdx, r15
call qword [rbx + 0x68]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + 0xf8]
mov ecx, dword [rax + 0x108]
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0xc8]
mov r14, rax
mov edx, dword [rcx + 0xf8]
mov ecx, dword [rcx + 0x108]
call qword [rbx + 0x18]
mov r9d, dword [rbp + 0xd8]
lea r8, [rsp + 0x78]
mov rdx, rax
mov qword [rsp + 0x20], rbp
mov rcx, r13
mov rsi, rax
call fcn.14000353c
mov rdx, rsi
mov rcx, r15
call fcn.14000429c
xor edx, edx
mov rcx, r15
call qword [rbx + 0x10]
xor r12d, dword [rbp + 0xd8]
lea r8, [rsp + 0x78]
mov r9d, r12d
mov dword [rsp + 0x78], 0
mov rdx, r14
mov qword [rsp + 0x20], rbp
mov rcx, r13
call fcn.14000353c
mov rdx, r14
mov rcx, r15
call fcn.14000429c
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x78]
mov dword [rcx], eax
mov rcx, rdi
call qword [rbx + 0x48]
test r14, r14
je 0x140002f9c
mov rcx, r14
call qword [rbx + 0x48]
test rsi, rsi
je 0x140002fa7
mov rcx, rsi
call qword [rbx + 0x48]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140002fcc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx + 0xc8]
mov rdi, rcx
mov rbx, rdx
mov r12, r9
mov r13, r8
mov edx, dword [rax + 0xf8]
mov ecx, dword [rax + 0x108]
call qword [rdi + 0x18]
mov r9, qword [rsp + 0xa8]
xor esi, esi
mov r15, rax
mov qword [rsp + 0x28], r9
mov r9d, dword [rsp + 0xa0]
lea rax, [rsp + 0x80]
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov dword [rsp + 0x80], esi
mov rcx, rdi
call fcn.140002dfc
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r15
call qword [rdi + 0xc0]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000308d
xor edx, edx
mov rcx, rax
call qword [rdi + 0x28]
mov ebp, eax
test eax, eax
jne 0x1400030ad
mov rcx, rsi
call qword [rdi + 0x60]
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rdi + 0xc8]
mov rdx, rbp
mov rbx, rbp
mov ecx, dword [rax + 0x108]
call qword [rdi + 0x18]
lea r9, [rsp + 0x40]
mov r8d, ebp
mov r14, rax
mov rcx, rsi
xor eax, eax
mov rdx, r14
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
test eax, eax
je 0x14000308a
call qword [rdi + 0x60]
mov ecx, dword [rsp + 0x80]
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x80], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x81], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x82], al
xor eax, eax
mov byte [rsp + 0x83], cl
test ebp, ebp
je 0x14000314c
mov r8, r14
nop dword [rax + rax]
movzx edx, byte [rsp + rax + 0x80]
lea ecx, [rax + 1]
xor byte [r8], dl
lea r8, [r8 + 1]
xor eax, eax
cmp ecx, 4
cmovne eax, ecx
sub rbx, 1
jne 0x14000312c
mov dword [r12], ebp
mov qword [r13], r14
test r15, r15
je 0x14000315f
mov rcx, r15
call qword [rdi + 0x48]
mov al, 1
jmp 0x14000308f
Function at 0x140003bbc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x230
movsxd rax, dword [rcx + 0x3c]
mov r13, r8
mov r15d, edx
mov rbp, rcx
mov r9d, dword [rax + rcx + 0x88]
mov esi, dword [r9 + rcx + 0x20]
mov r14d, dword [r9 + rcx + 0x1c]
add rsi, rcx
mov edi, dword [r9 + rcx + 0x24]
add r14, rcx
add rdi, rcx
mov ebx, dword [rsi]
add rbx, rcx
cmp byte [rbx], 0
je 0x140003cc9
nop dword [rax]
mov edx, 0x208
lea rcx, [rsp + 0x20]
call fcn.14000411c
mov rcx, rbx
call fcn.140003e6c
test eax, eax
je 0x140003c60
mov ecx, eax
lea r8, [rsp + 0x20]
lea rdx, [rcx + rbx]
lea r8, [r8 + rcx*2]
nop word [rax + rax]
movsx ecx, byte [rdx]
lea rdx, [rdx - 1]
mov word [r8], cx
lea r8, [r8 - 2]
add eax, 0xffffffff
jne 0x140003c4c
mov ecx, eax
movsx eax, byte [rcx + rbx]
mov word [rsp + rcx*2 + 0x20], ax
lea rcx, [rsp + 0x20]
call fcn.140003eac
xor edx, edx
test eax, eax
je 0x140003ca3
mov r10d, dword [r13 + 0x30]
lea r8, [rsp + 0x20]
mov r9d, eax
nop dword [rax + rax]
mov ecx, r10d
lea r8, [r8 + 2]
imul ecx, edx
movzx edx, word [r8 - 2]
add edx, ecx
sub r9, 1
jne 0x140003c8c
movzx eax, word [rdi]
mov eax, dword [r14 + rax*4]
add rax, rbp
cmp r15d, edx
je 0x140003ccb
mov ebx, dword [rsi + 4]
add rsi, 4
add rbx, rbp
add rdi, 2
cmp byte [rbx], 0
jne 0x140003c1c
xor eax, eax
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x1400482c0
Capabilities:
Check mutex on windows

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx], 0
mov qword [rcx + 8], 0
lea r8, str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi + 8], rax
test rax, rax
je 0x140048300
mov rcx, rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete byte [rsi]
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140049f90
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x140049fcf
test r15, r15
je 0x14004a0bd
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14004a019
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.1401a42f0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x140049fad
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14004a0e9
lea rcx, [r12*8]
call fcn.1401a1068
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14004a08d
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x14004a0bd
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14004a075
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x140049fad
mov rcx, r14
call fcn.1401a10a4
mov r15, qword [rsi + 0x10]
jmp 0x140049fad
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401e44d0
call fcn.1401e23e0
int3
Function at 0x14004ae10
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, qword [rcx]
mov rbx, qword [rcx + 8]
cmp rbx, rdi
je 0x14004ae77
add rbx, 0xffffffffffffffd0
jmp 0x14004ae57
mov rcx, qword [rbx]
call fcn.1401a10a4
lea rax, [rbx - 0x30]
cmp rbx, rdi
mov rbx, rax
je 0x14004ae77
test rbx, rbx
je 0x14004b00b
cmp byte [rbx + 0x2f], 0
jns 0x14004ae6f
mov rcx, qword [rbx + 0x18]
call fcn.1401a10a4
cmp byte [rbx + 0x17], 0
jns 0x14004ae4b
jmp 0x14004ae43
mov qword [rsi + 8], rdi
movaps xmm0, xmmword [0x14032ae20]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, rdi
mov rdx, 0xffffffff80000002
mov r9d, 1
call fcn.140074850
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x14004af73
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov edx, 1
mov rcx, rbx
call fcn.140137ca0
mov dword [rsp + 0x3c], 0xaaaaaaaa
mov rax, qword [rbx]
cmp qword [rbx + 8], rax
je 0x14004b055
lea r14, [rsp + 0x5c]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x14004af6c
cmp eax, 0xea
jne 0x14004afc0
mov ebx, 0x8000ffff
cmp dword [rsp + 0x3c], 7
jne 0x14004afce
mov edx, dword [rsp + 0x5c]
test dl, 1
jne 0x14004afce
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r8, rcx
sub r8, rax
cmp r8, rdx
jb 0x14004af7a
jbe 0x14004af91
add rdx, rax
mov qword [rsp + 0x48], rdx
mov rcx, rdx
jmp 0x14004af91
mov ebx, 0x80070002
jmp 0x14004afce
mov ebx, 0x80070002
jmp 0x14004afe2
sub rdx, r8
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.140137ca0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
cmp rcx, rax
je 0x14004b055
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14004b037
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004afe2
mov qword [rsp + 0x48], rcx
call fcn.1401a10a4
lea rcx, [rsp + 0x60]
call fcn.140074930
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401a2850
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1401e44d0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
je 0x14004b055
mov r8, rsi
call fcn.1401e5bb0
mov ebx, eax
jmp 0x14004afce
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5b5
call fcn.1401e44d0
int3
Function at 0x1400620b0
Capabilities:
Get session information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x1400621b4
lea r9, [rsp + 0x40]
mov qword [r9], 0
lea rcx, [rsp + 0x3c]
mov dword [rcx], 0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, eax
mov r8d, 0x18
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x1400621b4
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x40]
movabs rax, 0xfffffffc00000000
and rax, rdi
cmp rax, qword [0x1403ab988]
jne 0x14006213d
mov rcx, rdi
call fcn.1401335d0
mov ecx, 0x30
call fcn.1401a1068
mov rbx, rax
lea rdx, [0x140063400]
lea r8, [0x1400458f0]
mov rcx, rax
call fcn.140152440
lea rax, [0x1402f7480]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rdi
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
lea rcx, [rsp + 0x30]
call fcn.140152570
cmp dword [rsp + 0x3c], 0xd7
jbe 0x1400621a1
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0xc8]
mov rcx, rsi
call fcn.140075200
jmp 0x1400621a8
mov qword [rsi], 0
lea rcx, [rsp + 0x30]
call fcn.1401525a0
jmp 0x1400621bb
mov qword [rsi], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401a2850
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140063880
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400638be
call fcn.140151db0
cmp qword [rsi], r14
je 0x1400638f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400639a8
cmp r15, 2
jb 0x1400638e9
mov qword [rsi], r14
call fcn.140151db0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi + 8], 0xffffffffffffffff
lea r14, [rsi + 0x10]
xor eax, eax
mov qword [rsp + 0x28], rax
mov r15, qword [rdi]
mov qword [rdi], rax
cmp r15, 0xffffffffffffffff
je 0x14006391a
test r15, r15
je 0x14006393e
call fcn.140151db0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140063936
mov qword [rsp + 0x28], r15
call fcn.140151db0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140257160
mov rax, qword [rbx]
inc rax
cmp rax, 2
jb 0x14006396b
call fcn.140151db0
mov rcx, qword [rbx]
call fcn.14013ea60
mov qword [rbx], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x14006398b
call fcn.140151db0
mov rcx, qword [rdi]
call fcn.14013ea60
mov qword [rdi], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401a2850
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140151db0
mov rcx, qword [rsi]
call fcn.14013ea60
mov qword [rsi], 0
jmp 0x1400638db
Function at 0x14006ff90
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140328538]
mov qword [rcx], rax
add rcx, 8
call fcn.14013f560
lea rcx, [rsi + 0x10]
call fcn.14013f560
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14013f560
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x14037355c]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1400c4200
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140038260
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [reloc.OLEAUT32.dll_SysReAllocString], edx
je 0x14007018b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14015eef0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400701af
call fcn.140072a00
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140072ab0
mov qword [0x1403b0eb8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [reloc.OLEAUT32.dll_VariantClear], edx
jne 0x1400701c2
test dword [0x140373568], edx
jne 0x1400701d0
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.1400c3fe0
jmp 0x14007014c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1403d6008]
jmp 0x140070159
cmp rax, 0x40
mov eax, 0x100
jmp 0x140070143
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x1400701a4
Function at 0x140071a50
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x140071a80
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140071ab7
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14013e440
lea rax, [rdx - 1]
test rdx, rax
jne 0x140071a8e
mov rdi, rdx
jmp 0x140071a65
mov rcx, rdx
call fcn.1401394d0
mov rdi, rax
jmp 0x140071a65
mov rcx, rdx
call fcn.1401394d0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x140071a6e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x140071aaf
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140071ad9
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140071ade
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1401c15b0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1403151b8]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x140071a9b
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x140071a9b
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x140071aa3

Function at 0x1400742c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140074370
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebp, ebp
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x1400743e3
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a2850
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x90]
mov qword [rax], 0
mov r9d, esi
or r9d, 8
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x1400743b5
mov ebp, eax
test eax, eax
jne 0x1400743b5
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14032ae20]
movaps xmmword [r14], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1401e2280
movzx eax, byte [r14 + 0x17]
test al, al
js 0x140074451
and eax, 0x7f
jmp 0x140074456
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14007446f
lea rcx, [rsp + 0x70]
call fcn.140208780
cmp word [rax], 0x5c
jne 0x14007459c
movzx r15d, byte [rsp + 0x87]
test r15b, r15b
js 0x140074483
and r15d, 0x7f
jmp 0x140074488
mov r15, qword [rsp + 0x78]
xorps xmm6, xmm6
lea r12, [rsp + 0x50]
movaps xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
lea r13, [rsp + 0x4c]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1400744df
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.14005c6a0
cmp byte [rsp + 0x87], 0
mov rdx, r14
jns 0x1400744d0
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
mov r8d, esi
call fcn.140074370
test eax, eax
jne 0x14007454c
mov dword [rsp + 0x4c], 0x104
mov edx, 0x104
mov rcx, r12
call fcn.140075f60
mov rcx, qword [rsp + 0x90]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
xor edx, edx
mov r8, rax
mov r9, r13
call rbp
test eax, eax
jne 0x14007454c
mov edx, dword [rsp + 0x4c]
mov rcx, r12
xor r8d, r8d
call fcn.14013c8a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14013c8a0
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
js 0x1400744ac
and r8d, 0x7f
mov rdx, r12
jmp 0x1400744b6
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
cmp byte [rsp + 0x67], 0
jns 0x14007457f
mov rcx, qword [rsp + 0x50]
call fcn.1401a10a4
cmp byte [rsp + 0x87], 0
jns 0x1400743b5
mov rcx, qword [rsp + 0x70]
call fcn.1401a10a4
jmp 0x1400743b5
lea rcx, [rsp + 0x70]
mov dx, 0x5c
call fcn.14013c690
jmp 0x14007446f