joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e1290
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1401e145b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140178d20
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1401e1424
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1401e139d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1401e1413
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1401e13da
mov r10, qword [rdx]
cmp r10, rax
je 0x1401e13d4
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1401e1413
cmp r9, rdx
je 0x1401e13ef
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1401e1435
cmp r9, rdx
jne 0x1401e13e0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1401e1321
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1401e1413
lea rcx, str.invalid_hash_bucket_count
call fcn.1401caf80
int3
Function at 0x1401f3480
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401f35c8

Function at 0x140200db0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140200dd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140200dd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14000b020]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r14b, r14b
mov word [rsp + 0x20], 0xba49
mov word [rsp + 0x2a], 0xff41
lea rax, [0x140001d30]
mov qword [rsp + 0x22], rax
mov rbx, r9
mov dword [rsp + 0x30], 0
mov rdi, rdx
mov esi, 0xd
test cl, cl
je 0x14000230b
test rbx, rbx
je 0x1400022d6
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x1400023c0
mov eax, dword [r9 + 0x18]
test eax, eax
je 0x1400023c0
mov r8d, eax
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002361
movsd xmm0, qword [rsp + 0x20]
mov r14b, 1
mov eax, dword [rsp + 0x28]
movsd qword [rdi], xmm0
mov dword [rdi + 8], eax
mov byte [rdi + 0xc], 0xe2
jmp 0x140002361
test rbx, rbx
je 0x1400023c0
cmp qword [r9], 0
je 0x1400023c0
mov eax, dword [r9 + 8]
test eax, eax
je 0x1400023c0
lea r9, [rsp + 0x30]
mov qword [rsp + 0x60], rbp
mov r8d, 0x40
mov edx, eax
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000235c
mov rdx, qword [rbx]
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r14b, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [0x14000b9c8]
test rbx, rbx
jne 0x140002394
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtFlushInstructionCache
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14000b9c8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call rbx
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, r14b
jmp 0x1400023c2
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140005190
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400023e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14000b020]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x14000b9a0], 0
je 0x1400025cf
cmp qword [0x14000b9a8], 0
je 0x1400025cf
cmp qword [0x14000b9b0], 0
jbe 0x1400025cf
call fcn.1400021c0
test al, al
je 0x1400025cf
movzx eax, byte [0x14000b9b8]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
test al, al
je 0x140002448
cmp dword [0x14000b9a0], 2
jne 0x14000247c
mov rdx, qword [0x14000b9b0]
lea r9, [0x14000b9c0]
mov rcx, qword [0x14000b9a8]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_RW.
call fcn.140003a00
movzx eax, byte [0x14000b9b8]
test al, al
lea rdx, str.____Decoding...
lea rcx, str.____Encoding...
cmovne rcx, rdx
call fcn.140003a00
mov edx, dword [0x14000b9bc]
mov r9, qword [0x14000b9b0]
mov rcx, qword [0x14000b9a8]
mov rax, r9
shr rax, 2
movd xmm2, edx
pshufd xmm2, xmm2, 0
test rax, rax
je 0x14000253b
cmp rax, 0x10
jb 0x140002530
mov r10, rax
lea r8, [rcx + 0x20]
and r10, 0xfffffffffffffff0
nop
movdqu xmm0, xmmword [r8 - 0x20]
lea r8, [r8 + 0x40]
add rbx, 0x10
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r8 - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [r8 - 0x50]
pxor xmm0, xmm2
movdqu xmmword [r8 - 0x50], xmm0
movdqu xmm0, xmmword [r8 - 0x40]
pxor xmm1, xmm0
movdqu xmmword [r8 - 0x40], xmm1
movdqu xmm0, xmmword [r8 - 0x30]
pxor xmm0, xmm2
movdqu xmmword [r8 - 0x30], xmm0
cmp rbx, r10
jb 0x1400024d0
cmp rbx, rax
jae 0x14000253b
nop word [rax + rax]
xor dword [rcx + rbx*4], edx
inc rbx
cmp rbx, rax
jb 0x140002530
mov rbx, qword [rsp + 0x30]
lea rax, [rax*4]
cmp rax, r9
jae 0x14000255b
nop dword [rax]
xor byte [rax + rcx], dl
inc rax
cmp rax, r9
jb 0x140002550
cmp byte [0x14000b9b8], 0
jne 0x140002595
cmp dword [0x14000b9a0], 2
jne 0x1400025c1
mov rdx, qword [0x14000b9b0]
lea r9, [rsp + 0x20]
mov rcx, qword [0x14000b9a8]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_No_Access._n
jmp 0x1400025bc
mov r8d, dword [0x14000b9c0]
lea r9, [rsp + 0x20]
mov rdx, qword [0x14000b9b0]
mov rcx, qword [0x14000b9a8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_back_to_RX_RWX._n
call fcn.140003a00
cmp byte [0x14000b9b8], 0
sete byte [0x14000b9b8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005190
add rsp, 0x38
ret
Function at 0x140003b88
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400039ac
Function at 0x140005a70
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x140036140]
movdqu xmmword [rbp + 0x17], xmm1
xor esi, esi
mov word [rbp + 7], si
mov dword [rbp - 0x29], esi
lea rdx, [rbp - 0x29]
xor ecx, ecx
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
mov edx, dword [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.14000fbf0
lea rdx, [rbp - 0x29]
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140005bc6
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
mov r8d, dword [rbp - 0x29]
dec r8d
mov rdx, rbx
lea rcx, [rbp + 0x27]
call fcn.14000e0cc
lea r8, [0x140036100]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.140005da8
lea r8, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rdx, rax
mov rcx, rdi
call fcn.140005da8
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140005b6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
call fcn.1400063d0
movdqa xmm0, xmmword [0x140036140]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x140005b99
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
call fcn.1400063d0
movdqa xmm0, xmmword [0x140036140]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], si
test rbx, rbx
je 0x140005c2e
mov rdx, qword [rbp - 9]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rcx, rbx
call fcn.1400063d0
jmp 0x140005c2e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14000d2fc
cmp dword [rax], 2
jbe 0x140005c0d
lea rcx, str.GetAllUsersProfileDirectory_failed
mov qword [rbp - 0x21], rcx
mov dword [rbp - 0x25], ebx
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x25]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14004397c]
mov rcx, rax
call fcn.140001d3c
lea rdx, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rcx, rdi
call fcn.14000e090
lea rcx, [rbp - 0x19]
call fcn.14000e948
lea rcx, [rbp + 7]
call fcn.14000e904
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140011260
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

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

Disassembly:
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140006553
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x140006540
mov rax, r9
ret
Function at 0x14000c8dc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov r8d, 0x104
lea rdx, [0x1400505d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c9b1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14000d2fc
cmp dword [rax], 2
jbe 0x14000c99d
mov dword [rsp + 0x48], ebx
lea rcx, str.GetModuleFileName_failed
mov qword [rsp + 0x40], rcx
test ebx, ebx
jle 0x14000c96c
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, [0x1400439ab]
mov rcx, rax
call fcn.140001de0
lea rdx, [0x1400361c0]
mov rcx, rdi
call fcn.14000e090
jmp 0x14000caf1
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x140036140]
movdqu xmmword [rbp + 0x20], xmm1
mov word [rbp + 0x10], si
movups xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], si
movups xmmword [rbp + 0x50], xmm0
movdqu xmmword [rbp + 0x60], xmm1
mov word [rbp + 0x50], si
movups xmmword [rbp + 0x30], xmm0
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], si
mov r8d, eax
lea rdx, [0x1400505d0]
lea rcx, [rbp - 0x30]
call fcn.14000e060
nop
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14002891c
test al, al
sete bl
lea rcx, [rbp - 0x30]
call fcn.14000e904
test bl, bl
je 0x14000ca47
lea rdx, [0x1400361c0]
mov rcx, rdi
call fcn.14000e090
jmp 0x14000caca
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov ecx, 7
mov qword [rsp + 0x78], rcx
mov word [rsp + 0x60], si
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
mov word [rbp - 0x30], si
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000e6c4
mov rbx, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.14000e6c4
nop
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x30]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400286c4
nop
lea rcx, [rbp + 0x30]
call fcn.14000e904
nop
lea rcx, [rbp + 0x50]
call fcn.14000e904
nop
lea rcx, [rbp - 0x10]
call fcn.14000e904
nop
lea rcx, [rbp + 0x10]
call fcn.14000e904
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140011260
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140027dac
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 [0x14004f0e8]
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 0x140027dec
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 0x140027e7f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call fcn.14000d2fc
mov rsi, rax
cmp dword [rax], 2
jbe 0x140027e64
mov rcx, rdi
call fcn.140007720
mov qword [rbp - 9], rax
lea rdx, [0x140043947]
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.140001ea4
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140027f5f
xor r8d, r8d
lea edx, [rax - 1]
lea rcx, [rbp + 7]
call fcn.14000f874
cmp qword [rbp + 0x1f], 8
lea rdx, [rbp + 7]
mov rcx, rdi
cmovae rdx, qword [rbp + 7]
cmp qword [rdi + 0x18], 8
jb 0x140027ea9
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x140027f35
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call fcn.14000d2fc
mov rsi, rax
cmp dword [rax], 2
jbe 0x140027f1d
mov rcx, rdi
call fcn.140007720
mov qword [rbp - 0x11], rax
lea rdx, [0x140043947]
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.140001ea4
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140027f56
movups xmm0, xmmword [rbp + 7]
mov word [rbp + 7], r15w
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x140036140]
movdqu xmmword [rbp + 0x17], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp + 7]
call fcn.14000e904
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140011260
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002a4b0
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, rdx
mov rdi, rcx
and qword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov rcx, rsi
call fcn.14002a738
mov ebx, eax
test eax, eax
je 0x14002a552
call fcn.14000d2fc
mov rdi, rax
cmp dword [rax], 3
jbe 0x14002a53f
mov rcx, rsi
call fcn.140007720
mov qword [rbp - 0x40], rax
mov dword [rbp + 0x30], ebx
lea rax, str.Could_not_open_the_registry_key
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [0x140043c83]
mov rcx, rdi
call fcn.1400072c8
test ebx, ebx
jle 0x14002a5ce
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14002a5ce
lea rax, [rbp - 0x18]
mov qword [rbp - 0x40], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002a567
mov rdx, qword [rdi]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeString]
nop dword [rax + rax]
test al, al
jne 0x14002a5de
call fcn.14000d2fc
mov rbx, rax
cmp dword [rax], 3
jbe 0x14002a5c0
mov rcx, rdi
call fcn.140007720
mov qword [rbp + 0x30], rax
lea rax, str.Could_not_create_a_UNICODE_STRING_to_hold_valueName
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [0x140043d51]
mov rcx, rbx
call fcn.14000950c
lea rcx, [rbp - 0x40]
call fcn.14002a22c
mov ebx, 0x80070057
lea rcx, [rbp + 0x38]
call fcn.140010828
mov eax, ebx
jmp 0x14002a6f6
lea rdx, [rbp - 0x18]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14002a688
cmp eax, 0xc0000034
je 0x14002a688
call fcn.14000d2fc
mov r14, rax
cmp dword [rax], 3
jbe 0x14002a66d
mov rcx, rsi
call fcn.140007720
mov qword [rbp - 0x38], rax
mov rcx, rdi
call fcn.140007720
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x30], ebx
lea rax, str.Failed_to_delete_registry_value
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], 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, [0x140043d82]
mov rcx, r14
call fcn.140002434
lea rcx, [rbp - 0x40]
call fcn.14002a22c
lea rcx, [rbp + 0x38]
call fcn.140010828
bts ebx, 0x1c
jmp 0x14002a5d7
call fcn.14000d2fc
mov rbx, rax
cmp dword [rax], 4
jbe 0x14002a6e2
mov rcx, rsi
call fcn.140007720
mov qword [rbp + 0x30], rax
mov rcx, rdi
call fcn.140007720
mov qword [rbp - 0x28], rax
lea rax, str.Delete_registry_value
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [0x140043d17]
mov rcx, rbx
call fcn.14000189c
lea rcx, [rbp - 0x40]
call fcn.14002a22c
lea rcx, [rbp + 0x38]
call fcn.140010828
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000178c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400017d8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400017d0
cmp dword [rcx + 0x3c], edx
jl 0x1400017d0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400017d0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400017d8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140006fa0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14000f0a8]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [rdx], r15
lea r8, [rsp + 0x30]
mov edi, r15d
sub rcx, rax
mov r14, rdx
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140007016
movzx eax, word [rcx + r8]
test ax, ax
je 0x140007016
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x140006ff2
lea rax, [r8 - 2]
test r9, r9
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x14000d058]
mov word [rax], r15w
call fcn.140009a58
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000716e
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rax
mov dword [rsp + 0x20], r15d
call fcn.140008164
mov esi, eax
test eax, eax
jns 0x140007098
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xcf
call fcn.140009518
mov rcx, rbx
call fcn.140007730
jmp 0x140007199
lea r8, [0x14000d060]
lea rcx, [rsp + 0x30]
call fcn.140009a58
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140007151
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140008164
mov esi, eax
test eax, eax
jns 0x1400070fe
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, reloc.SHLWAPI.dll_SHAnsiToUnicode
call fcn.140009518
mov rcx, rdi
call fcn.140007730
jmp 0x14000708b
mov rcx, rdi
call fcn.140007730
movsxd rax, dword [rsp + 0x24]
mov rcx, rbx
movsxd rdi, dword [rsp + 0x20]
shl rdi, 0x1f
or rdi, rax
call fcn.140007730
mov qword [r14], rdi
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140001600
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp + 0x168]
mov edx, SHAnsiToUnicode
call fcn.1400094f8
mov rcx, rbx
mov esi, eax
call fcn.140007730
jmp 0x140007192
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000711f
mov rcx, qword [rbp + 0x168]
mov edx, 0xc9
call fcn.1400094f8
mov esi, eax
mov rdi, r15
test esi, esi
jns 0x14000711f
mov rcx, qword [rbp + 0x168]
mov r9d, esi
mov edx, 0x62
call fcn.140009518
mov eax, esi
jmp 0x140007124
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
push r9
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021