joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d0bd0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x20], rcx
mov rsi, rcx
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x28]
mov rdx, r8
call fcn.1400733c0
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
cmovae rcx, qword [rsp + 0x28]
inc rdx
call fcn.140375fa0
mov eax, dword [rsp + 0x38]
lea rdi, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
lea r8, [rsp + 0x50]
movups xmm0, xmmword [0x1405e8f78]
cmovae rdi, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [0x1405e8f88]
lea ebx, [rax + rax]
xor eax, eax
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x58], xmm0
lea edx, [rax + 4]
movups xmmword [rsp + 0x68], xmm1
call fcn.1401e75b0
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rdi
call fcn.1401e75b0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.1401e7810
movups xmm0, xmmword [rsp + 0xc0]
mov rdx, qword [rsp + 0x40]
lea rax, vtable.Thumbprint.0
mov qword [rsi], rax
movups xmm1, xmmword [rsp + 0xd0]
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm1
cmp rdx, 8
jb 0x1401d0cee
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d0ce9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d0d0c
call fcn.140359090
mov rax, rsi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140359070
add rsp, 0xf0
pop rdi
pop rsi
pop rbx
ret
call fcn.140368068
int3

Function at 0x1401d0d20
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0xe0], rax
cmp qword [rdx + 0x10], 0
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jne 0x1401d0d6f
lea rax, vtable.Thumbprint.0
mov qword [rcx], rax
movups xmm0, xmmword [0x1405e8ef0]
movups xmmword [rcx + 8], xmm0
movups xmm1, xmmword [0x1405e8f00]
movups xmmword [rcx + 0x18], xmm1
jmp 0x1401d0e49
lea rcx, [rsp + 0x28]
call fcn.1400733c0
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
cmovae rcx, qword [rsp + 0x28]
inc rdx
call fcn.140375fa0
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
movups xmm0, xmmword [0x1405e8f78]
cmovae rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x50]
movups xmm1, xmmword [0x1405e8f88]
mov edx, dword [rsp + 0x38]
xor eax, eax
add edx, edx
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm1
call fcn.1401e75b0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.1401e7810
movups xmm0, xmmword [rsp + 0xc0]
mov rdx, qword [rsp + 0x40]
lea rax, vtable.Thumbprint.0
mov qword [rbx], rax
movups xmm1, xmmword [rsp + 0xd0]
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx + 0x18], xmm1
cmp rdx, 8
jb 0x1401d0e49
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d0e44
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d0e65
call fcn.140359090
mov rax, rbx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140359070
add rsp, 0xf0
pop rbx
ret
call fcn.140368068
int3
Function at 0x1401d32e0
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x470
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
test rcx, rcx
jne 0x1401d330a
xor eax, eax
jmp 0x1401d34ac
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14035c350
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x1401d34a9
cmp word [rsp + 0x20], 0
mov qword [rsp + 0x458], r14
lea r14, [rsp + 0x20]
je 0x1401d34a1
mov qword [rsp + 0x488], rbx
mov qword [rsp + 0x490], rbp
mov qword [rsp + 0x468], rsi
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x460], r12
xor r12d, r12d
mov qword [rsp + 0x450], r15
nop dword [rax]
nop dword [rax + rax]
mov rax, rsi
cmp word [r14 + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x1401d3393
mov r8d, 0x104
mov word [r14 + 4], r12w
lea rdx, [rsp + 0x230]
mov rcx, r14
lea rbp, [r14 + rax*2]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1401d3430
lea rax, [rsp + 0x230]
mov rbx, rsi
nop
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x1401d33d0
mov edx, 0x3b
lea rcx, [rsp + 0x230]
call fcn.14035b3bc
test rax, rax
jne 0x1401d3430
mov rax, rsi
inc rax
cmp word [rdi + rax*2], r12w
jne 0x1401d33f4
cmp rax, rbx
jb 0x1401d3430
movzx eax, word [rdi + rbx*2]
lea r15, [rdi + rbx*2]
test ax, ax
je 0x1401d3416
cmp ax, 0x5c
jne 0x1401d3430
lfence
mov r8, rbx
lea rdx, [rsp + 0x230]
mov rcx, rdi
call fcn.14036ef28
test eax, eax
je 0x1401d3441
lea r14, [rbp + 2]
cmp word [rbp + 2], r12w
jne 0x1401d3390
jmp 0x1401d3479
lfence
inc rsi
cmp word [rdi + rsi*2], r12w
jne 0x1401d3444
mov ecx, 1
mov rdx, r15
sub rcx, rbx
add rsi, rcx
lea rcx, [rdi + 4]
lea r8, [rsi + rsi]
call fcn.14035bc80
movzx ecx, word [r14]
mov eax, 0x3a
mov word [rdi], cx
mov word [rdi + 2], ax
mov r15, qword [rsp + 0x450]
mov r12, qword [rsp + 0x460]
mov rsi, qword [rsp + 0x468]
mov rbp, qword [rsp + 0x490]
mov rbx, qword [rsp + 0x488]
mov r14, qword [rsp + 0x458]
mov rax, rdi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140359070
add rsp, 0x470
pop rdi
ret
Function at 0x1401d3600
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140677270]
cmp eax, 0xffffffff
jne 0x1401d370b
mov rax, qword [0x14068a788]
test rax, rax
jne 0x1401d3669
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1401d3659
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14068a788], rax
jmp 0x1401d3660
mov rax, qword [0x14068a788]
test rax, rax
je 0x1401d36f5
lea r8, [rsp + 0x20]
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x24]
call qword [case.0x1401cd220.0]
test eax, eax
je 0x1401d36f5
movzx ecx, word [rsp + 0x20]
mov eax, 0x8664
cmp cx, ax
jne 0x1401d36b4
mov dword [0x140677270], 9
mov eax, 9
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140359070
add rsp, 0x68
ret
mov eax, 0xaa64
cmp cx, ax
jne 0x1401d36df
mov dword [0x140677270], 0xc
mov eax, 0xc
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140359070
add rsp, 0x68
ret
xor eax, eax
mov edx, 0x1c4
cmp cx, dx
mov r8d, 5
cmove eax, r8d
jmp 0x1401d3705
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x28]
mov dword [0x140677270], eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140359070
add rsp, 0x68
ret
Function at 0x1401d3780
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d38bc
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.866151B2_E14E_40E0_B6D9_64B1D428F5CB
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d38b1
mov dword [rsp + 0x50], 0x208
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d38a6
lea rbx, [rsp + 0x60]
cmp word [rsp + 0x60], 0x22
jne 0x1401d3887
lea rbx, [rsp + 0x62]
lea edx, [rsi + 0x22]
lea rcx, [rsp + 0x62]
call fcn.14035b3bc
test rax, rax
je 0x1401d3887
mov word [rax], si
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1401d3890
mov rdx, rbx
mov rcx, rdi
call fcn.1400739a0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1401d3d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
xor bl, bl
xor r15d, r15d
mov dword [rsp + 0x50], r15d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d3f27
cmp dword [rsp + 0x54], 7
jne 0x1401d3f27
mov eax, dword [rsp + 0x50]
cmp eax, 2
jb 0x1401d3f27
mov ecx, eax
call fcn.140368330
mov r14, rax
test rax, rax
je 0x1401d3f27
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d3f1f
mov rdi, r14
mov ebp, dword [rsp + 0x50]
add rbp, r14
cmp r14, rbp
jae 0x1401d3f1d
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d3e55
test rbx, rbx
je 0x1401d3f0d
lfence
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400739a0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1401d3ec2
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x30], r15w
add qword [rsi + 8], 0x20
jmp 0x1401d3ed4
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.140079680
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1401d3f0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d3f08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d3f4b
call fcn.140359090
lea rdi, [rdi + rbx*2]
add rdi, 2
cmp rdi, rbp
jmp 0x1401d3e48
mov bl, 1
mov rcx, r14
call fcn.1403683a0
movzx eax, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140368068
int3

Function at 0x1401d44d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 1
lea rdi, [0x140688670]
xor eax, eax
lock cmpxchg dword [0x140688878], ebx
jne 0x1401d450b
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xchg dword [0x14068887c], ebx
xor esi, esi
mov ebx, esi
xor eax, eax
lock cmpxchg dword [0x14068887c], esi
jne 0x1401d453e
nop dword [rax + rax]
cmp ebx, 0x64
jge 0x1401d453e
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
xor eax, eax
lock cmpxchg dword [0x14068887c], esi
je 0x1401d4520
xor eax, eax
lock cmpxchg dword [0x14068887c], esi
mov rbx, qword [rsp + 0x30]
cmove rdi, rsi
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1401d4560
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 1
lea rdi, [0x140688880]
xor eax, eax
lock cmpxchg dword [0x140688a88], ebx
jne 0x1401d459b
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xchg dword [0x140688a8c], ebx
xor esi, esi
mov ebx, esi
xor eax, eax
lock cmpxchg dword [0x140688a8c], esi
jne 0x1401d45ce
nop dword [rax + rax]
cmp ebx, 0x64
jge 0x1401d45ce
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
xor eax, eax
lock cmpxchg dword [0x140688a8c], esi
je 0x1401d45b0
xor eax, eax
lock cmpxchg dword [0x140688a8c], esi
mov rbx, qword [rsp + 0x30]
cmove rdi, rsi
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1401d45f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 1
lea rdi, [0x140688a90]
xor eax, eax
lock cmpxchg dword [0x140688c98], ebx
jne 0x1401d462b
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
xchg dword [0x140688c9c], ebx
xor esi, esi
mov ebx, esi
xor eax, eax
lock cmpxchg dword [0x140688c9c], esi
jne 0x1401d465e
nop dword [rax + rax]
cmp ebx, 0x64
jge 0x1401d465e
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
xor eax, eax
lock cmpxchg dword [0x140688c9c], esi
je 0x1401d4640
xor eax, eax
lock cmpxchg dword [0x140688c9c], esi
mov rbx, qword [rsp + 0x30]
cmove rdi, rsi
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1401d4680
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, 1
lea rdi, [0x1406892d0]
xor eax, eax
lock cmpxchg dword [0x1406894d8], ebx
jne 0x1401d46c3
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [rbx + 0x22]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xchg dword [0x1406894dc], ebx
xor esi, esi
mov ebx, esi
xor eax, eax
lock cmpxchg dword [0x1406894dc], esi
jne 0x1401d46f1
cmp ebx, 0x64
jge 0x1401d46f1
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
xor eax, eax
lock cmpxchg dword [0x1406894dc], esi
je 0x1401d46d3
xor eax, eax
lock cmpxchg dword [0x1406894dc], esi
mov rbx, qword [rsp + 0x40]
cmove rdi, rsi
mov rsi, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1401d5690
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r14, rdx
mov dword [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
mov rdi, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x1401d571c
mov ecx, ebx
call fcn.140368330
mov rbp, rax
test rax, rax
jne 0x1401d5749
mov rcx, qword [str.0cg_]
lea rax, str.0cg_
cmp rcx, rax
je 0x1401d571c
test byte [rcx + 0x1c], 1
je 0x1401d571c
cmp byte [rcx + 0x19], 4
jb 0x1401d571c
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0xd]
mov r9d, ebx
lea r8, [0x1406073d0]
call fcn.140082b10
xor al, al
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9, rbp
mov r8d, ebx
xor edx, edx
mov rcx, rdi
xor r15b, r15b
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1401d58ce
mov r12d, 0x409
lea r9, [rsp + 0x6c]
mov r13d, 0x4b0
lea r8, [rsp + 0x58]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbp
movzx edi, r12w
movzx esi, r13w
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1401d57ac
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401d571c
movzx edi, word [rax]
movzx esi, word [rax + 2]
xor ebx, ebx
lea rax, [0x1405faa88]
nop word [rax + rax]
movzx r9d, si
lea rdx, str.StringFileInfo_04x_04x_ls
movzx r8d, di
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400e6c70
lea r9, [rsp + 0x50]
mov rcx, rbp
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1401d582b
cmp di, r12w
jne 0x1401d5806
cmp si, r13w
je 0x1401d580c
mov edi, r12d
mov esi, r13d
inc ebx
lea rax, [0x1405faa88]
cmp ebx, 2
jl 0x1401d57c0
mov rcx, rbp
call fcn.1403683a0
movzx eax, r15b
jmp 0x1401d571e
mov r8d, dword [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov rdx, qword [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 7
call fcn.1400739a0
lea rax, [rsp + 0x30]
cmp r14, rax
je 0x1401d588d
mov rcx, r14
call fcn.140073b90
movups xmm0, xmmword [rsp + 0x30]
mov rcx, rbp
mov r15b, 1
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
call fcn.1403683a0
movzx eax, r15b
jmp 0x1401d571e
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1401d58cb
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d58c6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d58df
call fcn.140359090
mov r15b, 1
mov rcx, rbp
call fcn.1403683a0
movzx eax, r15b
jmp 0x1401d571e
call fcn.140368068
int3
Function at 0x1401d58f0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1401d59ca
lea rdx, [rsp + 0x28]
mov dword [rsp + 0x28], 0
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1401d59ca
mov ecx, esi
call fcn.140368330
mov rbx, rax
test rax, rax
je 0x1401d59ca
mov qword [rsp + 0x70], r14
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbp
xor r14b, r14b
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1401d59b7
lea r9, [rsp + 0x2c]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x1405e45bc]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1401d59b7
cmp dword [rsp + 0x2c], 0
jbe 0x1401d59b7
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], 0xfeef04bd
jne 0x1401d59b7
movzx eax, word [rcx + 0xa]
mov r14b, 1
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rdi + 0xc], eax
mov rcx, rbx
call fcn.1403683a0
movzx eax, r14b
mov r14, qword [rsp + 0x70]
jmp 0x1401d59cc
xor al, al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d6360
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov r14, rdx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
xor sil, sil
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1401d6579
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
jne 0x1401d63e6
mov ecx, 0x10d2
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401d6570
mov eax, 0x40
cmp edi, eax
cmova edi, eax
mov rax, 0xffffffffffffffff
mov ecx, edi
add ecx, 2
cmovb rcx, rax
call fcn.140368330
mov rbx, rax
test rax, rax
jne 0x1401d641b
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401d6570
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401d6568
mov eax, dword [rsp + 0x80]
cmp eax, edi
je 0x1401d645e
mov ecx, 0x12b
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401d6568
mov byte [rax + rbx], sil
mov eax, dword [rsp + 0x80]
inc eax
mov byte [rax + rbx], sil
cmp edi, 2
jb 0x1401d649a
cmp byte [rbx], 0xff
jne 0x1401d649a
cmp byte [rbx + 1], 0xfe
jne 0x1401d649a
lfence
lea r8d, [rdi - 2]
mov rcx, r14
shr r8, 1
lea rdx, [rbx + 2]
call fcn.1400739a0
jmp 0x1401d6565
cmp edi, 3
jb 0x1401d650f
cmp byte [rbx], 0xef
jne 0x1401d650f
cmp byte [rbx + 1], 0xbb
jne 0x1401d650f
cmp byte [rbx + 2], 0xbf
jne 0x1401d650f
lfence
lea rdx, [rbx + 3]
lea rcx, [rsp + 0x40]
call fcn.1400ae230
mov rdx, rax
mov rcx, r14
call fcn.1400730d0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1401d6565
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d6560
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d65ab
jmp 0x1401d6560
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400788c0
mov rdx, rax
mov rcx, r14
call fcn.1400730d0
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1401d6565
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d6560
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d65a5
call fcn.140359090
mov sil, 1
mov rcx, rbx
call fcn.1403683a0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140368068
int3
call fcn.140368068
int3
Function at 0x1401d6770
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
mov r15d, r8d
mov r12, rdx
mov rsi, rcx
test r9, r9
jne 0x1401d67b1
lea eax, [r9 + 0x57]
jmp 0x1401d69aa
mov rdi, qword [r9 + 8]
mov rbx, qword [r9]
cmp rbx, rdi
je 0x1401d67d4
nop dword [rax]
mov rcx, rbx
call fcn.140073b90
add rbx, 0x20
cmp rbx, rdi
jne 0x1401d67c0
mov rbx, qword [r14]
mov qword [r14 + 8], rbx
test r12, r12
jne 0x1401d67e3
mov qword [rbp - 1], rsi
jmp 0x1401d680e
or r15d, 9
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d69aa
mov rsi, qword [rbp - 1]
xor r15d, r15d
mov dword [rbp + 7], r15d
mov dword [rbp - 9], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test eax, eax
jne 0x1401d6999
mov ecx, dword [rbp - 9]
inc ecx
mov eax, 2
mul rcx
mov r13, 0xffffffffffffffff
cmovo rax, r13
mov rcx, rax
call fcn.140359a1c
mov rbx, rax
mov esi, r15d
cmp dword [rbp + 7], r15d
jbe 0x1401d6991
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rbp - 9]
inc ecx
mov dword [rbp + 0xb], ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xb]
mov r8, rbx
mov edx, esi
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test eax, eax
jne 0x1401d6987
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
mov r8, r13
inc r8
cmp word [rbx + r8*2], 0
jne 0x1401d68f1
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400739a0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1401d6933
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rbp - 0x29], r15w
add qword [r14 + 8], 0x20
jmp 0x1401d6943
lea r8, [rbp - 0x29]
mov rcx, r14
call fcn.140079680
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1401d697b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d6976
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d69ca
call fcn.140359090
inc esi
cmp esi, dword [rbp + 7]
jae 0x1401d6991
jmp 0x1401d68a0
cmp edi, 0x103
cmove edi, r15d
mov rcx, rbx
call fcn.140359090
test r12, r12
je 0x1401d69a8
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140359070
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140368068
int3