joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbce0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4bbf29
push rbp
mov rbp, rsp
sub rsp, 0xa8
nop word [rax + rax]
test rax, rax
je 0x4bbf14
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x4bbd22
xor ebx, ebx
xor ecx, ecx
nop
jmp 0x4bbd3c
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, rdx
call sym.net.IP.String
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4bbe51
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop dword [rax + rax]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0051cd88]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call sym.runtime.concatstring3
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060f780]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4bbe1b
xor eax, eax
lea rbx, [0x004f513a]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x004f5150]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call sym.runtime.concatstring4
jmp 0x4bbe48
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0051cd78]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
mov rax, qword [rax + 0x18]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060f780]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4bbede
xor eax, eax
lea rbx, [0x004f513a]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x004f5150]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call sym.runtime.concatstring4
jmp 0x4bbf0b
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0051cd78]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
lea rax, [0x004f5415]
mov ebx, 5
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.net._TCPAddr_.String
Function at 0x4bcea0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4bd0e9
push rbp
mov rbp, rsp
sub rsp, 0xa8
nop word [rax + rax]
test rax, rax
je 0x4bd0d4
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x4bcee2
xor ebx, ebx
xor ecx, ecx
nop
jmp 0x4bcefc
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, rdx
call sym.net.IP.String
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4bd011
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop dword [rax + rax]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0051cd88]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call sym.runtime.concatstring3
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060f780]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4bcfdb
xor eax, eax
lea rbx, [0x004f513a]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x004f5150]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call sym.runtime.concatstring4
jmp 0x4bd008
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0051cd78]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
mov rax, qword [rax + 0x18]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0060f780]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4bd09e
xor eax, eax
lea rbx, [0x004f513a]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x004f5150]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call sym.runtime.concatstring4
jmp 0x4bd0cb
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0051cd78]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
lea rax, [0x004f5415]
mov ebx, 5
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.net._UDPAddr_.String
Function at 0x7ff7de662a20
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rcx]
mov r9d, edx
mov r10, rcx
test r8b, r8b
jne 0x7ff7de662a32
mov eax, edx
ret
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
cmp dl, 0x19
movzx ecx, al
cmova ecx, r8d
movsx eax, cl
lea rcx, [r10 + 1]
xor eax, r9d
imul edx, eax, 0x1000193
jmp fcn.7ff7de662a20

Function at 0x7ff7de662ed0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
mov r8, qword [rcx + 0x10]
mov rsi, rcx
mov rdx, qword [r8 + 0xb0]
mov qword [rsp + 0x18], rdx
test edx, edx
je 0x7ff7de663046
mov rax, rdx
shr rax, 0x20
test eax, eax
je 0x7ff7de663046
mov rdi, qword [rcx + 0x28]
sub rdi, qword [r8 + 0x30]
je 0x7ff7de663046
movzx ecx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
add rcx, 0x18
mov r9d, edx
add rcx, r8
xor edx, edx
test r10d, r10d
je 0x7ff7de662f54
mov r8d, dword [rcx + 0xc]
cmp r9, r8
jb 0x7ff7de662f49
mov eax, dword [rcx + 0x10]
add rax, r8
cmp r9, rax
jbe 0x7ff7de662f6c
add rcx, 0x28
inc edx
cmp edx, r10d
jl 0x7ff7de662f35
mov eax, 0xd
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r14
pop rdi
ret
mov ebx, dword [rcx + 0x14]
sub rbx, r8
add rbx, qword [rsi]
add rbx, r9
je 0x7ff7de662f54
mov r14d, dword [rsp + 0x1c]
xor ebp, ebp
test r14d, r14d
je 0x7ff7de663046
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov r11d, 8
test eax, eax
je 0x7ff7de662f54
cmp eax, r11d
jbe 0x7ff7de663038
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
xor r8d, r8d
mov r9d, dword [rbx]
movzx eax, word [rcx + 0x14]
movzx r10d, word [rcx + 6]
add rax, 0x18
add rax, rcx
test r10d, r10d
je 0x7ff7de662fef
nop
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x7ff7de662fe3
mov ecx, dword [rax + 0x10]
add rcx, rdx
cmp r9, rcx
jbe 0x7ff7de663017
add rax, 0x28
inc r8d
cmp r8d, r10d
jl 0x7ff7de662fd0
xor r8d, r8d
movzx eax, word [r11 + rbx]
mov ecx, eax
movzx edx, ax
and ecx, 0xfff
shr edx, 0xc
add rcx, r8
cmp edx, 3
je 0x7ff7de663026
cmp edx, 0xa
jne 0x7ff7de663028
add qword [rcx], rdi
jmp 0x7ff7de663028
mov r8d, dword [rax + 0x14]
sub r8, rdx
add r8, qword [rsi]
add r8, r9
jmp 0x7ff7de662ff2
add dword [rcx], edi
mov eax, dword [rbx + 4]
add r11, 2
cmp r11, rax
jb 0x7ff7de662fb0
add ebp, eax
add rbx, rax
cmp ebp, r14d
jb 0x7ff7de662f90
mov rbx, qword [rsp + 0x20]
xor eax, eax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r14
pop rdi
ret
Function at 0x7ff7de663300
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x7ff7de669040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
mov r8, qword [rcx + 0x10]
mov rcx, qword [r8 + 0x90]
mov rax, rcx
shr rax, 0x20
test ecx, ecx
je 0x7ff7de6638bc
test eax, eax
je 0x7ff7de6638bc
mov r9d, ecx
movzx ecx, word [r8 + 0x14]
add rcx, 0x18
add rcx, r8
xor r13d, r13d
mov edx, r13d
movzx r10d, word [r8 + 6]
test r10d, r10d
je 0x7ff7de6633a3
nop dword [rax]
mov r8d, dword [rcx + 0xc]
cmp r9, r8
jb 0x7ff7de663398
mov eax, dword [rcx + 0x10]
add rax, r8
cmp r9, rax
jbe 0x7ff7de66368e
add rcx, 0x28
inc edx
cmp edx, r10d
jl 0x7ff7de663380
mov r12, r13
cmp dword [r12 + 0xc], r13d
je 0x7ff7de6638bc
mov esi, 0xffff
nop word [rax + rax]
mov r10d, dword [r12 + 0xc]
mov rcx, qword [rdi + 0x10]
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
mov r9d, r13d
movzx r11d, word [rcx + 6]
test r11d, r11d
je 0x7ff7de663405
mov r8d, dword [rdx + 0xc]
cmp r10, r8
jb 0x7ff7de6633f9
mov eax, dword [rdx + 0x10]
add rax, r8
cmp r10, rax
jbe 0x7ff7de6636a0
add rdx, 0x28
inc r9d
cmp r9d, r11d
jl 0x7ff7de6633e1
mov rbx, r13
mov r8, rbx
mov edx, 0xc8
lea rcx, [rbp + 0xe0]
call 0x7ff7de9b2617
int3
mov r12d, dword [rcx + 0x14]
sub r12, r8
add r12, r9
add r12, qword [rdi]
jmp 0x7ff7de6633a6
mov ebx, dword [rdx + 0x14]
sub rbx, r8
add rbx, r10
add rbx, qword [rdi]
jmp 0x7ff7de663408
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.7ff7de664c10
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x7ff7de9206e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x7ff7de92070d
xor al, al
jmp 0x7ff7de92086f
mov rax, qword [0x7ff7de9416c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x7ff7de9416c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x7ff7de9416d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x7ff7de9416d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x7ff7de9416e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x7ff7de9416e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x7ff7de9416f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x7ff7de9416f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x7ff7de941700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x7ff7de920861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x7ff7de9207b9
mov r11d, 2
jmp 0x7ff7de9207dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x7ff7de9207d3
mov r11d, 1
jmp 0x7ff7de9207dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x7ff7de920885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x7ff7de920822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x7ff7de92083a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x7ff7de92084a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x7ff7de920858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x7ff7de9207a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x7ff7de92086a
Function at 0x18000f76c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000f79c
xor eax, eax
jmp 0x18000f85f
mov rbp, rbx
cmp word [rax], si
je 0x18000f7c1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000f7a8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000f7a4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000f6bc
movsxd r14, eax
test eax, eax
jne 0x18000f7ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000f795
mov rcx, r14
call fcn.18000bd60
mov rdi, rax
test rax, rax
jne 0x18000f818
xor ecx, ecx
call fcn.18000b1d8
jmp 0x18000f7f4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000f6bc
test eax, eax
jne 0x18000f849
mov rcx, rdi
call fcn.18000b1d8
jmp 0x18000f853
xor ecx, ecx
call fcn.18000b1d8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180016580
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800165a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800165a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000cc00
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000cc2e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000df70
cmp byte [0x140042090], 0
jne 0x14000cc79
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cc69
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x140042090], 1
mov qword [0x140042088], rax
jmp 0x14000cc80
mov rax, qword [0x140042088]
mov byte [0x140042090], 1
jmp 0x14000cc80
mov rax, qword [0x140042088]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000cc9f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000dfe4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e006
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e006
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x14000e006
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14000dcd0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14003f4c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor eax, eax
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
or r9d, 0x2001f
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
call fcn.14000d770
mov ebx, eax
test eax, eax
jne 0x14000ddf7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000ddd1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000dcd0
mov ebx, eax
test eax, eax
jne 0x14000ddf7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000dd80
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000dde6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x48], ebp
call fcn.14000cc00
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000de07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001c700
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000df70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000cc2e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000df70
cmp byte [0x140042090], 0
jne 0x14000cc79
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cc69
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x140042090], 1
mov qword [0x140042088], rax
jmp 0x14000cc80
mov rax, qword [0x140042088]
mov byte [0x140042090], 1
jmp 0x14000cc80
mov rax, qword [0x140042088]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000cc9f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000dfe4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e006
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e006
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x14000e006
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14000e200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14003f4c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.14001c810
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000e2ac
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000e2ac
call fcn.14000c220
mov ebx, eax
jmp 0x14000e3d4
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000e2cd
call fcn.14000c220
jmp 0x14000e3c3
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14000e2f0
call fcn.14000c220
jmp 0x14000e3c3
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14000e312
mov ebx, 0x8007000e
jmp 0x14000e3c5
mov ecx, eax
test eax, eax
je 0x14000e34a
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14000e340
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000e34a
lea rcx, [rsp + 0x70]
call fcn.14000c100
jmp 0x14000e354
mov ecx, 0x80070216
call fcn.14000c430
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14000e367
cmp qword [rsp + 0x70], 0
jne 0x14000e376
mov ebx, 0x8007000e
jmp 0x14000e3c5
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14000e3a0
call fcn.14000c220
jmp 0x14000e3c3
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000e020
mov ebx, eax
test rdi, rdi
je 0x14000e3d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14000e3eb
lea rcx, [rsp + 0x70]
call fcn.14000ccf0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001c700
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000e410
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2208]
mov eax, 0x2308
call fcn.14001c6a0
sub rsp, rax
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rax, qword [0x14003f4c0]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
mov dword [rsp + 0x4c], r9d
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x68], rcx
mov ecx, dword [rbp + 0x2250]
mov dword [rsp + 0x70], ecx
mov rcx, rax

Function at 0x14000ec60
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14003f4c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c700
add rsp, 0x48
ret

Function at 0x14000ecb0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x14000ecc8
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000ecd4
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x14000ecd0
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret