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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x466b17
movzx edx, byte [rax]
test edx, edx
jne 0x4669d4
nop dword [rax]
test r8b, r8b
jne 0x4669d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4669e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x466ad7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x466ac5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x466ab7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x466a3d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x466a80
mov eax, 1
cmp rax, rbx
ja 0x466a6b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x466aaf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x466a73
mov rcx, r11
mov eax, r12d
jmp 0x466a42
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x466b0d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x466ad0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4669ed
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3

Function at 0x467ee0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x467f8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ad900]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers
Function at 0x46b3e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005ad6a8], 0
je 0x46b3ee
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x46b400
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005ad6a8], 0
je 0x46b415
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x46b420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005ad6a8], 0
je 0x46b455
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005add20]
aesenc xmm0, xmmword [0x005add30]
aesenc xmm0, xmmword [0x005add40]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x46b460
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005ad6a8], 0
je 0x46b496
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005add20]
aesenc xmm0, xmmword [0x005add30]
aesenc xmm0, xmmword [0x005add40]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x46cae0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x005ad900]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46cb7b
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret
Function at 0x46cda0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x005ad900]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46ce37
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret

Function at 0x46d200
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46d234
mov rcx, 0x28
jmp 0x46d23f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005ad900], rcx
pop rbp
ret
Function at 0x4767e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4768aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ad900]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47688f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0049e640]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x47687e
mov edi, 1
lea rsi, [0x0049e640]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004e0378]
lea rsi, [0x004dff90]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x47a140
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47a87f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x47a16d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x47a3f1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x47a41d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e19e0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x0049e540]
lea rbx, [0x004e0290]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x47a442
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x47a477
lea rdi, [0x0049e5c0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x47a163
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x47a45b
jmp 0x47a430
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x47aa20
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x47aa37
inc rax
cmp rax, 4
jge 0x47aa4f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x47aa34
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x47aa60
inc rax
cmp rax, 4
jge 0x47aa6e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x47aa97
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47aa7b
jmp 0x47aa5d
Function at 0x14010c160
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14010c16d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14010c17d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14010c165
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14010c195
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14010c182
sub eax, 3
jb 0x14010c1af
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14010c1e6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14010c1d6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14010c1d4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14010c1c3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14010c122
jmp 0x14010c16d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xbfe00
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14010c236
cmp rsi, rcx
jae 0x14010c23e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14010c21d
cmp al, 0x8f
ja 0x14010c21d
cmp byte [rsi - 2], 0xf
je 0x14010c223
sub al, 0xe8
cmp al, 1
ja 0x14010c207
cmp rsi, rcx
jae 0x14010c23e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14010c20d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14010c23e
lodsb al, byte [rsi]
jmp 0x14010c21d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x109000]
mov eax, dword [rdi]
or eax, eax
je 0x14010c29b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10c000]
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 0x14010c24b
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 0x14010c295
mov qword [rbx], rax
add rbx, 8
jmp 0x14010c26b
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14010c2d5
cmp al, 0xef
ja 0x14010c2c7
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14010c2a7
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14010c2b6
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 + 0x1af]
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
mov byte [fcn.14010c354], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14010c354
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14010c344
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x1400010da
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
nop
cpuid
nop
mov eax, 1
nop
cpuid
nop
movabs r9, 0xb2d05e00
nop
cpuid
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
mov rcx, rax
nop
fldpi
nop
frndint
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
sub rax, rcx
nop
cmp rax, r9
nop
jb 0x140001107
nop
nop
push rbp
nop
mov rbp, rsp
nop
sub rsp, 8
nop
mov r10, 0xa
nop
mov rcx, 0xffffffff9f345678
nop
dec rcx
nop
xor r9, r9
nop
mov rax, rcx
nop
jne 0x140001140
nop
xor rax, rax
nop
mov rax, rbx
nop
add rax, rdx
nop
dec r10
nop
xor r11, r11
nop
jne 0x140001137
nop
xor rax, rax
mov rax, 0xa
nop
dec rax
nop
add rsp, 8
pop rbp
ret

Function at 0x1400038ad
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xaa8e
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400038e8
mov eax, 1
jmp 0x140003943
lea rax, [0x1400302f9]
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov rcx, 0xaa8e
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
call qword [rsp + 0x28]
xor eax, eax
add rsp, 0xa0
ret
jae 0x140003975
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rcx], eax
mov eax, dword [rcx + 0x20]
test eax, eax
jle 0x140003989
mov rcx, qword [rcx + 0x18]
call 0x1400e9010
jmp 0x140003994
jns 0x140003994
mov rcx, qword [rcx + 0x18]
call 0x14008ffb4
mov rcx, qword [rbx + 0x28]
call 0x1400e9010
nop
lea rax, [0x14012fef8]
mov qword [rbx], rax
lea rax, [0x14012fea0]
mov qword [rbx], rax
lea rax, [0x14012fe70]
mov qword [rbx], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140004020
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp dword [0x14002f740], ebx
jne 0x140004083
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004070
lea rcx, str.___.___
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, str.Unicows.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x14002f740], 1
mov qword [0x14002f738], rax
jmp 0x14000408a
mov rax, qword [0x14002f738]
mov dword [0x14002f740], 1
jmp 0x14000408a
mov rax, qword [0x14002f738]
test rax, rax
je 0x1400040a3
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rbx, rax
jne 0x1400040ef
mov rax, qword [0x14002f748]
test rax, rax
jne 0x1400040e3
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x1400040ca
mov rcx, qword [0x1400227b0]
call qword [0x1400227a0]
jmp 0x1400040d7
mov rcx, qword [0x1400227b8]
call qword [0x1400227a8]
test rax, rax
je 0x1400040fa
mov qword [0x14002f748], rax
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140004390
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400043d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
test r8, r8
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
jne 0x140004400
mov ecx, 0x80004005
call fcn.140004110
int3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp]
mov r9d, edi
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140004440
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
test r8, r8
mov rsi, r8
mov rbp, rdx
mov r12, rcx
jne 0x140004469
mov ecx, 0x80004005
call fcn.140004110
int3
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
nop
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 1
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
jne 0x140004480
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x1400048e0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x14002f798]
mov rdi, rcx
test rbx, rbx
jne 0x1400049e3
cmp dword [0x14002f740], ebx
jne 0x140004951
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x14000493e
lea rcx, str.___.___
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, str.Unicows.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x14002f740], 1
mov qword [0x14002f738], rax
jmp 0x140004958
mov rax, qword [0x14002f738]
mov dword [0x14002f740], 1
jmp 0x140004958
mov rax, qword [0x14002f738]
test rax, rax
je 0x140004975
lea rdx, str.CreateActCtxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rbx, rax
jne 0x1400049c8
mov rax, qword [0x14002f748]
test rax, rax
jne 0x1400049b5
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x14000499c
mov rcx, qword [0x1400227b0]
call qword [0x1400227a0]
jmp 0x1400049a9
mov rcx, qword [0x1400227b8]
call qword [0x1400227a8]
test rax, rax
je 0x1400049c8
mov qword [0x14002f748], rax
lea rdx, str.CreateActCtxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rbx, rbx
mov qword [0x14002f798], rbx
jne 0x1400049e3
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
and byte [rdi + 0x48], bl
jmp rax

Function at 0x140004a00
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x14002f7a0]
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
jne 0x140004b0e
cmp dword [0x14002f740], ebx
jne 0x140004a79
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004a66
lea rcx, str.___.___
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, str.Unicows.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x14002f740], 1
mov qword [0x14002f738], rax
jmp 0x140004a80
mov rax, qword [0x14002f738]
mov dword [0x14002f740], 1
jmp 0x140004a80
mov rax, qword [0x14002f738]
test rax, rax
je 0x140004a9d
lea rdx, str.ActivateActCtx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rbx, rax
jne 0x140004af0
mov rax, qword [0x14002f748]
test rax, rax
jne 0x140004add
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004ac4
mov rcx, qword [0x1400227b0]
call qword [0x1400227a0]
jmp 0x140004ad1
mov rcx, qword [0x1400227b8]
call qword [0x1400227a8]
test rax, rax
je 0x140004af0
mov qword [0x14002f748], rax
lea rdx, str.ActivateActCtx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rbx, rbx
mov qword [0x14002f7a0], rbx
jne 0x140004b0e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, rdi
mov rcx, rsi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x140004b30
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x14002f7a8]
mov rdi, rdx
mov esi, ecx
test rbx, rbx
jne 0x140004c3d
cmp dword [0x14002f740], ebx
jne 0x140004ba8
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004b95
lea rcx, str.___.___
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, str.Unicows.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x14002f740], 1
mov qword [0x14002f738], rax
jmp 0x140004baf
mov rax, qword [0x14002f738]
mov dword [0x14002f740], 1
jmp 0x140004baf
mov rax, qword [0x14002f738]
test rax, rax
je 0x140004bcc
lea rdx, str.DeactivateActCtx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rbx, rax
jne 0x140004c1f
mov rax, qword [0x14002f748]
test rax, rax
jne 0x140004c0c
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004bf3
mov rcx, qword [0x1400227b0]
call qword [0x1400227a0]
jmp 0x140004c00
mov rcx, qword [0x1400227b8]
call qword [0x1400227a8]
test rax, rax
je 0x140004c1f
mov qword [0x14002f748], rax
lea rdx, str.DeactivateActCtx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rbx, rbx
mov qword [0x14002f7a8], rbx
jne 0x140004c3d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, rdi
mov ecx, esi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax

Function at 0x140004c60
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x30
mov rbx, qword [0x14002f7b0]
mov rdi, r9
mov esi, r8d
test rbx, rbx
mov rbp, rdx
mov r12d, ecx
jne 0x140004d71
cmp dword [0x14002f740], ebx
jne 0x140004cea
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004cd7
lea rcx, str.___.___
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, str.Unicows.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x14002f740], 1
mov qword [0x14002f738], rax
jmp 0x140004cf1
mov rax, qword [0x14002f738]
mov dword [0x14002f740], 1
jmp 0x140004cf1
mov rax, qword [0x14002f738]
test rax, rax
je 0x140004d0e
lea rdx, str.FindActCtxSectionStringW

Function at 0x140004db0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x40
mov rbx, qword [0x14002f7b8]
mov edi, r9d
mov rsi, r8
test rbx, rbx
mov rbp, rdx
mov r12d, ecx
jne 0x140004ec1
cmp dword [0x14002f740], ebx
jne 0x140004e3a
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jae 0x140004e27
mov rax, qword [0x14002f738]
mov dword [0x14002f740], 1
jmp 0x140004e41
mov rax, qword [0x14002f738]