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

Disassembly:
jmp 0x14002d5f0
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
test rdx, rdx
je 0x14002d71a
test r8, r8
je 0x14002d71a
test r9, r9
je 0x14002d71a
mov edx, dword [rcx + 0x800]
mov qword [rsp + 0x40], rbx
xor bl, bl
mov qword [rsp + 0x48], 0
test edx, edx
je 0x14002d64b
sub edx, 1
je 0x14002d6c9
cmp edx, 2
jne 0x14002d6b1
lea rdx, [rcx + 0x400]
mov r9d, 0x101
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002d6a1
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14002d6b1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rdx, [rcx + 0x400]
mov r9d, 0x101
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002d6a1
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002d6a1
mov bl, 1
jmp 0x14002d6a1
mov rbp, qword [rsp + 0x50]
xor al, al
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400024d7
Capabilities:
Terminate process

Disassembly:
jmp 0x1400bb748
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400024e6
Capabilities:
Get common file path

Disassembly:
jmp 0x140025510
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140025572
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140025567
cmp edi, eax
jb 0x140025567
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400029a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140121a80
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140179788]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x140182940]
test r9, r9
lea rdi, [0x140141446]
mov rax, rdx
mov r15, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x140121ae9
mov rax, 0xfffffffffffffffe
jmp 0x140121c3b
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x140121b59
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x140121b15
test rsi, rsi
je 0x140121b07
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x140121c3b
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x140121b22
mov r8b, 2
jmp 0x140121b3e
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x140121b2f
mov r8b, 3
jmp 0x140121b3e
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x140121c27
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov r9b, r8b
sub edx, ebp
movzx eax, bl
and edx, eax
jmp 0x140121b7e
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140121c27
cmp r9b, bpl
jb 0x140121c27
cmp r9b, r8b
jae 0x140121c27
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x140121bad
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140121c27
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, rbx
jb 0x140121b8d
cmp rbx, rbp
jae 0x140121bda
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140121add
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140121c27
cmp edx, 0x110000
jae 0x140121c27
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x140121c27
test rsi, rsi
je 0x140121c18
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x140121c3b
xor eax, eax
mov qword [r10], rax
call fcn.140002e91
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002c3e
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002a40
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400b9488
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140004b6a
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x14013ce98]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140002315
test eax, eax
jne 0x1400b951f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b951f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b9518
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14017ad38], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140002b58
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14011a59c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140141cb8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x140141cb0]
call fcn.140119b3c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14011a5dc
call qword [case.0x1400baaa6.0]
jmp 0x14011a5e2
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002e23
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x14001b9f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x868
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140179788]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x14001ba54
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12b, 1
mov byte [rsp + 0x40], r12b
jmp 0x14001ba5a
movzx r12d, byte [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.140004b6a
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001bbff
cmp byte [rsi + 0x255], r14b
je 0x14001baa8
cmp dword [rsi + 0x18], 0x400
jb 0x14001baa8
mov dword [rsi + 0x18], r14d
mov rcx, rsi
call fcn.1400052cc
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001bbff
inc dword [rsi + 0x18]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rsi + 0x14c]
jl 0x14001bc05
lea r13, [rsp + 0x8c0]
mov dword [rsp + 0x28], eax
lea rax, [0x14013a020]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14000128f
mov ebx, eax
test eax, eax
jle 0x14001bb7f
mov ebp, dword [rsp + 0x30]
cmp ebp, 0x800
jae 0x14001bb41
mov edi, 0x800
sub rdi, rbp
lea rbx, [rsp + 0x50]
add rbx, rbp
call fcn.140006f55
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov r9, qword [rsp + 0x8b8]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call fcn.14000487c
mov ebx, eax
mov eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
test ebx, ebx
jle 0x14001bb83
cmp ebp, 0x800
jae 0x14001bb6f
add ebp, ebx
mov eax, ebp
mov edx, 0x800
sub rdx, rax
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [0x14013a024]
call fcn.140007b30
mov ebx, eax
test ebx, ebx
jle 0x14001bb83
cmp ebp, 0x800
jae 0x14001bb83
add ebp, ebx
jmp 0x14001bb83
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x14001bbc8
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, ebp
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001bbc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r9d, dword [rsp + 0x30]
mov r8d, ebp
lea rcx, str.CLogger::Write_WriteFile_failed_0x_08X___d___d_
call fcn.1400076a3
cmp dword [rsi + 0x18], 0x186a0
jb 0x14001bc08
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bbf5
cmp qword [rsp + 0x30], 0xa00000
jge 0x14001bbf5
mov dword [rsi + 0x18], r14d
jmp 0x14001bc08
mov rcx, rsi
call fcn.1400053e4
jmp 0x14001bc08
mov r14d, 0xffffffff
mov ebx, r14d
test r15, r15
je 0x14001bc1b
test r12b, r12b
je 0x14001bc1b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140002c3e
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003b84
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401182bc
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x14011838e
mov rsi, rax
cmp word [rax], r14w
je 0x14011830f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1401182f7
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1401182f3
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140006b04
movsxd rbp, eax
test eax, eax
je 0x14011838e
mov rcx, rbp
call fcn.140004dea
mov rdi, rax
test rax, rax
je 0x140118381
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140006b04
test eax, eax
je 0x140118381
mov rsi, rdi
mov rdi, r14
jmp 0x140118384
mov rsi, r14
mov rcx, rdi
call fcn.1400046bf
jmp 0x140118391
mov rsi, r14
test rbx, rbx
je 0x14011839f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140004b74
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400c3e60
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14013d830]
xor ecx, ecx
lea r8, [0x14013d828]
lea rdx, [0x14013c9e0]
call fcn.1400c38c0
test rax, rax
je 0x1400c3e99
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [case.0x1400baaa6.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140004e53
Capabilities:
Set registry value

Disassembly:
jmp 0x14002d7d0
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbp, rdx
mov edi, r9d
mov rsi, r8
mov rdx, rcx
test rbp, rbp
je 0x14002d925
test r8, r8
je 0x14002d925
test r9d, r9d
je 0x14002d925
mov ecx, dword [rcx + 0x800]
xor r8d, r8d
mov qword [rsp + 0x60], rbx
xor bl, bl
mov qword [rsp + 0x68], r8
test ecx, ecx
je 0x14002d82d
sub ecx, 1
je 0x14002d8bc
cmp ecx, 2
jne 0x14002d8a4
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
add rdx, 0x400
mov qword [rsp + 0x30], r8
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002d894
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002d8a4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
add rdx, 0x400
mov qword [rsp + 0x30], r8
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002d894
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002d894
mov bl, 1
jmp 0x14002d894
mov rbp, qword [rsp + 0x70]
xor al, al
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400058ee
Capabilities:
Delete file

Disassembly:
jmp 0x14001b880
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140179788]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, r8
lea rcx, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x104
xor edx, edx
mov ebp, r9d
xor esi, esi
call fcn.140004b6a
test rbx, rbx
je 0x14001b977
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b977
lea r9d, [rsi + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
dec eax
cmp eax, 0x102
ja 0x14001b92e
lea edx, [rsi + 0x3a]
lea rcx, [rsp + 0x20]
call fcn.140004183
test rax, rax
je 0x14001b92e
lea rcx, [rsp + 0x20]
cmp rax, rcx
jbe 0x14001b92e
lfence
lea rdx, [rax - 1]
mov rcx, rbx
call fcn.1400024aa
test eax, eax
jne 0x14001b92e
mov esi, 1
mov eax, esi
jmp 0x14001b979
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathFromHandle_:_Failed__s___
call fcn.1400076a3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
cmp ebp, 0xb7
je 0x14001b973
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001b973
mov rdx, rbx
lea rcx, str.CLogger::ValidatePathFromHandle_:_DeleteFile_Failed__s___
call fcn.1400076a3
mov eax, esi
jmp 0x14001b979
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002c3e
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005e93
Capabilities:
Parse pe header

Disassembly:
jmp 0x140107b90
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1401078e4

Function at 0x140005f74
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400c3f68
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14013d860]
mov edi, ecx
lea rdx, [0x14013ca10]
mov ecx, 3
lea r8, [0x14013d858]
call fcn.1400c38c0
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400c3fa8
call qword [case.0x1400baaa6.0]
jmp 0x1400c3fae
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140006983
Capabilities:
Get session user name

Disassembly:
jmp 0x140019ef0
push rbx
sub rsp, 0x20
cmp byte [0x14017af70], 0
jne 0x140019f44
lea rbx, [0x14017af70]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140019f3b
mov r9, 0xffffffffffffffff
lea r8, [0x14013a088]
mov edx, 0x101
mov rcx, rbx
call fcn.140001adc
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14017af70]
add rsp, 0x20
pop rbx
ret

Function at 0x140006e29
Capabilities:
Terminate process

Disassembly:
jmp 0x1400cd564
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400cd57e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400070e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140007095
Capabilities:
Get session user name

Disassembly:
jmp 0x140019f70
push rbx
sub rsp, 0x20
cmp word [0x14017ad60], 0
jne 0x140019fc5
lea rbx, [0x14017ad60]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140019fbc
mov r9, 0xffffffffffffffff
lea r8, [0x14013a080]
mov edx, 0x101
mov rcx, rbx
call fcn.140002ef0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14017ad60]
add rsp, 0x20
pop rbx
ret

Function at 0x14000716c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400c3f10
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14013d850]
mov ecx, 2
lea r8, [0x14013d848]
lea rdx, [0x14013ca00]
call fcn.1400c38c0
mov ecx, ebx
test rax, rax
je 0x1400c3f4a
add rsp, 0x20
pop rbx
jmp qword [case.0x1400baaa6.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1400076a3
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001a240
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x468
mov rax, qword [0x140179788]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140006f55
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x250]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x1ff
mov rcx, qword [rax]
or rcx, 1
call fcn.140005187
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x4e]
movzx edx, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], edx
lea rdx, str.__02i:_02i:_02i:_02i:_03i___5d_
mov dword [rsp + 0x20], r10d
call fcn.140004d90
lea rax, [rsp + 0x50]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x14001a300
lea r8, [rsp + 0x250]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x14001a320
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140002c3e
add rsp, 0x468
pop rdi
pop rbx
ret

Function at 0x1400079af
Capabilities:
Query environment variable

Disassembly:
jmp 0x140118400
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x140118487
mov rbp, rax
cmp word [rax], si
je 0x140118449
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140118430
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14011842c
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.140004dea
mov rdi, rax
test rax, rax
je 0x140118477
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140006802
mov rsi, rdi
xor ecx, ecx
call fcn.1400046bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007c3e
Capabilities:
Check if file exists

Disassembly:
jmp 0x14001b670
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140179788]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov ebx, 1
call fcn.140004b6a
test rdi, rdi
je 0x14001b72c
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.14000449e
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001b6e6
bt eax, 0xa
jb 0x14001b6ff
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.140004183
test rax, rax
je 0x14001b712
mov byte [rax], 0
jmp 0x14001b6d0
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathForSymLink_:_Failed__s___
call fcn.1400076a3
xor ebx, ebx
test ebx, ebx
je 0x14001b72c
mov rdx, rdi
mov rcx, rsi
call fcn.140006884
test eax, eax
je 0x14001b72c
mov eax, 1
jmp 0x14001b72e
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002c3e
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140015fa0
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x140179788]
xor rax, rsp
mov qword [rsp + 0x270], rax
test cl, cl
je 0x1400161a8
mov rax, qword [0x14017ac08]
test rax, rax
jne 0x14001617b
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x60]
call fcn.140004b6a
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140016133
movdqa xmm0, xmmword [0x1401399c0]
movdqu xmmword [rsp + 0x48], xmm0
xor esi, esi
mov word [rsp + 0x38], si
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140016040
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400033af
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0x31
jb 0x1400160a4
lea rdi, [rcx + 0x31]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
mov r8d, 0x62
lea rdx, str.NVIDIA_CorporationNVIDIA_NvDLISRGfeXCode64.dll
call fcn.1400014c9
mov word [rbx + rdi*2], si
jmp 0x1400160c8
lfence
mov qword [rsp + 0x20], 0x31
lea r9, str.NVIDIA_CorporationNVIDIA_NvDLISRGfeXCode64.dll
xor r8d, r8d
lea edx, [r8 + 0x31]
lea rcx, [rsp + 0x38]
call fcn.140002dba
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.140004cf0
mov qword [0x14017ac08], rax
mov rdx, qword [rsp + 0x50]
test rax, rax
jne 0x14001613b
cmp rdx, 8
jb 0x14001612e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161ea
call fcn.14000217b
mov eax, 0x80004005
lfence
jmp 0x1400161c5
cmp rdx, 8
jb 0x14001617b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001616f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161ea
call fcn.14000217b
mov rax, qword [0x14017ac08]
cmp qword [0x14017ac10], 0
jne 0x1400161c3
lea rdx, str.GfeXcodeImage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017ac10], rax
test rax, rax
jne 0x1400161c3
mov eax, 0x80004005
jmp 0x1400161c5
mov rcx, qword [0x14017ac08]
test rcx, rcx
je 0x1400161c3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov qword [0x14017ac08], rsi
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140002c3e
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140003a49
int3