joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c525c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x80
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r13, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test ebx, ebx
je 0x1401c53d5
mov qword [rsi + 0x10], r14
and qword [rsi + 0x18], 0
mov qword [rsi + 0x20], r13
lea rbx, vtable.CppSQLite3DB.0
mov qword [rsp + 0x30], rbx
and qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0x32
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1401a9e20
lea r8, [rsp + 0x30]
xor edx, edx
lea ecx, [rdx + 2]
call fcn.14022e9d4
test al, al
je 0x1401c53bd
lea rdx, str.select_scope_from_webappsstore2_
lea rcx, [rsp + 0x20]
call fcn.14000cb18
nop
lea rdx, str.webappsstore2
lea rcx, [rsp + 0x30]
call fcn.1401aa690
test al, al
jne 0x1401c5344
mov r8d, 0x20
lea rdx, str.select_domain_from_webappsstore_
lea rcx, [rsp + 0x20]
call fcn.14000c9f8
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1401aa200
nop
lea rcx, [rsp + 0x48]
call fcn.1401a94e0
cmp byte [rsp + 0x60], 0
jne 0x1401c5391
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x1401c5391
lea rcx, [rsi + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax]
lea rcx, [rsp + 0x48]
call fcn.1401aa0c0
jmp 0x1401c5359
lea rcx, [rsp + 0x48]
call fcn.1401a9f00
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c53bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1401c53c6
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call fcn.1401a9d90
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1401c53fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r13, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test ebx, ebx
je 0x1401c5514
mov qword [rsi + 0x10], r14
and qword [rsi + 0x18], 0
mov qword [rsi + 0x20], r13
lea rbx, vtable.CppSQLite3DB.0
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0x32
mov rdx, r12
lea rcx, [rsp + 0x28]
call fcn.1401a9e20
lea r8, [rsp + 0x28]
mov edx, 5
lea ecx, [rdx - 4]
call fcn.14022e9d4
test al, al
je 0x1401c54fc
lea r8, str.select__from_moz_cookies_
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1401aa200
nop
lea rcx, [rsp + 0x40]
call fcn.1401a94e0
cmp byte [rsp + 0x58], 0
jne 0x1401c54f1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x1401c54f1
lea rcx, [rsi + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401aa0c0
jmp 0x1401c54b9
lea rcx, [rsp + 0x40]
call fcn.1401a9f00
nop
jmp 0x1401c5505
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x28]
call fcn.1401a9d90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1401c67fc
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x48
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov r12, rcx
xor esi, esi
cmp qword [rcx + 0x10], rsi
je 0x1401c6963
cmp qword [rcx + 0x20], rsi
je 0x1401c6963
and qword [rbp + 0x40], rsi
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14032e5f0]
xor edx, edx
lea r8d, [rsi + 4]
lea rcx, [0x14032e730]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x1401c6954
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1401c6958
and qword [rbp + 0x38], 0
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
mov rdx, qword [r12 + 0x20]
call qword [rax + 0x18]
mov esi, eax
test eax, eax
js 0x1401c6945
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1401c6949
mov rax, qword [rcx]
lea r8, [r12 + 0x18]
lea rdx, [0x14032e5c0]
call qword [rax]
mov esi, eax
test eax, eax
js 0x1401c6945
cmp qword [r12 + 0x18], 0
je 0x1401c6945
lea rcx, [0x140376150]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x48], rax
test rax, rax
jne 0x1401c68e1
mov ecx, 0x8007000e
call fcn.14000cbb8
nop
lea rcx, str.SELECT__FROM___InstanceDeletionEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x1401c6905
mov ecx, 0x8007000e
call fcn.14000cbb8
nop
mov rcx, qword [r12 + 0x10]
mov rax, qword [r12 + 0x18]
mov r10, qword [rcx]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x80
mov r8, rdi
mov rdx, rbx
call qword [r10 + UnRegisterTypeLib]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1401c6954
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1401c6963
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
add rsp, 0x48
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401c697c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rcx
lea rax, vtable.Piriform::CWMIMonitor.0
mov qword [rcx], rax
lea rsi, [rcx + 8]
and qword [rsi], 0
lea rbp, [rcx + 0x10]
and qword [rbp], 0
and qword [rcx + 0x18], 0
mov ecx, 0x18
call fcn.1400be454
mov rcx, rax
test rax, rax
je 0x1401c69e0
lea rax, vtable.Piriform::IWbemObjectSinkImpl.0
mov qword [rcx], rax
and dword [rcx + 8], 0
mov qword [rcx + 0x10], rdi
jmp 0x1401c69e2
xor ecx, ecx
mov qword [rdi + 0x20], rcx
test rcx, rcx
je 0x1401c69f1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x20], rsi
lea r9, [0x14032e770]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14032e710]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401c6ab7
cmp qword [rsi], 0
je 0x1401c6ab7
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x1401c6a4a
mov ecx, 0x8007000e
call fcn.14000cbb8
nop
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rbp
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x18]
test eax, eax
js 0x1401c6aad
mov rcx, qword [rbp]
test rcx, rcx
je 0x1401c6aad
and dword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401c7714
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov rdi, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
call fcn.1400046d0
mov r8, qword [rax]
mov rcx, rax
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp dword [rax + 0x10], 1
jbe 0x1401c77a6
call fcn.14023ddcc
test al, al
jne 0x1401c77a6
mov byte [rdi + 0x10], al
mov eax, 0xfeff
mov word [rsp + 0x60], ax
and dword [rsp + 0x68], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 0x28
lea rdx, str.Windows_Registry_Editor_Version_5.00_r_n_r_n
jmp 0x1401c77b3
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str.REGEDIT4_r_n_r_n
lea rcx, [rsp + 0x30]
call fcn.14000c9f8
mov r8b, byte [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001fbc0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c77ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1401c9274
Capabilities:
Enumerate internet cache

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov r12, r8
mov rbp, rdx
test rdx, rdx
cmove rbp, rcx
and qword [rax - 0x40], 0
and qword [rax - 0x38], 0
and qword [rax - 0x30], 0
xor edi, edi
mov esi, 0x1000
xor ebx, ebx
lea eax, [rdi + 0x7a]
test eax, eax
je 0x1401c9328
mov rcx, rdi
cmp eax, 0x7a
jne 0x1401c9369
call fcn.1400bee7c
mov r11d, esi
mov eax, 2
mul r11
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400b9290
mov rdi, rax
mov dword [rax], esi
mov dword [rsp + 0x78], esi
lea r8, [rsp + 0x78]
mov rdx, rax
test rbx, rbx
jne 0x1401c9317
mov rcx, r12
call qword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov rbx, rax
xor eax, eax
test rbx, rbx
setne al
jmp 0x1401c9320
mov rcx, rbx
call qword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x1401c9350
xor eax, eax
jmp 0x1401c92b8
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401c935f
mov rax, qword [rbp]
mov rdx, rdi
mov rcx, rbp
call qword [rax]
mov dword [rsp + 0x78], esi
lea r8, [rsp + 0x78]
mov rdx, rdi
jmp 0x1401c9317
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [rsp + 0x78]
jmp 0x1401c92b8
mov eax, 0x103
jmp 0x1401c92b8
call fcn.1400bee7c
test rbx, rbx
je 0x1401c937d
mov rcx, rbx
call qword [sym.imp.WININET.dll_FindCloseUrlCache]
nop
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1401cad24
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 0x18]
mov rbx, rdx
mov rdi, rcx
test dword [rcx + 0x28], eax
je 0x1401cad92
bt eax, 0x14
jb 0x1401cad6c
mov rcx, qword [rbx + 8]
lea rdx, str.DOMStore:
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x1401cad6c
mov rcx, qword [rbx + 8]
lea rdx, str.UserData:
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401cad92
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401cad92
mov rdx, rbx
mov rcx, rdi
call fcn.1401c93a4
mov rdx, qword [rbx + 8]
mov rcx, rdi
call fcn.1401ca634
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401cb870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14023dd4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
cmp dword [rsp + 0x28], 0
je 0x1401cb8ae
mov rcx, qword [rsp + 0x20]
call fcn.14023dbec
mov al, bl
add rsp, 0x30
pop rbx
ret
Function at 0x1401d3b40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor ecx, ecx
call fcn.1400be8b4
lea rcx, [rbp - 0x38]
mov rdx, rax
call fcn.1401d3af0
mov r11d, dword [rbp - 0x24]
mov rcx, qword [rbx + 8]
mov edi, 4
lea rax, [rbp - 0x40]
add r11d, 0x76c
lea rdx, str.YEAR
xor r8d, r8d
mov r9d, edi
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rbp - 0x28]
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
inc r11d
lea rdx, str.MONTH
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rbp - 0x2c]
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
lea rdx, [0x140374568]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rbp - 0x30]
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
lea rdx, str.HOUR
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rbp - 0x34]
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
lea rdx, str.MINUTE
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rbp - 0x38]
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
lea rdx, str.SECOND
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x40], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1401dcd00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rbx, rdx
mov r14, rcx
mov esi, 0xd
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x1401dcea7
and qword [rbp - 0x28], 0
and qword [rbp - 0x20], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
lea r9d, [rsi - 0xc]
mov r8d, 0xc0000000
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14007db5c
mov esi, eax
mov rdi, qword [rbp - 0x28]
test eax, eax
js 0x1401dce99
lea rdx, [r14 + 0x18]
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x40]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401dcd9b
call fcn.14001072c
mov esi, eax
jmp 0x1401dcd9d
xor esi, esi
test esi, esi
js 0x1401dce99
mov rbx, qword [r14 + 0x28]
jmp 0x1401dce8f
mov r12, qword [rbx]
mov qword [rbp - 0x18], r12
mov r13, qword [rbx + 8]
mov qword [rbp - 0x10], r13
test r13, r13
je 0x1401dcdd3
lock inc dword [r13 + 8]
mov rdi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x10]
mov r12, qword [rbp - 0x18]
test r12, r12
je 0x1401dce5e
mov rax, qword [r12 + 0x30]
test byte [rax], 0x80
je 0x1401dcdea
xor ecx, ecx
jmp 0x1401dcdf0
movzx ecx, word [r12 + 0x2a]
movzx eax, word [r12 + 0x28]
add eax, ecx
movsxd r8, eax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x50]
mov rdx, qword [r12 + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401dce20
call fcn.14001072c
mov esi, eax
jmp 0x1401dce22
xor esi, esi
test esi, esi
js 0x1401dce5e
mov rax, qword [r12 + 8]
cmp qword [r12], rax
je 0x1401dce5e
sub rax, qword [r12]
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x58]
mov r8d, eax
mov rdx, qword [r12]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401dce5c
call fcn.14001072c
mov esi, eax
jmp 0x1401dce5e
xor esi, esi
test r13, r13
je 0x1401dce8b
lock dec dword [r13 + 8]
jne 0x1401dce87
mov rdi, qword [rbp - 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock dec dword [rdi + 0xc]
jne 0x1401dce87
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rbp - 0x28]
add rbx, 0x10
cmp rbx, qword [r14 + 0x30]
jne 0x1401dcdae
test rdi, rdi
je 0x1401dcea7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401e00c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rdx]
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401e00fd
shr eax, 4
and al, 1
je 0x1401e00fd
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rdi
call fcn.14003a2d0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401e4300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r13, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test ebx, ebx
je 0x1401e440e
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r13
lea rbx, vtable.CppSQLite3DB.0
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0x32
mov rdx, r12
lea rcx, [rsp + 0x28]
call fcn.1401a9e20
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.1401e2d70
cmp eax, 1
jg 0x1401e43f6
lea r8, str.select_origin_id_from_Databases_
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1401aa200
nop
lea rcx, [rsp + 0x40]
call fcn.1401a94e0
cmp byte [rsp + 0x58], 0
jne 0x1401e43eb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401e43eb
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401aa0c0
jmp 0x1401e43b4
lea rcx, [rsp + 0x40]
call fcn.1401a9f00
nop
jmp 0x1401e43ff
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x28]
call fcn.1401a9d90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1401e50f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r13, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test ebx, ebx
je 0x1401e52e0
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r13
lea r13, vtable.CppSQLite3DB.0
mov qword [rsp + 0x40], r13
and qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0x32
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.1401a9e20
xor ebx, ebx
mov qword [rsp + 0x30], rbx
xor edi, edi
mov qword [rsp + 0x38], rdi
lea rdx, str.cookies
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401e51ee
lea r9, [rsp + 0x40]
mov r8, r12
lea edx, [rbx + 5]
lea ecx, [rbx + 1]
call fcn.1401e4970
test al, al
je 0x1401e525b
lea ecx, [rbx + 0x28]
call fcn.1400be454
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1401e51df
lea r8, str.select_host_key_creation_utc_from_cookies_
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1401aa200
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14007bca4
jmp 0x1401e5251
lea rdx, str.Origin_Bound_Certs
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401e525b
lea r9, [rsp + 0x40]
mov r8, r12
mov edx, 1
lea ecx, [rdx + 7]
call fcn.1401e4970
test al, al
je 0x1401e525b
mov ecx, 0x28
call fcn.1400be454
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1401e5244
lea r8, str.select_origin_as_host_key__creation_time_as_creation_utc_from_origin_bound_certs_
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1401aa200
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14007bca4
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
test rbx, rbx
je 0x1401e5290
mov rcx, rbx
call fcn.1401a94e0
cmp byte [rbx + 0x18], 0
jne 0x1401e5290
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401e5290
mov rax, qword [rsi]
mov rdx, rbx
mov rcx, rsi
call qword [rax]
mov rcx, rbx
call fcn.1401aa0c0
jmp 0x1401e525b
test rdi, rdi
je 0x1401e52c8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
add eax, esi
jne 0x1401e52c8
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1401e52c8
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x1401e52d1
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x40]
call fcn.1401a9d90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1401e542c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
mov esi, edx
test rdi, rdi
je 0x1401e5473
mov rbx, qword [rdi + 0x70]
mov rdi, qword [rdi + 0x78]
cmp rbx, rdi
je 0x1401e5473
mov rcx, qword [rbx]
cmp dword [rcx + 4], esi
jne 0x1401e5469
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401e546f
add rbx, 0x10
jmp 0x1401e544d
mov al, 1
jmp 0x1401e5475
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401e58e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
mov rbx, rcx
test dl, dl
je 0x1401e5906
lea rcx, [rsp + 0x20]
call fcn.14023dd4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
cmp dword [rsp + 0x28], 0
je 0x1401e5926
mov rcx, qword [rsp + 0x20]
call fcn.14023dbec
mov al, bl
add rsp, 0x30
pop rbx
ret