joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180050c00
Capabilities:
Terminate process

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x20]
mov r15, rcx
xor r14b, r14b
call fcn.180050d90
mov rcx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
cmp rcx, rbp
je 0x180050cff
mov qword [rsp + 0x68], rbx
lea rbx, [rcx + 8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
nop
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x180050c5d
mov rax, qword [rbx]
cmp qword [r15 + 0xc0], 7
lea r8, [r15 + 0xa8]
mov rdx, qword [r15 + 0xb8]
jbe 0x180050c7c
mov r8, qword [r15 + 0xa8]
cmp rdx, qword [rbx + 0x10]
jne 0x180050cd5
test rdx, rdx
je 0x180050ca4
sub r8, rax
nop word [rax + rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x180050cd5
add rax, 2
sub rdx, 1
jne 0x180050c90
mov r8d, dword [rbx - 8]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180050cd5
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14b, 1
add rbx, 0x28
lea rax, [rbx - 8]
cmp rax, rbp
jne 0x180050c50
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180050d65
mov rdx, rbp
call fcn.180051180
mov r8, qword [rsp + 0x20]
movabs rax, 0x6666666666666667
mov rcx, qword [rsp + 0x30]
sub rcx, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r8
lea rdx, [rdx + rdx*4]
shl rdx, 3
cmp rdx, 0x1000
jb 0x180050d5d
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050d8a
mov rcx, r8
call fcn.18007bb20
test r14b, r14b
je 0x180050d73
xor eax, eax
xchg byte [r15 + 0x121], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
call fcn.18008a6e4
int3
Function at 0x180050d90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180050f61
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.1800aba60
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180050f57
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180050e50
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.180007ce0
nop
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180005380
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180050eb4
mov eax, dword [rsp + 0x28]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x30], si
add qword [rbx + 8], 0x28
jmp 0x180050ec6
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.180051220
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180050f04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050efe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050f8c
call fcn.18007bb20
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180050f42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050f3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050f92
call fcn.18007bb20
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180050e32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18007bb00
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18008a6e4
nop
call fcn.18008a6e4
int3
Function at 0x180051ab0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1800aba60
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov r8d, 3
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov rcx, rbx
cmp eax, r8d
jae 0x180051b23
lea rdx, [0x1801b7ff8]
call fcn.180007ce0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18007bb00
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x180051b50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180051d21
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.1800aba60
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180051d17
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180051c10
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.180007ce0
nop
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180005380
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180051c74
mov eax, dword [rsp + 0x28]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x30], si
add qword [rbx + 8], 0x28
jmp 0x180051c86
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.180051220
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180051cc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051d4c
call fcn.18007bb20
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180051d02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051cfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051d52
call fcn.18007bb20
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180051bf2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18007bb00
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18008a6e4
nop
call fcn.18008a6e4
int3
Function at 0x180051e60
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerPower
mov dword [rsp + 0x38], eax
mov r9d, 0x20006
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x180051ebd
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x58
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.HiberbootEnabled
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x58
ret
Function at 0x180051f20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor ebx, ebx
lea rdx, [0x1801d4a28]
call fcn.180052120
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1800aba60
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8d, 3
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
cmp eax, r8d
lea rdx, [rsp + 0x70]
jae 0x180051fa8
lea rdx, [0x1801b7ff8]
call fcn.180007ce0
nop
mov r8d, Ordinal_21
lea rdx, str.Windows_System32
lea rcx, [rsp + 0x48]
call fcn.1800243e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [rsp + 0x20]
call fcn.180052120
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x180052043
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005203e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005210b
call fcn.18007bb20
movdqa xmm0, xmmword [0x1801ba480]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bx
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x180052094
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005208f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052105
call fcn.18007bb20
lea rdx, [rsp + 0x20]
call fcn.180052230
nop
mov r8, rax
lea rdx, [rsp + 0x48]
call fcn.180052490
nop
lea rcx, [rsp + 0x20]
call fcn.180045900
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rdi
je 0x1800520d7
mov rdx, rbx
call fcn.180052120
add rbx, 0x20
cmp rbx, rdi
jne 0x1800520c6
lea rcx, [rsp + 0x48]
call fcn.180045900
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.18007bb00
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.18008a6e4
nop
call fcn.18008a6e4
nop
int3
Function at 0x180052230
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, rdx
mov qword [rsp + 0x28], rdx
xor r14d, r14d
lea rdx, [rbp - 0x80]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
cmp eax, 0x200
jbe 0x180052291
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
jmp 0x180052452
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, r14
mov qword [rsp + 0x58], r14
movdqu xmmword [rsp + 0x30], xmm1
mov rdx, r14
mov qword [rsp + 0x40], rdx
movzx ebx, r14w
test esi, esi
je 0x1800523da
mov rcx, qword [rsp + 0x38]
movzx eax, bx
lea r8, [rbp - 0x80]
lea r8, [r8 + rax*2]
movzx eax, word [r8]
test ax, ax
je 0x180052302
cmp rcx, rdx
je 0x1800522f0
mov word [rcx], ax
mov rcx, qword [rsp + 0x38]
add rcx, 2
mov qword [rsp + 0x38], rcx
jmp 0x1800523c2
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.180053540
jmp 0x1800523bd
mov r8, rcx
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1800533e0
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x180052364
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x58]
je 0x180052352
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.180005380
add qword [rsp + 0x50], 0x20
jmp 0x180052364
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180046880
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
cmp r8, rcx
je 0x18005237b
mov rcx, r8
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800523c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800523b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005247c
call fcn.18007bb20
mov rcx, qword [rsp + 0x38]
inc bx
movzx eax, bx
mov rdx, qword [rsp + 0x40]
cmp eax, esi
jb 0x1800522c1
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], r14
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x180052448
sub rdx, r8
sar rdx, 1
add rdx, rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x180052432
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052482
mov rcx, r8
call fcn.18007bb20
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x48]
call fcn.180045900
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.18007bb00
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18008a6e4
nop
call fcn.18008a6e4
int3
Function at 0x180053210
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov dword [rsp + 0x58], reloc.LIBPQ.dll_Ordinal_20
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SYSTEMCurrentControlSetControlGraphicsDrivers
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x5c], 0xa
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1800532b4
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.TdrDelay
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1800532c8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x78
ret
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.TdrDdiDelay
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x1800532ae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x78
ret

Function at 0x180053320
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, str.SYSTEMCurrentControlSetControlDeviceGuardScenariosHypervisorEnforcedCodeIntegrity
mov qword [rsp + 0x30], rax
mov r9d, 0x20006
mov dword [rsp + 0x38], eax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18005337d
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x58
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Enabled
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x58
ret
Function at 0x18005a7b0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rdx + 0x18], 7
mov rbx, rdx
mov rcx, rdx
jbe 0x18005a7c6
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005a7f3
test al, 4
jne 0x18005a7f3
cmp qword [rbx + 0x18], 7
jbe 0x18005a7df
mov rbx, qword [rbx]
mov edx, 6
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add rsp, 0x20
pop rbx
ret
Function at 0x18006c300
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x90], r8
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x34], ebx
mov eax, 1
mov word [rsp + 0x38], ax
mov byte [rsp + 0x30], bl
nop dword [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rax
lea r14, [0x1801d1030]
cmp qword [reloc.LIBPQ.dll_Ordinal_15], 0xf
cmova r14, qword [0x1801d1030]
movdqu xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], rbx
mov ecx, Ordinal_26
call fcn.18007bb28
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rbx
mov ecx, reloc.LIBPQ.dll_Ordinal_72
call fcn.18007bb28
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xf0], ebx
mov edx, dword [0x1801d37e4]
mov rax, qword gs:[0x58]
mov ecx, Ordinal_20
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1801d4f44], ecx
jle 0x18006c43f
lea rcx, [0x1801d4f44]
call fcn.18007c0a4
cmp dword [0x1801d4f44], 0xffffffff
jne 0x18006c43f
call fcn.180004ef0
mov dword [0x1801d4f40], eax
lea rcx, [0x1801d4f44]
call fcn.18007c038
mov rdx, r14
lea rcx, [rsp + 0xc0]
call fcn.180072940
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x120]
call fcn.180013ef0
nop
lea rcx, [rsp + 0xc0]
call fcn.180071eb0
lea rdx, [rsp + 0x120]
mov rcx, rsi
call fcn.180015290
or edi, 1
mov dword [rsp + 0x34], edi
lea rcx, [rsp + 0x120]
call fcn.180014fe0
nop
lea rcx, [rsp + 0xc0]
call fcn.180061410
mov rax, rsi
jmp 0x18006c4af
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18007bb00
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
Function at 0x18007ab38
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x1800d5530]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18007ab72
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18007ab77
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18007abc0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.LIBPQ.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x18007abc0
dec r8
sub rdx, 1
jne 0x18007aba6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180093d70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x180093da7
call fcn.18008a298
mov dword [rax], reloc.LIBPQ.dll_Ordinal_22
call fcn.18008a6c4
xor eax, eax
jmp 0x180093e39
mov rdx, r9
mov rcx, r8
call fcn.180093d0c
mov rbx, rax
test rax, rax
je 0x180093e36
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x180093c40]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x180093e23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18008a228
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180093e0a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180093e19
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180096700
jmp 0x180093e36
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180093e33
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180095714
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180095783
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180095783
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180095783
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180095783
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180095783
cmp dword [rcx + 0x84], 0xe
jbe 0x180095783
cmp dword [rcx + 0xf8], 0
je 0x180095783
mov ecx, ebx
call fcn.180095828
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18009561c
nop
cmp dword [rbp + 0x20], 0
jne 0x1800957e4
call fcn.18009fb00
cmp eax, 1
jne 0x1800957d4
xor dl, dl
jmp 0x1800957de
call fcn.1800a1144
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1800957ef
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800957f8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180095714

Function at 0x18009756c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1801dd050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1800975d1
test rax, rax
jne 0x1800975bf
lea r9, [0x1800d90c0]
lea r8, [0x1800d90b8]
lea rdx, [0x1800d90c0]
lea ecx, [rax + 0xa]
call fcn.180097120
test rax, rax
je 0x1800975d1
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.1800ab2a0
jmp 0x1800975eb
xor edx, edx
mov rcx, rbp
call fcn.18009785c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18009be20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18009be36
mov al, 1
jmp 0x18009bea2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18009be47
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18009bea0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800a7540
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18009bea0
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18009bea0
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18009bea0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18009bea2
xor al, al
add rsp, 0x20
pop rbx
ret