joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f2740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.1400f1be0
movzx eax, al
test eax, eax
je 0x1400f276b
mov eax, 2
jmp 0x1400f27ec
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x1400f2796
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x1400f2796
mov dword [rsp + 0x28], 0
jmp 0x1400f279e
mov dword [rsp + 0x28], 1
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f27cc
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400f5300
movzx eax, al
test eax, eax
je 0x1400f27ca
xor eax, eax
jmp 0x1400f27ec
jmp 0x1400f27e7
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
test eax, eax
je 0x1400f27e7
xor eax, eax
jmp 0x1400f27ec
call fcn.1400f5240
add rsp, 0x38
ret
Function at 0x1400f2cc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f2d09
mov dword [rsp + 0x30], 1
jmp 0x1400f2d11
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x68], 0
je 0x1400f2d25
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400f2d40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400f2d89
mov dword [rsp + 0x30], 1
jmp 0x1400f2d91
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x68], 0
je 0x1400f2da5
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400f3040
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x105
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jbe 0x1400f30b0
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x1400f30b0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x1400f30bc
lea rax, [0x14030c6f0]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.1400179b0
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x260
pop rdi
ret
Function at 0x1400f3ce0
Capabilities:
Create directory

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x110]
call fcn.14000c690
mov rcx, rax
call fcn.1400f41b0
movzx eax, al
test eax, eax
jne 0x1400f3fd3
mov rcx, qword [rsp + 0x110]
call fcn.14000c690
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400f3fd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x118], 0
je 0x1400f3dda
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.1400f1870
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140016520
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140017fc0
mov rcx, qword [rsp + 0x110]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001e490
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rdx, [0x14030c740]
mov rcx, qword [rsp + 0x118]
call fcn.14001d950
nop
lea rcx, [rsp + 0xb0]
call fcn.140015480
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x1400f3fcf
cmp dword [rsp + 0x24], 3
jne 0x1400f3fcf
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x90]
call fcn.140015150
nop
lea rcx, [rsp + 0x90]
call fcn.1400cd350
mov r8, 0xffffffffffffffff
lea rdx, [0x14030c778]
lea rcx, [rsp + 0x90]
call fcn.1400f6010
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400f3fa7
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x90]
call fcn.140078570
movzx r8d, byte [rsp + 0x120]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x90]
call fcn.1400f3ce0
movzx eax, al
test eax, eax
je 0x1400f3f8c
mov rcx, qword [rsp + 0x110]
call fcn.14000c690
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400f3edb
cmp qword [rsp + 0x118], 0
je 0x1400f3eba
mov rcx, qword [rsp + 0x118]
call fcn.140016540
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x90]
call fcn.14000a800
movzx eax, byte [rsp + 0x20]
jmp 0x1400f3fd5
cmp qword [rsp + 0x118], 0
je 0x1400f3f71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1400f1870
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140016520
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140017fc0
mov rcx, qword [rsp + 0x110]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14001e490
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
lea rdx, str.Failed_to_create___S_:__s_n
mov rcx, qword [rsp + 0x118]
call fcn.14001d950
nop
lea rcx, [rsp + 0xd0]
call fcn.140015480
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x90]
call fcn.14000a800
movzx eax, byte [rsp + 0x21]
jmp 0x1400f3fd5
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x90]
call fcn.14000a800
movzx eax, byte [rsp + 0x22]
jmp 0x1400f3fd5
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x90]
call fcn.14000a800
movzx eax, byte [rsp + 0x23]
jmp 0x1400f3fd5
xor al, al
jmp 0x1400f3fd5
mov al, 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x108
ret
Function at 0x1400f41b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400f41e4
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x1400f41e4
mov dword [rsp + 0x24], 1
jmp 0x1400f41ec
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x1400f4340
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x30]
call fcn.140015150
nop
cmp qword [rsp + 0x2e8], 0
je 0x1400f4395
mov rdx, qword [rsp + 0x2e8]
lea rcx, [rsp + 0x30]
call fcn.14001efd0
jmp 0x1400f43a6
lea rdx, [0x14030c73c]
lea rcx, [rsp + 0x30]
call fcn.14001efd0
lea rcx, [rsp + 0x30]
call fcn.14000c690
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1400f442e
cmp dword [rsp + 0x70], 0x10
je 0x1400f440e
lea r8, [rsp + 0x9c]
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x50]
call fcn.14001b840
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14000c690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x50]
call fcn.14000a800
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400f43cb
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x30]
call fcn.14000a800
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x2d8
ret
Function at 0x1400f49a0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x328]
call fcn.1400d7a60
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x68]
call fcn.140015150
nop
lea rcx, [rsp + 0x68]
call fcn.1400cd350
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140015150
nop
mov r8, 0xffffffffffffffff
mov dx, reloc.msi.dll_MsiOpenProductW
lea rcx, [rsp + 0x48]
call fcn.1400d89a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400f4a4a
mov r8, 0xffffffffffffffff
mov dx, reloc.msi.dll_MsiGetComponentStateW
lea rcx, [rsp + 0x48]
call fcn.1400d89a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400f4a63
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.1400d7d40
jmp 0x1400f4a74
lea rdx, [0x14030c838]
lea rcx, [rsp + 0x48]
call fcn.140015550
lea rdx, [0x14030c83c]
lea rcx, [rsp + 0x68]
call fcn.14003a7a0
movzx eax, al
test eax, eax
jne 0x1400f4aa4
lea rdx, [0x14030c840]
lea rcx, [rsp + 0x68]
call fcn.14003a7a0
movzx eax, al
test eax, eax
je 0x1400f4ad1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x328]
call fcn.1400561f0
nop
lea rcx, [rsp + 0x48]
call fcn.14000a800
nop
lea rcx, [rsp + 0x68]
call fcn.14000a800
jmp 0x1400f4bde
lea rcx, [rsp + 0x48]
call fcn.14002a240
lea rcx, [rsp + 0x68]
call fcn.14000c690
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400f4b0d
mov dword [rsp + 0x24], 1
jmp 0x1400f4b15
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jne 0x1400f4bbd
lea rdx, [0x14030c848]
lea rcx, [rsp + 0xdc]
call fcn.14023676c
test eax, eax
je 0x1400f4ba1
lea rdx, [0x14030c84c]
lea rcx, [rsp + 0xdc]
call fcn.14023676c
test eax, eax
je 0x1400f4ba1
lea r8, [rsp + 0xdc]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.14001b840
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x328]
call fcn.140037190
nop
lea rcx, [rsp + 0x88]
call fcn.14000a800
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x20], eax
jmp 0x1400f4b1d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x48]
call fcn.14000a800
nop
lea rcx, [rsp + 0x68]
call fcn.14000a800
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x318
ret
Function at 0x1400f4f90
Capabilities:
Get file size
Read file via mapping
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0xb0]
call fcn.14000c690
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, 5
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400f5060
call fcn.1400f5240
mov dword [rsp + 0x40], eax
jmp 0x1400f51f6
mov dword [rsp + 0x88], reloc.msi.dll_MsiDatabaseImportW
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 1
mov rcx, qword [rsp + 0xb8]
call fcn.14000c690
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], MsiSetFeatureStateW
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x88]
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x1400f50e2
call fcn.1400f5240
mov dword [rsp + 0x40], eax
jmp 0x1400f51f6
mov rcx, qword [rsp + 0xb0]
call fcn.14000c690
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400f513f
call fcn.1400f5240
mov dword [rsp + 0x40], eax
jmp 0x1400f51f6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x1400f5180
call fcn.1400f5240
mov dword [rsp + 0x40], eax
jmp 0x1400f51f6
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400f51f6
mov dword [rsp + 0x68], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400f51f6
call fcn.1400f5240
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x40]
add rsp, 0xa8
ret
Function at 0x1400f67a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2f8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400f67ed
xor al, al
jmp 0x1400f6980
mov rdx, qword [rsp + 0x300]
lea rcx, [rsp + 0x68]
call fcn.1400179b0
nop
mov r8, 0xffffffffffffffff
mov dx, reloc.msi.dll_MsiOpenProductW
lea rcx, [rsp + 0x68]
call fcn.1400d89a0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400f6838
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140078570
lea rdx, [0x14030c94c]
lea rcx, [rsp + 0xbc]
call fcn.14023676c
test eax, eax
je 0x1400f6878
lea rdx, [0x14030c99c]
lea rcx, [rsp + 0xbc]
call fcn.14023676c
test eax, eax
je 0x1400f6878
mov eax, dword [rsp + 0x90]
and eax, 0x400
test eax, eax
je 0x1400f687d
jmp 0x1400f6946
mov rax, qword [rsp + 0x308]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x68]
call fcn.14000c690
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x308]
call qword [rsp + 0x40]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
jne 0x1400f68c8
jmp 0x1400f6961
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
je 0x1400f6946
cmp dword [rsp + 0x24], 0
jne 0x1400f6946
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140015150
nop
lea rcx, [rsp + 0x48]
call fcn.14002a240
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x48]
call fcn.14001efd0
lea rcx, [rsp + 0x48]
call fcn.14002a240
mov dx, SQLGetData
lea rcx, [rsp + 0x48]
call fcn.1400f69a0
lea rcx, [rsp + 0x48]
call fcn.14000c690
mov rdx, qword [rsp + 0x308]
mov rcx, rax
call fcn.1400f67a0
nop
lea rcx, [rsp + 0x48]
call fcn.14000a800
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400f6838
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x68]
call fcn.14000a800
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x2f8
ret
Function at 0x1400faaf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x2c8]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400fab47
cmp dword [rsp + 0x40], 1
je 0x1400fab51
cmp dword [rsp + 0x40], 2
je 0x1400fab51
jmp 0x1400fab59
mov dword [rsp + 0x44], 0x200
jmp 0x1400fab59
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x50], 0
mov eax, dword [rsp + 0x44]
or eax, 0x20019
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x4c], 0
jne 0x1400fac43
mov dword [rsp + 0x58], 0xff
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400fac3e
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.1400179b0
nop
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2c0]
call fcn.140037190
nop
lea rcx, [rsp + 0x68]
call fcn.14000a800
jmp 0x1400fab9d
cmp qword [rsp + 0x50], 0
je 0x1400fac56
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x2c8], 2
jne 0x1400fac80
xor r9d, r9d
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
call fcn.1400faaf0
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x2a8
ret
Function at 0x1400fae40
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x8098
call fcn.140222df0
sub rsp, rax
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x8080], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x80b8]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400fae9d
cmp dword [rsp + 0x40], 1
je 0x1400faea7
cmp dword [rsp + 0x40], 2
je 0x1400faea7
jmp 0x1400faeaf
mov dword [rsp + 0x44], 0x200
jmp 0x1400faeaf
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x50], 0
mov eax, dword [rsp + 0x44]
or eax, 0x20019
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x80a8]
mov rcx, qword [rsp + 0x80a0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x4c], 0
jne 0x1400faf98
mov dword [rsp + 0x58], 0x3fff
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x48]
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 + 0x58]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400faf93
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400179b0
nop
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x80b0]
call fcn.140037190
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
jmp 0x1400faef3
cmp qword [rsp + 0x50], 0
je 0x1400fafab
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x80b8], 2
jne 0x1400fafd5
xor r9d, r9d
mov r8, qword [rsp + 0x80b0]
mov rdx, qword [rsp + 0x80a8]
mov rcx, qword [rsp + 0x80a0]
call fcn.1400fae40
mov rcx, qword [rsp + 0x8080]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x8098
ret
Function at 0x1400fb220
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x80e8
call fcn.140222df0
sub rsp, rax
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x80d0], rax
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x8108]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1400fb27d
cmp dword [rsp + 0x64], 1
je 0x1400fb287
cmp dword [rsp + 0x64], 2
je 0x1400fb287
jmp 0x1400fb28f
mov dword [rsp + 0x68], 0x200
jmp 0x1400fb28f
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x78], 0
mov eax, dword [rsp + 0x68]
or eax, 0x20019
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x80f8]
mov rcx, qword [rsp + 0x80f0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400fb4ad
mov dword [rsp + 0x6c], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400fb4a2
mov eax, dword [rsp + 0x6c]
mov qword [rsp + 0x98], rax
mov eax, 2
mov rcx, qword [rsp + 0x98]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140222dcc
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x70], 0
cmp dword [rsp + 0x60], 0
jne 0x1400fb485
mov dword [rsp + 0x84], 0x3fff
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x84]
lea r8, [rsp + 0xd0]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400fb480
cmp dword [rsp + 0x74], 1
jne 0x1400fb480
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xb0]
call fcn.1400179b0
nop
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x8100]
call fcn.1400fd180
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.140015550
nop
lea rcx, [rsp + 0xb0]
call fcn.14000a800
jmp 0x1400fb3a0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140222778
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x8108], 2
jne 0x1400fb4d7
xor r9d, r9d
mov r8, qword [rsp + 0x8100]
mov rdx, qword [rsp + 0x80f8]
mov rcx, qword [rsp + 0x80f0]
call fcn.1400fb220
mov rcx, qword [rsp + 0x80d0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x80e8
ret