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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
xor r15d, r15d
mov rbp, r8
mov r8, rcx
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x20], r15d
mov r14d, dword [rcx]
mov r13, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov edi, r15d
mov esi, r15d
mov r12d, r15d
test r14d, r14d
jle 0x14016d3aa
nop word [rax + rax]
cmp esi, dword [rbp + 8]
jg 0x14016d39d
mov rbx, qword [r13]
cmp byte [rbx], 0x98
jne 0x14016d39d
cmp dword [rbx + 0x30], r9d
jne 0x14016d39d
mov rdx, rbx
mov rcx, r8
call fcn.14016c4e0
mov rdx, rax
test rax, rax
jne 0x14016d27c
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x38]
cmp qword [rbp], r15
je 0x14016d2b3
cmp esi, dword [rbp + 8]
jge 0x14016d2b3
mov rax, qword [rbp + 0x10]
mov r9d, dword [rax + r12*4]
mov rax, qword [rbp + 0x20]
cmp r9d, dword [rax + 8]
mov eax, 0xffffffff
cmove r9d, eax
mov rax, qword [rbp + 0x48]
movzx r10d, byte [rax + r12]
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + r12*8]
jmp 0x14016d2bd
mov r8, qword [rdx]
or r9d, 0xffffffff
mov r10d, r15d
movsx eax, word [rbx + 0x34]
cmp eax, r9d
jne 0x14016d367
mov rdx, qword [rdx]
lea rbx, [0x140333060]
movzx eax, byte [rdx]
test al, al
je 0x14016d2fe
nop dword [rax + rax]
movzx ecx, al
movzx eax, byte [r8]
movzx eax, byte [rax + rbx]
cmp byte [rcx + rbx], al
jne 0x14016d2fe
movzx eax, byte [rdx + 1]
inc rdx
inc r8
test al, al
jne 0x14016d2e0
movzx eax, byte [rdx]
movzx ecx, byte [rax + rbx]
movzx eax, byte [r8]
movzx eax, byte [rax + rbx]
cmp ecx, eax
jne 0x14016d367
movzx eax, byte [r13 + 0x18]
movsxd rcx, dword [rsp + 0x98]
xor eax, r10d
cmp r12, rcx
jle 0x14016d332
cmp eax, dword [rsp + 0x20]
jne 0x14016d3ee
jmp 0x14016d336
mov dword [rsp + 0x20], eax
inc edi
add r13, 0x20
test r9d, r9d
jns 0x14016d374
mov r9d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
mov r8d, edi
call fcn.14013e070
test eax, eax
jne 0x14016d374
mov edi, r14d
jmp 0x14016d374
movsxd rax, dword [rsp + 0x98]
cmp r12, rax
jge 0x14016d390
mov r9d, dword [rsp + 0x88]
inc esi
inc r12
cmp edi, r14d
jge 0x14016d39d
mov r8, qword [rsp + 0x70]
jmp 0x14016d240
cmp esi, dword [rbp + 8]
jne 0x14016d3ee
mov r9d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x78]
cmp dword [rsp + 0x20], r15d
mov rax, qword [rsp + 0xa8]
setne r15b
mov dword [rax], r15d
cmp edi, r14d
jl 0x14016d3ca
mov eax, 1
jmp 0x14016d3f0
cmp byte [rbp + 0x2c], 0
je 0x14016d3ee
cmp esi, dword [rbp + 8]
jne 0x14016d3ee
test dword [rsp + 0xa0], 0x80000
jne 0x14016d3ee
mov r8d, edi
call fcn.14013e070
test eax, eax
je 0x14016d3c3
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401b1700
Capabilities:
Check if file exists

Disassembly:
add rcx, 0xffffffffffffffe8
xor r9d, r9d
jmp 0x1401b1070
Function at 0x1401b42ac
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r10, rdx
cmp qword [rdx], rbx
jne 0x1401b42c1
lea eax, [rbx + 1]
jmp 0x1401b4325
lea rdx, [rcx + 0x28]
mov ecx, r8d
mov eax, r8d
shl eax, 0x10
mov r9d, 0xff00
mov dword [rsp + 0x48], ebx
and ecx, r9d
mov qword [rsp + 0x20], rbx
add ecx, eax
mov eax, r8d
shr r8d, 0x18
shl ecx, 8
shr eax, 8
and eax, r9d
lea r9, [rsp + 0x48]
add ecx, eax
add ecx, r8d
mov r8d, 8
mov dword [rdx], ecx
mov rcx, qword [r10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401b4316
call fcn.14001072c
cmp dword [rsp + 0x48], 8
mov eax, 1
cmovne ebx, eax
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1401b43ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [rcx]
mov rbx, r8
test rcx, rcx
je 0x1401b449a
lea r8, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x30], rdx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1401b4425
call fcn.14001072c
and dword [rsp + 0x68], 0
mov byte [rsp + 0x50], 0xff
mov rcx, qword [rdi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x50]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1401b4457
call fcn.14001072c
cmp dword [rsp + 0x68], 1
jne 0x1401b449a
movsx edx, byte [rsp + 0x50]
mov rcx, rbx
call fcn.140062ed8
cmp byte [rsp + 0x50], 0
jne 0x1401b442f
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jge 0x1401b4486
mov ecx, 0x80070057
call fcn.14000cbb8
int3
cmp word [rax], 0x2e
jne 0x1401b4496
xor edx, edx
mov rcx, rbx
call fcn.14007ff3c
xor eax, eax
jmp 0x1401b449f
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1401b5efc
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 0x1401b5f1e
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 0x1401b5f3e
mov rcx, qword [rsp + 0x20]
call fcn.14023dbec
mov al, bl
add rsp, 0x30
pop rbx
ret

Function at 0x1401b97f4
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 0x1401b98f0
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 r8, str.select_manifestURL__id_from_CacheGroups_
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 0x1401b98cd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401b98cd
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401aa0c0
jmp 0x1401b9896
lea rcx, [rsp + 0x40]
call fcn.1401a9f00
nop
jmp 0x1401b98e1
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 0x1401b9c74
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 0x1401b9d70
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 r8, str.select_origin_guid_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 0x1401b9d4d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401b9d4d
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401aa0c0
jmp 0x1401b9d16
lea rcx, [rsp + 0x40]
call fcn.1401a9f00
nop
jmp 0x1401b9d61
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 0x1401b9ff4
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 0x1401ba0f0
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 r8, str.select_path__origin_from_Origins_
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 0x1401ba0cd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401ba0cd
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401aa0c0
jmp 0x1401ba096
lea rcx, [rsp + 0x40]
call fcn.1401a9f00
nop
jmp 0x1401ba0e1
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 0x1401ba248
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x90
mov rbp, r8
mov rbx, rcx
mov rdi, rdx
xor esi, esi
lea rcx, [rax - 0x74]
xor edx, edx
lea r8d, [rsi + 0x6c]
call fcn.1400c7360
and dword [rsp + 0x50], esi
lea rax, [0x14034e618]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi]
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_VarBstrFromCy
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0x440
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test rbp, rbp
jne 0x1401ba2c2
mov bl, 1
jmp 0x1401ba2ce
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov bl, al
xor edi, edi
test bl, bl
je 0x1401ba31e
mov r12d, 0x102
test esi, esi
jne 0x1401ba31e
mov rcx, qword [rsp + 0x88]
lea edx, [rsi + 0xa]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401ba31e
inc edi
test rbp, rbp
je 0x1401ba313
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov bl, al
cmp edi, 0xc8
jle 0x1401ba31a
mov esi, r12d
jmp 0x1401ba31a
cmp edi, 0x14
cmovg esi, r12d
test bl, bl
jne 0x1401ba2da
lea r11, [rsp + 0x90]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1401ba9d8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r12, rcx
mov rdx, qword [rdx]
lea rcx, [rbp - 0x18]
call fcn.14000cb18
nop
mov rdx, qword [r12]
lea rcx, [rbp - 0x20]
call fcn.14000cb18
nop
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or r14d, 0xffffffff
test eax, eax
je 0x1401bab90
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401bab90
mov ecx, 0xb0
call fcn.1400be454
mov qword [rbp + 0x30], rax
test rax, rax
je 0x1401baa60
mov rcx, rax
call fcn.140131050
nop
mov rdx, rax
mov rcx, rsi
call fcn.140082868
cmp qword [rsi], 0
jne 0x1401baa7b
mov edi, 6
jmp 0x1401bab95
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x38], rax
mov r9, qword [rbx]
mov r8, qword [rdi]
lea rdx, str._convert_xml1___s___o___s_
lea rcx, [rbp + 0x38]
call fcn.14000d9c8
mov r8, qword [rbp + 0x50]
lea rdx, [rbp + 0x38]
mov rcx, r12
call fcn.1401ba248
mov edi, eax
test eax, eax
jne 0x1401bab6e
mov rdx, qword [rbx]
lea rcx, [rbp + 0x30]
call fcn.140020b2c
nop
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rsi]
call fcn.1401306b0
xor ebx, ebx
test al, al
jne 0x1401bab4d
cmp ebx, 0x14
jge 0x1401bab05
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rsi]
call fcn.1401306b0
test al, al
je 0x1401baae3
test al, al
jne 0x1401bab4d
mov edi, 2
and qword [rsi], 0
mov rbx, qword [rsi + 8]
and qword [rsi + 8], 0
test rbx, rbx
je 0x1401bab4d
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1401bab4d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1401bab4d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1401bab6e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1401bab95
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401bab95
mov edi, 2
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1401babb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1401babd6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401bacf8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rbx, rcx
and dword [rbp + 0x20], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rbp + 0x20], 1
lea rcx, [rbp + 0x30]
call fcn.1401babf8
nop
mov rax, qword [rbp + 0x30]
cmp dword [rax - 0x10], 0
je 0x1401bada3
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14000cb18
nop
lea rdx, str.plUtil.exe
lea rcx, [rbp + 0x28]
call fcn.14000f884
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401bad80
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.14000c244
nop
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401bad9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x30]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401badbe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbx
add rsp, 0x38
pop rbx
pop rbp
ret
Function at 0x1401bb3e8
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rdi, r9
mov rsi, r8
mov r12, rdx
mov r13, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x140363bd0]
lea rcx, [rsp + 0x38]
call fcn.14000cb18
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140222e48
mov ebp, eax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1401bb473
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rbx, qword [rsp + 0x30]
test ebp, ebp
jne 0x1401bb4e4
cmp dword [rbx - 0x10], ebp
je 0x1401bb49d
mov qword [rsp + 0x20], rdi
mov r9, rsi
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, r13
call fcn.1401ba9d8
mov ebp, eax
jmp 0x1401bb4a2
mov ebp, 3
mov rdx, rdi
mov rcx, rbx
call fcn.140223418
test eax, eax
jne 0x1401bb4da
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, 0xffffffff
setne dil
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x1401bb4e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401bb4ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebp
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1401bb528
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r12, r9
mov rdi, r8
mov rsi, rdx
mov r13, rcx
xor ebx, ebx
mov rdx, qword [rdx]
lea rcx, [rax + 0x10]
call fcn.14000cb18
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401bb57b
lea ebx, [rax + 2]
jmp 0x1401bb607
mov ecx, 0xb0
call fcn.1400be454
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1401bb598
mov rcx, rax
call fcn.140131050
nop
mov rdx, rax
mov rcx, rdi
call fcn.140082868
cmp qword [rdi], 0
jne 0x1401bb5b0
mov ebx, 6
jmp 0x1401bb607
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
call fcn.140020b2c
nop
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.1401306b0
test al, al
sete bpl
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401bb5ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bpl, bpl
je 0x1401bb607
mov r9, r12
mov r8, rdi
mov rdx, rsi
mov rcx, r13
call fcn.1401bb3e8
mov ebx, eax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1401bb628
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x1401bbac8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r13
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, r8
mov r13, rdx
mov rsi, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, r13
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 0x1401bbbcc
and qword [rsi], 0
mov qword [rsi + 8], r12
and qword [rsi + 0x10], 0
lea rbx, vtable.CppSQLite3DB.0
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0x32
mov rdx, r13
lea rcx, [rsp + 0x28]
call fcn.1401a9e20
lea r8, str.select_url__iconID_from_PageURL_
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 0x1401bbba9
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1401bbb90
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401bbba9
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1401badd8
lea rcx, [rsp + 0x40]
call fcn.1401aa0c0
jmp 0x1401bbb6c
lea rcx, [rsp + 0x40]
call fcn.1401a9f00
nop
jmp 0x1401bbbbd
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x28]
call fcn.1401a9d90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret

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

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401bbf23
shr eax, 4
and al, 1
je 0x1401bbf23
mov rdx, rbx
mov rcx, rdi
call fcn.140038190
nop
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401bbf41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401bc12c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
or qword [rbp + 0x28], 0xffffffffffffffff
mov rdx, rcx
xor edi, edi
lea r9d, [rdi + 3]
lea rcx, [rbp + 0x28]
mov r8d, 0xc0000000
mov dword [rsp + 0x20], r9d
call fcn.140021fb8
mov rbx, qword [rbp + 0x28]
test eax, eax
jne 0x1401bc172
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1401bc21a
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea esi, [r9 + 4]
mov dword [rbp + 0x30], edi
mov dword [rbp + 0x38], edi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x30]
lea rdx, [rbp + 0x38]
mov r8d, esi
mov rcx, rbx
mov dword [rbp + 0x30], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [rsi + 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x30]
lea rdx, [rbp + 0x38]
mov r8d, esi
mov rcx, rbx
mov dword [rbp + 0x30], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [rsi + 0xc]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov byte [rbp + 0x28], dil
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x30]
lea rdx, [rbp + 0x28]
mov r8d, 1
mov rcx, rbx
mov dword [rbp + 0x30], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
dec rsi
jne 0x1401bc1ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp rbx, 0xffffffffffffffff
je 0x1401bc229
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret