joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036300
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14003630e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140036330
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
call fcn.140031e10
test al, al
jne 0x1400363b6
mov rcx, rsi
call fcn.140031e10
test al, al
jne 0x1400363b6
cmp qword [rdi + 0x10], 0x103
ja 0x1400363b6
cmp qword [rsi + 0x10], 0x103
ja 0x1400363b6
cmp qword [rsi + 0x18], 7
jbe 0x140036373
mov rsi, qword [rsi]
movzx r8d, bl
cmp qword [rdi + 0x18], 7
jbe 0x140036381
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400363b6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400363b6
mov dil, 1
test al, 1
je 0x1400363b8
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400363b8
xor edi, edi
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400363d0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140031e10
test al, al
jne 0x1400324d1
mov rcx, rsi
call fcn.140031e10
test al, al
je 0x1400324da
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1400363d0
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0x103
ja 0x14003647a
cmp qword [rdi + 0x10], 0x103
ja 0x14003647a
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x140036407
mov rdx, qword [rdi]
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x140036414
mov rcx, qword [rsi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bpl, 1
test eax, eax
jne 0x14003647c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14003643c
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140036472
and eax, 0x10
je 0x140036472
mov bpl, 1
mov r8b, 1
xor r9d, r9d
mov rcx, rsi
mov rdx, rdi
call fcn.140034b60
test al, al
je 0x140036472
mov dl, 1
mov rcx, rsi
call fcn.140034570
test al, al
jne 0x14003647c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebp, ebp
mov eax, ebp
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140036490
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x578
mov r15d, r8d
mov r14, rdx
mov rax, rcx
mov rcx, qword [0x14017b750]
xor rcx, rsp
mov qword [rsp + 0x570], rcx
mov qword [rsp + 0x20], rdx
xor ebp, ebp
lea rsi, [rsp + 0x2a0]
xor r8d, r8d
mov r9d, 3
mov rcx, rsi
mov rdx, rax
call fcn.14002e330
lea rdi, [rsp + 0x280]
mov rcx, rsi
mov rdx, rdi
call fcn.14002e4a0
cmp qword [rsp + 0x290], 0
je 0x140036634
lea rsi, [rsp + 0x2a0]
lea rbx, [rsp + 0x30]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13d, r13d
nop word [rax + rax]
mov rcx, rsi
mov rdx, rbx
call fcn.14002e410
mov edx, dword [rsp + 0x30]
test dl, 1
je 0x140036568
test r15b, r15b
jne 0x140036549
mov rcx, rbx
call fcn.14002e080
test al, al
jne 0x140036568
mov edx, dword [rsp + 0x30]
and edx, 0xfffffffe
cmp qword [rsp + 0x298], 7
mov rcx, rdi
jbe 0x140036562
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call fcn.14002e080
test al, al
je 0x1400365c0
xor ebp, ebp
test r15b, r15b
je 0x1400365f5
mov r8b, 1
mov rcx, rdi
mov rdx, r14
call fcn.140036490
mov ebp, eax
test eax, eax
jne 0x1400365f5
cmp qword [rsp + 0x298], 7
mov rcx, rdi
jbe 0x1400365a5
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x1400365f5
jmp 0x1400365df
cmp qword [rsp + 0x298], 7
mov rcx, rdi
jbe 0x1400365d6
mov rcx, qword [rsp + 0x280]
call r12
xor ebp, ebp
test eax, eax
jne 0x1400365f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
or eax, 1
cmp eax, 3
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, rbx
call fcn.14000f680
mov rcx, rsi
mov rdx, rbx
call fcn.14002e4a0
mov rcx, rdi
mov rdx, rbx
call fcn.14002ef10
mov rcx, rbx
call fcn.14002ee30
cmp qword [rsp + 0x290], 0
mov r13d, ebp
jne 0x140036520
lea rcx, [rsp + 0x280]
call fcn.14002ee30
lea rcx, [rsp + 0x2a0]
call fcn.14002e360
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14011a890
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140037020
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov r14, rcx
mov rax, qword [0x14017b750]
xor rax, rbp
mov qword [rbp], rax
call fcn.140028380
mov rdi, rax
lea rbx, [0x140154ce1]
mov rcx, rax
mov rdx, rbx
call fcn.140028890
test al, al
jne 0x14003707d
lea rdx, str.vmodule
mov rcx, rdi
call fcn.140028890
test al, al
je 0x14003718a
cmp qword [0x14017c7d0], 0
jne 0x14003728d
mov rax, qword [0x14017c7d8]
mov qword [0x14017c7d0], rax
mov ecx, 0x20
call fcn.14011a524
mov rsi, rax
lea rcx, str.vmodule
mov qword [rbp - 0x50], rcx
call fcn.140133270
mov qword [rbp - 0x48], rax
lea r15, [rbp - 0x20]
lea r8, [rbp - 0x50]
mov rcx, rdi
mov rdx, r15
call fcn.140028990
mov qword [rbp - 0x60], rbx
mov rcx, rbx
call fcn.140133270
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x40]
lea r8, [rbp - 0x60]
mov rcx, rdi
mov rdx, rbx
call fcn.140028990
lea r9, [0x14017c7e0]
mov rcx, rsi
mov rdx, rbx
mov r8, r15
call fcn.140075ee0
mov qword [0x14017c7d8], rsi
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14003714b
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140037146
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140037294
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.14011a568
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x14003718a
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140037185
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140037294
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.14011a568
mov eax, dword [r14]
mov dword [0x14017b508], eax
mov bl, 1
test al, 1
je 0x14003726f
mov rcx, qword [0x14017c828]
test rcx, rcx
je 0x1400371ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14017c828], 0
mov rdi, qword [0x14017c7e8]
test rdi, rdi
jne 0x1400371f3
mov ecx, 0x20
call fcn.14011a524
mov rdi, rax
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rdi + 0x10], xmm0
mov word [rdi], 0
mov qword [0x14017c7e8], rdi
mov rsi, qword [r14 + 8]
mov rcx, rsi
call fcn.140133524
mov rbx, rax
mov rax, qword [rdi + 0x18]
cmp rax, rbx
jae 0x140037222
mov rcx, rdi
mov rdx, rbx
mov r9, rsi
call fcn.140006120
cmp dword [r14 + 0x14], 0
jne 0x140037268
jmp 0x140037251
mov r15, rdi
cmp rax, 8
jb 0x14003722e
mov r15, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, r15
mov rdx, rsi
call fcn.14011ea70
mov word [r15 + rbx*2], 0
cmp dword [r14 + 0x14], 0
jne 0x140037268
mov rcx, qword [0x14017c7e8]
cmp qword [rcx + 0x18], 7
jbe 0x140037262
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400372a0
mov ebx, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.14011a890
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
int3
call fcn.140128920
ud2
Function at 0x140039b80
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm8
movapd xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm6
mov r14, r8
mov edi, ecx
cvtsi2sd xmm0, edx
call fcn.14012f240
movapd xmm6, xmm0
mov rax, qword [r14]
mov dword [rax + 4], edi
mov rax, qword [r14]
mov rbx, qword [r14 + 8]
sub rbx, rax
sar rbx, 2
lea rcx, [rbx - 1]
cmp rcx, 3
jb 0x140039c5e
add rbx, 0xfffffffffffffffd
mov esi, 8
movdqa xmm8, xmmword [0x14014a080]
movapd xmm7, xmmword [0x14014a090]
nop dword [rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
call fcn.14012f240
movapd xmm1, xmm6
subsd xmm1, xmm0
movq xmm2, rbx
punpckldq xmm2, xmm8
subpd xmm2, xmm7
pshufd xmm3, xmm2, 0x4e
addpd xmm3, xmm2
divsd xmm1, xmm3
addsd xmm0, xmm1
call fcn.14012d4e0
call fcn.140132090
cvttsd2si eax, xmm0
cmp edi, eax
jl 0x140039c3a
add edi, 1
mov eax, edi
mov rcx, qword [r14]
mov dword [rcx + rsi], eax
add rsi, 4
mov edi, eax
add rbx, 0xffffffffffffffff
jne 0x140039bf0
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
sub rcx, rax
sar rcx, 2
add rcx, 0xffffffffffffffff
mov edx, dword [0x14014a5b0]
mov dword [rax + rcx*4], edx
mov rcx, r14
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400802e0
Function at 0x14003e510
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r15 + 0x30]
mov rax, qword [r15 + 8]
mov r8, qword [r15 + 0x18]
lea rdi, [rdx + rdx]
add rdi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x14003e593
mov rdx, qword [rdx]
mov rsi, rcx
cmp rcx, rax
je 0x14003e5a2
mov rsi, qword [r8 + rdi*8]
mov rsi, qword [rsi]
cmp rsi, rdx
je 0x14003e5bb
cmp dword [rdx + 0x10], ebx
jne 0x14003e590
cmp rdx, rax
je 0x14003e5bb
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x14003e630
mov rdi, qword [rax]
mov r12, qword [rdi + 8]
mov ecx, 0x38
call fcn.14011a524
mov rsi, rax
test rdi, rdi
mov rax, r12
cmove rax, rsi
mov rcx, rdi
cmove rcx, rsi
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov eax, dword [r13]
mov dword [rsi + 0x10], eax
lea rcx, [rsi + 0x18]
call fcn.14002ec50
mov rax, qword [r15 + 0x10]
movabs rcx, 0x492492492492491
cmp rax, rcx
je 0x14003e643
add rax, 1
mov qword [r15 + 0x10], rax
mov qword [rdi + 8], rsi
mov qword [r12], rsi
mov rax, qword [r15 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r15
mov rdx, r14
call fcn.14003e660
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.14011b230
ud2
Function at 0x14003f590
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14003f5bf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003f5c2
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14003f5e3
test bl, bl
je 0x14003f62c
cmp byte [rdi + 8], 0
je 0x14003f61e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003f621
cmp byte [rdi + 8], 0
je 0x14003f5f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003f5f7
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003f60d
xor edi, edi
jmp 0x14003f6a8
cmp byte [rdi + 8], 0
je 0x14003f660
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003f663
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
je 0x14003f63d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003f640
mov rcx, qword [rdi]
call sub.KERNEL32.dll_GetProcessId
mov rcx, qword [0x14017f5d8]
mov dil, 1
test rcx, rcx
je 0x14003f6a8
mov edx, eax
mov r8d, esi
call fcn.140078860
jmp 0x14003f6a8
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14003f676
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
je 0x14003f687
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003f68a
mov rcx, qword [rdi]
call sub.KERNEL32.dll_GetProcessId
mov rcx, qword [0x14017f5d8]
test rcx, rcx
je 0x14003f6a5
mov edx, eax
mov r8d, esi
call fcn.140078860
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14011a890
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003f960
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [rcx + 0x28]
call fcn.140124768
mov dword [rsi + 0x28], eax
mov ecx, dword [rsi + 0x2c]
call fcn.140124768
mov dword [rsi + 0x2c], eax
mov ecx, dword [rsi + 0x30]
call fcn.140124768
mov dword [rsi + 0x30], eax
mov ecx, dword [rsi + 0x34]
call fcn.140124768
mov dword [rsi + 0x34], eax
mov ecx, dword [rsi + 0x38]
call fcn.140124768
mov dword [rsi + 0x38], eax
mov ecx, dword [rsi + 0x3c]
call fcn.140124768
mov dword [rsi + 0x3c], eax
mov ecx, dword [rsi + 0x40]
call fcn.140124768
mov dword [rsi + 0x40], eax
mov ecx, dword [rsi + 0x44]
call fcn.140124768
mov dword [rsi + 0x44], eax
mov ecx, dword [rsi + 0x48]
call fcn.140124768
mov dword [rsi + 0x48], eax
mov ecx, dword [rsi + 0x4c]
call fcn.140124768
mov dword [rsi + 0x4c], eax
mov ecx, dword [rsi + 0x50]
call fcn.140124768
mov dword [rsi + 0x50], eax
mov ecx, dword [rsi + 0x54]
call fcn.140124768
mov dword [rsi + 0x54], eax
mov ecx, dword [rsi + 0x58]
call fcn.140124768
mov dword [rsi + 0x58], eax
mov ecx, dword [rsi + 0x5c]
call fcn.140124768
mov dword [rsi + 0x5c], eax
mov ecx, dword [rsi + 0x60]
call fcn.140124768
mov dword [rsi + 0x60], eax
mov ecx, dword [rsi + 0x64]
call fcn.140124768
mov dword [rsi + 0x64], eax
xor eax, eax
nop
mov ecx, dword [rsi + rax*4 + 0x48]
xor ecx, dword [rsi + rax*4 + 0x5c]
xor ecx, dword [rsi + rax*4 + 0x30]
xor ecx, dword [rsi + rax*4 + 0x28]
rol ecx, 1
mov dword [rsi + rax*4 + 0x68], ecx
add rax, 1
cmp rax, 0x40
jne 0x14003fa20
movdqu xmm0, xmmword [rsi + 0x14]
movdqu xmmword [rsi], xmm0
mov r8d, dword [rsi + 0x24]
mov dword [rsi + 0x10], r8d
movd edi, xmm0
pshufd xmm1, xmm0, 0xe5
movd ebp, xmm1
pshufd xmm1, xmm0, 0x4e
movd ecx, xmm1
pshufd xmm1, xmm0, 0xe7
movd r10d, xmm1
xor edx, edx
mov r11d, 0x8f1bbcdc
mov ebx, r8d
nop dword [rax]
mov r14d, edi
mov r9d, r10d
mov r10d, ecx
mov ecx, ebp
mov ebp, edi
rol ebp, 5
cmp rdx, 0x14
jae 0x14003fac0
mov eax, ecx
and eax, r10d
mov edi, ecx
not edi
and edi, r9d
or edi, eax
add edi, ebp
add edi, ebx
add edi, dword [rsi + rdx*4 + 0x28]
mov ebx, 0x5a827999
jmp 0x14003fb15
cmp rdx, 0x28
jae 0x14003fae0
mov edi, r10d
xor edi, r9d
xor edi, ecx
add edi, ebp
add edi, ebx
add edi, dword [rsi + rdx*4 + 0x28]
mov ebx, 0x6ed9eba1
jmp 0x14003fb15
cmp rdx, 0x3b
ja 0x14003faf8
mov eax, r10d
or eax, r9d
and eax, ecx
mov edi, r10d
and edi, r9d
or edi, eax
jmp 0x14003fb00
mov edi, r10d
xor edi, r9d
xor edi, ecx
add edi, ebp
add edi, ebx
add edi, dword [rsi + rdx*4 + 0x28]
cmp rdx, 0x3c
mov ebx, 0xca62c1d6
cmovb ebx, r11d
add edi, ebx
rol ecx, 0x1e
add rdx, 1
mov ebx, r9d
mov ebp, r14d
cmp rdx, 0x50
jne 0x14003fa80
mov dword [rsi + 0x10], r9d
mov dword [rsi + 0xc], r10d
mov dword [rsi + 8], ecx
mov dword [rsi + 4], r14d
mov dword [rsi], edi
movd xmm1, r10d
movd xmm2, ecx
punpckldq xmm2, xmm1
movd xmm1, r14d
movd xmm3, edi
punpckldq xmm3, xmm1
punpcklqdq xmm3, xmm2
paddd xmm3, xmm0
movdqu xmmword [rsi + 0x14], xmm3
add r8d, r9d
mov dword [rsi + 0x24], r8d
mov dword [rsi + 0x168], 0
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140049920
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
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 0x14004a0e0
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
mov r9d, 0x20019
or r9d, dword [rcx + 8]
mov rcx, qword [rcx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14004a1d5
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14004a1d5
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x14004a1d5
mov ebx, dword [rdi + 8]
mov rdi, qword [rdi]
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004a1c7
xor r9d, r9d
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
call rax
jmp 0x14004a1d3
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14011a890
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x14004a200
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004a27b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14004a27b
cmp dword [rsp + 0x38], 4
jne 0x14004a27b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14011a890
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14004a2a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
add rsp, 0x38
ret
Function at 0x14004a2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], ntohl
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 8
mov rcx, qword [rcx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004a34e
mov eax, dword [rsp + 0x4c]
or eax, 8
mov edi, 0x3f4
cmp eax, 0xb
jne 0x14004a34e
cmp dword [rsp + 0x3c], 8
jne 0x14004a34e
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14011a890
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x14004a370
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1050
call fcn.14011ba80
sub rsp, rax
mov rsi, r8
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004a4b0
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14004a411
mov edi, 0x3f4
cmp eax, 1
jne 0x14004a4b0
lea rcx, [rsp + 0x840]
call fcn.140133524
mov rdi, rax
mov rax, qword [rsi + 0x18]
cmp rax, rdi
jae 0x14004a465
lea r9, [rsp + 0x840]
jmp 0x14004a458
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x14004a4b0
lea rcx, [rsp + 0x40]
call fcn.140133524
mov rdi, rax
mov rax, qword [rsi + 0x18]
cmp rax, rdi
jae 0x14004a485
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.140006120
jmp 0x14004a4ae
mov rbx, rsi
cmp rax, 8
jb 0x14004a471
mov rbx, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x840]
jmp 0x14004a4a0
mov rbx, rsi
cmp rax, 8
jb 0x14004a491
mov rbx, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14011ea70
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1048]
xor rcx, rsp
call fcn.14011a890
mov eax, edi
add rsp, 0x1050
pop rbx
pop rdi
pop rsi
ret

Function at 0x14004a4d0
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], r8d
mov rcx, qword [rcx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011a890
mov eax, esi
add rsp, 0x40
pop rsi
ret