joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034660
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x30]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x140034699
xor eax, eax
jmp 0x140034758
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x20]
mov qword [rax + 8], rcx
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400346d1
xor eax, eax
jmp 0x140034758
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov rcx, qword [rsp + 0x1f0]
mov qword [rcx + 0x10], rax
mov r8d, 1
mov rax, qword [rsp + 0x1f0]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
lea rdx, [0x1401a11e1]
mov ecx, 0x10f
call fcn.140138d24
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x1f0]
cmp qword [rax + 0x20], 0
jne 0x140034741
xor eax, eax
jmp 0x140034758
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x1f0]
mov word [rcx + 0x18], ax
mov eax, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x1e8
ret
Function at 0x140036a00
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rcx, qword [rsp + 0x310]
call fcn.140010e90
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x310]
call fcn.140037850
movzx eax, ax
cmp eax, 0x5c
je 0x140036a63
mov dl, 0x5c
mov rcx, qword [rsp + 0x310]
call fcn.1400228f0
lea r8, [0x1401c7460]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x40]
call fcn.14000fed0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140010050
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
call fcn.14000ffc0
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140036ad9
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x310]
call fcn.14000ffc0
movzx eax, byte [rsp + 0x20]
jmp 0x140036c56
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
je 0x140036b64
lea rdx, [0x1401b2ec4]
lea rcx, [rsp + 0xcc]
call fcn.140146e70
test eax, eax
je 0x140036b5f
lea rdx, [0x1401c7474]
lea rcx, [rsp + 0xcc]
call fcn.140146e70
test eax, eax
je 0x140036b5f
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x310]
mov rcx, qword [rsp + 0x48]
call fcn.14000fed0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
movzx edx, byte [rsp + 0x318]
mov rcx, qword [rsp + 0x58]
call fcn.140036a00
jmp 0x140036c03
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x70]
call fcn.14000fed0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140010050
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rcx, [rsp + 0x70]
call fcn.14000ffc0
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x88]
call fcn.14000fed0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x88]
call fcn.14000ffc0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140036ad9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x310]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [rsp + 0x21], 1
mov rcx, qword [rsp + 0x310]
call fcn.14000ffc0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x308
ret
Function at 0x140036c70
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub rsp, 0x6f8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov dword [rsp + 0x24], 0xffffffff
mov byte [rsp + 0x20], 1
mov dword [rsp + 0x40], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140036dfe
lea rax, [rsp + 0x8c]
lea rcx, str.Updater.exe
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140036d08
add rax, 2
test dx, dx
jne 0x140036cf2
xor eax, eax
jmp 0x140036d0d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140036de5
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x140036de5
mov dword [rsp + 0x2a0], 0x438
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140036de5
mov edx, 8
lea rcx, [rsp + 0x58]
call fcn.14000c8b0
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x58]
call fcn.14000fff0
nop
xor r8d, r8d
lea rdx, str.StellarPlayer
lea rcx, [rsp + 0x58]
call fcn.140022840
cmp eax, 0xffffffff
je 0x140036ddb
mov r8d, dword [rsp + 0x24]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x140036ddb
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
call fcn.14000ffc0
jmp 0x140036dfe
lea rcx, [rsp + 0x58]
call fcn.14000ffc0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [rsp + 0x28], eax
jmp 0x140036cd5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x24], 0xffffffff
jne 0x140036e14
xor al, al
jmp 0x140036e19
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x6f8
ret
Function at 0x140036e40
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x24], 0xffffffff
mov byte [rsp + 0x20], 1
cmp qword [rsp + 0x2b0], 0
jne 0x140036e7d
xor al, al
jmp 0x140036f5c
mov dword [rsp + 0x38], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140036f41
lea rax, [rsp + 0x7c]
mov rcx, qword [rsp + 0x2b0]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140036ee4
add rax, 2
test dx, dx
jne 0x140036ece
xor eax, eax
jmp 0x140036ee9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140036f28
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x24]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x140036f28
mov byte [rsp + 0x20], 0
jmp 0x140036f41
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [rsp + 0x28], eax
jmp 0x140036eb3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x24], 0xffffffff
jne 0x140036f57
xor al, al
jmp 0x140036f5c
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140138320
add rsp, 0x2a8
ret

Function at 0x1400370b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x490
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0x400
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
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 + 0x58]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x4a0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140009a10
nop
lea rcx, [rsp + 0x60]
call fcn.1400097a0
mov rdx, rax
mov rcx, qword [rsp + 0x4a0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14003718e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x60]
call fcn.140009960
cmp dword [rsp + 0x44], 0x103
jne 0x1400370e8
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140138320
add rsp, 0x490
pop rdi
ret
Function at 0x1400375e0
Capabilities:
Delete registry value

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140010300
movzx eax, al
test eax, eax
je 0x140037641
mov byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0xb8]
call fcn.140010220
movzx eax, byte [rsp + 0x30]
jmp 0x14003782d
mov rcx, qword [rsp + 0xb8]
call fcn.140009780
mov qword [rsp + 0x48], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x1401b2f14]
mov rcx, qword [rsp + 0xb8]
call fcn.14002e200
inc rax
mov rcx, qword [rsp + 0x48]
mov r9, rcx
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
call fcn.140022c10
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1401b2f34]
mov rcx, qword [rsp + 0xb8]
call fcn.14002e200
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call fcn.140022c10
nop
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x1400376e1
mov dword [rsp + 0x34], 0x2011f
jmp 0x1400376e9
mov dword [rsp + 0x34], 0x2001f
lea rcx, [rsp + 0x58]
call fcn.1400101f0
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140037727
mov dword [rsp + 0x38], 1
jmp 0x14003772f
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14003777a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x58]
call fcn.140010220
nop
lea rcx, [rsp + 0x78]
call fcn.140010220
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140010220
movzx eax, byte [rsp + 0x31]
jmp 0x14003782d
lea rcx, [rsp + 0x78]
call fcn.1400101f0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400377e4
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x58]
call fcn.140010220
nop
lea rcx, [rsp + 0x78]
call fcn.140010220
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140010220
movzx eax, byte [rsp + 0x32]
jmp 0x14003782d
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x33], 1
lea rcx, [rsp + 0x58]
call fcn.140010220
nop
lea rcx, [rsp + 0x78]
call fcn.140010220
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140010220
movzx eax, byte [rsp + 0x33]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140138320
add rsp, 0xa8
ret
Function at 0x140038640
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400386f4
xor al, al
jmp 0x14003889f
mov eax, dword [rsp + 0xd0]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140138904
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xd0]
inc eax
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0x60], 0
jmp 0x14003873f
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x60], eax
jae 0x140038854
mov eax, dword [rsp + 0xd0]
inc eax
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd0]
inc eax
mov eax, eax
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x90]
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 + 0xd4]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x140038819
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140138344
cmp qword [rsp + 0x78], 0
jne 0x1400387fc
mov qword [rsp + 0x98], 0
jmp 0x140038812
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
xor al, al
jmp 0x14003889f
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb0]
call fcn.140009a10
nop
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x108]
call fcn.140035880
nop
lea rcx, [rsp + 0xb0]
call fcn.140009960
jmp 0x140038735
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140138344
cmp qword [rsp + 0x80], 0
jne 0x140038887
mov qword [rsp + 0xa0], 0
jmp 0x14003889d
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa0], rax
mov al, 1
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140138320
add rsp, 0xf0
pop rdi
ret
Function at 0x1400388c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x40], 0
lea rdx, [0x1401b2033]
lea rcx, [rsp + 0x88]
call fcn.140009a10
nop
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400097a0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jbe 0x140038ab6
cmp dword [rsp + 0x30], 2
jbe 0x140038982
cmp dword [rsp + 0x30], 4
je 0x140038a3f
jmp 0x140038ab6
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.140138904
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rcx, qword [rsp + 0x60]
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0xe0]
call fcn.1400097a0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140038a03
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x88]
call fcn.14002c410
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140138344
cmp qword [rsp + 0x48], 0
jne 0x140038a2a
mov qword [rsp + 0x68], 0
jmp 0x140038a3d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
jmp 0x140038ab6
mov rcx, qword [rsp + 0xe0]
call fcn.1400097a0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x50], eax
mov r9d, dword [rsp + 0x80]
lea r8, [0x1401b2f6c]
mov edx, ntohs
lea rcx, [rsp + 0xa8]
call fcn.14000a8b0
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x88]
call fcn.14002c410
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xd0]
call fcn.140009990
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x88]
call fcn.140009960
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140138320
add rsp, 0xc0
pop rdi
ret
Function at 0x140038b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x64], 0
mov edx, Ordinal_26
lea rcx, [rsp + 0xd0]
call fcn.14000c8b0
lea rcx, [rsp + 0xd0]
call fcn.1400221e0
nop
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0xec]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140038c1f
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x110]
call fcn.140022160
mov eax, dword [rsp + 0x64]
or eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xd0]
call fcn.140010100
mov rax, qword [rsp + 0x110]
jmp 0x140038daf
mov eax, dword [rsp + 0xc0]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140138904
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xc0]
inc eax
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x60], 0
jmp 0x140038c6a
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x60], eax
jae 0x140038d3a
mov eax, dword [rsp + 0xc0]
inc eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xc0]
inc eax
mov eax, eax
mov qword [rsp + 0x88], rax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov rcx, qword [rsp + 0x88]
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 + 0xc4]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140038cff
jmp 0x140038d3a
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.140009a10
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xd0]
call fcn.140035880
nop
lea rcx, [rsp + 0xa0]
call fcn.140009960
jmp 0x140038c60
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140138344
cmp qword [rsp + 0x78], 0
jne 0x140038d64
mov qword [rsp + 0x90], 0
jmp 0x140038d7a
mov qword [rsp + 0x70], 0x8123
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x110]
call fcn.140022160
mov eax, dword [rsp + 0x64]
or eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xd0]
call fcn.140010100
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140138320
add rsp, 0x100
pop rdi
ret
Function at 0x14005ed20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x64], 0xffffffff
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005ef90
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x14005edef
mov dword [rsp + 0x78], 0x64
mov dword [rsp + 0x60], 0
jmp 0x14005ee03
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x60], eax
jae 0x14005ef90
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x7c], 0x104
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r9d, dword [rsp + 0x60]
lea r8, str._04u
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.1400601a0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14005eead
jmp 0x14005edf9
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.NetCfgInstanceId
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14005eef5
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005edf9
mov rcx, qword [rsp + 0x2d0]
call fcn.1400097a0
lea rdx, [rsp + 0x1a0]
mov rcx, rax
call fcn.140151a70
test eax, eax
je 0x14005ef26
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005edf9
mov dword [rsp + 0x7c], 4
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [0x1401c8e30]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005ef80
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005ef90
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005edf9
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x2c0
pop rdi
ret