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

Disassembly:
jmp 0x1800d310c
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x18013d4b0]
test r9, r9
lea rdi, [0x180114938]
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 0x1800d3175
mov rax, 0xfffffffffffffffe
jmp 0x1800d32c7
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x1800d31e5
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x1800d31a1
test rsi, rsi
je 0x1800d3193
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x1800d32c7
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x1800d31ae
mov r8b, 2
jmp 0x1800d31ca
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x1800d31bb
mov r8b, 3
jmp 0x1800d31ca
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x1800d32b3
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 0x1800d320a
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1800d32b3
cmp r9b, bpl
jb 0x1800d32b3
cmp r9b, r8b
jae 0x1800d32b3
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x1800d3239
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1800d32b3
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 0x1800d3219
cmp rbx, rbp
jae 0x1800d3266
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1800d3169
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1800d32b3
cmp edx, 0x110000
jae 0x1800d32b3
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 0x1800d32b3
test rsi, rsi
je 0x1800d32a4
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x1800d32c7
xor eax, eax
mov qword [r10], rax
call fcn.180002559
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180002397
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180002324
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800c3438
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1801131d8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1801131d0]
call fcn.1800c29d8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1800c3478
call qword [case.0x18007552e.0]
jmp 0x1800c347e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800024fa
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x1800359c0
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 [0x180135088]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x180035a24
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12b, 1
mov byte [rsp + 0x40], r12b
jmp 0x180035a2a
movzx r12d, byte [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.180003a85
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x180035bcf
cmp byte [rsi + 0x35a], r14b
je 0x180035a78
cmp dword [rsi + 0x18], 0x400
jb 0x180035a78
mov dword [rsi + 0x18], r14d
mov rcx, rsi
call fcn.180003fa8
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x180035bcf
inc dword [rsi + 0x18]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rsi + 0x14c]
jl 0x180035bd5
lea r13, [rsp + 0x8c0]
mov dword [rsp + 0x28], eax
lea rax, [0x1800f9000]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180001181
mov ebx, eax
test eax, eax
jle 0x180035b4f
mov ebp, dword [rsp + 0x30]
cmp ebp, 0x800
jae 0x180035b11
mov edi, 0x800
sub rdi, rbp
lea rbx, [rsp + 0x50]
add rbx, rbp
call fcn.1800052fe
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.180003869
mov ebx, eax
mov eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
test ebx, ebx
jle 0x180035b53
cmp ebp, 0x800
jae 0x180035b3f
add ebp, ebx
mov eax, ebp
mov edx, 0x800
sub rdx, rax
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [0x1800f9004]
call fcn.180005b9b
mov ebx, eax
test ebx, ebx
jle 0x180035b53
cmp ebp, 0x800
jae 0x180035b53
add ebp, ebx
jmp 0x180035b53
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x180035b98
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 0x180035b98
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.180002c25
cmp dword [rsi + 0x18], 0x186a0
jb 0x180035bd8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180035bc5
cmp qword [rsp + 0x30], 0xa00000
jge 0x180035bc5
mov dword [rsi + 0x18], r14d
jmp 0x180035bd8
mov rcx, rsi
call fcn.180004043
jmp 0x180035bd8
mov r14d, 0xffffffff
mov ebx, r14d
test r15, r15
je 0x180035beb
test r12b, r12b
je 0x180035beb
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.180002397
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800026cb
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x18001ed20
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 8]
mov rbx, rcx
mov rcx, rdi
call fcn.180005277
mov esi, eax
test eax, eax
jns 0x18001edfc
mov qword [rsp + 0x30], rbp
lfence
mov ebp, dword [rbx + 0x17b0]
cmp ebp, 0x3e8
je 0x18001edb4
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18001edb4
mov rbx, qword [rbx + 0x17b8]
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.CVideoCaptureFbc::DeleteInstance:_thread_did_not_respond.__CHECKPOINT__d___Last_Capture__dms_ago_
call fcn.1800024fa
mov rcx, rdi
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov rbp, qword [rsp + 0x30]
mov dword [0x180132050], 7
jg 0x18001ee11
lfence
mov r8d, esi
lea rdx, str.CVideoCaptureFbc::DeleteInstance:_CVideoCaptureFbc_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rbx, rbx
je 0x18001ee11
lfence
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002806
Capabilities:
Check if file exists

Disassembly:
jmp 0x180015c50
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 0x180015db5
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x180015cb3
cmp eax, 0x2f
je 0x180015cb3
mov ecx, eax
call fcn.180002a27
test eax, eax
je 0x180015db5
cmp word [rbx + 2], 0x3a
jne 0x180015db5
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x180015cb3
cmp ax, 0x2f
jne 0x180015db5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180015d99
test al, 0x50
jne 0x180015d99
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 0x180015d20
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.180003dd2
test eax, eax
je 0x180015d6b
test r14d, r14d
je 0x180015d54
cmp dword [rsp + 0x60], edi
jne 0x180015d54
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180015d6b
and ebp, 0xffffe8f7
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x180015d89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x180015d0a
xor ecx, ecx
jmp 0x180015d04
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 0x180002860
Capabilities:
Get common file path

Disassembly:
jmp 0x180074270
push rbx
push rbp
push rdi
push r14
sub rsp, 0x258
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, r8
mov ebp, r9d
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.180003a85
test rbx, rbx
je 0x180074492
test r14, r14
je 0x180074492
test ebp, ebp
je 0x180074492
mov edx, 0x104
mov qword [rsp + 0x250], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
lea r9, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.180002bfd
xor edx, edx
lea rcx, [rsp + 0x30]
xor esi, esi
call fcn.180003b8e
mov qword [rdi], rax
test rax, rax
jne 0x1800743c4
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007435c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x30]
lea rdx, str.CDllWrapper::Initialize:_Could_not_locate__S._Error_0x_08X
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, rdi
mov esi, 0x80004005
call fcn.180003d23
test esi, esi
jns 0x18007448a
lfence
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007439d
mov r8d, esi
lea rdx, str.CDllWrapper::InitializeSystemDll:_Initialize_failed_0x_08X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, esi
mov rsi, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
add rsp, 0x258
pop r14
pop rdi
pop rbp
pop rbx
ret
mov eax, 8
mul rbp
cmovo rax, rbx
mov rcx, rax
call fcn.1800051a5
mov qword [rdi + 8], rax
test rax, rax
jne 0x180074411
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180074407
lea rdx, str.CDllWrapper::Initialize:_E_OUTOFMEMORY
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov esi, 0x8007000e
jmp 0x180074371
mov dword [rdi + 0x10], ebp
mov ebx, esi
test ebp, ebp
je 0x180074369
nop
mov rcx, qword [rdi]
mov ebp, ebx
mov rdx, qword [r14 + rbp*8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 8]
mov qword [rcx + rbp*8], rax
mov rax, qword [rdi + 8]
cmp qword [rax + rbp*8], rsi
je 0x18007444d
inc ebx
cmp ebx, dword [rdi + 0x10]
jb 0x180074420
jmp 0x180074369
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180074480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [r14 + rbp*8]
lea rdx, str.CDllWrapper::Initialize:_Entrypoint__s__not_found__0x_08X
mov r9d, eax
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov esi, 0x80004005
jmp 0x180074371
lfence
jmp 0x18007439d
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800744b8
lea rdx, str.CDllWrapper::InitializeSystemDll:_E_INVALIDARG
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, 0x80070057
jmp 0x1800743a7
Function at 0x180002c25
Capabilities:
Print debug messages

Disassembly:
jmp 0x180034030
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, 0x868
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.1800052fe
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x450]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x1ff
mov rcx, qword [rax]
or rcx, 1
call fcn.180003553
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.1800054fc
lea rax, [rsp + 0x50]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1800340f0
lea r8, [rsp + 0x450]
xor edx, edx
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x180034110
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.180002397
add rsp, 0x868
pop rdi
pop rbx
ret

Function at 0x180002d06
Capabilities:
Write file on windows

Disassembly:
jmp 0x18003d550
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor r9d, r9d
mov rdi, rcx
mov rcx, qword [rcx + 0x1a10]
mov bl, 1
mov dword [rsp + 0x40], r9d
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18003d58c
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18003d58e
xor bl, bl
inc dword [rdi + 0x1c24]
movzx eax, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180002da1
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x180045910
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.180005277
mov edi, eax
test eax, eax
jns 0x180045969
lfence
mov rcx, rbx
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18004597e
lfence
mov r8d, edi
lea rdx, str.DelegateHandler_struct_IMFSample__::DeleteInstance:_DelegateHandler_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rbx, rbx
je 0x18004597e
lfence
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180002e9b
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x180048170
sub rsp, 0x28
mov byte [rcx + 0x758], 1
mov dword [rcx + 0x4f0], 0x10401
call fcn.1800039c7
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800481b4
lea rdx, str._Audio_init_failure___inserting_silence.
lea rcx, vtable.CLogger.0
add rsp, 0x28
jmp fcn.1800024fa
add rsp, 0x28
ret
Function at 0x180002ecd
Capabilities:
Query environment variable

Disassembly:
jmp 0x1800c10c4
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 0x1800c1196
mov rsi, rax
cmp word [rax], r14w
je 0x1800c1117
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1800c10ff
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1800c10fb
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.180004ff7
movsxd rbp, eax
test eax, eax
je 0x1800c1196
mov rcx, rbp
call fcn.180003c38
mov rdi, rax
test rax, rax
je 0x1800c1189
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.180004ff7
test eax, eax
je 0x1800c1189
mov rsi, rdi
mov rdi, r14
jmp 0x1800c118c
mov rsi, r14
mov rcx, rdi
call fcn.180003724
jmp 0x1800c1199
mov rsi, r14
test rbx, rbx
je 0x1800c11a7
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 0x180003012
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x1800210e0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.180005277
mov edi, eax
test eax, eax
jns 0x180021139
lfence
mov rcx, rbx
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18002114e
lfence
mov r8d, edi
lea rdx, str.CVideoCaptureScheduler::DeleteInstance:_EventListener_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rbx, rbx
je 0x18002114e
lfence
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180003071
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 0x180003193
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180005d13
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movabs r10, 0x180132d1d
xor r9d, r9d
mov dword [rbp - 0x39], 0x74537844
push rbx
je method.CNvMFTMuxSink.virtual_16
mov edx, dword [rdx]
mov dword [rbp - 0x35], 0x746f6f42
invalid
or byte [rcx], cl
Function at 0x1800032a1
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 0x180003314
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x18003c280
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.180005277
mov edi, eax
test eax, eax
jns 0x18003c2d9
lfence
mov rcx, rbx
call fcn.1800013a7
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18003c2ee
lfence
mov r8d, edi
lea rdx, str.CStageEncodeVideo::DeleteInstance:_CStageEncodeVideo_stop_failed._0x_08X
lea rcx, vtable.CLogger.0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800024fa
test rbx, rbx
je 0x18003c2ee
lfence
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret