joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002914
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140117398
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x1401757d0]
test r9, r9
lea rdi, [0x140137526]
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 0x140117401
mov rax, 0xfffffffffffffffe
jmp 0x140117553
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x140117471
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x14011742d
test rsi, rsi
je 0x14011741f
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x140117553
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x14011743a
mov r8b, 2
jmp 0x140117456
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x140117447
mov r8b, 3
jmp 0x140117456
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x14011753f
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 0x140117496
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14011753f
cmp r9b, bpl
jb 0x14011753f
cmp r9b, r8b
jae 0x14011753f
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x1401174c5
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14011753f
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 0x1401174a5
cmp rbx, rbp
jae 0x1401174f2
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1401173f5
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14011753f
cmp edx, 0x110000
jae 0x14011753f
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 0x14011753f
test rsi, rsi
je 0x140117530
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x140117553
xor eax, eax
mov qword [r10], rax
call fcn.140002dce
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002b94
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400029b9
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400aeb48
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.1400049c6
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, [0x140132f78]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1400022c0
test eax, eax
jne 0x1400aebdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400aebdf
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400aebd8
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14016dd28], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140002ac2
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14010ff44
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140137d98]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x140137d90]
call fcn.14010f4e4
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14010ff84
call qword [case.0x1400b0172.0]
jmp 0x14010ff8a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140002b99
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400fd4f4
xor r8d, r8d
xor edx, edx
jmp 0x1400fd1e4
Function at 0x140002d60
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x14001b200
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 [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x14001b264
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12b, 1
mov byte [rsp + 0x40], r12b
jmp 0x14001b26a
movzx r12d, byte [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.1400049c6
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001b40f
cmp byte [rsi + 0x255], r14b
je 0x14001b2b8
cmp dword [rsi + 0x18], 0x400
jb 0x14001b2b8
mov dword [rsi + 0x18], r14d
mov rcx, rsi
call fcn.1400050f1
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001b40f
inc dword [rsi + 0x18]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rsi + 0x14c]
jl 0x14001b415
lea r13, [rsp + 0x8c0]
mov dword [rsp + 0x28], eax
lea rax, [0x140130010]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140001280
mov ebx, eax
test eax, eax
jle 0x14001b38f
mov ebp, dword [rsp + 0x30]
cmp ebp, 0x800
jae 0x14001b351
mov edi, 0x800
sub rdi, rbp
lea rbx, [rsp + 0x50]
add rbx, rbp
call fcn.140006ca3
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.1400046f1
mov ebx, eax
mov eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
test ebx, ebx
jle 0x14001b393
cmp ebp, 0x800
jae 0x14001b37f
add ebp, ebx
mov eax, ebp
mov edx, 0x800
sub rdx, rax
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [0x140130014]
call fcn.140007829
mov ebx, eax
test ebx, ebx
jle 0x14001b393
cmp ebp, 0x800
jae 0x14001b393
add ebp, ebx
jmp 0x14001b393
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x14001b3d8
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 0x14001b3d8
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.1400073bf
cmp dword [rsi + 0x18], 0x186a0
jb 0x14001b418
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b405
cmp qword [rsp + 0x30], 0xa00000
jge 0x14001b405
mov dword [rsi + 0x18], r14d
jmp 0x14001b418
mov rcx, rsi
call fcn.1400051ff
jmp 0x14001b418
mov r14d, 0xffffffff
mov ebx, r14d
test r15, r15
je 0x14001b42b
test r12b, r12b
je 0x14001b42b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140002b94
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003a53
Capabilities:
Query environment variable

Disassembly:
jmp 0x14010dc64
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 0x14010dd36
mov rsi, rax
cmp word [rax], r14w
je 0x14010dcb7
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14010dc9f
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x14010dc9b
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.140006875
movsxd rbp, eax
test eax, eax
je 0x14010dd36
mov rcx, rbp
call fcn.140004c23
mov rdi, rax
test rax, rax
je 0x14010dd29
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.140006875
test eax, eax
je 0x14010dd29
mov rsi, rdi
mov rdi, r14
jmp 0x14010dd2c
mov rsi, r14
mov rcx, rdi
call fcn.14000453e
jmp 0x14010dd39
mov rsi, r14
test rbx, rbx
je 0x14010dd47
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 0x1400049d0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400b9530
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140133910]
xor ecx, ecx
lea r8, [0x140133908]
lea rdx, [0x140132ac0]
call fcn.1400b8f90
test rax, rax
je 0x1400b9569
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [case.0x1400b0172.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x140004c8c
Capabilities:
Set registry value

Disassembly:
jmp 0x14002d180
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 0x14002d2d5
test r8, r8
je 0x14002d2d5
test r9d, r9d
je 0x14002d2d5
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 0x14002d1dd
sub ecx, 1
je 0x14002d26c
cmp ecx, 2
jne 0x14002d254
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 0x14002d244
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 0x14002d254
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 0x14002d244
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 0x14002d244
mov bl, 1
jmp 0x14002d244
mov rbp, qword [rsp + 0x70]
xor al, al
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140005556
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400af9b0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400afa3d
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400afa3d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400afa3d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400afa24
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400afa1e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400afa26
add rdx, 0x28
jmp 0x1400afa03
xor edx, edx
test rdx, rdx
jne 0x1400afa2f
xor al, al
jmp 0x1400afa43
cmp dword [rdx + 0x24], 0
jge 0x1400afa39
xor al, al
jmp 0x1400afa43
mov al, 1
jmp 0x1400afa43
xor al, al
jmp 0x1400afa43
add rsp, 0x18
ret

Function at 0x1400056e6
Capabilities:
Delete file

Disassembly:
jmp 0x14001b090
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14016c778]
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.1400049c6
test rbx, rbx
je 0x14001b187
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b187
lea r9d, [rsi + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
dec eax
cmp eax, 0x102
ja 0x14001b13e
lea edx, [rsi + 0x3a]
lea rcx, [rsp + 0x20]
call fcn.14000402a
test rax, rax
je 0x14001b13e
lea rcx, [rsp + 0x20]
cmp rax, rcx
jbe 0x14001b13e
lfence
lea rdx, [rax - 1]
mov rcx, rbx
call fcn.14000243c
test eax, eax
jne 0x14001b13e
mov esi, 1
mov eax, esi
jmp 0x14001b189
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathFromHandle_:_Failed__s___
call fcn.1400073bf
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
cmp ebp, 0xb7
je 0x14001b183
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001b183
mov rdx, rbx
lea rcx, str.CLogger::ValidatePathFromHandle_:_DeleteFile_Failed__s___
call fcn.1400073bf
mov eax, esi
jmp 0x14001b189
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002b94
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005c6d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400fd490
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400fd1e4

Function at 0x140005d49
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400b9638
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140133940]
mov edi, ecx
lea rdx, [0x140132af0]
mov ecx, 3
lea r8, [0x140133938]
call fcn.1400b8f90
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400b9678
call qword [case.0x1400b0172.0]
jmp 0x1400b967e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140006596
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b11e0
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b122b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b122b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b122b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b122b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b122b
cmp dword [rcx + 0xf8], 0
je 0x1400b122b
mov al, 1
jmp 0x1400b122d
xor al, al
add rsp, 0x28
ret

Function at 0x1400066f9
Capabilities:
Get session user name

Disassembly:
jmp 0x140019700
push rbx
sub rsp, 0x20
cmp byte [0x14016df60], 0
jne 0x140019754
lea rbx, [0x14016df60]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14001974b
mov r9, 0xffffffffffffffff
lea r8, [0x140130078]
mov edx, 0x101
mov rcx, rbx
call fcn.140001aaf
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14016df60]
add rsp, 0x20
pop rbx
ret

Function at 0x140006b81
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140019780
push rbx
sub rsp, 0x20
cmp word [0x14016dd50], 0
jne 0x1400197d5
lea rbx, [0x14016dd50]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1400197cc
mov r9, 0xffffffffffffffff
lea r8, [0x140130070]
mov edx, 0x101
mov rcx, rbx
call fcn.140002e23
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14016dd50]
add rsp, 0x20
pop rbx
ret

Function at 0x140006e9c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400b95e0
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140133930]
mov ecx, 2
lea r8, [0x140133928]
lea rdx, [0x140132ae0]
call fcn.1400b8f90
mov ecx, ebx
test rax, rax
je 0x1400b961a
add rsp, 0x20
pop rbx
jmp qword [case.0x1400b0172.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1400073bf
Capabilities:
Print debug messages

Disassembly:
jmp 0x140019a50
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 [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140006ca3
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.140004fac
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.140004bce
lea rax, [rsp + 0x50]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140019b10
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 0x140019b30
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140002b94
add rsp, 0x468
pop rdi
pop rbx
ret

Function at 0x1400076b7
Capabilities:
Query environment variable

Disassembly:
jmp 0x14010dda8
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 0x14010de2f
mov rbp, rax
cmp word [rax], si
je 0x14010ddf1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14010ddd8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14010ddd4
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.140004c23
mov rdi, rax
test rax, rax
je 0x14010de1f
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140006582
mov rsi, rdi
xor ecx, ecx
call fcn.14000453e
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 0x140007932
Capabilities:
Check if file exists

Disassembly:
jmp 0x14001ae80
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14016c778]
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.1400049c6
test rdi, rdi
je 0x14001af3c
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140004331
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001aef6
bt eax, 0xa
jb 0x14001af0f
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14000402a
test rax, rax
je 0x14001af22
mov byte [rax], 0
jmp 0x14001aee0
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathForSymLink_:_Failed__s___
call fcn.1400073bf
xor ebx, ebx
test ebx, ebx
je 0x14001af3c
mov rdx, rdi
mov rcx, rsi
call fcn.140006604
test eax, eax
je 0x14001af3c
mov eax, 1
jmp 0x14001af3e
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002b94
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400157b0
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 [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x270], rax
test cl, cl
je 0x1400159b8
mov rax, qword [0x14016dbf8]
test rax, rax
jne 0x14001598b
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x60]
call fcn.1400049c6
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 0x140015943
movdqa xmm0, xmmword [0x14012f9b0]
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 0x140015850
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14000329c
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0x31
jb 0x1400158b4
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.1400014b0
mov word [rbx + rdi*2], si
jmp 0x1400158d8
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.140002cfc
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.140004b2e
mov qword [0x14016dbf8], rax
mov rdx, qword [rsp + 0x50]
test rax, rax
jne 0x14001594b
cmp rdx, 8
jb 0x14001593e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400159fa
call fcn.140002130
mov eax, 0x80004005
lfence
jmp 0x1400159d5
cmp rdx, 8
jb 0x14001598b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001597f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400159fa
call fcn.140002130
mov rax, qword [0x14016dbf8]
cmp qword [0x14016dc00], 0
jne 0x1400159d3
lea rdx, str.GfeXcodeImage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14016dc00], rax
test rax, rax
jne 0x1400159d3
mov eax, 0x80004005
jmp 0x1400159d5
mov rcx, qword [0x14016dbf8]
test rcx, rcx
je 0x1400159d3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov qword [0x14016dbf8], rsi
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140002b94
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140003918
int3
Function at 0x140017f00
Capabilities:
Create thread

Disassembly:
jmp 0x140017f00
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov edx, 0x923
xor ecx, ecx
mov rbx, r8
call fcn.140001fdc
xor edi, edi
lea r9, str.Global96D95145_FAC5_46C4_835A_E722C8698A35_ngxCancel
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor ecx, ecx
lea edx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140015cc0]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140017f8e
mov edx, 0x926
lea ecx, [rax + 7]
call fcn.140001fdc
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ebx, 2
mov qword [rsp + 0x38], rdi
mov ecx, ebx
mov qword [rsp + 0x40], rsi
xor r9d, r9d
lea rdx, [rsp + 0x38]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x140017fda
cmp eax, 1
je 0x140017ffb
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x38]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x140017fb4
call fcn.140003198
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x14012f99c]
jp 0x140018013
jne 0x140018013
mov ebx, 1
mov edx, 0x925
jmp 0x140018018
call fcn.140003198
mov edx, 0x61a8
mov rcx, rdi
mov byte [rax], 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14001801f
mov edx, 0x926
mov ecx, ebx
call fcn.140001fdc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, 1
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret