joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012950
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 [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x90]
call fcn.140016410
nop
mov rcx, qword [rsp + 0x338]
call fcn.140006930
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 0x1400129f3
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x90]
call fcn.1400169e0
mov eax, dword [rsp + 0x58]
jmp 0x140012b37
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call fcn.140012770
test eax, eax
jne 0x140012a32
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x90]
call fcn.1400169e0
mov eax, dword [rsp + 0x5c]
jmp 0x140012b37
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x40], 0
jmp 0x140012a4e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xdc]
cmp dword [rsp + 0x40], eax
jae 0x140012afa
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 0x140012af3
lea rcx, [rsp + 0x70]
call fcn.14000c280
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x70]
call fcn.140005c20
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x340]
call fcn.140018240
nop
lea rcx, [rsp + 0x70]
call fcn.14000a510
jmp 0x140012af5
jmp 0x140012afa
jmp 0x140012a44
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], 0
jne 0x140012b16
mov dword [rsp + 0x4c], 1
jmp 0x140012b1e
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x90]
call fcn.1400169e0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x328
ret
Function at 0x1400133b0
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 [0x1401a1d00], 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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x14001344f
xor al, al
jmp 0x1400134c1
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x14001349f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400134c1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], 4
je 0x1400134bf
mov dword [0x1401a1d00], 0x3ec
xor al, al
jmp 0x1400134c1
mov al, 1
add rsp, 0x78
ret

Function at 0x1400134d0
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 [0x1401a1d00], 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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x14001356f
xor al, al
jmp 0x1400135e1
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x1400135bf
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400135e1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], 0xb
je 0x1400135df
mov dword [0x1401a1d00], 0x3ec
xor al, al
jmp 0x1400135e1
mov al, 1
add rsp, 0x78
ret
Function at 0x140013740
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x1400137c8
xor al, al
jmp 0x140013916
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013822
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140013916
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.1400c7eb0
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x1400138c9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140013916
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 0x140013c80
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 [0x1401a1d00], 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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013d00
xor al, al
jmp 0x140013d62
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013d55
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140013d62
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret

Function at 0x140013dc0
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 [0x1401a1d00], 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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013e40
xor al, al
jmp 0x140013ea1
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013e94
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140013ea1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret
Function at 0x140013eb0
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 [0x1401a1d00], 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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013f30
xor al, al
jmp 0x140013f8c
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140013f7f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140013f8c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret

Function at 0x140013fa0
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 [0x1401a1d00], 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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x140014020
xor al, al
jmp 0x14001407c
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x14001406f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14001407c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x68
ret
Function at 0x140014130
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 [0x14019cfa0]
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 [0x1401a1d00], eax
cmp dword [0x1401a1d00], 0
je 0x1400141a8
xor al, al
jmp 0x140014351
lea rcx, [rsp + 0x70]
call fcn.14000fa50
nop
mov rdx, qword [rsp + 0x508]
lea rcx, [rsp + 0x98]
call fcn.14000c220
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x500]
call fcn.140012950
nop
lea rcx, [rsp + 0x98]
call fcn.14000a510
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140017890
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400178f0
mov qword [rsp + 0x68], rax
jmp 0x140014229
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x48], rax
je 0x140014302
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 0x1400142a6
jmp 0x140014302
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, [0x14013a648]
mov edx, 0x104
lea rcx, [rsp + 0x2d0]
call fcn.140018480
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x500]
call fcn.140014130
jmp 0x14001421b
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 0x140014331
mov dword [rsp + 0x44], 1
jmp 0x140014339
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x70]
call fcn.14000f9d0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x4f0
pop rdi
ret
Function at 0x140014660
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x50], 0
jmp 0x1400146a3
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x5c], 0x104
mov dword [rsp + 0x58], 0x104
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x103
jne 0x14001470e
jmp 0x1400147e3
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x2a0]
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x4d8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14001476a
xor eax, eax
jmp 0x1400147e8
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140004430
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.140004430
nop
lea r9, [rsp + 0x70]
mov r8, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x4d0]
call fcn.140012640
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x70]
call fcn.140001910
cmp dword [rsp + 0x60], 0
jne 0x1400147de
xor eax, eax
jmp 0x1400147e8
jmp 0x140014699
mov eax, 1
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x4c8
ret
Function at 0x140014810
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x48], 0
jmp 0x140014847
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x4c], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x103
jne 0x1400148af
jmp 0x140014991
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
mov ecx, eax
call fcn.1400c7eb0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140014978
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140014978
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400c7ea8
jmp 0x14001483d
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400c7ea8
jmp 0x14001483d
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x2a8
ret

Function at 0x1400188a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x168
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400e17c0
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jne 0x1400188ec
cmp dword [rsp + 0x38], 0
ja 0x1400188fd
cmp dword [rsp + 0x34], 6
ja 0x1400188fd
mov dword [rsp + 0x20], 0
jmp 0x140018905
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x168
ret
Function at 0x140018cb0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x50]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140018d5c
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, sendto
rep stosb byte [rdi], al
mov eax, 2
mov word [rsp + 0x40], ax
mov dword [rsp + 0x38], sendto
mov rcx, qword [rsp + 0x210]
call fcn.140006930
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_WSAStringToAddressW]
test eax, eax
jne 0x140018d45
mov dword [rsp + 0x34], 1
jmp 0x140018d4d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
call qword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x200
pop rdi
ret

Function at 0x140018d80
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x60]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140018e2c
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov eax, reloc.WS2_32.dll_socket
mov word [rsp + 0x40], ax
mov dword [rsp + 0x38], 0x1c
mov rcx, qword [rsp + 0x220]
call fcn.140006930
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, reloc.WS2_32.dll_socket
mov rcx, rax
call qword [sym.imp.WS2_32.dll_WSAStringToAddressW]
test eax, eax
jne 0x140018e15
mov dword [rsp + 0x34], 1
jmp 0x140018e1d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
call qword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x210
pop rdi
ret
Function at 0x140019a00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x60]
call fcn.140011ed0
nop
movzx eax, byte [0x1401a1d0b]
test eax, eax
je 0x140019a4f
lea rcx, [rsp + 0x60]
call fcn.14002a310
mov r8d, 1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140048e40
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [0x14013ae54]
mov rcx, qword [rsp + 0x30]
call fcn.14002e920
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x80]
call fcn.140006ee0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140019aee
lea rcx, [rsp + 0x60]
call fcn.140048280
dec eax
mov r8d, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.140048670
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140044790
nop
lea rcx, [rsp + 0xa0]
call fcn.140006ee0
lea rcx, [rsp + 0x60]
call fcn.140045590
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019b12
lea rcx, [rsp + 0x60]
call fcn.140006ee0
jmp 0x140019b91
mov dx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.140048d80
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
jl 0x140019b71
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x60]
call fcn.140048670
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140045590
mov rcx, rax
call fcn.140019a00
nop
lea rcx, [rsp + 0xc0]
call fcn.140006ee0
lea rcx, [rsp + 0x60]
call fcn.140045590
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rsp + 0x60]
call fcn.140006ee0
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0xf8
ret