joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d2190
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor r14d, r14d
lea rsi, [0x1401901d0]
test byte [0x14018ac38], 1
lea r15, [0x1401901f8]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x1400d2253
lock bts qword [0x14018ac38], 0x1f
setb al
test al, al
je 0x1400d21f9
test byte [0x14018ac38], 1
jne 0x1400d2253
xor edx, edx
lea rcx, [0x14018ac38]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfWaitForEvent
jmp 0x1400d2253
mov r9d, 4
mov r8, rsi
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400d2220
mov dword [0x1401901d0], 0x2e
mov r9d, 4
mov r8, r15
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400d2247
mov dword [0x1401901f8], 0x2c
lea rcx, [0x14018ac38]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfSetEvent
neg bl
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
sbb eax, eax
mov dword [rsp + 0x34], r14d
and eax, 3
mov qword [rsp + 0x40], rsi
mov r8, rbp
mov dword [rsp + 0x38], eax
xor edx, edx
mov qword [rsp + 0x48], r15
mov ecx, 0x400
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov rdx, qword [0x140191180]
mov edi, eax
lea ecx, [rax + rax]
mov ebx, ecx
add rcx, 0x12
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov dword [rsp + 0x28], edi
lea r9, [rsp + 0x30]
mov r8, rbp
mov ecx, 0x400
mov rsi, rax
lea rdx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rdx
mov word [rdx + rbx], r14w
mov rdx, qword [rax + 8]
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x1400d2309
lea rcx, [rsi - 0x10]
mov rax, 0xffffffffffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d2302
call fcn.1400d9400
xor eax, eax
jmp 0x1400d23a3
cmp byte [0x14018dbaa], 1
mov r8, qword [rsi + 8]
jb 0x1400d2385
mov rax, r8
mov ecx, r8d
and rax, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400d2345
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
sar edx, cl
bsf ecx, edx
je 0x1400d2341
mov eax, ecx
shr rax, 1
jmp 0x1400d239a
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x1400d2375
nop word [rax + rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x1400d2360
sub rax, r8
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
jmp 0x1400d239a
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r8 + rax*2], r14w
jne 0x1400d2390
add rax, rax
mov qword [rsi], rax
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400d2490
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rdx, [rsp + 0x38]
mov rsi, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x1400d2517
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, edi
mov edx, 4
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
xor edx, edx
mov r9, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1400d2504
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400d36a0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401901f0]
test rax, rax
je 0x1400d36b9
lock inc dword [rax - 8]
add rsp, 0x38
ret
mov rdx, qword [0x140191180]
mov ecx, 0x92
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], r14
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
xor ebp, ebp
mov edx, 0x40
mov qword [rax], 0x80
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + 0x80], bp
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
mov rbx, 0xffffffffffffffff
cmp eax, 0x40
jbe 0x1400d376e
mov qword [rsp + 0x28], rdi
lea rcx, [rsi - 0x10]
mov edx, ebx
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400d3731
call fcn.1400d9400
mov rdx, qword [0x140191180]
lea eax, [r14 + r14]
lea rcx, [rax + 0x12]
mov edi, eax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
mov edx, r14d
mov qword [rax], rdi
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rdi], bp
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rdi, qword [rsp + 0x28]
mov r14d, eax
mov rbp, qword [rsp + 0x50]
test r14d, r14d
mov r14, qword [rsp + 0x20]
jne 0x1400d37a1
lea rcx, [rsi - 0x10]
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x1400d3790
call fcn.1400d9400
mov rbx, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
ret
cmp byte [0x14018dbaa], 1
mov rdx, qword [rsi + 8]
jb 0x1400d3830
mov rbx, rdx
mov ecx, edx
and rbx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400d37e4
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rbx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
mov dword [rsp + 0x40], ecx
je 0x1400d37e0
mov ebx, ecx
shr rbx, 1
jmp 0x1400d383a
add rbx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rbx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x40], ecx
jne 0x1400d3819
nop dword [rax + rax]
add rbx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rbx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x40], ecx
je 0x1400d3800
sub rbx, rdx
mov eax, ecx
sar rbx, 1
shr rax, 1
add rbx, rax
jmp 0x1400d383a
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400d3830
add rbx, rbx
mov qword [rsi], rbx
xor eax, eax
lock cmpxchg qword [0x1401901f0], rsi
jne 0x1400d3851
lock inc dword [rsi - 8]
mov rbx, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x1400d3870
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub rsp, 0x18
cmp qword [0x1401901e8], 0
mov r8, rcx
je 0x1400d3890
movups xmm0, xmmword [0x1401901e0]
movups xmmword [rcx], xmm0
add rsp, 0x18
ret
cmp byte [0x14018dbaa], 1
mov r9d, 0x7ffe0030
mov qword [rsp + 8], r9
jb 0x1400d38ed
xorps xmm0, xmm0
mov ecx, r9d
pcmpeqw xmm0, xmmword [r9]
xorps xmm1, xmm1
pmovmskb eax, xmm0
bsf edx, eax
mov dword [rsp + 0x28], edx
jne 0x1400d38d9
nop
add rcx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rcx]
pmovmskb eax, xmm0
bsf edx, eax
mov dword [rsp + 0x28], edx
je 0x1400d38c0
add rcx, 0xffffffff8001ffd0
mov eax, edx
sar rcx, 1
shr rax, 1
add rcx, rax
jmp 0x1400d38ff
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [r9 + rcx*2], 0
jne 0x1400d38f4
add rcx, rcx
mov qword [rsp], rcx
cmp word [rcx + 0x7ffe002e], 0x5c
jne 0x1400d3918
lea rax, [rcx - 2]
mov qword [rsp], rax
movups xmm0, xmmword [rsp]
lea rax, [rcx - 2]
cmovne rax, rcx
movups xmmword [r8], xmm0
mov qword [0x1401901e0], rax
lock or dword [rsp], 0
mov qword [0x1401901e8], r9
add rsp, 0x18
ret
Function at 0x1400d3c00
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rbx, rcx
mov r14, rdx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rax, qword gs:[0x30]
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x10
mov rax, qword [r9]
cmp rax, r9
je 0x1400d3c5e
test rbx, rbx
je 0x1400d3c88
nop
cmp qword [rax + 0x30], rbx
je 0x1400d3c88
mov rax, qword [rax]
cmp rax, r9
jne 0x1400d3c50
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
test rax, rax
je 0x1400d3c5e
movzx edi, word [rax + 0x48]
mov rdx, qword [0x140191180]
mov qword [rsp + 0x40], rsi
mov rsi, qword [rax + 0x50]
lea rcx, [rdi + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
xor ebp, ebp
mov rbx, rax
mov qword [rax], rdi
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rdi], bp
test rsi, rsi
je 0x1400d3cd2
mov rcx, qword [rax + 8]
mov r8d, edi
mov rdx, rsi
call fcn.1401317c0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov rsi, qword [rsp + 0x40]
test rbx, rbx
je 0x1400d3c78
mov rcx, rbx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetFileName
mov rdi, rax
lea rcx, [rbx - 0x10]
mov edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400d3d19
call fcn.1400d9400
test r14, r14
je 0x1400d3d3b
mov edx, 0x5c
xor r8d, r8d
mov rcx, rdi
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFindLastCharInStringRef
cmp rax, 0xffffffffffffffff
lea ecx, [rax + 1]
cmove ecx, ebp
mov dword [r14], ecx
mov rbx, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400d3e30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor r12d, r12d
mov rsi, rdx
mov r15d, ecx
mov rbx, 0xffffffffffffffff
test rdx, rdx
je 0x1400d3f01
cmp byte [0x14018dbaa], 1
jb 0x1400d3eee
mov r8, rdx
mov ecx, esi
and r8, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400d3ea4
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
mov dword [rsp + 0x68], ecx
je 0x1400d3ea0
mov r8d, ecx
shr r8, 1
lea rbp, [r8 + r8]
jmp 0x1400d3f04
add r8, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x68], ecx
jne 0x1400d3eda
nop dword [rax]
add r8, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x68], ecx
je 0x1400d3ec0
sub r8, rsi
mov eax, ecx
sar r8, 1
shr rax, 1
add r8, rax
lea rbp, [r8 + r8]
jmp 0x1400d3f04
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400d3ef1
lea rbp, [r8 + r8]
jmp 0x1400d3f04
mov rbp, r12
mov rdx, qword [0x140191180]
lea rdi, [rbp + 0x208]
lea rcx, [rdi + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov r14, rax
lea rcx, [rax + 0x10]
mov qword [rax], rdi
mov qword [rax + 8], rcx
mov word [rcx + rdi], r12w
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400d3ff5
cmp byte [0x14018dbaa], 1
mov rdx, qword [r14 + 8]
jb 0x1400d3fc5
mov rbx, rdx
mov ecx, edx
and rbx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400d3f8b
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rbx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
je 0x1400d3f87
mov ebx, ecx
shr rbx, 1
jmp 0x1400d3fcf
add rbx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rbx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1400d3fb5
nop dword [rax + rax]
add rbx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rbx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1400d3fa0
sub rbx, rdx
mov eax, ecx
sar rbx, 1
shr rax, 1
add rbx, rax
jmp 0x1400d3fcf
inc rbx
cmp word [rdx + rbx*2], r12w
jne 0x1400d3fc5
add rbx, rbx
mov qword [r14], rbx
test rsi, rsi
je 0x1400d3ff0
shr rbx, 1
lea r8, [rbp + 2]
lea rcx, [rdx + rbx*2]
mov rdx, rsi
call fcn.1401317c0
add qword [r14], rbp
mov rax, r14
jmp 0x1400d400a
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x1400d4008
call fcn.1400d9400
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400d5410
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x98
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x70
movups xmmword [rsp + 0x44], xmm0
xor eax, eax
movups xmmword [rsp + 0x24], xmm0
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x14], rax
mov dword [r11 - 0xc], eax
mov qword [r11 - 0x60], rdx
mov qword [r11 - 0x58], r8
mov dword [rsp + 0x50], 5
mov qword [r11 - 0x70], rcx
lea rcx, [r11 - 0x78]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
add rsp, 0x98
ret
Function at 0x1400d5480
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x37]
sub rsp, 0xd8
mov edi, dword [rbp + 0x6f]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x71], 0x70
mov qword [rbp - 0xd], rax
mov dword [rbp - 5], eax
movups xmmword [rbp - 0x6d], xmm0
mov dword [rbp - 0x6d], 0x40
mov qword [rbp - 0x69], rcx
movups xmmword [rbp - 0x5d], xmm0
mov qword [rbp - 0x59], rdx
movups xmmword [rbp - 0x4d], xmm0
mov qword [rbp - 0x51], r8
mov dword [rbp - 0x41], r9d
movups xmmword [rbp - 0x3d], xmm0
movups xmmword [rbp - 0x2d], xmm0
movups xmmword [rbp - 0x1d], xmm0
test dil, 1
je 0x1400d54f1
cmp dword [sym.4yUlCM3HuVsHzW5CaCX.exe_WindowsVersion], 0x3c
lea rax, str.runas
cmovb rax, qword [rbp - 0x61]
mov qword [rbp - 0x61], rax
lea rcx, [rbp - 0x71]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400d5653
mov qword [rsp + 0xf8], rbx
mov ebx, dword [rbp + 0x77]
test ebx, ebx
je 0x1400d5619
mov qword [rsp + 0x100], rsi
test dil, 2
jne 0x1400d5562
cmp ebx, 0xffffffff
jne 0x1400d553f
mov rcx, qword [rbp - 9]
xor esi, esi
mov r8d, esi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x1400d5611
imul rcx, rbx, 0xffffffffffffd8f0
lea rsi, [rbp + 0x4f]
xor edx, edx
mov qword [rbp + 0x4f], rcx
mov r8, rsi
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x1400d5611
mov qword [rsp + 0xd0], r14
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
mov edi, ebx
nop word [rax + rax]
mov r9d, edi
mov dword [rsp + 0x20], 0x1cbf
xor r8d, r8d
lea rdx, [rbp - 9]
mov ecx, 1
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x1400d5609
cmp eax, 1
jne 0x1400d5609
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
lea rcx, [rbp - 1]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400d55f2
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 1]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400d55c0
cmp ebx, 0xffffffff
je 0x1400d5580
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [r14 + rbx]
sub edi, eax
jns 0x1400d5580
mov r14, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x7f]
mov rbx, qword [rsp + 0xf8]
test rcx, rcx
je 0x1400d563d
mov rax, qword [rbp - 9]
mov qword [rcx], rax
mov al, 1
add rsp, 0xd8
pop rdi
pop rbp
ret
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
add rsp, 0xd8
pop rdi
pop rbp
ret
xor al, al
add rsp, 0xd8
pop rdi
pop rbp
ret
Function at 0x1400d5a70
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x98
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x70
movups xmmword [rsp + 0x24], xmm0
xor eax, eax
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x14], rax
mov dword [r11 - 0xc], eax
lea rax, str.properties
mov qword [r11 - 0x60], rdx
mov dword [rsp + 0x50], 5
mov dword [rsp + 0x24], 0xc
mov qword [r11 - 0x70], rcx
lea rcx, [r11 - 0x78]
mov qword [r11 - 0x68], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
add rsp, 0x98
ret
Function at 0x1400d6830
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
xor ebx, ebx
mov r14, rcx
test rdx, rdx
je 0x1400d6888
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400d6850
add r8, r8
mov qword [rsp + 0x38], rdx
mov word [rsp + 0x30], r8w
mov ebp, 0x10
mov word [rsp + 0x32], r8w
cmp r8, 0xfffe
jbe 0x1400d6896
mov rax, rbx
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
mov dword [rsp + 0x30], ebx
mov ebp, 0x10
mov qword [rsp + 0x38], rbx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov qword [rsp + 0x60], rsi
mov r8d, 0x100
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsp + 0x68]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov rcx, r14
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test eax, eax
jns 0x1400d693c
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, 0x80000005
jne 0x1400d69b5
mov r8d, dword [rsp + 0x68]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
add ebp, 0xffffffff
jne 0x1400d68d0
test esi, esi
js 0x1400d69b5
mov ecx, dword [rdi + 4]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x1400d6950
cmp ecx, 7
jne 0x1400d69a3
mov eax, dword [rdi + 8]
cmp eax, 2
jb 0x1400d699b
mov rdx, qword [0x140191180]
lea rbp, [rax - 2]
lea rcx, [rbp + 0x12]
lea r14, [rdi + 0xc]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rbp
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbp], bx
test r14, r14
je 0x1400d6996
mov rcx, qword [rax + 8]
mov r8, rbp
mov rdx, r14
call fcn.1401317c0
mov rbx, rsi
jmp 0x1400d69a3
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhReferenceEmptyString
mov rbx, rax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rsp + 0x60]
mov rax, rbx
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret

Function at 0x1400d7e50
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x1400d7ea8
sub edx, 1
je 0x1400d7e7a
cmp edx, 1
je 0x1400d7e70
mov ecx, 0xc00000f0
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
mov dword [rcx + 4], eax
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0x1c], 0x67452301
mov qword [rcx + 0x30], rax
mov dword [rcx + 0x20], 0xefcdab89
mov dword [rcx + 0x24], 0x98badcfe
mov dword [rcx + 0x28], 0x10325476
mov dword [rcx + 0x2c], 0xc3d2e1f0
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0xc], 0x67452301
mov qword [rcx + 4], rax
mov dword [rcx + 0x10], 0xefcdab89
mov dword [rcx + 0x14], 0x98badcfe
mov dword [rcx + 0x18], 0x10325476
add rsp, 0x28
ret
Function at 0x1400d7ed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r9, rdx
mov r10, rcx
mov edx, dword [rcx]
test edx, edx
je 0x1400d7f48
sub edx, 1
je 0x1400d7f38
cmp edx, 1
je 0x1400d7ef6
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov eax, dword [rcx + 4]
mov r8d, r8d
not eax
test r8, r8
je 0x1400d7f2d
lea r11, [0x1401685b0]
nop word [rax + rax]
movsx edx, byte [r9]
lea r9, [r9 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r11 + rcx*4]
sub r8, 1
jne 0x1400d7f10
not eax
mov dword [r10 + 4], eax
add rsp, 0x28
ret
add rcx, 4
mov rdx, r9
add rsp, 0x28
jmp fcn.1401116c0
add rcx, 4
mov rdx, r9
add rsp, 0x28
jmp fcn.14010fb20

Function at 0x1400d9520
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx], eax
mov qword [rcx + 0x208], rax
mov qword [rcx + 0x210], rax
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140190208]
mov rdx, rbx
mov qword [rbx + 0x218], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400d956d
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x1400d9580
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhDrainAutoPool
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rax, rbx
jne 0x1400d95dd
mov rdx, qword [rbx + 0x218]
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400d95dd
mov r8, qword [rbx + 0x210]
test r8, r8
je 0x1400d95d7
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntdll.dll_RtlFreeHeap]
add rsp, 0x20
pop rbx
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
Function at 0x1400d96d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rdi, rdi
jne 0x1400d96fe
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rax]
cmp eax, 0x40
jae 0x1400d971a
mov qword [rbx + rax*8 + 8], rdi
mov rax, rdi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x1400d9752
mov dword [rbx + 0x20c], 0x40
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, 0x200
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x1400d978e
add eax, eax
mov r8, rcx
mov r9d, eax
mov edx, 4
mov dword [rbx + 0x20c], eax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x208]
mov qword [rcx + rax*8], rdi
mov rax, rdi
inc dword [rbx + 0x208]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d9b30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov rdi, r8
lea rcx, [0x140190210]
mov rsi, rdx
call qword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov rbx, rax
test rax, rax
je 0x1400d9b6b
lock dec dword [0x140190220]
jmp 0x1400d9b8b
mov r8, qword [0x140190228]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
add r8, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
xor eax, eax
mov qword [rbx + 0x10], rsi
lea r9, [rbx + 0x10]
mov qword [rsp + 0x28], rax
lea r8, [0x1400d9aa0]
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov qword [r9 + 8], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400d9bf4
mov eax, dword [0x140190224]
cmp dword [0x140190220], eax
jae 0x1400d9be0
mov rdx, rbx
lea rcx, [0x140190210]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x140190220]
jmp 0x1400d9bf2
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400d9d90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rdx
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x1400d9dec
test rbx, rbx
je 0x1400d9de1
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret