joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180058540
Capabilities:
Delete file
Get file size

Disassembly:
jmp 0x180058540
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov esi, edx
mov rbx, rcx
lea rax, vtable.FileWriter.0
mov qword [rcx], rax
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x18005862f
mov dil, 1
xor eax, eax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop
test eax, eax
je 0x18005859e
movzx edi, dil
xor eax, eax
cmp qword [rsp + 0x40], rax
cmovg edi, eax
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test eax, eax
jne 0x1800585de
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800585de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8d, eax
lea rdx, str.FileWriter::FileWriter:_Cannot_close_handle___errno___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
nop
mov qword [rbx + 8], 0xffffffffffffffff
test dil, dil
je 0x18005862f
lea rcx, [rbx + 0x12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test eax, eax
jne 0x18005862f
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x18005862f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r9d, eax
lea r8, [rbx + 0x12]
lea rdx, str.FileWriter::FileWriter:_could_not_delete_empty_file__s__errno___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
nop
test sil, 1
je 0x180058643
mov edx, 0x118
mov rcx, rbx
call fcn.180001bf4
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800586c0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1800586c0
push rbx
push rbp
push r14
sub rsp, 0x30
mov rbx, rcx
mov rbp, r8
mov rcx, qword [rcx + 8]
mov r14, rdx
cmp rcx, 0xffffffffffffffff
je 0x180058851
cmp byte [rbx + 0x11], 0
jne 0x180058851
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x60], rdi
xor edx, edx
xor edi, edi
mov dword [rsp + 0x50], 0
lea r9d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180058725
movsxd rdi, dword [rsp + 0x50]
shl rdi, 0x20
add rdi, rsi
jmp 0x180058754
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180058754
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.FileWriter::Write:_cannot_get_current_position__errno___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
cmp byte [rbx + 0x11], 0
jne 0x1800587f1
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov r8d, ebp
mov dword [rsp + 0x68], 0
mov rdx, r14
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18005880e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800587c9
mov r9d, dword [rsp + 0x68]
lea rdx, str.FileWriter::Write:_FATAL_ERROR___WriteFile_Failed__size___d__wasWritten___d__current_pos___lld__errno___d
mov dword [rsp + 0x28], eax
lea rcx, vtable.CLogger.0
mov r8, rbp
mov qword [rsp + 0x20], rdi
call fcn.1800024fa
cmp byte [rbx + 0x10], 0
mov byte [rbx + 0x11], 1
jne 0x180058804
test esi, esi
jne 0x1800587dd
cmp dword [rsp + 0x50], esi
je 0x1800587f1
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, esi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
jmp 0x1800587e7
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x18005884b
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18005884b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.FileWriter::Write:_FlushFileBuffers_failed_with_errno__d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov byte [rbx + 0x10], 0
jmp 0x1800587f1
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800587fb
movzx r9d, byte [rbx + 0x11]
lea rdx, str.FileWriter::Write:_invalid_state._m_hFile__X__m_bFileWriteFailed__d_
mov r8, qword [rbx + 8]
lea rcx, vtable.CLogger.0
call fcn.1800024fa
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
Function at 0x18005ba90
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x18005ba90
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.180005277
mov esi, eax
test eax, eax
jns 0x18005bb65
mov qword [rsp + 0x38], rbp
lfence
mov ebp, dword [rdi + 0x1798]
cmp ebp, 0x3e8
je 0x18005bb22
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18005bb22
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdi + 0x17a0]
call fcn.180002dd8
mov rcx, rax
mov r8d, ebp
sub rcx, rbx
movabs rax, 0x346dc5d63886594b
imul rcx
lea rcx, vtable.CLogger.0
sar rdx, 0xb
mov r9, rdx
shr r9, 0x3f
add r9, rdx
lea rdx, str.H264VideoCapture::DeleteInstance:_thread_did_not_respond.__CHECKPOINT__d___Last_Capture__dms_ago_
call fcn.1800024fa
mov rbx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov rbp, qword [rsp + 0x38]
mov dword [0x180132050], 7
jg 0x18005bb7a
lfence
mov r8d, esi
lea rdx, str.H264VideoCapture::DeleteInstance:_H264VideoCapture_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rdi, rdi
je 0x18005bb7a
lfence
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18005d580
Capabilities:
Get disk size

Disassembly:
jmp 0x18005d580
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rdi, [rcx + 0xb50]
movzx esi, dl
mov rbx, rcx
test rdi, rdi
je 0x18005d5f0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x104
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test sil, sil
jne 0x18005d5ff
cmp byte [rbx + 8], sil
jne 0x18005d6ab
xor eax, eax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x18005d6ab
mov rax, qword [rsp + 0x40]
cmp rax, 0x12c00000
jae 0x18005d6ab
mov rcx, qword [rbx + 0xb28]
test rcx, rcx
je 0x18005d65d
mov rcx, qword [rcx]
xor r8d, r8d
mov r9d, 0x80004005
mov dword [rsp + 0x20], 0
mov rax, qword [rcx]
lea edx, [r8 + 0x6e]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x40]
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18005d6a7
shr rax, 0x14
lea rcx, [0x180102a90]
test byte [rbx + 0x50], 2
lea r8, [0x180102a94]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
cmovne r8, rcx
lea rdx, str.MFMuxer::CheckDiskSpace:__s__Insufficient_disk_space_on__s_._Available__lld_MB_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor al, al
jmp 0x18005d6ad
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180002397
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18005d930
Capabilities:
Delete file
Get file size

Disassembly:
jmp 0x18005d930
push rbx
push rsi
sub rsp, 0x178
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rcx
xor edx, edx
mov rcx, qword [rcx + 0xb48]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsi + 0xb48]
lea rdx, [0x180004575]
xorps xmm0, xmm0
mov r9d, 1
mov r8, rsi
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1800fe660]
cvttsd2si rax, xmm0
mov qword [rsi + 0xb40], rax
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ebx, eax
test eax, eax
jns 0x18005db4c
mov qword [rsp + 0x198], rbp
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x170], r15
lfence
xor r15d, r15d
lea rbp, [rsi + 0x70]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rbp
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18005dac4
mov qword [rsp + 0x1a0], rdi
lfence
xor eax, eax
mov dil, 1
mov qword [rsp + 0x40], rax
test rbp, rbp
je 0x18005da4b
lfence
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], r15
lea r9d, [r15 - 1]
mov dword [rsp + 0x28], 0x104
mov r8, rbp
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18005da6a
cmp qword [rsp + 0x40], r15
movzx edi, dil
cmovg edi, r15d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
mov rdi, qword [rsp + 0x1a0]
je 0x18005dac4
lfence
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18005dac4
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18005dac4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x50]
lea rdx, str.MFM::CSF___Failed_to_delete_file__s___error:0x_X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
cmp dword [0x18013218c], 7
mov r14, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x198]
mov dword [0x180132050], 7
jg 0x18005db16
lfence
test byte [rsi + 0x50], 2
lea rax, [0x180102a90]
lea r8, [0x180102a94]
mov r9d, ebx
cmovne r8, rax
lea rdx, str.MFMuxer::Finalize__s__Stop_failed_with_code_0x_08X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
cmp qword [rsi + 0xb28], r15
je 0x18005db42
lfence
mov rax, qword [rsi + 0xb28]
mov edx, 0x69
mov r9d, ebx
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180002397
add rsp, 0x178
pop rsi
pop rbx
ret
Function at 0x180065360
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x180065360
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x18013218c], 6
mov rdi, rcx
mov dword [0x180132050], 6
jg 0x180065398
lea rdx, str.CH264EncodeVideo::DeleteInstance:_IN
lea rcx, vtable.CLogger.0
call fcn.1800024fa
lea rcx, [rdi + 8]
call fcn.180005277
mov esi, eax
test eax, eax
jns 0x1800653ee
lfence
lea rcx, [rdi + 8]
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180065405
lfence
mov r8d, esi
lea rdx, str.CH264EncodeVideo::DeleteInstance:_EventListener_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rdi, rdi
je 0x180065405
lfence
mov rax, qword [rdi + 8]
lea rcx, [rdi + 8]
mov edx, 1
call qword [rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18006ae50
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x18006ae50
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x18013218c], 6
mov rdi, rcx
mov dword [0x180132050], 6
jg 0x18006ae88
lea rdx, str.CH265EncodeVideo::DeleteInstance:_IN
lea rcx, vtable.CLogger.0
call fcn.1800024fa
lea rcx, [rdi + 8]
call fcn.180005277
mov esi, eax
test eax, eax
jns 0x18006aede
lfence
lea rcx, [rdi + 8]
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18006aef5
lfence
mov r8d, esi
lea rdx, str.CH265EncodeVideo::DeleteInstance:_EventListener_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rdi, rdi
je 0x18006aef5
lfence
mov rax, qword [rdi + 8]
lea rcx, [rdi + 8]
mov edx, 1
call qword [rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800704c0
Capabilities:
Get common file path

Disassembly:
jmp 0x1800704c0
mov r11, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x480], rax
cmp dword [0x18013b444], 5
ja 0x180070607
xor edx, edx
mov r8d, 0x20a
lea rcx, [r11 - 0x228]
call fcn.180003a85
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x60]
call fcn.180003a85
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x180070580
lfence
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180070579
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9d, ebx
lea rdx, str.GenerateDump_:_Could_not_get_add_directory_GetFolderPath_failed_with_GLE__d___hr__X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, ebx
jmp 0x18007060c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, str._sNVIDIA_CorporationCrashDumps_nvcontainer.exe.0x_x.m.dmp
lea rcx, [rsp + 0x270]
call fcn.18000314d
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rsi + 3]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180070631
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180070607
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GenerateDump_:_Could_not_open_crash_dump_file_CreateFile_failed_with_GLE__d_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, 0x80004005
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180002397
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lfence
lea rcx, [rsp + 0x48]
call fcn.18000295a
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1800014ec
test eax, eax
jne 0x180070692
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180070698
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GenerateDump_:_MiniDumpWriteDump_failed_with_GLE__d_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180070698
inc dword [0x18013b444]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x48]
call fcn.1800012cb
mov eax, ebx
jmp 0x18007060c
Function at 0x180070730
Capabilities:
Get common file path

Disassembly:
jmp 0x180070730
mov rax, rsp
push rdi
sub rsp, 0x4a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, rcx
cmp dword [0x18013b440], 5
ja 0x180070974
mov dword [0x180132050], 6
cmp dword [0x18013218c], 6
jg 0x180070794
lea rdx, str.GenerateDumpOnException_:_IN
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call fcn.180003a85
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x280]
call fcn.180003a85
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x18007081f
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180070974
lfence
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9d, ebx
lea rdx, str.GenerateDumpOnException_:_Could_not_get_add_directory_GetFolderPath_failed_with_GLE__d___hr__X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180070974
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, eax
lea r8, [rsp + 0x280]
lea rdx, str._sNVIDIA_CorporationCrashDumps_nvcontainer.exe.0x_x.m.dmp
lea rcx, [rsp + 0x70]
call fcn.18000314d
mov dword [0x180132050], 6
cmp dword [0x18013218c], 6
jg 0x18007086c
lea r8, [rsp + 0x70]
lea rdx, str.GenerateDumpOnException_:_Writing_crash_dump_to___s_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rsi + 3]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800708d7
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180070974
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GenerateDumpOnException_:_Could_not_open_crash_dump_file_CreateFile_failed_with_GLE__d_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180070974
lea rcx, [rsp + 0x50]
call fcn.18000295a
nop
test rdi, rdi
je 0x180070905
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x44], rdi
mov dword [rsp + 0x4c], 1
lea r9, [rsp + 0x40]
jmp 0x180070908
xor r9d, r9d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800014ec
test eax, eax
jne 0x18007095a
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180070960
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GenerateDumpOnException_:_MiniDumpWriteDump_failed_with_GLE__d_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180070960
inc dword [0x18013b440]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.1800012cb
mov eax, 1
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.180002397
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800711c0
Capabilities:
Create thread

Disassembly:
jmp 0x1800711c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rdi, [rcx + 0x5c]
mov rbx, rcx
mov dword [rdi], 0
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1800711e6
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rsp + 0x28], rdi
lea r8, [0x180004b29]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
jne 0x18007124f
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007123f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CSPWorkerThread::Start:_CreateThread_Failed._Error__0x_08X
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, 0x80004005
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp dword [rbx + 0x10], 0
je 0x18007127f
cmp dword [0x18013218c], 6
mov dword [0x180132050], 6
jg 0x18007127f
lea r8, [rbx + 0x28]
lea rdx, str.CSPWorkerThread::Start:_started___s_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1800718b0
Capabilities:
Delete file
Get file size

Disassembly:
jmp 0x180058410
jmp 0x1800718b0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
lea rax, vtable.FileWriter.0
mov qword [rcx], rax
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800584f8
mov dil, 1
xor eax, eax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop
test eax, eax
je 0x180058467
movzx edi, dil
xor eax, eax
cmp qword [rsp + 0x40], rax
cmovg edi, eax
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test eax, eax
jne 0x1800584a7
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800584a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8d, eax
lea rdx, str.FileWriter::FileWriter:_Cannot_close_handle___errno___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
nop
mov qword [rbx + 8], 0xffffffffffffffff
test dil, dil
je 0x1800584f8
lea rcx, [rbx + 0x12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test eax, eax
jne 0x1800584f8
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800584f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r9d, eax
lea r8, [rbx + 0x12]
lea rdx, str.FileWriter::FileWriter:_could_not_delete_empty_file__s__errno___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
lea rax, vtable.WAVFileWriter.0
mov qword [rcx], rax
cmp byte [rcx + 0x10], 0
jne 0x180071a00
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop
mov ebx, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop
mov ecx, ebx
shr ecx, 0x18
mov byte [rdi + 0x11f], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [rdi + 0x11e], cl
mov ecx, ebx
shr ecx, 8
mov byte [rdi + 0x11d], cl
mov byte [rdi + 0x11c], bl
lea ecx, [rbx - 0x44]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 0x15b], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0x15a], al
mov eax, ecx
shr eax, 8
mov byte [rdi + 0x159], al
mov byte [rdi + 0x158], cl
cmp byte [rdi + 0x10], 0
je 0x1800719ea
mov dword [rdi + 0x118], 0x46464952
mov dword [rdi + 0x120], 0x45564157
mov dword [rdi + 0x124], 0x20746d66
mov dword [rdi + 0x128], 0x28
mov dword [rdi + 0x12c], 0x2fffe
mov dword [rdi + 0x130], 0xbb80
mov dword [rdi + 0x134], 0x2ee00
mov dword [rdi + 0x138], 0x100004
mov dword [rdi + 0x13c], 0x100016
mov dword [rdi + 0x140], 3
movups xmm0, xmmword [0x180109608]
movups xmmword [rdi + 0x144], xmm0
mov dword [rdi + 0x154], 0x61746164
mov r8d, 0x44
lea rdx, [rdi + 0x118]
mov rcx, rdi
call fcn.180004ecb
nop
mov r8d, 0x44
lea rdx, [rdi + 0x118]
mov rcx, rdi
call fcn.180004ecb
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x180001a05
Function at 0x1800730b0
Capabilities:
Get common file path

Disassembly:
jmp 0x1800730b0
push rbx
sub rsp, 0x250
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp qword [rcx + 0x18], 0
mov rbx, rcx
jne 0x1800732ad
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x180073120
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007311c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvFBCDLL::LoadNVFBCDll:_GetSystemDirectoryW_failed._gle___X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor eax, eax
jmp 0x18007319c
cmp eax, 0x104
jbe 0x18007315d
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007311c
lfence
mov r9d, 0x104
lea rdx, str.NvFBCDLL::LoadNVFBCDll:_Given_string_buffer_size_is_insufficient._required__d__provided__d_
mov r8d, eax
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor eax, eax
jmp 0x18007319c
lea rax, str.NvFBC64.dll
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_s
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.180002bfd
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180003b8e
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1800731d4
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800732ad
lea rdx, str.NvFBCDLL::Initialize:_failed_to_load_NVFBC_DLL
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x1800732ad
lea rdx, str.NvFBC_GetStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
jne 0x18007321b
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007321b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvFBCDLL::Initialize:_Failed_to_get_fptr_for_NvFBC_GetStatusEx._gle___X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, qword [rbx + 0x18]
lea rdx, str.NvFBC_CreateEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
test rax, rax
jne 0x180073264
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180073264
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvFBCDLL::Initialize:_Failed_to_get_fptr_for_NvFBC_CreateEx._gle___X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, qword [rbx + 0x18]
lea rdx, str.NvFBC_SetGlobalFlags
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1800732ad
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800732ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvFBCDLL::Initialize:_Failed_to_get_fptr_for_NvFBC_SetGlobalFlags_._gle___X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
add rsp, 0x250
pop rbx
ret