joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a9e70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
call fcn.140003fd0
cmp eax, 3
jge 0x1400a9e9b
xor al, al
jmp 0x1400a9f84
lea rcx, [rsp + 0x48]
call fcn.140004410
nop
mov edx, 0xff
lea rcx, [rsp + 0x48]
call fcn.140057cc0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x80]
call fcn.140003250
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x38], 0x100
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400118c0
lea rdx, str.NTFS
lea rcx, [rsp + 0x48]
call fcn.140054c10
movzx eax, al
test eax, eax
jne 0x1400a9f64
lea rdx, str.ReFS
lea rcx, [rsp + 0x48]
call fcn.140054c10
movzx eax, al
test eax, eax
jne 0x1400a9f64
lea rdx, str.exFAT
lea rcx, [rsp + 0x48]
call fcn.140054c10
movzx eax, al
test eax, eax
jne 0x1400a9f64
mov dword [rsp + 0x44], 0
jmp 0x1400a9f6c
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x48]
call fcn.1400031c0
movzx eax, byte [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x1400aa3a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xb0]
call fcn.140003fd0
cmp eax, 3
jge 0x1400aa3e6
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0xb0]
call fcn.1400031c0
movzx eax, byte [rsp + 0x21]
jmp 0x1400aa55a
call fcn.1400a8260
movzx eax, al
test eax, eax
je 0x1400aa40e
mov byte [rsp + 0x22], 0
mov rcx, qword [rsp + 0xb0]
call fcn.1400031c0
movzx eax, byte [rsp + 0x22]
jmp 0x1400aa55a
lea r8, [0x1402ee3dc]
lea rdx, [0x1402ee3f4]
mov rcx, qword [rsp + 0xb0]
call fcn.140006760
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call fcn.140007200
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140029340
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call fcn.140007070
nop
lea rcx, [rsp + 0x58]
call fcn.1400031c0
lea rcx, [rsp + 0x28]
call fcn.140004410
nop
lea rax, [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.140007200
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x80]
call fcn.140029340
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r9, [0x1402ee660]
mov rax, qword [rsp + 0x78]
mov r8, qword [rax]
lea rdx, [0x1402ee6d0]
lea rcx, [rsp + 0x28]
call fcn.140004850
nop
lea rcx, [rsp + 0x80]
call fcn.1400031c0
lea rcx, [rsp + 0x28]
call fcn.140003250
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400aa52f
mov byte [rsp + 0x20], 0
jmp 0x1400aa534
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0x28]
call fcn.1400031c0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.1400031c0
movzx eax, byte [rsp + 0x23]
add rsp, 0xa8
ret
Function at 0x1400af2a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x104
ja 0x1400af2f1
cmp dword [rsp + 0x24], 0
jne 0x1400af2f8
xor al, al
jmp 0x1400af3a5
lea rcx, [rsp + 0x50]
call fcn.140028660
cmp qword [rsp + 0x498], 0
je 0x1400af31c
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x38], rax
jmp 0x1400af328
lea rax, str._TEMP
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140004170
nop
lea rcx, [rsp + 0x30]
call fcn.140003250
lea r9, [rsp + 0x260]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1400af37c
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.1400031c0
movzx eax, byte [rsp + 0x20]
jmp 0x1400af3a5
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x490]
call fcn.140004120
mov byte [rsp + 0x21], 1
lea rcx, [rsp + 0x30]
call fcn.1400031c0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x488
ret

Function at 0x1400af4f0
Capabilities:
Check if file exists
Get disk information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, [0x1402efa84]
mov rcx, qword [rsp + 0x80]
call fcn.1400032d0
mov eax, 0x63
mov word [rsp + 0x20], ax
jmp 0x1400af53e
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0x7a
jge 0x1400af5fc
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.140054f10
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
lea r8, [0x1402efa74]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14003d750
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140003570
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, dword [rsp + 0x70]
jne 0x1400af5a4
mov dword [rsp + 0x28], 1
jmp 0x1400af5ac
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x38]
call fcn.1400049b0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400af5f7
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140054f10
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
mov rcx, qword [rsp + 0x78]
call fcn.140003570
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400af5f7
mov al, 1
jmp 0x1400af612
jmp 0x1400af531
lea rdx, [0x1402efa8c]
mov rcx, qword [rsp + 0x80]
call fcn.1400032d0
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x68
ret
Function at 0x1400b0d70
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, sendto
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x6f
je 0x1400b0db8
jmp 0x1400b0e24
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.1400d6048
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400b0dde
jmp 0x1400b0e24
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
xor r8d, r8d
mov edx, sendto
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400b0e24
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400d6040
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x38]
add rsp, 0x58
ret

Function at 0x1400b2ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
dec rax
sar rax, 1
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jge 0x1400b2f98
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
lea rax, [rax + rcx*2 - 2]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
lea rcx, [rcx + rdx*2]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x90]
call fcn.1400b1ff0
movzx eax, al
test eax, eax
je 0x1400b2f62
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov rcx, rax
call fcn.140006e50
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movzx eax, word [rax]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
jmp 0x1400b2eff
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jne 0x1400b2ff8
mov rax, qword [rsp + 0x80]
cqo
and rax, 1
xor rax, rdx
sub rax, rdx
test rax, rax
jne 0x1400b2ff8
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx*2 - 2]
mov rcx, rax
call fcn.140006e50
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movzx eax, word [rax]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x80]
dec rax
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x88]
call fcn.140006e50
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400b3130
add rsp, 0x68
ret
Function at 0x1400b85c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x328
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x90]
call fcn.1400badb0
nop
mov rcx, qword [rsp + 0x338]
call fcn.140003570
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400b8663
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x90]
call fcn.1400bae50
mov eax, dword [rsp + 0x58]
jmp 0x1400b87a7
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call fcn.1400b83e0
test eax, eax
jne 0x1400b86a2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x90]
call fcn.1400bae50
mov eax, dword [rsp + 0x5c]
jmp 0x1400b87a7
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x40], 0
jmp 0x1400b86be
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xdc]
cmp dword [rsp + 0x40], eax
jae 0x1400b876a
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x100]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400b8763
lea rcx, [rsp + 0x70]
call fcn.1400032f0
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x70]
call fcn.1400032d0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x340]
call fcn.14006c410
nop
lea rcx, [rsp + 0x70]
call fcn.1400049b0
jmp 0x1400b8765
jmp 0x1400b876a
jmp 0x1400b86b4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], 0
jne 0x1400b8786
mov dword [rsp + 0x4c], 1
jmp 0x1400b878e
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x90]
call fcn.1400bae50
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x328
ret
Function at 0x1400b9020
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, 0x78
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x58], 4
mov dword [0x1403cf588], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b90bf
xor al, al
jmp 0x1400b9131
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b910f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9131
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], 4
je 0x1400b912f
mov dword [0x1403cf588], 0x3ec
xor al, al
jmp 0x1400b9131
mov al, 1
add rsp, 0x78
ret

Function at 0x1400b9140
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, 0x78
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], reloc.WS2_32.dll_inet_addr
mov dword [rsp + 0x58], 8
mov dword [0x1403cf588], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b91df
xor al, al
jmp 0x1400b9251
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b922f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9251
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], 0xb
je 0x1400b924f
mov dword [0x1403cf588], 0x3ec
xor al, al
jmp 0x1400b9251
mov al, 1
add rsp, 0x78
ret
Function at 0x1400b93b0
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, 0x78
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9438
xor al, al
jmp 0x1400b9586
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9492
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9586
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov qword [rsp + 0x60], rax
mov eax, 2
mov rcx, qword [rsp + 0x60]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400d6048
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9539
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9586
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov rcx, qword [rsp + 0xa0]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
xor edx, edx
mov word [rcx + rax*2], dx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x78
ret
Function at 0x1400b98f0
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, 0x68
mov dword [rsp + 0x50], 0
mov dword [0x1403cf588], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9970
xor al, al
jmp 0x1400b99d2
mov eax, dword [rsp + 0x90]
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b99c5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b99d2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret

Function at 0x1400b9a30
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, 0x68
mov dword [rsp + 0x50], 0
mov dword [0x1403cf588], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9ab0
xor al, al
jmp 0x1400b9b11
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x98]
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9b04
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9b11
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret
Function at 0x1400b9b20
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x50], 0
mov dword [0x1403cf588], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9ba0
xor al, al
jmp 0x1400b9bfc
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9bef
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9bfc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret

Function at 0x1400b9c10
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, 0x68
mov dword [rsp + 0x50], 0
mov dword [0x1403cf588], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9c90
xor al, al
jmp 0x1400b9cec
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_addr
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9cdf
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b9cec
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret
Function at 0x1400b9da0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4f0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
mov rdx, qword [rsp + 0x508]
mov rcx, qword [rsp + 0x500]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [0x1403cf588], eax
cmp dword [0x1403cf588], 0
je 0x1400b9e18
xor al, al
jmp 0x1400b9fc1
lea rcx, [rsp + 0x70]
call fcn.1400031a0
nop
mov rdx, qword [rsp + 0x508]
lea rcx, [rsp + 0x98]
call fcn.1400055b0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x500]
call fcn.1400b85c0
nop
lea rcx, [rsp + 0x98]
call fcn.1400049b0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140066060
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.140066100
mov qword [rsp + 0x68], rax
jmp 0x1400b9e99
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x48], rax
je 0x1400b9f72
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400b9f16
jmp 0x1400b9f72
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x508]
lea r8, [0x1402f0ab8]
mov edx, 0x104
lea rcx, [rsp + 0x2d0]
call fcn.14006fbd0
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x500]
call fcn.1400b9da0
jmp 0x1400b9e8b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x508]
mov rcx, qword [rsp + 0x500]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400b9fa1
mov dword [rsp + 0x44], 1
jmp 0x1400b9fa9
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x70]
call fcn.140003260
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x4f0
pop rdi
ret