joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fbf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400821e0]
mov edi, ecx
cmp byte [rbx + 0x1fbd], 0
jne 0x14000fc51
cmp byte [rbx + 0x1fbe], 0
jne 0x14000fc51
movsx r9d, word [rbx + 0x309e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400030b0
test dil, 1
je 0x14000fd78
jmp 0x14000fcdc
movss xmm1, dword [rbx + 0x1628]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x309e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004a13c]
mov edx, 0x10
mulss xmm1, dword [0x14004a128]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d40], rax
mov dword [rbx + 0x1d2c], 1
movss dword [rbx + 0x1d38], xmm0
movss dword [rbx + 0x1d3c], xmm1
movss xmm0, dword [rbx + 0x1694]
mulss xmm0, dword [0x14004a080]
or dword [rbx + 0x1d28], 0x41
movss dword [rbx + 0x1d88], xmm0
call fcn.1400030b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000fd30
lea r11, [0x140044c60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000fd13
cmp byte [r8], r9b
jne 0x14000fd13
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000fd00
not ecx
call fcn.140009f60
test rax, rax
je 0x14000fd78
cmp byte [rax + 0x8e], 0
je 0x14000fd78
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x309e]
mov edx, 0x10
movsx r9d, word [rbx + 0x309e]
call fcn.1400030b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c3e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400405a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140014540
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3140], 0
lea rbx, [rcx + 0x3148]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400145e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001459a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140016530
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003930
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3140]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3150]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400821f0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400145ef
mov rcx, rbx
call fcn.140003930
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140031bc0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140031bf1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140082558]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140082568]
lea rdx, [rdi + rdi]
call fcn.1400291f0
mov rax, qword [0x140082558]
lea r9, [rdi - 1]
mov qword [0x140082580], r9
mov qword [0x140082588], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140031d64
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140082568]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140031cb0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140031d25
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140031ced
mov r10, qword [rdx]
cmp r10, rax
je 0x140031ce7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140031d25
cmp r9, rdx
je 0x140031d01
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140031d39
cmp r9, rdx
jne 0x140031cf2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140031d5f
mov r9, qword [0x140082580]
jmp 0x140031c61
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140031d25
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140032710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140032750
cmp al, 0x25
jne 0x140032744
cmp byte [r8 + 1], al
jne 0x140032750
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140032737
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400328ae
cmp byte [r8 + 1], dl
je 0x1400328ae
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14003278d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400327b5
sub dl, 0x61
cmp dl, 0x19
ja 0x1400327a7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400327b5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140032770
jmp 0x1400327b8
inc r9
cmp r8, r9
jae 0x1400327ef
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400327e4
bt rdx, rax
jb 0x1400327ea
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400327d0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
movq r9, xmm3
call fcn.1400030b0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x140032828
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140032820
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003289c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140032848
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14003288a
movss xmm2, dword [0x14004a12c]
cmp al, 0x39
ja 0x14003288a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140032864
cmp r8b, 0x2d
jne 0x1400328a9
xorps xmm1, xmmword [0x14004a720]
movaps xmm0, xmm1
jmp 0x1400328b1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400328b1
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400405a0
add rsp, 0xa0
pop rbx
ret
Function at 0x1400328d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140032910
cmp al, 0x25
jne 0x140032904
cmp byte [r8 + 1], al
jne 0x140032910
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400328f7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140032a68
cmp byte [r8 + 1], dl
je 0x140032a68
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14003294d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140032975
sub dl, 0x61
cmp dl, 0x19
ja 0x140032967
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140032975
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140032930
jmp 0x140032978
inc r9
cmp r8, r9
jae 0x1400329af
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400329a4
bt rdx, rax
jb 0x1400329aa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140032990
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400030b0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x1400329e8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400329e0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140032a5a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140032a08
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140032a48
movsd xmm2, qword [0x14004a0f0]
cmp al, 0x39
ja 0x140032a48
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140032a24
cmp r8b, 0x2d
jne 0x140032a63
xorps xmm1, xmmword [0x14004a710]
movaps xmm0, xmm1
jmp 0x140032a6b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140032a6b
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400405a0
add rsp, 0xa0
pop rbx
ret
Function at 0x14004134c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041396
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041396
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041396
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041396
cmp dword [rcx + 0x84], 0xe
jbe 0x140041396
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041398
xor al, al
add rsp, 0x28
ret
Function at 0x180021c38
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rbp + 0x47], rax
and dword [rbp - 9], 0
mov byte [rbp + 0xf], 0
lea rcx, [rbp + 0x27]
call fcn.180058d68
nop
and dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, 0x20019
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.1800579d8
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x27]
call fcn.1800542f4
test bl, bl
je 0x180021cee
mov dword [rbp - 5], 4
lea rdx, [0x1801942c0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x1801942c0]
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp - 9], 0
setne bl
cmp byte [rbp + 0xf], 0
je 0x180021d05
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18009f760
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret

Function at 0x180021d24
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor dil, dil
mov byte [rbp + 0xf], dil
lea rcx, [rbp + 0x27]
call fcn.180058de0
nop
mov r14d, 1
mov dword [rsp + 0x28], r14d
mov byte [rsp + 0x20], dil
mov r9d, 0x20019
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.1800579d8
test eax, eax
sete bl
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x27]
call fcn.1800542f4
test bl, bl
je 0x180021df8
and dword [rbp - 9], 0
mov dword [rbp - 5], 4
lea rdx, [0x1801942e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x1801942e0]
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx edi, dil
cmp dword [rbp - 9], r14d
cmove edi, r14d
cmp byte [rbp + 0xf], 0
je 0x180021e08
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18009f760
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180021fe4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor dil, dil
mov byte [rbp + 0xf], dil
lea rcx, [rbp + 0x27]
call fcn.180058e58
nop
and dword [rsp + 0x28], 0
mov byte [rsp + 0x20], dil
mov r9d, 0x20019
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.1800579d8
test eax, eax
sete bl
xor r8d, r8d
lea r14d, [r8 + 1]
mov dl, r14b
lea rcx, [rbp + 0x27]
call fcn.1800542f4
test bl, bl
je 0x1800220d9
lea rcx, [rbp + 0x27]
call fcn.180058e94
mov dword [rbp - 9], 4
cmp qword [rax + 0x18], 8
jb 0x18002207f
mov rax, qword [rax]
lea rcx, [rbp - 9]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 1]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 5]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1800220b7
mov eax, 0x3bc6
cmp dword [rbp - 5], 4
cmovne ebx, eax
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x27]
call fcn.1800542f4
test ebx, ebx
jne 0x1800220d9
movzx edi, dil
cmp dword [rbp - 1], 0x10de
cmove edi, r14d
cmp byte [rbp + 0xf], 0
je 0x1800220e9
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18009f760
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x18003122c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x80
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [r11 - 0x58], r8d
lea rdx, [0x1801942e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x1801942e0]
mov r9d, 4
mov dword [r11 - 0x60], r9d
lea rax, [r11 - 0x58]
mov qword [r11 - 0x68], rax
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1800312cf
lea rdx, str.RegSetValueEx
lea rcx, [rsp + 0x58]
call fcn.1800577bc
nop
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.1800570f4
nop
mov r9d, 0x1f8
lea r8, str.c:dvsp4_build_sw_relgpu_drv_r565_r565_87driversuilogginglogging.libRegistryKey.h
lea rdx, str.void___cdecl_Nvidia::Logging::RegistryKey::CheckErrorCode_long_const_char__
mov rcx, rax
call fcn.180054d24
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18009f760
add rsp, 0x80
pop rbx
ret

Function at 0x180035e40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, r8
lea rcx, [rsp + 0x20]
lea r8, [0x18014c9a4]
call fcn.180035d4c
cmp qword [rax + 0x18], 8
jb 0x180035e71
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.1800542f4
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18009f760
add rsp, 0x58
ret
Function at 0x1800367c8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
cmp qword [rcx], 0xffffffffffffffff
je 0x1800368b7
mov ebp, ebx
mov r15, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x180036806
mov r8, qword [rdx]
jmp 0x180036809
mov r8, rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, r15d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
mov qword [rsp + 0x90], rbx
test eax, eax
jle 0x18003687d
mov rcx, rsi
call fcn.18009fc20
mov rbp, rax
xor ecx, ecx
call fcn.180025f60
cmp qword [rdi + 0x18], 8
jb 0x180036857
mov rdi, qword [rdi]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbp
mov r9d, r15d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
mov r8d, esi
mov rdx, rbp
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800368af
cmp dword [rsp + 0x80], esi
jne 0x1800368af
mov bl, 1
mov rcx, rbp
call fcn.180025f60
mov al, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180036aa4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov ebx, 0x800
mov ecx, ebx
call fcn.18009fc20
mov qword [rbp - 0x28], rax
mov r8b, byte [rbp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.180036a48
nop
mov dword [rbp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x180036afe
mov rdx, qword [rsi]
jmp 0x180036b01
mov rdx, rsi
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x28]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
or r12, 0xffffffffffffffff
xor r13d, r13d
cmp eax, 0xea
jne 0x180036bde
mov ecx, dword [rbp + 0x40]
inc ecx
lea eax, [r12 + 3]
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.18009fc20
mov qword [rbp - 0x18], rax
mov r8b, byte [rbp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.180036a48
mov rbx, qword [rbp - 0x18]
mov qword [rbp - 0x28], rbx
mov rdi, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
test rdi, rdi
je 0x180036bad
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x180036ba9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
add eax, r12d
jne 0x180036ba9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, qword [rbp - 0x28]
cmp qword [rsi + 0x18], 8
jb 0x180036bb7
mov rsi, qword [rsi]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x180036c48
mov r8d, dword [rbp + 0x40]
shr r8, 1
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
jbe 0x180036bfa
mov edi, 0x3bc6
jmp 0x180036c48
cmp word [rbx + r8*2 - 2], r13w
jne 0x180036c25
cmp word [rbx], r13w
jne 0x180036c0d
mov rax, r13
jmp 0x180036c15
mov rcx, rbx
call fcn.1800d352c
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.1800543f0
jmp 0x180036c48
mov qword [r14 + 0x10], r13
cmp qword [r14 + 0x18], 8
jb 0x180036c35
mov rax, qword [r14]
jmp 0x180036c38
mov rax, r14
mov word [rax], r13w
mov rdx, rbx
mov rcx, r14
call fcn.180043a1c
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180036c83
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x180036c83
mov rbx, qword [rbp - 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x180036c83
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, edi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180036d7c
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
mov ecx, 0xfffe
call fcn.18009fc20
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x180036db1
mov rcx, qword [rdi]
jmp 0x180036db4
mov rcx, rdi
mov r8d, 0x7fff
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
cmp word [rbx], ax
je 0x180036dd2
mov rcx, rbx
call fcn.1800d352c
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1800543f0
nop
mov edx, 2
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.180025f60

Function at 0x180036ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x30], 4
cmp qword [rdx + 0x18], 8
jb 0x180036f16
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x180036f55
cmp dword [rsp + 0x34], 4
je 0x180036f4f
mov ebx, 0x3bc6
jmp 0x180036f55
mov eax, dword [rsp + 0x38]
jmp 0x180036f97
lea rdx, str.RegQueryValueEx
lea rcx, [rsp + 0x60]
call fcn.1800577bc
nop
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1800570f4
nop
mov r9d, 0x1f8
lea r8, str.c:dvsp4_build_sw_relgpu_drv_r565_r565_87driversuilogginglogging.libRegistryKey.h
lea rdx, str.void___cdecl_Nvidia::Logging::RegistryKey::CheckErrorCode_long_const_char__
mov rcx, rax
call fcn.180054d24
nop
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18009f760
add rsp, 0x90
pop rbx
ret
Function at 0x18007de2c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov rsi, rcx
mov edi, ebx
test rcx, rcx
je 0x18007dece
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, rsi
mov ebp, eax
call fcn.1800d352c
lea edx, [rbp + 1]
add rdx, rax
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x18007ded1
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov eax, 0x5c
lea ecx, [rbp - 1]
cmp word [rdi + rcx*2], ax
je 0x18007dea0
mov word [rdi + rbp*2], ax
inc ebp
mov rcx, rsi
call fcn.1800d352c
test rax, rax
je 0x18007dece
mov r14, rbx
movzx eax, word [rsi + r14*2]
lea ecx, [rbx + rbp]
mov word [rdi + rcx*2], ax
inc ebx
mov rcx, rsi
mov r14d, ebx
call fcn.1800d352c
cmp r14, rax
jb 0x18007deb0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret