joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400074b0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xf0
mov rax, qword [0x14008c320]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [str.Unknown]
mov rbp, rdx
movzx r14d, r8b
xor edx, edx
mov rsi, rcx
lea rcx, [rsp + 0x70]
movaps xmmword [rsp + 0x60], xmm0
lea r8d, [rdx + 0x70]
call fcn.140015d80
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
je 0x1400075a6
mov ecx, edi
lea rdx, [0x140076e30]
call fcn.140014d08
mov rbx, rax
test rax, rax
je 0x1400075a6
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000759e
xor eax, eax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rdx, [0x140074418]
mov dword [rsp + 0x58], eax
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000759e
mov r8, qword [rsp + 0x50]
movzx ecx, word [r8 + 0xc]
movzx edx, word [r8 + 0xe]
movzx eax, word [r8 + 8]
movzx r9d, word [r8 + 0xa]
lea r8, str._lu._lu._lu._lu
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], edx
mov edx, 0x40
mov dword [rsp + 0x20], eax
call fcn.140006100
mov rcx, rbx
call fcn.140014d00
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 1]
call fcn.1400112e0
lea rcx, [rsp + 0x50]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rcx, qword [rsp + 0x50]
mov r9d, 3
sub rcx, qword [rsp + 0x58]
movabs rax, 0xcccccccccccccccd
mul rcx
mov rcx, qword [rsi]
lea rax, [rsp + 0x60]
mov rdi, rdx
lea r8d, [r9 + 0x69]
shr rdi, 3
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea rax, str.Secure_loading__S____S_at__p_took__lu_microseconds
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.140012d40
test rbx, rbx
je 0x140007659
test r14b, r14b
je 0x140007659
lea rcx, [rsi + 0x2e0]
lea r8, [rsp + 0x60]
lea rdx, [0x1400744cc]
call fcn.1400061c0
mov rax, qword [rsi + 0x2d8]
test rax, rax
je 0x140007659
mov dword [rax + 0x40], edi
mov rax, rbx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400141d0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140009730
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rbx, r8
mov rdi, rcx
mov r8, r9
call fcn.140001860
nop
lea rax, vtable.nvc::ServiceHost.0
mov qword [rdi], rax
xor ebp, ebp
mov qword [rdi + 0x398], rbp
mov qword [rdi + 0x420], rbp
mov qword [rdi + 0x428], rbp
lea rax, str.Service_host
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 4]
lea r8d, [rbp + 0x21]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov rcx, qword [rdi + 0x10]
call fcn.140012d40
xor eax, eax
mov qword [rdi + 0x378], rax
mov qword [rdi + 0x380], rax
mov qword [rdi + 0x388], rax
mov dword [rdi + 0x390], eax
mov dword [rdi + 0x378], 0x10
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x420], rax
mov r8, rbx
lea edx, [rbp + 0x40]
lea rcx, [rdi + 0x3a0]
call fcn.14004c6d0
mov edx, 0x200
mov rcx, rdi
call fcn.14000a400
test al, al
je 0x14000980c
or dword [rdi + 8], 4
mov edx, 0x100
mov rcx, rdi
call fcn.14000a400
test al, al
je 0x140009821
or dword [rdi + 8], 4
mov qword [0x14008df20], rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, [0x14000abf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400098a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rbx, str.Service_host:_failed_to_create_ServiceThread._Error__lu
mov qword [rsp + 0x20], rbx
mov r9d, 1
lea r8d, [r9 + 0x3d]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov rcx, qword [rdi + 0x10]
call fcn.140012d40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rbx
mov ecx, 0x11
call fcn.140004740
xor edx, edx
mov r8d, 0x80
lea rcx, [rdi + 0x3a0]
call fcn.140015d80
jmp 0x1400098af
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x420]
test rcx, rcx
je 0x1400098f2
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x28], eax
lea rax, str.Service_host:_wait_completed_with__lu
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8d, [r9 + 0x4f]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov rcx, qword [rdi + 0x10]
call fcn.140012d40
jmp 0x140009926
lea rbx, str.Service_host_failed
mov qword [rsp + 0x20], rbx
mov r9d, 1
lea r8d, [r9 + 0x57]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov rcx, qword [rdi + 0x10]
call fcn.140012d40
mov rdx, rbx
mov ecx, 0x12
call fcn.140004740
nop
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a400
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14008c320]
xor rax, rsp
mov qword [rsp + 0x68], rax
or edx, 0x2001f
lea r8, [rsp + 0x48]
mov rbx, rcx
call fcn.14000a310
test eax, eax
jne 0x14000a4e4
movzx eax, word [0x140075448]
lea r8, [rsp + 0x50]
movups xmm0, xmmword [str.Recovery]
xor ecx, ecx
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x28], rax
lea r9d, [rcx + 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x48]
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], 0
je 0x14000a4e4
mov rcx, qword [rbx + 0x10]
lea rax, str.Safe_mode_is_ON._Optional_plugins_will_not_be_loaded
mov r9d, 2
mov qword [rsp + 0x20], rax
mov r8d, 0x99
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
call fcn.140012d40
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400141d0
add rsp, 0x70
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400141d0
add rsp, 0x70
pop rbx
ret
Function at 0x14000aa30
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x14008c320]
xor rax, rsp
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [str.ServiceAutoStart]
movzx eax, word [0x1400754a8]
or edx, 0x20006
movups xmm1, xmmword [0x140075498]
lea r8, [rsp + 0x48]
mov word [rsp + 0x70], ax
movups xmmword [rsp + 0x50], xmm0
mov rsi, rcx
movups xmmword [rsp + 0x60], xmm1
call fcn.14000a310
mov edi, eax
test eax, eax
jne 0x14000aac8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x40], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14000ab43
mov rcx, qword [rsi + 0x10]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], edi
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov qword [rsp + 0xb0], rbx
mov r9d, 1
lea rbx, [rsi + 0x3a0]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x30], rbx
lea rbp, str.Failed_to_save_auto_start_flag__S_to_registry_for_service__S._Error__ld
mov qword [rsp + 0x28], rax
mov r8d, 0xbd
mov qword [rsp + 0x20], rbp
call fcn.140012d40
mov r9, rbx
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x50]
mov rdx, rbp
mov ecx, 0x13
call fcn.140004740
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400141d0
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x14000c8a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14000c963
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x14000c8d4
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14000c966
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x14000c91f
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14000c923
test rax, rax
je 0x14000c963
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000c954
cmp rdx, rax
jb 0x14000c940
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400100c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400102ea
xor edx, edx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x1400100e6
test rax, rax
je 0x140010124
xor ecx, ecx
nop word [rax + rax]
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1400102ea
cmp r8w, 0x2f
je 0x1400102ea
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x140010100
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.140010310
mov rsi, rax
test rax, rax
je 0x140010215
mov qword [rsp + 0x50], r14
call fcn.140010ad0
mov r14, rax
test rax, rax
je 0x140010202
mov rcx, rsi
call fcn.14000c6d0
test eax, eax
je 0x1400101eb
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x140010197
mov r8, rbx
mov rcx, rsi
call fcn.14004d9b8
test eax, eax
je 0x1400101bf
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x140010190
jmp 0x1400101ce
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.14000ee60
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x1400101f9
mov rcx, rsi
call fcn.14000c670
test eax, eax
je 0x1400101f9
mov rbp, rsi
xor esi, esi
jmp 0x1400101f9
mov rdx, rsi
mov rcx, r14
call fcn.14000ee60
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x1400102b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1400102bf
mov rcx, rbx
call fcn.14000c590
mov rdi, rax
test rax, rax
je 0x1400102bf
mov ecx, 0x37e4
call fcn.14000e200
test eax, eax
je 0x140010254
lea rcx, [0x140075e70]
call fcn.1400107c0
jmp 0x140010259
call fcn.140010ad0
mov rbx, rax
test rax, rax
je 0x1400102ad
mov rdx, rdi
mov rcx, rax
call fcn.14000ee60
mov rbp, rax
test rax, rax
je 0x1400102a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010286
test al, 0x50
je 0x1400102a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140010299
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x1400102bf
xor ecx, ecx
jmp 0x1400102cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400102d2
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x140010ad0
Capabilities:
Get common file path

Disassembly:
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 0x140010b32
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140010b27
cmp edi, eax
jb 0x140010b27
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 0x140010ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov ebp, r8d
xor ecx, ecx
mov r14d, edx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x140011021
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x140010f2c
cmp ax, 0x2f
je 0x140010f2c
movzx ecx, ax
call fcn.14004d448
test eax, eax
je 0x140011021
cmp word [rbx + 2], 0x3a
jne 0x140011021
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140010f2c
cmp ax, 0x2f
jne 0x140011021
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001101a
test al, 0x50
jne 0x14001101a
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140010f7d
lea ecx, [rax + 0x21]
jmp 0x140011026
mov rcx, rbx
call fcn.14000df10
test eax, eax
jne 0x140010fef
test ebp, ebp
mov dword [rsp + 0x60], esi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rsi
call fcn.140011d00
test eax, eax
je 0x140010fb9
test ebp, ebp
je 0x140010fef
cmp dword [rsp + 0x60], esi
jne 0x140010fef
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000e470
test eax, eax
jne 0x140010fef
test rdi, rdi
je 0x140010feb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14001102f
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rdi, rdi
je 0x14001102c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
jmp 0x140011026
mov ecx, 0x7e
jmp 0x140011026
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400112e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14d, r8d
xor ecx, ecx
mov ebp, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x140011449
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x140011346
cmp ax, 0x2f
je 0x140011346
movzx ecx, ax
call fcn.14004d448
test eax, eax
je 0x140011449
cmp word [rbx + 2], 0x3a
jne 0x140011449
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140011346
cmp ax, 0x2f
jne 0x140011449
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001142d
test al, 0x50
jne 0x14001142d
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x80000000
mov rcx, rbx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400113b3
lea ecx, [rax + 0x21]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
test r14d, r14d
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rdi
call fcn.140011d00
test eax, eax
je 0x1400113e5
test r14d, r14d
je 0x1400113f9
cmp dword [rsp + 0x60], edi
jne 0x1400113f9
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000e470
test eax, eax
je 0x140011410
and ebp, 0xffffe0f7
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x14001139d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
jmp 0x140011397
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140013130
Capabilities:
Delete file
Move file

Disassembly:
push rdi
sub rsp, 0x470
mov rax, qword [0x14008c320]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp word [rdx], 0
mov rdi, rdx
mov edx, dword [0x14008e6a0]
mov rax, qword gs:[0x58]
jne 0x1400131a3
mov rax, qword [rax + rdx*8]
test cl, cl
mov ecx, 0x390
mov eax, dword [rcx + rax]
je 0x14001318b
cmp dword [0x14008e600], eax
jg 0x1400132cc
lea rax, vtable.nvc::DebugLogger.0
jmp 0x1400132b3
cmp dword [0x14008e604], eax
jg 0x140013302
lea rax, vtable.nvc::ConsoleLogger.0
jmp 0x1400132b3
mov qword [rsp + 0x480], rbx
mov rbx, qword [rax + rdx*8]
mov ecx, 0x390
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x14008e608], eax
jg 0x140013338
cmp qword [0x14008c308], 0
jne 0x1400132a4
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov r9d, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov r8, rdi
mov edx, 0x104
call fcn.140006100
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 1
lea r8, str._s_backup_d
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.140006100
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, [rsp + 0x40]
mov edx, 0x104
lea r8, str._s_backup1
lea rcx, [rsp + 0x250]
call fcn.140006100
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r8d, 0x20
lea rdx, [0x140076870]
lea rcx, [rsp + 0x40]
call fcn.14004e2ac
mov qword [0x14008c308], rax
test rax, rax
jne 0x1400132a4
mov eax, dword [rbx]
cmp dword [0x14008e60c], eax
jg 0x14001336e
lea rax, vtable.nvc::NullLogger.0
jmp 0x1400132ab
lea rax, str.0h_a_
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400141d0
add rsp, 0x470
pop rdi
ret
lea rcx, [0x14008e600]
call fcn.140014ab0
cmp dword [0x14008e600], 0xffffffff
jne 0x14001317f
lea rcx, [0x140071a90]
call fcn.1400146f4
lea rcx, [0x14008e600]
call fcn.140014a50
jmp 0x14001317f
lea rcx, [0x14008e604]
call fcn.140014ab0
cmp dword [0x14008e604], 0xffffffff
jne 0x140013197
lea rcx, [0x140071a80]
call fcn.1400146f4
lea rcx, [0x14008e604]
call fcn.140014a50
jmp 0x140013197
lea rcx, [0x14008e608]
call fcn.140014ab0
cmp dword [0x14008e608], 0xffffffff
jne 0x1400131c5
lea rcx, [0x140071aa0]
call fcn.1400146f4
lea rcx, [0x14008e608]
call fcn.140014a50
jmp 0x1400131c5
lea rcx, [0x14008e60c]
call fcn.140014ab0
cmp dword [0x14008e60c], 0xffffffff
jne 0x14001329b
lea rcx, [0x140071af0]
call fcn.1400146f4
lea rcx, [0x14008e60c]
call fcn.140014a50
jmp 0x14001329b
Function at 0x1400136d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x208], 0
mov rbx, rcx
jne 0x140013715
lea rax, str.Directory_listener_has_not_been_configured.
mov r8d, 0x54
mov rcx, qword [rcx + 0x210]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonDirectoryListener.cpp
mov r9d, 1
mov qword [rsp + 0x20], rax
call fcn.140012d40
xor al, al
add rsp, 0x30
pop rbx
ret
cmp qword [rcx + 0x220], 0
je 0x14001372e
lea rax, str.Directory_listener_is_already_running.
mov r8d, 0x5a
jmp 0x1400136ef
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x220], rax
test rax, rax
jne 0x140013760
mov rcx, qword [rbx + 0x210]
lea rax, str.Failed_to_start_directory_listener__no_start_event_.
mov r8d, 0x61
jmp 0x1400136f6
xor eax, eax
lea r8, [0x1400139a0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x218], rax
test rax, rax
jne 0x1400137a4
mov rcx, qword [rbx + 0x210]
lea rax, str.Failed_to_create_directory_listener_thread.
mov r8d, 0x68
jmp 0x1400136f6
mov rcx, qword [rbx + 0x220]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x210]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonDirectoryListener.cpp
test eax, eax
je 0x1400137da
lea rax, str.Failed_to_start_directory_listener_thread.
mov r8d, 0x6e
jmp 0x1400136fd
mov r9d, 4
lea rax, str.Directory_listener_thread_started.
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x6e]
call fcn.140012d40
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140017b14
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, str.FlsAlloc
xor ecx, ecx
lea r8, [0x140077058]
lea rdx, str.FlsAlloc
call fcn.140017690
mov rbx, rax
test rax, rax
je 0x140017b54
mov rcx, rax
call fcn.140015834
mov rcx, rdi
call rbx
jmp 0x140017b5a
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140017bbc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, str.FlsGetValue
mov ecx, 2
lea r8, [0x140077080]
lea rdx, str.FlsGetValue
call fcn.140017690
mov rdi, rax
test rax, rax
je 0x140017bfd
mov rcx, rax
call fcn.140015834
mov ecx, ebx
call rdi
jmp 0x140017c05
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140017c10
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, str.FlsSetValue
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140077098]
call fcn.140017690
mov rsi, rax
test rax, rax
je 0x140017c5c
mov rcx, rax
call fcn.140015834
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x140017c67
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14004cdf4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14004cbdb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004cbdb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004cbdb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004cbdb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004cbdb
cmp dword [rcx + 0x84], 0xe
jbe 0x14004cbdb
cmp dword [rcx + 0xf8], 0
je 0x14004cbdb
mov ecx, ebx
call fcn.14004cd0c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14004c954
cmp dword [rbp + 0x20], 0
je 0x14004cc28
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004cc30
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004cb74