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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor ecx, ecx
call fcn.180180a84
mov dword [0x18039cc7c], eax
mov qword [rsp + 0x28], 0x100
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
jbe 0x180159b80
lea rax, [0x1803cb7b0]
mov rcx, qword [rsp + 0x28]
mov byte [rax + rcx], 0xff
lea rax, [0x1803cb8b0]
mov rcx, qword [rsp + 0x28]
mov byte [rax + rcx], 0xff
jmp 0x180159b3f
mov qword [rsp + 0x20], 0
jmp 0x180159b98
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x40
jae 0x180159c11
lea rax, [0x1803a3c70]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx]
xor rax, qword [rsp + 0x20]
add rax, 0x41
and rax, 0xff
lea rcx, [0x1803a3c70]
mov rdx, qword [rsp + 0x20]
mov byte [rcx + rdx], al
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx]
lea rcx, [0x1803cb7b0]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax], dl
lea rax, [0x1803a3c70]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx]
lea rcx, [0x1803cb8b0]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax], dl
jmp 0x180159b8b
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x18015d180
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
xor r9d, r9d
mov r8, qword [rsp + 0x98]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180159c20
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0x48]
call fcn.1800038f0
mov ecx, dword [rsp + 0x70]
and ecx, 0xff000000
shr ecx, 0x18
mov ecx, ecx
mov rax, qword [rax]
add rax, rcx
sub rax, qword [rsp + 0x68]
test rax, rax
je 0x18015d232
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18015a020
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 8
jmp 0x18015d208
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18015d230
mov eax, dword [rsp + 0x20]
shr eax, 1
mov ecx, dword [rsp + 0x20]
and ecx, 1
xor edx, edx
sub edx, ecx
mov ecx, edx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x18015d1fe
jmp 0x18015d1b3
mov eax, dword [rsp + 0x20]
not eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x88
ret
Function at 0x180164480
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180165910
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
xor r9d, r9d
mov r8d, 0x10
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x180165600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x38], 0
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret

Function at 0x180164520
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x40]
test rax, rax
je 0x180164548
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.180165bc0
mov rcx, qword [rsp + 0x20]
call fcn.18007c400
mov rcx, qword [rsp + 0x20]
call fcn.180001510
add rsp, 0x38
ret

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

Disassembly:
sub rsp, 0x38
cmp dword [0x1803bac44], 0
jne 0x180166451
xor eax, eax
jmp 0x180166495
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180166490
mov edx, 0x14
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x18016abf0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x18016ac74
lea rcx, [rsp + 0x68]
call fcn.1800a5db0
nop
mov rax, qword [0x1803bac08]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov r8d, 0x1f40
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1800a5e00
xor edx, edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.1800a5de0
mov rax, qword [rsp + 0x90]
add rax, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
mov rax, qword [rsp + 0x90]
add rax, 0x78
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.18015fc10
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18017d640
nop
mov rax, qword [rsp + 0x90]
add rax, 0x68
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.18015fc10
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.18017d640
nop
mov rax, qword [rsp + 0x90]
add rax, 0x58
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.18016f330
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.18017d640
nop
mov rax, qword [rsp + 0x90]
add rax, 0x48
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.18016f2a0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.18017d640
add rsp, 0x88
ret
Function at 0x1801998c0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1800ec270
mov edx, 3
mov ecx, 0xfa0
call fcn.18019ca30
jmp 0x1801998fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x18019f8d0
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x18019f8f5
cmp dword [rsp + 0x20], 1
je 0x18019f8f9
jmp 0x18019f945
mov al, 1
jmp 0x18019f947
mov rax, qword [rsp + 0x40]
add rax, 0x78
mov rcx, rax
call fcn.180073860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x18019f91b
mov al, 1
jmp 0x18019f947
mov rax, qword [rsp + 0x40]
add rax, 0x78
mov rcx, rax
call fcn.180073860
mov r8d, 4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x18019f945
mov al, 1
jmp 0x18019f947
xor al, al
add rsp, 0x38
ret
Function at 0x1801bb360
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [rsp + 0x90]
add rax, 0x18
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1800742b0
jmp 0x1801bb3a2
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.180076110
mov rax, qword [rsp + 0x90]
add rax, 0x18
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1800742e0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1800755a0
movzx eax, al
test eax, eax
je 0x1801bb3ec
lea rcx, [rsp + 0x28]
call fcn.180075530
mov rcx, rax
call fcn.180073860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1801bb390
mov rax, qword [rsp + 0x90]
add rax, 0x30
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800742b0
jmp 0x1801bb419
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180076110
mov rax, qword [rsp + 0x90]
add rax, 0x30
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1800742e0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800755a0
movzx eax, al
test eax, eax
je 0x1801bb464
lea rcx, [rsp + 0x30]
call fcn.180075530
mov rcx, rax
call fcn.180073860
xor edx, edx
mov rcx, rax
call fcn.1800070e0
jmp 0x1801bb407
mov rax, qword [rsp + 0x90]
add rax, 0x60
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1800746c0
jmp 0x1801bb491
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.180076790
mov rax, qword [rsp + 0x90]
add rax, 0x60
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.180074700
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180074730
movzx eax, al
test eax, eax
je 0x1801bb4f1
lea rcx, [rsp + 0x20]
call fcn.180076770
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1801561f0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18017d640
jmp 0x1801bb47f
mov rax, qword [rsp + 0x90]
add rax, 0x828
mov rcx, rax
call fcn.180073360
nop
mov rax, qword [rsp + 0x90]
add rax, 0x770
mov rcx, rax
call fcn.1801a2640
nop
mov rax, qword [rsp + 0x90]
add rax, 0xe8
mov rcx, rax
call fcn.180003220
nop
mov rax, qword [rsp + 0x90]
add rax, 0xb8
mov rcx, rax
call fcn.1800c3ec0
nop
mov rax, qword [rsp + 0x90]
add rax, 0x98
mov rcx, rax
call fcn.180073360
nop
mov rax, qword [rsp + 0x90]
add rax, 0x70
mov rcx, rax
call fcn.180004090
nop
mov rax, qword [rsp + 0x90]
add rax, 0x60
mov rcx, rax
call fcn.180008ef0
nop
mov rax, qword [rsp + 0x90]
add rax, 0x48
mov rcx, rax
call fcn.1800755e0
nop
mov rax, qword [rsp + 0x90]
add rax, 0x30
mov rcx, rax
call fcn.180074290
nop
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, rax
call fcn.180074290
nop
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.180074290
add rsp, 0x88
ret
Function at 0x1801d6590
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x38
cmp dword [0x1803bac44], 0
jne 0x1801d65a1
xor eax, eax
jmp 0x1801d65e5
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1801d65e0
mov edx, 0x14
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1801da500
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x5be0cd19
mov rax, qword [rsp + 8]
mov qword [rax + 0x20], 0
ret

Function at 0x1801dc6c0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov byte [rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x44], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x44], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x10325476
ret
Function at 0x1801ddcf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov eax, dword [rsp + 0x2a0]
and eax, 0x300
test eax, eax
jne 0x1801ddd28
mov eax, dword [rsp + 0x2a0]
bts eax, 9
mov dword [rsp + 0x2a0], eax
mov eax, dword [rsp + 0x2a0]
and eax, 0x300
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1801ddd62
mov al, 1
jmp 0x1801ddf5d
mov eax, dword [rsp + 0x2a0]
and eax, 0x300
or eax, 0x20019
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801dddc3
cmp dword [rsp + 0x40], 2
jne 0x1801dddb2
mov al, 1
jmp 0x1801ddf5d
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x1801ddf5d
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov rcx, qword [rsp + 0x298]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax - 2]
cmp eax, 0x5c
je 0x1801dde17
mov eax, 0x5c
mov rcx, qword [rsp + 0x48]
mov word [rcx], ax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rcx], ax
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1801ddef7
lea r8, [rsp + 0x70]
mov edx, 0x104
mov rcx, qword [rsp + 0x48]
call fcn.18018093c
mov r8d, dword [rsp + 0x2a0]
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call fcn.1801ddcf0
movzx eax, al
test eax, eax
jne 0x1801ddea4
jmp 0x1801ddef7
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1801dde6a
mov rax, qword [rsp + 0x48]
sub rax, 2
mov qword [rsp + 0x48], rax
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rcx], ax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x2a0]
and eax, 0x300
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1801ddf51
mov al, 1
jmp 0x1801ddf5d
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
add rsp, 0x288
ret
Function at 0x1801defd0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.1801e4160
lea rcx, [rsp + 0x70]
call fcn.180074060
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1801df0c5
mov rax, qword [rsp + 0xb8]
add rax, 8
mov rcx, rax
call fcn.180003ba0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xb8]
add rcx, 8
call fcn.180073860
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax]
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x1801df0d6
mov dword [rsp + 0x58], 1
jmp 0x1801df0de
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x70]
call fcn.180073fc0
movzx eax, byte [rsp + 0x50]
add rsp, 0x98
ret
Function at 0x1801df110
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x328
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov dword [rsp + 0x4c], 0
mov r8, qword [rsp + 0x340]
lea rdx, [rsp + 0x338]
lea rcx, [rsp + 0xa8]
call fcn.1801e4160
nop
lea rcx, [rsp + 0xa8]
call fcn.180074060
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x338]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x41]
lea rcx, [rsp + 0x88]
call fcn.1800f0d60
nop
cmp dword [rsp + 0x50], 0
jne 0x1801df30f
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x110]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x58], 0
jne 0x1801df304
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xc8]
call fcn.1800aac40
nop
lea rcx, [rsp + 0xc8]
call fcn.180074060
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xa8]
call fcn.180074060
mov rcx, qword [rsp + 0x78]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0xe8]
call fcn.1801df370
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x88]
call fcn.1800edb40
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov rcx, rax
call fcn.1800032b0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rcx], eax
mov rax, qword [rsp + 0x60]
add rax, 8
mov rcx, rax
call fcn.1800032b0
mov rcx, qword [rsp + 0x70]
add rcx, 8
mov rdx, rax
call fcn.180073190
nop
lea rcx, [rsp + 0xe8]
call fcn.180004f80
mov dword [rsp + 0x48], 0x208
lea rcx, [rsp + 0xc8]
call fcn.180073fc0
jmp 0x1801df1bb
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x330]
call fcn.1800ee7e0
mov eax, dword [rsp + 0x4c]
or eax, 1
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x88]
call fcn.1800ed0b0
nop
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
mov rax, qword [rsp + 0x330]
add rsp, 0x328
ret
Function at 0x1801df370
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov dword [rsp + 0x48], 0
mov r8, qword [rsp + 0x100]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x98]
call fcn.1801e4160
nop
lea rcx, [rsp + 0x98]
call fcn.180074060
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x68]
call fcn.1800ab6e0
nop
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x34], 0
jne 0x1801df56f
mov edx, 0x20000
lea rcx, [rsp + 0x40]
call fcn.1800761a0
nop
mov dword [rsp + 0x30], 0x20000
lea rcx, [rsp + 0x40]
call fcn.1800038e0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 0x20000
jbe 0x1801df4b7
mov eax, dword [rsp + 0x30]
add eax, 8
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1800edad0
lea rcx, [rsp + 0x40]
call fcn.1800038e0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.1800038e0
mov ecx, dword [rsp + 0x30]
mov byte [rax + rcx], 0
cmp dword [rsp + 0x34], 0
jne 0x1801df559
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jbe 0x1801df559
cmp dword [rsp + 0x38], 4
jbe 0x1801df4f3
cmp dword [rsp + 0x38], 7
je 0x1801df4f3
jmp 0x1801df559
cmp dword [rsp + 0x30], 0x400000
jbe 0x1801df505
mov dword [rsp + 0x30], 0x400000
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.1800038e0
mov rcx, qword [rsp + 0x60]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.180073080
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.180073190
lea rcx, [rsp + 0xb8]
call fcn.180073360
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call fcn.180076200
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf0]
call fcn.1800ae080
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x68]
call fcn.180004f80
nop
lea rcx, [rsp + 0x98]
call fcn.180073fc0
mov rax, qword [rsp + 0xf0]
add rsp, 0xe8
ret