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

Disassembly:
jmp 0x14002e650
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 0x14002e77a
test r8, r8
je 0x14002e77a
test r9, r9
je 0x14002e77a
mov edx, dword [rcx + 0x800]
mov qword [rsp + 0x40], rbx
xor bl, bl
mov qword [rsp + 0x48], 0
test edx, edx
je 0x14002e6ab
sub edx, 1
je 0x14002e729
cmp edx, 2
jne 0x14002e711
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 0x14002e701
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 0x14002e711
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 0x14002e701
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 0x14002e701
mov bl, 1
jmp 0x14002e701
mov rbp, qword [rsp + 0x50]
xor al, al
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400024dc
Capabilities:
Terminate process

Disassembly:
jmp 0x1400bc7a8
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 0x1400024eb
Capabilities:
Get common file path

Disassembly:
jmp 0x140026060
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 0x1400260c2
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400260b7
cmp edi, eax
jb 0x1400260b7
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 0x1400029a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140122ae0
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14017a788]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x140183920]
test r9, r9
lea rdi, [0x140142626]
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 0x140122b49
mov rax, 0xfffffffffffffffe
jmp 0x140122c9b
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x140122bb9
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x140122b75
test rsi, rsi
je 0x140122b67
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x140122c9b
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x140122b82
mov r8b, 2
jmp 0x140122b9e
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x140122b8f
mov r8b, 3
jmp 0x140122b9e
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x140122c87
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 0x140122bde
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140122c87
cmp r9b, bpl
jb 0x140122c87
cmp r9b, r8b
jae 0x140122c87
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x140122c0d
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140122c87
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 0x140122bed
cmp rbx, rbp
jae 0x140122c3a
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140122b3d
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140122c87
cmp edx, 0x110000
jae 0x140122c87
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 0x140122c87
test rsi, rsi
je 0x140122c78
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x140122c9b
xor eax, eax
mov qword [r10], rax
call fcn.140002e96
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002c43
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002a45
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400ba4e8
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, [0x14013e078]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.14000231a
test eax, eax
jne 0x1400ba57f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400ba57f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400ba578
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14017bd38], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140002b5d
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14011b5fc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140142e98]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x140142e90]
call fcn.14011ab9c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14011b63c
call qword [case.0x1400bbb12.0]
jmp 0x14011b642
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002e28
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x14001b9e0
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 [0x14017a788]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x14001ba44
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12b, 1
mov byte [rsp + 0x40], r12b
jmp 0x14001ba4a
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 0x14001bbef
cmp byte [rsi + 0x255], r14b
je 0x14001ba98
cmp dword [rsi + 0x18], 0x400
jb 0x14001ba98
mov dword [rsi + 0x18], r14d
mov rcx, rsi
call fcn.1400052c7
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001bbef
inc dword [rsi + 0x18]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rsi + 0x14c]
jl 0x14001bbf5
lea r13, [rsp + 0x8c0]
mov dword [rsp + 0x28], eax
lea rax, [0x14013b020]
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 0x14001bb6f
mov ebp, dword [rsp + 0x30]
cmp ebp, 0x800
jae 0x14001bb31
mov edi, 0x800
sub rdi, rbp
lea rbx, [rsp + 0x50]
add rbx, rbp
call fcn.140006f50
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.140004881
mov ebx, eax
mov eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
test ebx, ebx
jle 0x14001bb73
cmp ebp, 0x800
jae 0x14001bb5f
add ebp, ebx
mov eax, ebp
mov edx, 0x800
sub rdx, rax
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [0x14013b024]
call fcn.140007b26
mov ebx, eax
test ebx, ebx
jle 0x14001bb73
cmp ebp, 0x800
jae 0x14001bb73
add ebp, ebx
jmp 0x14001bb73
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x14001bbb8
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 0x14001bbb8
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.14000769e
cmp dword [rsi + 0x18], 0x186a0
jb 0x14001bbf8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bbe5
cmp qword [rsp + 0x30], 0xa00000
jge 0x14001bbe5
mov dword [rsi + 0x18], r14d
jmp 0x14001bbf8
mov rcx, rsi
call fcn.1400053df
jmp 0x14001bbf8
mov r14d, 0xffffffff
mov ebx, r14d
test r15, r15
je 0x14001bc0b
test r12b, r12b
je 0x14001bc0b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140002c43
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003b89
Capabilities:
Query environment variable

Disassembly:
jmp 0x14011931c
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 0x1401193ee
mov rsi, rax
cmp word [rax], r14w
je 0x14011936f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x140119357
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x140119353
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.140006aff
movsxd rbp, eax
test eax, eax
je 0x1401193ee
mov rcx, rbp
call fcn.140004dea
mov rdi, rax
test rax, rax
je 0x1401193e1
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.140006aff
test eax, eax
je 0x1401193e1
mov rsi, rdi
mov rdi, r14
jmp 0x1401193e4
mov rsi, r14
mov rcx, rdi
call fcn.1400046c4
jmp 0x1401193f1
mov rsi, r14
test rbx, rbx
je 0x1401193ff
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 0x1400c4ec0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14013ea10]
xor ecx, ecx
lea r8, [0x14013ea08]
lea rdx, [0x14013dbc0]
call fcn.1400c4920
test rax, rax
je 0x1400c4ef9
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [case.0x1400bbb12.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x140004e53
Capabilities:
Set registry value

Disassembly:
jmp 0x14002e830
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 0x14002e985
test r8, r8
je 0x14002e985
test r9d, r9d
je 0x14002e985
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 0x14002e88d
sub ecx, 1
je 0x14002e91c
cmp ecx, 2
jne 0x14002e904
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 0x14002e8f4
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 0x14002e904
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 0x14002e8f4
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 0x14002e8f4
mov bl, 1
jmp 0x14002e8f4
mov rbp, qword [rsp + 0x70]
xor al, al
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400058e9
Capabilities:
Delete file

Disassembly:
jmp 0x14001b870
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14017a788]
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 0x14001b967
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b967
lea r9d, [rsi + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
dec eax
cmp eax, 0x102
ja 0x14001b91e
lea edx, [rsi + 0x3a]
lea rcx, [rsp + 0x20]
call fcn.140004188
test rax, rax
je 0x14001b91e
lea rcx, [rsp + 0x20]
cmp rax, rcx
jbe 0x14001b91e
lfence
lea rdx, [rax - 1]
mov rcx, rbx
call fcn.1400024af
test eax, eax
jne 0x14001b91e
mov esi, 1
mov eax, esi
jmp 0x14001b969
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathFromHandle_:_Failed__s___
call fcn.14000769e
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
cmp ebp, 0xb7
je 0x14001b963
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001b963
mov rdx, rbx
lea rcx, str.CLogger::ValidatePathFromHandle_:_DeleteFile_Failed__s___
call fcn.14000769e
mov eax, esi
jmp 0x14001b969
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002c43
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005e8e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140108bf0
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140108944

Function at 0x140005f6f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400c4fc8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14013ea40]
mov edi, ecx
lea rdx, [0x14013dbf0]
mov ecx, 3
lea r8, [0x14013ea38]
call fcn.1400c4920
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400c5008
call qword [case.0x1400bbb12.0]
jmp 0x1400c500e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000697e
Capabilities:
Get session user name

Disassembly:
jmp 0x140019ee0
push rbx
sub rsp, 0x20
cmp byte [0x14017bf70], 0
jne 0x140019f34
lea rbx, [0x14017bf70]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140019f2b
mov r9, 0xffffffffffffffff
lea r8, [0x14013b088]
mov edx, 0x101
mov rcx, rbx
call fcn.140001ae1
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14017bf70]
add rsp, 0x20
pop rbx
ret

Function at 0x140006e24
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ce5c4
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400ce5de
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400070db
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 0x140007090
Capabilities:
Get session user name

Disassembly:
jmp 0x140019f60
push rbx
sub rsp, 0x20
cmp word [0x14017bd60], 0
jne 0x140019fb5
lea rbx, [0x14017bd60]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140019fac
mov r9, 0xffffffffffffffff
lea r8, [0x14013b080]
mov edx, 0x101
mov rcx, rbx
call fcn.140002ef5
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14017bd60]
add rsp, 0x20
pop rbx
ret

Function at 0x140007167
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400c4f70
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14013ea30]
mov ecx, 2
lea r8, [0x14013ea28]
lea rdx, [0x14013dbe0]
call fcn.1400c4920
mov ecx, ebx
test rax, rax
je 0x1400c4faa
add rsp, 0x20
pop rbx
jmp qword [case.0x1400bbb12.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x14000769e
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001a230
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 [0x14017a788]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140006f50
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.140005182
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 0x14001a2f0
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 0x14001a310
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140002c43
add rsp, 0x468
pop rdi
pop rbx
ret

Function at 0x1400079aa
Capabilities:
Query environment variable

Disassembly:
jmp 0x140119460
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 0x1401194e7
mov rbp, rax
cmp word [rax], si
je 0x1401194a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140119490
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14011948c
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 0x1401194d7
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.1400067fd
mov rsi, rdi
xor ecx, ecx
call fcn.1400046c4
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 0x140007c34
Capabilities:
Check if file exists

Disassembly:
jmp 0x14001b660
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14017a788]
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 0x14001b71c
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.1400044a3
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001b6d6
bt eax, 0xa
jb 0x14001b6ef
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.140004188
test rax, rax
je 0x14001b702
mov byte [rax], 0
jmp 0x14001b6c0
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathForSymLink_:_Failed__s___
call fcn.14000769e
xor ebx, ebx
test ebx, ebx
je 0x14001b71c
mov rdx, rdi
mov rcx, rsi
call fcn.14000687f
test eax, eax
je 0x14001b71c
mov eax, 1
jmp 0x14001b71e
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002c43
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140015f90
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 [0x14017a788]
xor rax, rsp
mov qword [rsp + 0x270], rax
test cl, cl
je 0x140016198
mov rax, qword [0x14017bc08]
test rax, rax
jne 0x14001616b
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 0x140016123
movdqa xmm0, xmmword [0x14013a9c0]
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 0x140016030
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400033b4
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0x31
jb 0x140016094
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.1400014ce
mov word [rbx + rdi*2], si
jmp 0x1400160b8
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.140002dbf
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.140004cf0
mov qword [0x14017bc08], rax
mov rdx, qword [rsp + 0x50]
test rax, rax
jne 0x14001612b
cmp rdx, 8
jb 0x14001611e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161da
call fcn.140002180
mov eax, 0x80004005
lfence
jmp 0x1400161b5
cmp rdx, 8
jb 0x14001616b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001615f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400161da
call fcn.140002180
mov rax, qword [0x14017bc08]
cmp qword [0x14017bc10], 0
jne 0x1400161b3
lea rdx, str.GfeXcodeImage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017bc10], rax
test rax, rax
jne 0x1400161b3
mov eax, 0x80004005
jmp 0x1400161b5
mov rcx, qword [0x14017bc08]
test rcx, rcx
je 0x1400161b3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov qword [0x14017bc08], rsi
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140002c43
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140003a4e
int3