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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x515cfc
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
movabs rdx, 0x6e7135926c32e592
mov qword [rsp + 0x1d], rdx
movabs rdx, 0x386e7135926c32e5
mov qword [rsp + 0x1e], rdx
movabs rdx, 0xa2a1a26463608ea3
mov qword [rsp + 0x26], rdx
movabs rdx, 0xa0906100a100601
mov qword [rsp + 0x2e], rdx
movabs rdx, 0xa040a0906100a10
mov qword [rsp + 0x30], rdx
movabs rdx, 0x7070303000b0e0f
mov qword [rsp + 0x38], rdx
xor eax, eax
jmp 0x515c90
movzx r9d, byte [rsp + rsi + 0x1d]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x47]
mov byte [rsp + rdi + 0x1d], dl
mov byte [rsp + rsi + 0x1d], r8b
add rax, 2
cmp rax, 0x12
jge 0x515cc8
movzx edx, byte [rsp + rax + 0x2e]
movzx esi, byte [rsp + rax + 0x2f]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x11
jae 0x515cef
movzx r8d, byte [rsp + rdi + 0x1d]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x47]
nop word [rax + rax]
cmp rsi, 0x11
jb 0x515c76
jmp 0x515ce3
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0x11
call fcn.00441880
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, esi
mov ecx, 0x11
call fcn.004533e0
mov eax, edi
mov ecx, 0x11
call fcn.004533e0
nop
nop dword [rax]
call fcn.00450d80
jmp fcn.00515c00

Function at 0x515d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x515e16
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
movabs rdx, 0x3a48683458323155
mov qword [rsp + 0x1d], rdx
movabs rdx, 0x513a486834583231
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x584649653d424939
mov qword [rsp + 0x26], rdx
movabs rdx, 0x600080d000d0c03
mov qword [rsp + 0x2e], rdx
movabs rdx, 0x70600080d000d
mov qword [rsp + 0x30], rdx
movabs rdx, 0xe080c0d060a0508
mov qword [rsp + 0x38], rdx
xor eax, eax
jmp 0x515db3
movzx r9d, byte [rsp + rsi + 0x1d]
sub r9d, edx
lea edx, [r9 + 5]
mov byte [rsp + rdi + 0x1d], dl
lea edx, [r8 + 5]
mov byte [rsp + rsi + 0x1d], dl
add rax, 2
cmp rax, 0x12
jge 0x515de2
movzx edx, byte [rsp + rax + 0x2e]
movzx esi, byte [rsp + rax + 0x2f]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x11
jae 0x515e09
movzx r8d, byte [rsp + rdi + 0x1d]
sub r8d, edx
cmp rsi, 0x11
jb 0x515d96
nop
jmp 0x515dfd
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0x11
call fcn.00441880
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, esi
mov ecx, 0x11
call fcn.004533e0
mov eax, edi
mov ecx, 0x11
call fcn.004533e0
nop
call fcn.00450d80
nop dword [rax + rax]
jmp fcn.00515d20
Function at 0x51ae20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x51aef2
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0x5e2e55333e5f4ce3
mov qword [rsp + 0x18], rdx
mov word [rsp + 0x20], 0x66c
movabs rdx, 0x2010703070309
mov qword [rsp + 0x22], rdx
movabs rdx, 0x501010209090002
mov qword [rsp + 0x28], rdx
xor eax, eax
jmp 0x51ae8a
movzx r9d, byte [rsp + rsi + 0x18]
lea edx, [r9 + rdx]
lea edx, [rdx + 0xe]
mov byte [rsp + rdi + 0x18], dl
mov byte [rsp + rsi + 0x18], r8b
add rax, 2
cmp rax, 0xe
jge 0x51aebc
movzx edx, byte [rsp + rax + 0x22]
movzx esi, byte [rsp + rax + 0x23]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xa
jae 0x51aee5
movzx r8d, byte [rsp + rdi + 0x18]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0xe]
cmp rsi, 0xa
jb 0x51ae70
jmp 0x51aed7
xor eax, eax
lea rbx, [rsp + 0x18]
mov ecx, 0xa
call fcn.00441880
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 0xa
nop
call fcn.004533e0
mov eax, edi
mov ecx, 0xa
call fcn.004533e0
nop
call fcn.00450d80
jmp fcn.0051ae20

Function at 0x51b520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x51b5f2
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0x33fd7535f161094c
mov qword [rsp + 0x19], rdx
movabs rdx, 0x57b93733fd7535f1
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x603030906060807
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x9060104
xor eax, eax
jmp 0x51b58b
movzx r9d, byte [rsp + rsi + 0x19]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x2d]
mov byte [rsp + rdi + 0x19], dl
mov byte [rsp + rsi + 0x19], r8b
add rax, 2
cmp rax, 0xc
jge 0x51b5bd
movzx edx, byte [rsp + rax + 0x24]
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xb
jae 0x51b5e5
movzx r8d, byte [rsp + rdi + 0x19]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x2d]
cmp rsi, 0xb
jb 0x51b571
jmp 0x51b5d8
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0xb
call fcn.00441880
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 0xb
nop
call fcn.004533e0
mov eax, edi
mov ecx, 0xb
call fcn.004533e0
nop
call fcn.00450d80
jmp fcn.0051b520
Function at 0x51c320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x51c3f2
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0x1e1d6d237961d6de
mov qword [rsp + 0x18], rdx
mov word [rsp + 0x20], 0x319a
movabs rdx, 0x400060406030408
mov qword [rsp + 0x22], rdx
movabs rdx, 0x409070601090400
mov qword [rsp + 0x28], rdx
xor eax, eax
jmp 0x51c38d
movzx r9d, byte [rsp + rsi + 0x18]
sub r9d, edx
lea edx, [r9 + 0x4e]
mov byte [rsp + rdi + 0x18], dl
lea edx, [r8 + 0x4e]
mov byte [rsp + rsi + 0x18], dl
add rax, 2
cmp rax, 0xe
jge 0x51c3ba
movzx edx, byte [rsp + rax + 0x22]
movzx esi, byte [rsp + rax + 0x23]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xa
jae 0x51c3e5
movzx r8d, byte [rsp + rdi + 0x18]
sub r8d, edx
cmp rsi, 0xa
jb 0x51c370
jmp 0x51c3d5
xor eax, eax
lea rbx, [rsp + 0x18]
mov ecx, 0xa
call fcn.00441880
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 0xa
nop dword [rax]
call fcn.004533e0
mov eax, edi
mov ecx, 0xa
call fcn.004533e0
nop
call fcn.00450d80
jmp fcn.0051c320

Function at 0x51fc60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x51fd32
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
movabs rdx, 0xd1eaa1be74d2692a
mov qword [rsp + 0x1c], rdx
mov dword [rsp + 0x24], 0x36d06c19
movabs rdx, 0x70508060407080a
mov qword [rsp + 0x28], rdx
movabs rdx, 0x80208040b0707
mov qword [rsp + 0x30], rdx
xor eax, eax
jmp 0x51fcce
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 + 0x58]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 + 0x58]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
cmp rax, 0x10
jge 0x51fcfb
movzx edx, byte [rsp + rax + 0x28]
movzx esi, byte [rsp + rax + 0x29]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xc
jae 0x51fd25
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0xc
jb 0x51fcb1
jmp 0x51fd16
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0xc
call fcn.00441880
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov eax, esi
mov ecx, 0xc
nop dword [rax]
call fcn.004533e0
mov eax, edi
mov ecx, 0xc
call fcn.004533e0
nop
call fcn.00450d80
jmp fcn.0051fc60
Function at 0x5205a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5206e8
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
movabs rdx, 0x7277ca6f866568fa
mov qword [rsp + 0x1b], rdx
movabs rdx, 0x6e6fc1eb617277ca
mov qword [rsp + 0x20], rdx
movabs rdx, 0xeb5b340c6df65559
mov qword [rsp + 0x28], rdx
movabs rdx, 0xec31636a6351c7dd
mov qword [rsp + 0x30], rdx
movabs rdx, 0x2eb349f7afbe5973
mov qword [rsp + 0x38], rdx
movabs rdx, 0xf060d121900171b
mov qword [rsp + 0x40], rdx
movabs rdx, 0x110d1223131c1723
mov qword [rsp + 0x48], rdx
movabs rdx, 0xf181e162221170d
mov qword [rsp + 0x50], rdx
movabs rdx, 0x90f001b00111f20
mov qword [rsp + 0x58], rdx
movabs rdx, 0x161c0e1e140d210a
mov qword [rsp + 0x60], rdx
movabs rdx, 0xe050d031e1e1512
mov qword [rsp + 0x68], rdx
xor eax, eax
nop
jmp 0x520680
movzx r9d, byte [rsp + rsi + 0x1b]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x60]
mov byte [rsp + rdi + 0x1b], dl
mov byte [rsp + rsi + 0x1b], r8b
add rax, 2
nop dword [rax]
cmp rax, 0x30
jge 0x5206b2
movzx edx, byte [rsp + rax + 0x40]
movzx esi, byte [rsp + rax + 0x41]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x25
jae 0x5206db
movzx r8d, byte [rsp + rdi + 0x1b]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x60]
cmp rsi, 0x25
jb 0x520662
jmp 0x5206cf
xor eax, eax
lea rbx, [rsp + 0x1b]
mov ecx, 0x25
nop
call fcn.00441880
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov eax, esi
mov ecx, 0x25
call fcn.004533e0
mov eax, edi
mov ecx, 0x25
call fcn.004533e0
nop
call fcn.00450d80
jmp fcn.005205a0
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013cc0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015000
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015020
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015033
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001505d
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015071
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015083
xor al, al
jmp 0x1400150a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001509f
xor al, al
jmp 0x1400150a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012da0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140042e10]
and qword [rbp - 0x10], 0
mov esi, 4
xor ebx, ebx
mov dword [rbp + 0x20], esi
mov dword [rbp + 0x30], esi
test rax, rax
je 0x140012fa3
cmp qword [rax + 0x18], rbx
je 0x140012fa3
and qword [rsp + 0x40], rbx
lea rax, [rbp - 0x10]
lea rdx, [0x140009040]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20007
and dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012f94
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
lea rdx, [0x140009148]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x140012e50
xor r8d, r8d
mov dword [rbp + 0x28], r8d
jmp 0x140012e65
test eax, eax
jne 0x140012f94
cmp dword [rbp + 0x20], esi
jne 0x140012f94
mov r8d, dword [rbp + 0x28]
mov rcx, qword [0x140042e10]
lea r9, [rbp + 0x20]
mov rax, qword [rcx + 0x18]
mov edx, dword [rax + 0x48]
sub edx, dword [rax + 0x4c]
mov eax, edx
mov dword [rbp - 0x20], edx
sub eax, r8d
mov dword [rbp - 0x18], eax
mov rax, qword [rcx + 0x18]
mov ecx, dword [rax + 0xc]
mov dword [rbp + 0x30], esi
mov eax, ecx
imul eax, r8d
xor r8d, r8d
add eax, edx
inc ecx
xor edx, edx
div ecx
mov rcx, qword [rbp - 0x10]
lea rdx, [0x140009168]
mov dword [rbp + 0x28], eax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x140012ed2
xor ecx, ecx
mov dword [rbp + 0x38], ecx
jmp 0x140012ee6
test eax, eax
jne 0x140012f94
cmp dword [rbp + 0x20], esi
jne 0x140012f94
mov ecx, dword [rbp + 0x38]
mov eax, dword [rbp - 0x20]
lea rdx, [0x140009148]
mov r9d, esi
sub eax, ecx
mov rcx, qword [rbp - 0x10]
xor r8d, r8d
mov dword [rbp - 0x1c], eax
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140012f94
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x1c]
lea rdx, [0x140009188]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140012f94
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x18]
lea rdx, [0x1400091a8]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140012f94
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x20]
lea rdx, [0x140009168]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140012fa3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x70
pop rsi
pop rbx
pop rbp
ret
Function at 0x140014010
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14003e060]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor ebx, ebx
mov rsi, rdx
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
mov word [rsp + 0x40], bx
call fcn.140039a40
mov qword [0x140042e00], rbx
test rsi, rsi
je 0x14001406e
mov dword [rsi], ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea r8d, [r9 + 0x55]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
je 0x14001417f
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14001409a
mov r12d, 1
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x40]
lea ecx, [r12 + 7]
xor r9d, r9d
add edi, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlGetSystemPreferredUILanguages]
test eax, eax
js 0x14001417f
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], ebx
lea edx, [r12 + 7]
cmove eax, r12d
mov dword [rsp + 0x30], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
lea r8d, [rdi + rax]
add r8, r8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
test rax, rax
je 0x14001417f
lea r15, [rdi + rdi]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8, r15
call fcn.140039700
cmp dword [rsp + 0x34], ebx
je 0x140014168
lea rax, [rsp + 0x30]
lea r9, [r15 + r14]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x40]
lea ecx, [r12 + 7]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlGetSystemPreferredUILanguages]
test eax, eax
jns 0x140014168
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14001417f
mov qword [0x140042e00], r14
test rsi, rsi
je 0x14001417c
mov ecx, dword [rsp + 0x30]
add ecx, edi
mov dword [rsi], ecx
mov ebx, r12d
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140028130
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400141b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov rbp, rdx
mov r15, rcx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], ebx
mov qword [rcx], rbx
test r8, r8
je 0x1400141de
mov dword [r8], ebx
test rdx, rdx
jne 0x14001426b
xor r8d, r8d
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea edi, [r8 + 8]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemPreferredUILanguages]
test eax, eax
je 0x1400142f8
mov rcx, qword gs:[0x60]
mov r8d, dword [rsp + 0x50]
mov edx, edi
mov rcx, qword [rcx + 0x30]
add r8, r8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x1400142f8
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov r8, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemPreferredUILanguages]
test eax, eax
jne 0x1400142e4
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400142f8
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x14001426f
add eax, 2
mov edx, 8
mov dword [rsp + 0x50], eax
mov rcx, qword gs:[0x60]
mov r8d, eax
mov rcx, qword [rcx + 0x30]
add r8, r8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x1400142f8
mov r8d, dword [rsp + 0x50]
mov rdx, rbp
mov rcx, rax
dec r8d
mov rdi, rax
add r8, r8
call fcn.140039700
cmp word [rdi], bx
je 0x1400142e4
mov edx, 0x2c
mov rcx, rdi
call fcn.1400282c0
mov rdi, rax
test rax, rax
je 0x1400142e4
add rdi, 2
mov word [rax], bx
cmp word [rdi], bx
jne 0x1400142c3
mov qword [r15], rsi
test r14, r14
je 0x1400142f3
mov eax, dword [rsp + 0x50]
mov dword [r14], eax
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140014754
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
and qword [rax + 8], 0
lea r8, [0x140009ee0]
xor ebx, ebx
test r8, r8
je 0x1400147ed
test rdx, rdx
lea esi, [rbx + 1]
lea rdi, [0x140002788]
cmovne rdi, rdx
mov dword [rax - 0x20], esi
lea rdx, [rax + 0x20]
lea rcx, [rax + 8]
mov dword [rax - 0x28], esi
call fcn.14001619c
test eax, eax
je 0x1400147ed
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400147dd
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
test eax, eax
cmove ebx, esi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400147ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400148d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 8], 0
xor ebx, ebx
mov rdi, r8
and dword [rbp + 0x38], ebx
and dword [rbp + 0x20], ebx
mov dword [rbp - 0x10], 4
test rcx, rcx
je 0x14001497a
test r8, r8
je 0x14001497a
test rdx, rdx
mov r8, rcx
lea rsi, [0x140002788]
cmovne rsi, rdx
and dword [rax - 0x30], ebx
and dword [rax - 0x38], ebx
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 8]
call fcn.14001619c
test eax, eax
je 0x14001497a
lea r15d, [rbx + 1]
cmp dword [rbp + 0x38], r15d
je 0x14001496b
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001496b
cmp dword [rbp + 0x20], 4
cmove ebx, r15d
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14001497a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop rdi
pop rbp
ret

Function at 0x140014998
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x38
and qword [r11 + 8], 0
lea rax, [r11 + 8]
lea rdx, [0x140009ee0]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400149ee
mov rcx, qword [rsp + 0x40]
lea rdx, [0x140002798]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x38
ret

Function at 0x140014a00
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x30
xor esi, esi
test rcx, rcx
mov dword [rax + 0x10], edx
lea ebx, [rsi + 1]
lea rdi, [0x140002788]
lea r8, [0x140009e70]
cmovne rdi, rcx
mov dword [rax - 0x20], ebx
lea rdx, [rax + 8]
lea rcx, [rax + 0x18]
mov dword [rax - 0x28], ebx
mov qword [rax + 0x18], rsi
call fcn.14001619c
test eax, eax
je 0x140014a92
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov r9d, 4
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140014a70
mov ebx, esi
jmp 0x140014a80
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
test eax, eax
cmovne ebx, esi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140014a90
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140014aa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14003e060]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x50], 0
xor edi, edi
mov r14, rdx
and dword [rsp + 0x40], edi
test rcx, rcx
lea rsi, [0x140002788]
cmovne rsi, rcx
and dword [rsp + 0x28], edi
and dword [rsp + 0x20], edi
lea rcx, [rsp + 0x50]
lea r8, [0x140009e70]
lea rdx, [rsp + 0x58]
call fcn.14001619c
test eax, eax
je 0x140014b97
cmp dword [rsp + 0x58], 1
je 0x140014b97
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x4c]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov edx, ebx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x4c], 4
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x140014b87
test eax, eax
jne 0x140014b97
cmp dword [rsp + 0x48], 4
jne 0x140014b87
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400283c8
test eax, eax
je 0x140014b8b
inc ebx
jmp 0x140014b1a
mov eax, dword [rsp + 0x40]
mov edi, 1
mov dword [r14], eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014ba7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140028130
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140014bd8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov rdi, rdx
lea ebx, [r14 + 1]
mov qword [rax + 0x18], r14
mov dword [rax + 0x10], r14d
test rdx, rdx
jne 0x140014c0a
lea ecx, [rdx + 0x57]
jmp 0x140014cb6
test rcx, rcx
lea rbp, [0x140002788]
mov edx, 0x400
cmovne rbp, rcx
mov rcx, rdi
mov eax, edx
cmp word [rcx], r14w
je 0x140014c31
add rcx, 2
sub rax, rbx
jne 0x140014c22
test rax, rax
je 0x140014cb1
sub rdx, rax
lea esi, [rdx*2 + 2]
cmp esi, 0x800
ja 0x140014cb1
lea r8, [0x140009e10]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.14001619c
test eax, eax
je 0x140014cbc
mov rcx, qword [rsp + 0x60]
mov r9d, ebx
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140014c9a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
test eax, eax
je 0x140014c9d
mov ebx, r14d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140014cad
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140014cbe
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret