joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
call fcn.10007c40
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10008297
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10008fa0
mov ecx, dword [ebp - 8]
push ecx
call fcn.100f4d60
add esp, 4
mov ecx, dword [ebp - 4]
add ecx, 0x1c
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x10009b80
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
call fcn.10009f90
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
call fcn.10002460
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10009bce
xor al, al
jmp 0x10009bea
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1000d4e0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 8

Function at 0x1000d650
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e977
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
push 1
mov ecx, dword [ebp - 0x234]
call fcn.100070a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x234]
mov dword [eax], vtable.COperaDev.0
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.10002fa0
mov byte [ebp - 4], 1
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x230]
call fcn.10002fa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x23c], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
lea edx, [ebp - 0x218]
push edx
call fcn.10002c60
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x23c]
call fcn.1007c610
add esp, 0x18
lea ecx, [ebp - 0x230]
call fcn.10001960
push eax
push 0x1015e794
lea eax, [ebp - 0x25c]
push eax
call fcn.1007b7d0
add esp, 0xc
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.10002230
lea ecx, [ebp - 0x25c]
call fcn.10002d10
push 0
push 0x1015e7ac
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.1000a030
cmp eax, 0xffffffff
je 0x1000d7c1
mov edx, dword [ebp - 0x234]
mov byte [edx + 0x71], 1
mov ecx, dword [ebp - 0x234]
call fcn.1000da20
push 0x1015e7d8
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.10006e00
jmp 0x1000d7e6
mov eax, dword [ebp - 0x234]
mov byte [eax + 0x71], 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
push ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0x74
call fcn.1000a1a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret
Function at 0x1000eb20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014eb08
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10001960
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000eb80
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002d10
mov al, byte [ebp - 0x2c]
jmp 0x1000ed0a
mov ecx, dword [ebp - 0x34]
call fcn.1000ed30
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
jne 0x1000ebc9
push str.init_ntdll_fail_
push 3
push 0x6e
push 0x1015f3d8
push 0x1015f374
call fcn.10142a80
add esp, 0x14
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002d10
mov al, byte [ebp - 0x2d]
jmp 0x1000ed0a
mov ecx, dword [ebp - 0x34]
call fcn.1000fdc0
mov byte [ebp - 0x29], al
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
jne 0x1000ec12
push str.Get_process_id_fail_
push 3
push 0x75
push 0x1015f430
push str.CEdgeHelper::GetHistoryData
call fcn.10142a80
add esp, 0x14
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002d10
mov al, byte [ebp - 0x2a]
jmp 0x1000ed0a
mov dword [ebp - 0x38], 0
jmp 0x1000ec24
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 4
jae 0x1000ecf4
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax*4 + 0x101a5060]
push ecx
lea ecx, [ebp - 0x64]
call fcn.10002c60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call fcn.10012730
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10002d10
lea ecx, [ebp - 0x28]
call fcn.10002fa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 8]
push edx
call fcn.10003060
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.1000f270
mov byte [ebp - 0x2e], al
mov cl, byte [ebp - 0x2e]
mov byte [ebp - 0x29], cl
movzx edx, byte [ebp - 0x29]
test edx, edx
jne 0x1000ecb7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002d10
jmp 0x1000ec1b
push 0
mov ecx, dword [ebp - 0x34]
call fcn.10012510
mov eax, dword [ebp + 0x20]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x28]
push edx
call fcn.10003060
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x34]
call fcn.1000ff00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002d10
jmp 0x1000ecf4
mov byte [ebp - 0x2b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002d10
mov al, byte [ebp - 0x2b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000ee60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014eb51
mov eax, dword fs:[0]
push eax
sub esp, 0xa9c
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8c], ecx
xor eax, eax
mov word [ebp - 0xa18], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xa16]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0xa18]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa7c], eax
cmp dword [ebp - 0xa7c], 0
jne 0x1000eed6
jmp 0x1000f0e9
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa90], eax
mov dword [ebp - 0xa70], 0
mov ecx, 1
test ecx, ecx
je 0x1000f0e9
mov edx, dword [ebp - 0xa70]
cmp edx, dword [ebp - 0xa7c]
jl 0x1000ef0c
jmp 0x1000f0e9
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa68]
push ecx
lea ecx, [ebp - 0xa30]
call fcn.10002c60
mov dword [ebp - 4], 0
push 0
push 0x5c
lea ecx, [ebp - 0xa30]
call fcn.10012590
mov dword [ebp - 0xa74], eax
cmp dword [ebp - 0xa74], 0xffffffff
je 0x1000ef8d
mov edx, dword [ebp - 0xa74]
push edx
push 0
lea eax, [ebp - 0xaa8]
push eax
lea ecx, [ebp - 0xa30]
call fcn.10018580
mov dword [ebp - 0xa88], eax
mov ecx, dword [ebp - 0xa88]
push ecx
lea ecx, [ebp - 0xa30]
call fcn.10002230
lea ecx, [ebp - 0xaa8]
call fcn.10002d10
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xa30]
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1000efe5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
call fcn.10002d10
jmp 0x1000f0e9
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0xa60]
call fcn.10002c60
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa30]
push eax
lea ecx, [ebp - 0xa48]
call fcn.10003060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0xa60]
push edx
mov ecx, dword [ebp + 8]
call fcn.100125e0
mov ecx, eax
call fcn.100023a0
mov eax, dword [ebp - 0xa68]
mov dword [ebp - 0xa64], eax
mov ecx, dword [ebp - 0xa64]
add ecx, 2
mov dword [ebp - 0xa80], ecx
mov edx, dword [ebp - 0xa64]
mov ax, word [edx]
mov word [ebp - 0xa6a], ax
add dword [ebp - 0xa64], 2
cmp word [ebp - 0xa6a], 0
jne 0x1000f049
mov ecx, dword [ebp - 0xa64]
sub ecx, dword [ebp - 0xa80]
sar ecx, 1
mov dword [ebp - 0xa84], ecx
mov edx, dword [ebp - 0xa84]
add edx, 1
mov dword [ebp - 0xa78], edx
mov eax, dword [ebp - 0xa78]
mov ecx, dword [ebp - 0xa68]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xa68], edx
mov eax, dword [ebp - 0xa70]
add eax, dword [ebp - 0xa78]
mov dword [ebp - 0xa70], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa48]
call fcn.10002d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa60]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
call fcn.10002d10
jmp 0x1000eeec
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fdc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014ec2b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x1000fe11
xor al, al
jmp 0x1000fee0
mov dword [ebp - 0x23c], 0
push 0x228
push 0
lea eax, [ebp - 0x238]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1000fe64
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1000fee0
mov ecx, 1
test ecx, ecx
je 0x1000fed1
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x25c]
call fcn.10002c60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x244]
add ecx, 0x10
call fcn.10012730
mov ecx, dword [ebp - 0x234]
mov dword [eax], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10002d10
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000fecf
jmp 0x1000fed1
jmp 0x1000fe64
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret
Function at 0x10018690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014efc8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x21c]
call fcn.10007270
mov eax, dword [ebp - 0x21c]
mov dword [eax], vtable.CFirefox.0
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.10002fa0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1c
call fcn.10002fa0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0x34
call fcn.10002fa0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add ecx, 0x50
call fcn.1000a060
mov byte [ebp - 4], 3
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x34
call fcn.10006e00
push 0
push 0x101606f8
mov ecx, dword [ebp - 0x21c]
add ecx, 0x34
call fcn.1000a030
cmp eax, 0xffffffff
je 0x100187ae
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x4c], 1
mov ecx, dword [ebp - 0x21c]
call fcn.10018ab0
push 0x10160724
mov ecx, dword [ebp - 0x21c]
add ecx, 0x34
call fcn.10006e00
jmp 0x100187d0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x34
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x50
call fcn.1000a1a0
call fcn.100255e0
mov ecx, eax
call fcn.1000d630
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.10006e00
push 0x10160728
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1c
call fcn.10006e00
mov edx, dword [ebp - 0x21c]
mov dword [edx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret
Function at 0x10018840
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f010
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2b8], 0
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x34
call fcn.10001960
push eax
push 0x1016072c
lea eax, [ebp - 0x34]
push eax
call fcn.1007b7d0
add esp, 0xc
mov dword [ebp - 4], 0
push 0x10160764
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.1000aef0
add esp, 0xc
mov byte [ebp - 4], 1
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.10001980
lea ecx, [ebp - 0x1c]
call fcn.1000a060
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x10018940
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000a090
mov edx, dword [ebp - 0x2b8]
or edx, 1
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000a130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10002d10
mov eax, dword [ebp + 8]
jmp 0x10018a17
mov eax, 1
test eax, eax
je 0x100189c5
mov ecx, dword [ebp - 0x2b4]
and ecx, 0x10
je 0x100189a6
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x288]
cmp ecx, 0x2e
je 0x100189a6
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x34]
call fcn.10001960
push eax
push str._s_splaces.sqlite
lea eax, [ebp - 0x64]
push eax
call fcn.1007b7d0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1000a1a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10002d10
lea edx, [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100189c0
jmp 0x100189c5
jmp 0x10018940
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000a090
mov eax, dword [ebp - 0x2b8]
or eax, 1
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000a130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10002d10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 4
Function at 0x10018da0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e548
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.10003060
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp + 0xc]
push edx
call fcn.10003060
mov dword [ebp - 0x54], eax
call fcn.1007c400
add esp, 0x18
mov byte [ebp - 0x42], al
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x10018e99
push 0
call fcn.1001b930
add esp, 4
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 4
call fcn.10001960
push eax
push str._sDB__d.db
lea ecx, [ebp - 0x28]
push ecx
call fcn.1007b7d0
add esp, 0x10
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x28]
call fcn.10001960
push eax
lea ecx, [ebp + 0xc]
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.10003060
mov dword [ebp - 0x58], eax
call fcn.1007c400
add esp, 0x18
mov byte [ebp - 0x41], al
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x10018e8d
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.100023a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002d10
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000d5e0
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10002d10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10019080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add eax, 0x50
mov dword [ebp - 0x4c], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.10001980
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.100046b0
push 4
lea ecx, [ebp - 0x18]
call fcn.10001980
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.1000a150
jmp 0x100190ea
lea ecx, [ebp - 0x14]
call fcn.1000a3f0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000a410
movzx ecx, al
test ecx, ecx
je 0x1001926a
lea ecx, [ebp - 0x14]
call fcn.10001f50
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003060
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x34
call fcn.100023a0
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10001980
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x10019159
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x24]
call fcn.1000a180
cmp dword [ebp - 0x44], eax
jae 0x1001924a
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.1001b660
mov ecx, eax
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.10002c60
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x40]
call fcn.10018ef0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x10019245
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.10019450
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.1000a2b0
push eax
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.1001b660
mov ecx, eax
call fcn.10001960
push eax
mov ecx, dword [ebp - 0x58]
call fcn.10001960
push eax
push str._s_use_sqllite_db_path_no_MultiProfile____s__get_dbRecord_count___u
push 1
push 0xa0
push 0x10160ae8
push str.CFirefox::ParseHistory
call fcn.10142a80
add esp, 0x20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.10002d10
mov eax, dword [ebp - 0x48]
push eax
call fcn.100f4d60
add esp, 4
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10019150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1000a130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10002d10
jmp 0x100190e2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 4
Function at 0x100192b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f120
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add eax, 0x50
mov dword [ebp - 0x4c], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.10001980
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.100046b0
push 4
lea ecx, [ebp - 0x18]
call fcn.10001980
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.1000a150
jmp 0x1001931a
lea ecx, [ebp - 0x14]
call fcn.1000a3f0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000a410
movzx ecx, al
test ecx, ecx
je 0x10019424
lea ecx, [ebp - 0x14]
call fcn.10001f50
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003060
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x34
call fcn.100023a0
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10001980
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x10019389
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x24]
call fcn.1000a180
cmp dword [ebp - 0x44], eax
jae 0x10019404
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.1001b660
mov ecx, eax
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.10002c60
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x40]
call fcn.10018ef0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x100193ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.10019920
mov eax, dword [ebp - 0x48]
push eax
call fcn.100f4d60
add esp, 4
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10019380
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1000a130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10002d10
jmp 0x10019312
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 4