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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400cc920
mov r11d, eax
lea edx, [rax*4]
movsxd r9, edx
test edx, edx
jle 0x1400cc74d
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rcx, [rbx + 8]
nop
mov edx, dword [rcx - 8]
add r10, 4
mov eax, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rcx - 8], eax
lea rcx, [rcx + 0x10]
mov eax, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rcx - 0x14]
mov dword [rcx - 0x14], eax
mov eax, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rcx - 0x10]
mov dword [rcx - 0x10], eax
mov eax, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rcx - 0xc]
mov dword [rcx - 0xc], eax
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x1400cc700
cmp r11d, 1
jle 0x1400cc909
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
add rbx, 4
nop dword [rax + rax]
mov r9d, dword [rbx + 0x10]
lea rbx, [rbx + 0x10]
mov edx, dword [rbx - 4]
movzx eax, byte [rbx - 3]
movzx ecx, byte [rdi + rax*4 + 0x10a800]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x10b400]
movzx eax, byte [rdi + rax*4 + 0x10a800]
xor r8d, dword [rdi + rax*4 + 0x10ac00]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x10a800]
movzx eax, byte [rbx - 2]
xor r8d, dword [rdi + rcx*4 + 0x10b800]
movzx ecx, byte [rdi + rax*4 + 0x10a800]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x10b000]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x10a800]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x10b000]
movzx eax, byte [rdi + rcx*4 + 0x10a800]
xor r8d, dword [rdi + rax*4 + 0x10b400]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x10a800]
movzx eax, r9b
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0x10ac00]
movzx ecx, byte [rdi + rax*4 + 0x10a800]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x10b800]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx], r8d
movzx edx, byte [rdi + rcx*4 + 0x10a800]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x10b000]
movzx eax, byte [rdi + rcx*4 + 0x10a800]
xor r8d, dword [rdi + rax*4 + 0x10b400]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x10a800]
movzx eax, r9b
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0x10ac00]
movzx ecx, byte [rdi + rax*4 + 0x10a800]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x10b800]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x10a800]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x10b000]
movzx eax, byte [rdi + rcx*4 + 0x10a800]
xor r8d, dword [rdi + rax*4 + 0x10b400]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x10a800]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x10ac00]
movzx ecx, byte [rdi + rax*4 + 0x10a800]
xor r8d, dword [rdi + rcx*4 + 0x10b800]
mov dword [rbx + 8], r8d
sub r10, 1
jne 0x1400cc770
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x140006eb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 8
mov r9, qword [rdx + 0x10]
jb 0x140006ebe
mov rdx, qword [rdx]
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x140006ef3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r8, rax
imul r8, r10
cmp rcx, r9
jb 0x140006ee0
mov rax, r8
ret
Function at 0x1400077b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov r12d, r9d
mov rdx, rcx
mov r15, rcx
mov rcx, r8
mov r9d, 0x20019
mov r14, r8
call fcn.1400079cc
mov edi, eax
test eax, eax
jne 0x14000786d
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140007803
mov r8, qword [rbx]
mov rsi, qword [rbp + 0x50]
mov r9d, r12d
mov rcx, qword [r15]
xor edx, edx
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140007924
mov eax, dword [rsi]
mov r15, qword [rbp + 0x58]
mov dword [r15], eax
dec eax
cmp eax, 0x3ffffff
ja 0x140007933
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400085ac
mov rbx, rax
cmp dword [rax], 5
jbe 0x14000791d
mov rcx, r14
mov dword [rbp + 0x40], edi
call fcn.140008ab0
mov qword [rbp + 0x60], rax
lea rdx, [0x1400244c7]
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov rcx, rbx
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140008958
jmp 0x14000791d
mov rcx, r14
mov dword [rbp + 0x40], edi
call fcn.140008ab0
mov rcx, rbx
mov qword [rbp + 0x60], rax
call fcn.140008ab0
mov qword [rbp - 0x10], rax
lea rdx, [0x1400244fd]
lea rax, str.Failed_to_get_registry_value_size._Return_default_value
mov rcx, rsi
mov qword [rbp - 8], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.140002138
mov eax, edi
jmp 0x14000784e
call fcn.1400085ac
mov rsi, rax
cmp dword [rax], 5
jbe 0x14000791d
jmp 0x1400078c4
call fcn.1400085ac
mov rdi, rax
cmp dword [rax], 4
jbe 0x1400079ba
mov ecx, dword [rsi]
mov dword [rbp + 0x48], ecx
mov ecx, dword [r15]
mov dword [rbp + 0x68], ecx
mov rcx, r14
mov dword [rbp + 0x40], 0x4000000
call fcn.140008ab0
mov rcx, rbx
mov qword [rbp + 0x60], rax
call fcn.140008ab0
mov qword [rbp - 8], rax
lea rdx, [0x14002453e]
lea rax, str.Registry_value_is_empty_or_bigger_than_max_length._Return_default_value
mov rcx, rdi
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400024e8
mov eax, 0xd
jmp 0x14000784e
Function at 0x140008ac8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rax, qword [0x14002c3f0]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov r8d, 0x104
lea rdx, [0x14002d3e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140008b94
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.1400085ac
cmp dword [rax], 2
jbe 0x140008b80
mov dword [rsp + 0x48], ebx
lea rcx, str.GetModuleFileName_failed
mov qword [rsp + 0x40], rcx
test ebx, ebx
jle 0x140008b4f
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [0x1400240ff]
mov rcx, rax
call fcn.140001d0c
lea rdx, [0x14001e9f0]
mov rcx, rdi
call fcn.140007fb0
jmp 0x140008cc2
mov qword [rbp - 0x18], rsi
movdqa xmm0, xmmword [0x14001e9e0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], si
mov qword [rbp - 0x38], rsi
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], si
mov qword [rbp + 0x48], rsi
movdqu xmmword [rbp + 0x58], xmm0
mov word [rbp + 0x48], si
mov qword [rbp + 0x28], rsi
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], si
mov r8d, eax
lea rdx, [0x14002d3e0]
lea rcx, [rbp + 8]
call fcn.1400059a0
nop
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x48]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.140015044
test al, al
sete bl
lea rcx, [rbp + 8]
call fcn.140006cc0
test bl, bl
je 0x140008c24
lea rdx, [0x14001e9f0]
mov rcx, rdi
call fcn.140007fb0
jmp 0x140008c9b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov ecx, 7
mov qword [rsp + 0x78], rcx
lea rax, [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rbp + 8], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140007050
mov rbx, rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.140007050
nop
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 8]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140014dfc
nop
lea rcx, [rbp + 0x28]
call fcn.140006cc0
nop
lea rcx, [rbp + 0x48]
call fcn.140006cc0
nop
lea rcx, [rbp - 0x38]
call fcn.140006cc0
nop
lea rcx, [rbp - 0x18]
call fcn.140006cc0
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14000f540
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000a9b4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x38], 0
mov rbx, r8
mov r8, qword [rdx]
test r8, r8
je 0x14000a9ce
mov r8, qword [r8]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14000aa05
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140005b70
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000aa14
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x14000aa21
mov rax, rcx
ret

Function at 0x14000acc4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rdi + 0x7c]
cmp ecx, 0xffffffff
je 0x14000ae74
cmp ecx, 0x7c
je 0x14000ae74
cmp ecx, 0x29
jne 0x14000ad13
cmp dword [rdi + 0x1c], 0
jne 0x14000ae74
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
jne 0x14000ae2d
lea edx, [rcx - 0x24]
call fcn.14000e088
int3
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x14000ad32
lea rcx, [rdi + 0x40]
mov edx, 5
call fcn.14000ac70
jmp 0x14000ae47
cmp ecx, 0x5c
jne 0x14000ad92
mov rcx, rdi
call fcn.14000ae88
test byte [rbx], 0x80
je 0x14000ad85
cmp word [rdi + 0x78], 0x62
jne 0x14000ad66
mov edx, 4
lea rcx, [rdi + 0x40]
call fcn.14000ac70
mov rcx, rdi
call fcn.14000ae88
jmp 0x14000ae57
cmp word [rdi + 0x78], 0x42
jne 0x14000ad85
lea rcx, [rdi + 0x40]
mov edx, 4
call fcn.14000ac70
mov rax, qword [rdi + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000ad59
mov rcx, rdi
call fcn.14000ddd8
jmp 0x14000ae4f
cmp ecx, 0x5b
jne 0x14000adbd
mov rcx, rdi
call fcn.14000ae88
mov rcx, rdi
call fcn.14000ebd4
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14000efec
jmp 0x14000ae4f
cmp ecx, 0x28
jne 0x14000adeb
mov rcx, rdi
call fcn.14000ae88
mov rcx, rdi
call fcn.140017dd8
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14000efec
test bl, bl
jne 0x14000ae4f
jmp 0x14000ae57
cmp ecx, 0x5e
jne 0x14000adf8
lea edx, [rcx - 0x5c]
jmp 0x14000ad50
cmp ecx, 0x24
jne 0x14000ae05
lea edx, [rcx - 0x21]
jmp 0x14000ad50
cmp ecx, 0x3f
je 0x14000ae69
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000ae69
cmp ecx, 0x7b
je 0x14000ae69
cmp ecx, 0x7d
jne 0x14000ae2d
test dword [rbx], 0x10000000
jne 0x14000ae3a
lea edx, [rcx - 0x77]
call fcn.14000e088
int3
cmp ecx, 0x5d
jne 0x14000ae3a
test dword [rbx], 0x10000000
je 0x14000ae5e
movzx edx, word [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14000e5e0
mov rcx, rdi
call fcn.14000ae88
mov rcx, rdi
call fcn.140017c6c
mov al, 1
jmp 0x14000acd3
mov edx, 4
call fcn.14000e088
int3
mov edx, 0xa
call fcn.14000e088
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e194
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x18], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000e1bf
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
sete dl
mov rcx, qword [rsp + 0x48]
lea rax, str.Could_not_read_file_version_info
mov qword [rsp + 0x20], rax
movzx r9d, dl
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x7b
call fcn.14000b564
mov ecx, esi
call fcn.1400107ec
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x14000e216
mov rbx, qword [rbx]
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, str.Could_not_retrieve_file_version_info
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x84
call fcn.14000e26c
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000fcb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14000fd02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fd02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fd02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fd02
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fd02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000fd04
xor al, al
add rsp, 0x28
ret
Function at 0x140012958
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14002c3f0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, r8
xor ebx, ebx
mov qword [r8], rbx
mov r14d, 0x104
mov r8, rcx
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140012860
lea r8, [0x1400200d8]
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.1400127d4
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140012a0d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140012b01
mov rcx, qword [rbp + 0x178]
lea r8, [0x140020070]
lea edx, [r14 - 0x3b]
call fcn.14000c278
mov ebx, eax
jmp 0x140012b01
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], ebx
mov rcx, rax
mov dword [rsp + 0x20], ebx
call fcn.140011a00
mov edi, eax
test eax, eax
jns 0x140012a4a
mov rcx, qword [rbp + 0x178]
lea r8, [0x140020070]
mov r9d, eax
mov edx, 0xcf
call fcn.14000c250
mov ebx, edi
jmp 0x140012b01
lea r8, [0x1400200e0]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1400127d4
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140012aa6
mov rcx, qword [rbp + 0x178]
lea r8, [0x140020070]
mov edx, 0xd5
call fcn.14000c278
lea rcx, [rsp + 0x28]
mov ebx, eax
call fcn.140009730
jmp 0x140012b01
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140011a00
mov edi, eax
test eax, eax
jns 0x140012ae3
mov rcx, qword [rbp + 0x178]
lea r8, [0x140020070]
mov r9d, eax
mov edx, 0xd7
call fcn.14000c250
lea rcx, [rsp + 0x28]
call fcn.140009730
jmp 0x140012a43
lea rcx, [rsp + 0x28]
call fcn.140009730
movsxd rdx, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x24]
shl rdx, 0x1f
or rdx, rcx
mov qword [rsi], rdx
lea rcx, [rsp + 0x30]
call fcn.140009730
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000f540
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140014674
Capabilities:
Check if file exists
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14002c3f0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x11], rcx
xor r15d, r15d
cmp qword [rdx + 0x18], 8
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
jb 0x1400146b4
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x140014744
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call fcn.1400085ac
mov rsi, rax
cmp dword [rax], 2
jbe 0x14001472c
mov rcx, rdi
call fcn.140008ab0
mov qword [rbp - 9], rax
lea rdx, [0x140024077]
lea rax, str.Failed_to_expand_environment_strings_in_path
mov dword [rbp - 0x19], r14d
mov qword [rbp - 0x11], rax
mov rcx, rsi
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call fcn.140001dd0
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140014821
xor r8d, r8d
lea edx, [rax - 1]
lea rcx, [rbp + 7]
call fcn.1400052d4
cmp qword [rbp + 0x1f], 8
lea rdx, [rbp + 7]
mov rcx, rdi
cmovae rdx, qword [rbp + 7]
cmp qword [rdi + 0x18], 8
jb 0x14001476e
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x1400147f7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call fcn.1400085ac
mov rsi, rax
cmp dword [rax], 2
jbe 0x1400147e2
mov rcx, rdi
call fcn.140008ab0
mov qword [rbp - 0x11], rax
lea rdx, [0x140024077]
lea rax, str.Failed_to_expand_environment_strings_in_path_after_increasing_buffer_size
mov dword [rbp - 0x19], r14d
mov qword [rbp - 9], rax
mov rcx, rsi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call fcn.140001dd0
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140014818
movups xmm0, xmmword [rbp + 7]
mov word [rbp + 7], r15w
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x14001e9e0]
movdqu xmmword [rbp + 0x17], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp + 7]
call fcn.140006cc0
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000f540
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016180
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 r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x1400161fc
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x140016200
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x1400161fc
add r14, 2
jmp 0x1400161bd
xor al, al
jmp 0x140016202
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140019228
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
and qword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov rcx, rsi
call fcn.140019480
mov ebx, eax
test eax, eax
je 0x1400192be
call fcn.1400085ac
mov rdi, rax
cmp dword [rax], 3
jbe 0x1400192ab
mov rcx, rsi
call fcn.140008ab0
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x30], ebx
lea rax, str.Could_not_open_the_registry_key
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400242af]
mov rcx, rdi
call fcn.14000866c
test ebx, ebx
jle 0x14001933a
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14001933a
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400192d3
mov rdx, qword [rdi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeString]
nop dword [rax + rax]
test al, al
jne 0x14001934a
call fcn.1400085ac
mov rbx, rax
cmp dword [rax], 3
jbe 0x14001932c
mov rcx, rdi
call fcn.140008ab0
mov qword [rbp + 0x30], rax
lea rax, str.Could_not_create_a_UNICODE_STRING_to_hold_valueName
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400243be]
mov rcx, rbx
call fcn.1400097e0
lea rcx, [rbp - 0x30]
call fcn.140018fa4
mov ebx, 0x80070057
lea rcx, [rbp + 0x38]
call fcn.14000afec
mov eax, ebx
jmp 0x140019462
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400193f4
cmp eax, 0xc0000034
je 0x1400193f4
call fcn.1400085ac
mov r14, rax
cmp dword [rax], 3
jbe 0x1400193d9
mov rcx, rsi
call fcn.140008ab0
mov qword [rbp - 0x28], rax
mov rcx, rdi
call fcn.140008ab0
mov qword [rbp - 0x20], rax
mov dword [rbp + 0x30], ebx
lea rax, str.Failed_to_delete_registry_value
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [0x140024343]
mov rcx, r14
call fcn.140002260
lea rcx, [rbp - 0x30]
call fcn.140018fa4
lea rcx, [rbp + 0x38]
call fcn.14000afec
bts ebx, 0x1c
jmp 0x140019343
call fcn.1400085ac
mov rbx, rax
cmp dword [rax], 4
jbe 0x14001944e
mov rcx, rsi
call fcn.140008ab0
mov qword [rbp + 0x30], rax
mov rcx, rdi
call fcn.140008ab0
mov qword [rbp - 0x18], rax
lea rax, str.Delete_registry_value
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [0x140024384]
mov rcx, rbx
call fcn.1400017c8
lea rcx, [rbp - 0x30]
call fcn.140018fa4
lea rcx, [rbp + 0x38]
call fcn.14000afec
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret