joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov word [rsp + 0x39], 0x1b09
mov byte [rsp + 0x38], recvfrom
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400081c0
movsxd rcx, ebx
mov r14d, 1
inc rcx
mov edx, r14d
mov esi, ebx
call fcn.14002f9e8
mov r9, rax
test rax, rax
je 0x14000831a
dec ebx
test esi, esi
je 0x14000823f
movsxd r10, ebx
movabs r11, 0xaaaaaaaaaaaaaaab
add r10, r9
sub rdi, r9
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, ebx
lea r10, [r10 - 1]
mov r8d, ebx
mov rax, r11
mul rcx
dec ebx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rcx, rax
movzx eax, byte [rsp + rcx + 0x38]
xor al, byte [rdi + r10 + 1]
mov byte [r10 + 1], al
test r8d, r8d
jne 0x140008210
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x140008246
test rax, rax
je 0x140008317
sub r14, r9
mov r10, r9
neg r10
mov rdx, r9
cmp byte [rdx], 0x5c
jne 0x1400082f3
lea r8, [r10 + rdx]
movzx ecx, byte [r8 + r9 + 1]
lea eax, [rcx - 0x6e]
test al, 0xf9
jne 0x1400082f3
cmp cl, 0x70
je 0x1400082f3
test r8, r8
je 0x1400082f3
cmp byte [r8 + r9 - 1], 0x5c
je 0x1400082f3
cmp cl, 0x6e
jne 0x14000829b
mov byte [rdx], 0xa
jmp 0x1400082ad
cmp cl, 0x74
jne 0x1400082a5
mov byte [rdx], 9
jmp 0x1400082ad
cmp cl, 0x72
jne 0x1400082ad
mov byte [rdx], SafeArrayDestroy
lea rcx, [r14 + rdx]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1400082c0
cmp rcx, rax
jae 0x1400082f3
nop
movzx eax, byte [r9 + rcx + 1]
mov byte [rcx + r9], al
inc rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x1400082e4
cmp rcx, rax
jb 0x1400082d0
inc rdx
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r9 + rcx], 0
jne 0x140008300
lea rax, [r10 + rdx]
cmp rax, rcx
jb 0x140008265
mov rax, r9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140008eb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov r8, 0xffffffff80000002
lea rdx, [0x140067498]
lea rcx, [0x1400674d0]
call fcn.14001d8c0
test rax, rax
jne 0x140008ef1
mov r8, 0xffffffff80000002
lea rdx, [0x1400674e8]
lea rcx, [0x1400674d0]
add rsp, 0x28
jmp fcn.14001d8c0
add rsp, 0x28
ret

Function at 0x1400090e0
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
sub rsp, 0x238
lea rdx, [rax + 8]
mov dword [rax + 8], 0x101
lea rcx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rsp + 0x20]
mov rcx, 0xffffffffffffffff
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140009110
lea rcx, [rcx*2 + 2]
call fcn.14002fc3c
test rax, rax
je 0x140009151
lea rcx, [rsp + 0x20]
mov r8, rax
sub r8, rcx
lea rdx, [rsp + 0x20]
nop
movzx ecx, word [rdx]
mov word [r8 + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x140009140
add rsp, 0x238
ret
Function at 0x140009210
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x28
xor edx, edx
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140009283
mov ecx, eax
mov qword [rsp + 0x20], rbx
add rcx, rcx
call fcn.14002fc3c
mov rbx, rax
test rax, rax
je 0x14000926c
lea r8, [rsp + 0x30]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140009276
mov rcx, rbx
call fcn.14002fc28
xor eax, eax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140009c10
Capabilities:
Query or enumerate registry value

Disassembly:
mov r8, 0xffffffff80000002
lea rdx, [0x1400677d0]
lea rcx, [0x140067800]
jmp fcn.14001d8c0
Function at 0x14000b190
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
sub rsp, 0x70
mov r14, rcx
mov qword [rcx], 0xffffffffffffffff
lea rax, [rsp + 0x98]
mov rcx, 0xffffffff80000001
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1400679d8]
call fcn.14001c380
test eax, eax
je 0x14000b1d6
xor al, al
add rsp, 0x70
pop r14
ret
mov qword [rsp + 0x60], rsi
xor sil, sil
mov qword [rsp + 0x58], rdi
call fcn.140008980
mov rdi, rax
test rax, rax
je 0x14000b2b0
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x88]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x80], 0x20
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b2a8
movzx r8d, byte [0x140066050]
mov edx, dword [0x140066040]
mov rcx, qword [0x140066048]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x90], 0
call fcn.14000d8e0
mov edx, dword [rsp + 0x80]
lea r9, [rsp + 0x90]
mov r8, rax
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.14000caa0
mov rcx, rbx
call fcn.14002fc28
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000b2a8
mov rax, qword [rcx]
mov sil, 1
mov qword [r14], rax
call fcn.14002fc28
mov rcx, rdi
call fcn.14002fc28
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x58]
movzx eax, sil
mov rsi, qword [rsp + 0x60]
add rsp, 0x70
pop r14
ret

Function at 0x14000b390
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x60]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1400679b0]
mov rcx, 0xffffffff80000001
call fcn.14001c380
test eax, eax
je 0x14000b3cb
mov eax, 2
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x30], rsi
mov edi, 2
call fcn.140008980
mov rsi, rax
test rax, rax
je 0x14000b42d
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call fcn.14002fc28
test ebx, ebx
mov rbx, qword [rsp + 0x38]
cmove edi, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x14000baf0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, [0x1400679d8]
call fcn.14001c800
mov rdi, rax
test rax, rax
jne 0x14000bb14
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x68], rbp
xor bpl, bpl
mov qword [rsp + 0x38], rsi
call fcn.140008980
mov rsi, rax
test rax, rax
je 0x14000bbd7
movzx r8d, byte [0x140066050]
mov edx, dword [0x140066040]
mov rcx, qword [0x140066048]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x58], 0
call fcn.14000d8e0
lea r9, [rsp + 0x58]
mov r8, rax
mov edx, 8
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.14000ce40
mov rcx, rbx
mov r14, rax
call fcn.14002fc28
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000bbca
mov dword [rsp + 0x28], r14d
mov r9d, 3
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
movzx ebp, bpl
test eax, eax
cmove ebp, ecx
mov rcx, qword [rsp + 0x58]
call fcn.14002fc28
mov rcx, rsi
call fcn.14002fc28
mov r14, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x38]
movzx eax, bpl
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x14000bc40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14001c800
mov r14, rax
test rax, rax
je 0x14000bda0
mov rdx, rbx
mov rcx, rdi
call fcn.14001d1d0
lea ecx, [rax + 1]
call fcn.14001b750
mov rsi, rax
test rax, rax
je 0x14000bda0
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14000bca0
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000bcb0
add rcx, rax
lea rcx, [rcx*2 + 2]
call fcn.14002fc3c
mov rbp, rax
test rax, rax
je 0x14000bda0
mov rdx, rax
sub rdx, rbx
nop dword [rax]
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x14000bce0
lea rcx, [rax - 2]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x14000bcf4
xor edx, edx
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000bd01
mov rcx, rsi
call fcn.14002fc28
movzx r8d, byte [0x140066050]
mov edx, dword [0x140066040]
mov rcx, qword [0x140066048]
call fcn.14000d8e0
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.14000cbf0
mov rcx, rbx
mov rsi, rax
call fcn.14002fc28
test rsi, rsi
je 0x14000bd8b
cmp word [rsi + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x14000bd52
lea eax, [rdi*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rsi
call fcn.14002fc28
mov rcx, rbp
call fcn.14002fc28
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000bda2
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14000c8e0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rdi, rcx
mov rbx, rdx
mov ecx, 0x20
call fcn.14002fc3c
mov rsi, rax
test rax, rax
je 0x14000ca7c
mov rcx, rax
call fcn.1400046a0
test al, al
je 0x14000ca7c
mov rdx, qword [rdi + 8]
mov rdi, qword [rdi]
mov ebp, dword [rdx]
mov edx, 1
lea ecx, [rbp + 1]
call fcn.14002f9e8
mov r14, rax
test rax, rax
je 0x14000ca7c
mov qword [rsp + 0x90], r15
test ebp, ebp
je 0x14000c970
mov rcx, rax
sub rdi, rax
mov edx, ebp
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14000c960
mov byte [rbp + r14], 0
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x50], ebp
nop word [rax + rax]
cmp word [rbx + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x14000c990
lea rcx, [rdi + 1]
mov edx, 2
call fcn.14002f9e8
mov r15, rax
test rax, rax
je 0x14000ca64
mov rdx, rax
sub rdx, rbx
nop dword [rax]
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x14000c9c0
xor ecx, ecx
lea r8, [rsp + 0x40]
mov word [rax + rdi*2], cx
xor r9d, r9d
lea eax, [rdi*2 + 2]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], eax
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x14000ca64
mov rcx, qword [rsp + 0x68]
mov r9d, dword [rcx]
mov eax, dword [rcx + 8]
mov r8d, dword [rcx + 4]
add eax, r9d
add eax, r8d
cmp dword [rsp + 0x60], eax
jb 0x14000ca64
mov edx, dword [rcx + 0x14]
lea rbp, [rcx + r9]
add rbp, r8
lea rbx, [rcx + 0x24]
shr edx, 1
je 0x14000ca64
mov edi, edx
mov ecx, dword [rbx]
add rcx, rbp
call fcn.1400343b0
test rax, rax
je 0x14000ca5a
mov rdx, rax
mov rcx, rsi
call fcn.140004460
add rbx, 0x10
sub rdi, 1
jne 0x14000ca40
mov rcx, r15
call fcn.14002fc28
mov rcx, r14
call fcn.14002fc28
mov r15, qword [rsp + 0x90]
lea r11, [rsp + 0x70]
mov rax, rsi
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d170
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push r12
push r14
push r15
sub rsp, 0x78
xor r12d, r12d
mov r15, rdx
mov ebp, r12d
mov r14, rcx
cmp qword [rcx + 8], rbp
jbe 0x14000d3aa
mov qword [rsp + 0x70], rbx
mov r8d, r12d
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r14]
mov ecx, 0x2b
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], r12
mov rbx, qword [rax + r8*8]
call fcn.14002fc3c
mov rsi, rax
test rax, rax
jne 0x14000d1e1
mov rbx, r12
jmp 0x14000d381
mov r9d, 1
mov byte [rax], r12b
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov rcx, qword [rsp + 0xb8]
lea rax, [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x14000d232
mov rcx, qword [rsp + 0xb0]
lea r8d, [rax*2 + 2]
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000d35e
mov rcx, qword [rsp + 0xb0]
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x48]
mov dword [rsp + 0xa0], reloc.WS2_32.dll_sendto
mov edx, 2
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000d350
xor dil, dil
mov rbx, r12
movzx eax, byte [rsp + rbx + 0x48]
lea r8, [0x1400679f8]
add dil, al
lea rcx, [rsp + 0x30]
mov r9d, eax
mov edx, reloc.WS2_32.dll_sendto
call fcn.14000dab0
lea rax, [rsi - 1]
cmp byte [rax + 1], r12b
lea rax, [rax + 1]
jne 0x14000d2c5
lea r8, [rsp + 0x30]
xor edx, edx
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x14000d2e0
inc rbx
cmp rbx, 0x14
jl 0x14000d2a0
movzx r9d, dil
lea r8, [0x1400679f8]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x30]
call fcn.14000dab0
lea rcx, [rsi - 1]
nop word [rax + rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000d320
lea r8, [rsp + 0x30]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000d340
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0xb8]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rsi
call fcn.140008040
mov rcx, rsi
mov rbx, rax
call fcn.14002fc28
mov rdx, rbx
mov rcx, r15
call fcn.140004460
inc ebp
mov r8d, ebp
cmp r8, qword [r14 + 8]
jb 0x14000d1b0
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x78
pop r15
pop r14
pop r12
pop rbp
ret
Function at 0x140012890
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov r14, rcx
mov ebx, r9d
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.14002fc3c
mov rdi, rax
test rax, rax
je 0x1400129b4
mov qword [rax + 8], rsi
lea rcx, [rsp + 0x38]
mov qword [rax], rbp
xor esi, esi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x10], ebx
lea rax, [rsp + 0x38]
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8, r14
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x1400129ac
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140012998
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r8d, dword [0x140048008]
mov edx, 1
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rdi + 0x18]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov rcx, rbx
call fcn.14002fc28
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, byte [0x1400661b0]
test al, al
je 0x140012998
lea r8, [0x140068640]
xor ecx, ecx
lea rdx, [0x140067028]
call fcn.14000a620
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14002fc28
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14001b490
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14001b6ce
push r14
sub rsp, 0x50
mov qword [rsp + 0x68], rbx
mov r14, rcx
mov rcx, qword [rcx]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x70], rsi
test rcx, rcx
je 0x14001b4cb
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14001b4c0
jmp 0x14001b4cd
xor eax, eax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14001b4eb
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x14001b4e0
jmp 0x14001b4ed
xor ecx, ecx
lea rdx, [rcx + rax]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x14001b50b
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14001b500
jmp 0x14001b50d
xor eax, eax
mov rcx, qword [r14 + 0x18]
lea r8, [rdx + rax]
test rcx, rcx
je 0x14001b52b
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14001b520
jmp 0x14001b52d
xor eax, eax
mov rcx, qword [r14 + 0x20]
lea rdx, [r8 + rax]
test rcx, rcx
je 0x14001b54b
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14001b540
jmp 0x14001b54d
xor eax, eax
mov rcx, qword [r14 + 0x28]
lea r8, [rdx + rax]
test rcx, rcx
je 0x14001b56b
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14001b560
jmp 0x14001b56d
xor eax, eax
mov rcx, qword [r14 + 0x30]
lea rdx, [r8 + rax]
test rcx, rcx
je 0x14001b58b
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14001b580
jmp 0x14001b58d
xor eax, eax
lea rcx, [rax + 0x37]
add rcx, rdx
call fcn.14002fc3c
mov rsi, rax
test rax, rax
je 0x14001b6be
mov rcx, qword [r14 + 0x30]
lea r8, [0x140051905]
mov rax, qword [r14 + 0x20]
test rcx, rcx
mov r11, r8
mov qword [rsp + 0x78], rdi
mov rdi, r8
mov r10, r8
cmovne rdi, rcx
mov rdx, r8
mov rcx, qword [r14 + 0x28]
mov r9, r8
test rcx, rcx
mov qword [rsp + 0x40], rdi
cmovne r11, rcx
test rax, rax
mov qword [rsp + 0x38], r11
mov rcx, r8
cmovne r10, rax
mov rax, qword [r14 + 0x18]
test rax, rax
mov qword [rsp + 0x30], r10
cmovne rdx, rax
mov rax, qword [r14 + 0x10]
test rax, rax
mov qword [rsp + 0x28], rdx
lea rdx, [0x140068e80]
cmovne rcx, rax
mov rax, qword [r14 + 8]
test rax, rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
cmovne r9, rax
mov rax, qword [r14]
test rax, rax
cmovne r8, rax
call fcn.14000da60
mov qword [rsp + 0x60], 0
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14001b640
lea rdx, [rbx + 1]
xor r8d, r8d
lea r9, [rsp + 0x60]
mov rcx, rsi
call fcn.14000ce40
mov rdi, rax
test rax, rax
je 0x14001b6a7
cmp qword [rsp + 0x60], 0
je 0x14001b6a7
mov rcx, qword [0x140066038]
lea rdx, [0x140068eb8]
call fcn.1400331d8
mov rbx, rax
test rax, rax
je 0x14001b6a7
mov rcx, qword [rsp + 0x60]
mov r9, rax
mov r8, rdi
mov edx, 1
call fcn.140032fcc
mov rcx, rbx
call fcn.140030770
mov rcx, qword [rsp + 0x60]
call fcn.14002fc28
mov rcx, rsi
call fcn.14002fc28
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x14001c420
Capabilities:
Query or enumerate registry value

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, r9
mov rcx, rdx
mov rsi, r8
call fcn.140008330
mov rbx, rax
test rax, rax
jne 0x14001c452
lea eax, [rbx + 1]
jmp 0x14001c4a2
mov rax, qword [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14001c480
add r8, r8
xor edx, edx
mov rcx, rbx
call fcn.14002ec20
mov rcx, rbx
call fcn.14002fc28
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001c4c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x9b0]
sub rsp, 0xab0
mov r13, r8
mov r14, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
mov rsi, r9
call fcn.14002ec20
mov dword [rsp + 0x70], 0x104
mov dword [rsp + 0x6c], 0
test rbx, rbx
je 0x14001c73e
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x7c]
mov rcx, rbx
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14001c73e
mov ecx, dword [rsp + 0x68]
inc ecx
add rcx, rcx
call fcn.14002fc3c
mov rdi, rax
test rax, rax
je 0x14001c73e
mov ecx, dword [rsp + 0x68]
xor ebx, ebx
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0xaf0], r15
mov r15, qword [rbp + 0xa00]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rsp + 0x6c]
mov dword [rsi], ecx
mov dword [r15], ebx
test eax, eax
je 0x14001c72e
mov qword [rsp + 0xae8], r12
mov esi, ebx
mov r12, qword [rbp + 0xa08]
nop dword [rax + rax]
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3fff
mov r8, rdi
mov word [rdi], bx
mov edx, esi
mov rcx, qword [rbp + 0x9e0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001c62d
mov rdx, r14
mov rcx, rdi
call fcn.14002e9c8
cmp rdi, rax
jne 0x14001c62d
inc dword [r15]
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x14001c717
xor r15d, r15d
nop dword [rax]
mov qword [rsp + 0x38], r15
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3fff
mov r8, rdi
mov word [rdi], r15w
mov edx, ebx
mov rcx, qword [rbp + 0x9e0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001c702
xor edx, edx
mov dword [rsp + 0x78], 1
mov r8d, 0x800
lea rcx, [rbp + 0x1b0]
call fcn.14002ec20
lea rax, [rbp + 0x9e0]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c702
mov rcx, qword [rbp + 0x9e0]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x74], 0x400
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c702
mov rcx, rdi
call fcn.14002fc28
mov eax, dword [rsp + 0x64]
inc ebx
cmp ebx, eax
jb 0x14001c640
mov r15, qword [rbp + 0xa00]
inc esi
mov ebx, 0
cmp esi, eax
jb 0x14001c5e0
mov r12, qword [rsp + 0xae8]
mov rcx, rdi
call fcn.14002fc28
mov r15, qword [rsp + 0xaf0]
mov rbx, qword [rsp + 0xaf8]
xor al, al
add rsp, 0xab0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001c930
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete al
add rsp, 0x28
ret