joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006c4b3
Capabilities:
Query or enumerate registry value

Disassembly:
or eax, 0x20019
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0xf0]
add byte [rax], al
add al, ch
adc byte [rax + 2], al
add byte [rax - 0x73], cl
mov word [rax + rbp*8], fs
add dword [rax], eax
add byte [rax - 0x77], cl
and al, 0x20
mov ecx, dword [rsp + 0x68]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x160]
call 0x18009042b
mov edx, 8
lea rcx, [rsp + 0x208]
call fcn.18006d48d
lea rcx, [rsp + 0x208]
call 0x18008f6ba
nop
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x50], 0
jne 0x18006c603
mov dword [rsp + 0x1f8], 0x104
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x6c], eax
mov edx, 0x104
lea rcx, [rsp + 0x208]
call 0x18008f813
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1f8]
mov r8, rax
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x6b880e8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x208]
call 0x180090584
cmp dword [rsp + 0x50], 0
jne 0x18006c5fe
lea rcx, [rsp + 0x210]
call 0x18008f86c
mov r9d, eax
xor r8d, r8d
ror byte [rax - 0x73], 0x94
and al, 0
add dword [rax], eax
add byte [rax - 0x73], cl
mov word [rax + rcx], fs
add al, byte [rax]
add byte [rax], al
call 0x180094647
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xf8]
call 0x180096bf4
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x100]
call 0x18008f6a5
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18006c5fe
mov dword [rsp + 0x220], 1
mov dword [rsp + 0x224], 0x104
mov edx, 0x2c
lea rcx, [rsp + 0x180]
call 0x180098cce
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov edx, 0x104
lea rcx, [rsp + 0x1f0]
call 0x18008f934
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x110]
call 0x180090589
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x208]
call fcn.180071f9e
lea rcx, [rsp + 0x224]
and al, 0x24
add al, byte [rax]
add byte [rax - 0x77], cl
and al, 0x28
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x220]
mov rcx, qword [rsp + 0xd8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x6b9c8e8]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x180]
call 0x180090620
mov edx, 0xffffffff
lea rcx, [rsp + 0x1f0]
call 0x1800906d2
cmp dword [rsp + 0x80], 0
jne 0x18006c5fe
jmp 0x18006c603
jmp 0x1800d7e16
lea rcx, [rsp + 0x1f0]
call 0x18008f8f0
movzx eax, al
test eax, eax
jne 0x18006c626
lea rcx, [rsp + 0x208]
call 0x18008f7c4
jmp 0x18006c638
lea rcx, [rsp + 0x208]
call 0x18008f7d3
jmp 0x1800d7d8e
mov dword [rsp + 0x48], 0
jmp 0x18006c64c
mov eax, dword [rsp + 0x60]
Function at 0x18006c4c1
Capabilities:
Query or enumerate registry value

Disassembly:
or eax, 0x20019
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0xf0]
add byte [rax], al
add al, ch
adc byte [rax + 2], al
add byte [rax - 0x73], cl
mov word [rax + rbp*8], fs
add dword [rax], eax
add byte [rax - 0x77], cl
and al, 0x20
mov ecx, dword [rsp + 0x68]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x160]
call 0x18009042b
mov edx, 8
lea rcx, [rsp + 0x208]
call fcn.18006d48d
lea rcx, [rsp + 0x208]
call 0x18008f6ba
nop
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x50], 0
jne 0x18006c603
mov dword [rsp + 0x1f8], 0x104
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x6c], eax
mov edx, 0x104
lea rcx, [rsp + 0x208]
call 0x18008f813
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1f8]
mov r8, rax
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x6b880e8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x208]
call 0x180090584
cmp dword [rsp + 0x50], 0
jne 0x18006c5fe
lea rcx, [rsp + 0x210]
call 0x18008f86c
mov r9d, eax
xor r8d, r8d
ror byte [rax - 0x73], 0x94
and al, 0
add dword [rax], eax
add byte [rax - 0x73], cl
mov word [rax + rcx], fs
add al, byte [rax]
add byte [rax], al
call 0x180094647
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xf8]
call 0x180096bf4
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x100]
call 0x18008f6a5
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18006c5fe
mov dword [rsp + 0x220], 1
mov dword [rsp + 0x224], 0x104
mov edx, 0x2c
lea rcx, [rsp + 0x180]
call 0x180098cce
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov edx, 0x104
lea rcx, [rsp + 0x1f0]
call 0x18008f934
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x110]
call 0x180090589
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x208]
call fcn.180071f9e
lea rcx, [rsp + 0x224]
and al, 0x24
add al, byte [rax]
add byte [rax - 0x77], cl
and al, 0x28
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x220]
mov rcx, qword [rsp + 0xd8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x6b9c8e8]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x180]
call 0x180090620
mov edx, 0xffffffff
lea rcx, [rsp + 0x1f0]
call 0x1800906d2
cmp dword [rsp + 0x80], 0
jne 0x18006c5fe
jmp 0x18006c603
jmp 0x1800d7e16
lea rcx, [rsp + 0x1f0]
call 0x18008f8f0
movzx eax, al
test eax, eax
jne 0x18006c626
lea rcx, [rsp + 0x208]
call 0x18008f7c4
jmp 0x18006c638
lea rcx, [rsp + 0x208]
call 0x18008f7d3
jmp 0x1800d7d8e
mov dword [rsp + 0x48], 0
jmp 0x18006c64c
mov eax, dword [rsp + 0x60]
Function at 0x18006c591
Capabilities:
Query or enumerate registry value

Disassembly:
or eax, 0x20019
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0xf0]
add byte [rax], al
add al, ch
adc byte [rax + 2], al
add byte [rax - 0x73], cl
mov word [rax + rbp*8], fs
add dword [rax], eax
add byte [rax - 0x77], cl
and al, 0x20
mov ecx, dword [rsp + 0x68]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x160]
call 0x18009042b
mov edx, 8
lea rcx, [rsp + 0x208]
call fcn.18006d48d
lea rcx, [rsp + 0x208]
call 0x18008f6ba
nop
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x50], 0
jne 0x18006c603
mov dword [rsp + 0x1f8], 0x104
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x6c], eax
mov edx, 0x104
lea rcx, [rsp + 0x208]
call 0x18008f813
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1f8]
mov r8, rax
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x6b880e8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x208]
call 0x180090584
cmp dword [rsp + 0x50], 0
jne 0x18006c5fe
lea rcx, [rsp + 0x210]
call 0x18008f86c
mov r9d, eax
xor r8d, r8d
ror byte [rax - 0x73], 0x94
and al, 0
add dword [rax], eax
add byte [rax - 0x73], cl
mov word [rax + rcx], fs
add al, byte [rax]
add byte [rax], al
call 0x180094647
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xf8]
call 0x180096bf4
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x100]
call 0x18008f6a5
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18006c5fe
mov dword [rsp + 0x220], 1
mov dword [rsp + 0x224], 0x104
mov edx, 0x2c
lea rcx, [rsp + 0x180]
call 0x180098cce
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov edx, 0x104
lea rcx, [rsp + 0x1f0]
call 0x18008f934
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x110]
call 0x180090589
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x208]
call fcn.180071f9e
lea rcx, [rsp + 0x224]
and al, 0x24
add al, byte [rax]
add byte [rax - 0x77], cl
and al, 0x28
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x220]
mov rcx, qword [rsp + 0xd8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x6b9c8e8]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x180]
call 0x180090620
mov edx, 0xffffffff
lea rcx, [rsp + 0x1f0]
call 0x1800906d2
cmp dword [rsp + 0x80], 0
jne 0x18006c5fe
jmp 0x18006c603
jmp 0x1800d7e16
lea rcx, [rsp + 0x1f0]
call 0x18008f8f0
movzx eax, al
test eax, eax
jne 0x18006c626
lea rcx, [rsp + 0x208]
call 0x18008f7c4
jmp 0x18006c638
lea rcx, [rsp + 0x208]
call 0x18008f7d3
jmp 0x1800d7d8e
mov dword [rsp + 0x48], 0
jmp 0x18006c64c
mov eax, dword [rsp + 0x60]
Function at 0x18006c705
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
cmp dword [rsp + 0x58], 0
jne 0x18006c8ef
mov dword [rsp + 0x1f8], 0x104
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
mov edx, 0x104
lea rcx, [rsp + 0x200]
add al, byte [rax]
add al, ch
sal byte [rbx], 1
add al, byte [rax]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1f8]
mov r8, rax
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x1e0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x200]
call 0x180090876
cmp dword [rsp + 0x58], 0
jne 0x18006c8ea
lea rcx, [rsp + 0x210]
call 0x18008fb5e
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x200]
call 0x180094939
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xc8]
call 0x180096ee6
mov byte [rsp + 0x41], al
lea rcx, [rsp + 0xc0]
call 0x18008f997
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x18006c8ea
mov dword [rsp + 0x218], 1
mov dword [rsp + 0x21c], 0x104
mov edx, 0x2c
lea rcx, [rsp + 0x1c0]
call 0x180098fc0
mov qword [rsp + 0xb8], rax
mov eax, 0x48000000
mov eax, dword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
mov edx, 0x104
lea rcx, [rsp + 0x1f0]
call 0x18008fc26
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xb0]
call 0x18009087b
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x200]
call fcn.180072290
lea rcx, [rsp + 0x21c]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0xa8]
add byte [rax - 0x77], cl
and al, 0x20
lea r9, [rsp + 0x218]
mov rcx, qword [rsp + 0xa0]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x1e0]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
adc eax, 0x8c5a
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x1c0]
add al, ch
add al, byte [rax]
invalid
mov edx, 0xffffffff
lea rcx, [rsp + 0x1f0]
call 0x1800909c1
cmp dword [rsp + 0x70], 0
jne 0x18006c8ea
jmp 0x18006c8ef
jmp 0x1800d83f4
lea rcx, [rsp + 0x1f0]
call 0x18008fbdc
movzx eax, al
test eax, eax
jne 0x18006c912
lea rcx, [rsp + 0x200]
call 0x18008fab0
jmp 0x18006c924
lea rcx, [rsp + 0x200]
call 0x18008fabf
jmp 0x1800d8366
lea rcx, [rsp + 0x1f0]
Function at 0x18006d344
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
add al, ch
add al, byte [rax]
lea rcx, [rsp + 0xb0]
call fcn.180072d52
mov qword [rsp + 0x30], 0
and al, 0x30
add byte [rax], al
add byte [rax], al
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18006d3a2
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0xb0]
call 0x180090538
movzx eax, byte [rsp + 0x40]
jmp 0x1800d9cd3
mov rcx, qword [rsp + 0xf0]
call 0x18008ec7f
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xf0]
add al, ch
xor byte [rdx + 2], ah
add byte [rax - 0x39], cl
and al, 0x20
add byte [rax], al
add byte [rax], al
lea r9, [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
mov r8d, ecx
invalid

Function at 0x18006d3da
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xf0]
call 0x18008ecc5
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xf0]
call 0x180093637
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call 0x1800925c7
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0xb0]
lea ecx, [rsp + 0xb0]
call fcn.180072e3f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18006d461
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xb0]
call 0x1800905f7
movzx eax, byte [rsp + 0x41]
jmp 0x1800d9d92
lea rdx, [0x18008478c]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.Run2
lea edx, str.Run2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]

Function at 0x18006d48d
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xe8]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe0]
call 0x1800d9f47
mov byte [rsp + 0x42], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0xb0]
call fcn.180072f03
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18006d516
invalid
invalid
mov word [rax + rsi*4], fs
invalid
Function at 0x18006e072
Capabilities:
Check if file exists

Disassembly:
mov rax, qword [rsp + 0x70]
add rax, 8
mov rcx, rax
call 0x180092093
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pushfq
je 0x18006e08b
invalid
test eax, eax
jne 0x18006e097
movzx eax, byte [rsp + 0x20]
jmp 0x18006e0ea
mov rax, qword [rsp + 0x70]
add rax, 8
lea rdx, [rsp + 0x48]
mov rcx, rax
call 0x1800d941d
movzx eax, al
test eax, eax
je 0x18006e0de
cmp dword [rsp + 0x48], 0
jne 0x18006e0c8
mov rax, qword [rsp + 0x70]
mov byte [rax], 0
mov byte [rsp + 0x20], 1
cmp dword [rsp + 0x48], 6
jne 0x18006e0dc
mov rax, qword [rsp + 0x70]
mov byte [rax], 1
mov byte [rsp + 0x20], 1
jmp 0x18006e0e5
movzx eax, byte [rsp + 0x20]
jmp 0x18006e0ea
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call 0x18009f2a7
add rsp, 0x68
ret

Function at 0x18006e16e
Capabilities:
Get file version info

Disassembly:
and al, 0x10
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1800b1088]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], 0
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x36
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 2
add bh, byte [rcx + 0x2e]
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x36
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x2e
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x35
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x30
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x36
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x30
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x36
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 0xb
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x18
jae 0x18006e227
jmp 0x18006e22c
call 0x18009fc88
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x90], ax
mov eax, 2
imul rax, rax, 4
mov ecx, 0x2e
mov word [rsp + rax + 0x90], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x37
add byte [rax], al
add byte [rsi - 0x77], ah
mov word [rax + rdx*4], es
add byte [rax], al
add byte [rdx + 8], bh
Function at 0x18006e30a
Capabilities:
Get file version info

Disassembly:
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0xf0]
call 0x18009232f
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
adc eax, 0x7230
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
xor al, 0
je 0x18006e590
mov eax, dword [rsp + 0x34]
mov ecx, eax
call 0x18009ff3a
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
and al, 0x40
mov rcx, qword [rsp + 0xf0]
call 0x180092376
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x18006e556
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0x78]
lea rdx, [0x180084724]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x18006e556
cmp dword [rsp + 0x8c], 0
je 0x18006e556
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0xfeef04bd
jne 0x18006e556
mov eax, 2
imul rax, rax, 7
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0xb
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x18
jae 0x18006e48a
jmp 0x18006e48f
call 0x18009feeb
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0xa8], ax
add byte [rax], al
add byte [rax + 2], bh
imul rax, rax, 8
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
and eax, 0xffff
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
shr ecx, 0x21
pop rdx
call 0x18007e414
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + 8]
and edx, 0xffff
mov r8, qword [rsp + 0x38]
mov r8d, dword [r8 + 8]
shr r8d, 0x10
and r8d, 0xffff
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x80]
call 0x1800922b6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call 0x18009f73e
Function at 0x18006e32b
Capabilities:
Get file version info

Disassembly:
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0xf0]
call 0x18009232f
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
adc eax, 0x7230
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
xor al, 0
je 0x18006e590
mov eax, dword [rsp + 0x34]
mov ecx, eax
call 0x18009ff3a
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
and al, 0x40
mov rcx, qword [rsp + 0xf0]
call 0x180092376
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x18006e556
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0x78]
lea rdx, [0x180084724]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x18006e556
cmp dword [rsp + 0x8c], 0
je 0x18006e556
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0xfeef04bd
jne 0x18006e556
mov eax, 2
imul rax, rax, 7
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0xb
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x18
jae 0x18006e48a
jmp 0x18006e48f
call 0x18009feeb
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0xa8], ax
add byte [rax], al
add byte [rax + 2], bh
imul rax, rax, 8
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
and eax, 0xffff
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
shr ecx, 0x21
pop rdx
call 0x18007e414
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + 8]
and edx, 0xffff
mov r8, qword [rsp + 0x38]
mov r8d, dword [r8 + 8]
shr r8d, 0x10
and r8d, 0xffff
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x80]
call 0x1800922b6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call 0x18009f73e
Function at 0x18006e337
Capabilities:
Get file version info

Disassembly:
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0xf0]
call 0x18009232f
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
adc eax, 0x7230
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
xor al, 0
je 0x18006e590
mov eax, dword [rsp + 0x34]
mov ecx, eax
call 0x18009ff3a
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
and al, 0x40
mov rcx, qword [rsp + 0xf0]
call 0x180092376
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x18006e556
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0x78]
lea rdx, [0x180084724]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x18006e556
cmp dword [rsp + 0x8c], 0
je 0x18006e556
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0xfeef04bd
jne 0x18006e556
mov eax, 2
imul rax, rax, 7
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0xb
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x18
jae 0x18006e48a
jmp 0x18006e48f
call 0x18009feeb
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0xa8], ax
add byte [rax], al
add byte [rax + 2], bh
imul rax, rax, 8
mov ecx, 0x2e
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x25
mov word [rsp + rax + 0xa8], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x64
mov word [rsp + rax + 0xa8], cx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
and eax, 0xffff
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
shr ecx, 0x21
pop rdx
call 0x18007e414
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + 8]
and edx, 0xffff
mov r8, qword [rsp + 0x38]
mov r8d, dword [r8 + 8]
shr r8d, 0x10
and r8d, 0xffff
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x80]
call 0x1800922b6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call 0x18009f73e