joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018d10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153140
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x101ac034]
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.10002bf0
push eax
push 0x101656ec
lea eax, [ebp - 0x34]
push eax
call fcn.1007cf90
add esp, 0xc
mov dword [ebp - 4], 0
push 0x10165724
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.1000bcd0
add esp, 0xc
mov byte [ebp - 4], 1
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.10001860
lea ecx, [ebp - 0x1c]
call fcn.1000ae40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x10018e10
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000ae70
mov edx, dword [ebp - 0x2b8]
or edx, 1
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000af10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003e00
mov eax, dword [ebp + 8]
jmp 0x10018ee7
mov eax, 1
test eax, eax
je 0x10018e95
mov ecx, dword [ebp - 0x2b4]
and ecx, 0x10
je 0x10018e76
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x288]
cmp ecx, 0x2e
je 0x10018e76
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x34]
call fcn.10002bf0
push eax
push str._s_splaces.sqlite
lea eax, [ebp - 0x64]
push eax
call fcn.1007cf90
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1000af60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10003e00
lea edx, [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10018e90
jmp 0x10018e95
jmp 0x10018e10
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.1000ae70
mov eax, dword [ebp - 0x2b8]
or eax, 1
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000af10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret 4
Function at 0x10019270
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101526c8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101ac034]
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.10004030
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp + 0xc]
push edx
call fcn.10004030
mov dword [ebp - 0x54], eax
call fcn.1007dbc0
add esp, 0x18
mov byte [ebp - 0x42], al
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x10019369
push 0
call fcn.1001bcd0
add esp, 4
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 4
call fcn.10002bf0
push eax
push str._sDB__d.db
lea ecx, [ebp - 0x28]
push ecx
call fcn.1007cf90
add esp, 0x10
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x28]
call fcn.10002bf0
push eax
lea ecx, [ebp + 0xc]
call fcn.10002bf0
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.10004030
mov dword [ebp - 0x58], eax
call fcn.1007dbc0
add esp, 0x18
mov byte [ebp - 0x41], al
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1001935d
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.100035f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10003e00
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000dab0
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10019550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153210
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ac034]
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.10001860
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10005650
push 4
lea ecx, [ebp - 0x18]
call fcn.10001860
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.1000af30
jmp 0x100195ba
lea ecx, [ebp - 0x14]
call fcn.1000b070
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000b090
movzx ecx, al
test ecx, ecx
je 0x100196c4
lea ecx, [ebp - 0x14]
call fcn.100031c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004030
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x34
call fcn.100035f0
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10001860
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 0x10019629
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x24]
call fcn.1000b6e0
cmp dword [ebp - 0x44], eax
jae 0x100196a4
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.1001bac0
mov ecx, eax
call fcn.10002bf0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.10003d50
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x40]
call fcn.100193c0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1001969f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.100198b0
mov eax, dword [ebp - 0x48]
push eax
call fcn.100f6550
add esp, 4
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10019620
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1000af10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10003e00
jmp 0x100195b2
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.101506bb
mov esp, ebp
pop ebp
ret 4
Function at 0x10019710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153210
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ac034]
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.10001860
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10005650
push 4
lea ecx, [ebp - 0x18]
call fcn.10001860
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.1000af30
jmp 0x1001977a
lea ecx, [ebp - 0x14]
call fcn.1000b070
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000b090
movzx ecx, al
test ecx, ecx
je 0x10019884
lea ecx, [ebp - 0x14]
call fcn.100031c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004030
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x34
call fcn.100035f0
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10001860
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 0x100197e9
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x24]
call fcn.1000b6e0
cmp dword [ebp - 0x44], eax
jae 0x10019864
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.1001bac0
mov ecx, eax
call fcn.10002bf0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.10003d50
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x40]
call fcn.100193c0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1001985f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.10019d80
mov eax, dword [ebp - 0x48]
push eax
call fcn.100f6550
add esp, 4
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100197e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1000af10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10003e00
jmp 0x10019772
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.101506bb
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153359
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x20e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], 0x100
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [ebp - 0x240]
call fcn.1001a6e0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 1
push 0x10165e2c
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x238]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.1001bae0
add esp, 0xc
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 3
push str.Main
mov edx, dword [ebp - 0x23c]
push edx
lea eax, [ebp - 0x258]
push eax
call fcn.1000bd90
add esp, 0xc
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
push ecx
lea ecx, [ebp + 0xc]
call fcn.10003480
lea ecx, [ebp - 0x258]
call fcn.10003e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a0]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.10003e00
lea edx, [ebp - 0x218]
push edx
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.10002bf0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x1001a61d
push 0x10165e94
mov ecx, dword [ebp + 8]
call fcn.10003d50
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
mov eax, dword [ebp + 8]
jmp 0x1001a6bd
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push str.Install_Directory
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x1001a680
push 0x10165f10
mov ecx, dword [ebp + 8]
call fcn.10003d50
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
mov eax, dword [ebp + 8]
jmp 0x1001a6bd
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003d50
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1001a8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153398
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x20e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], 0x100
lea edx, [ebp - 0x218]
push edx
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.10002bf0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x1001a97c
push 0x10165f3c
mov ecx, dword [ebp + 8]
call fcn.10003d50
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
mov eax, dword [ebp + 8]
jmp 0x1001aa1c
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push str.CurrentVersion
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x1001a9df
push 0x10165f84
mov ecx, dword [ebp + 8]
call fcn.10003d50
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
mov eax, dword [ebp + 8]
jmp 0x1001aa1c
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003d50
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1001aa40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101533eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x101ac034]
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.10002bf0
push eax
push str._sMozillaFirefoxProfiles
lea eax, [ebp - 0x64]
push eax
call fcn.1007cf90
add esp, 0xc
mov dword [ebp - 4], 0
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.10001860
lea ecx, [ebp - 0x1c]
call fcn.1000ae40
mov byte [ebp - 4], 1
push 0x101661b0
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x2e4]
push edx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x2c4]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2e4]
call fcn.10003e00
mov ecx, dword [ebp - 0x2b4]
and ecx, 0x10
je 0x1001abec
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10004030
mov byte [ebp - 4], 2
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x34]
call fcn.10003d50
mov byte [ebp - 4], 3
push 0x1016601c
lea ecx, [ebp - 0x34]
push ecx
call fcn.1001bb90
add esp, 8
movzx edx, al
test edx, edx
jne 0x1001ab62
push 0x101661b8
lea eax, [ebp - 0x34]
push eax
call fcn.1001bb90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1001ab7c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10003e00
jmp 0x1001abec
lea edx, [ebp - 0x34]
push edx
push 0x1016606c
lea eax, [ebp - 0x2fc]
push eax
call fcn.1001bbc0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2bc]
push edx
lea ecx, [ebp - 0x4c]
call fcn.1000d590
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2fc]
call fcn.10003e00
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000af60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10003e00
lea ecx, [ebp - 0x2b4]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001ab00
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000ae70
mov ecx, dword [ebp - 0x2b8]
or ecx, 1
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000af10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d010
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152aa7
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101ac034]
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 0
mov ecx, dword [ebp - 0x234]
call fcn.10008040
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x234]
mov dword [eax], vtable.COpera.0
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.10003f70
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.10003f70
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.10003d50
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x23c]
call fcn.1007ddd0
add esp, 0x18
lea ecx, [ebp - 0x230]
call fcn.10002bf0
push eax
push str._sRoaming
lea eax, [ebp - 0x25c]
push eax
call fcn.1007cf90
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.10003480
lea ecx, [ebp - 0x25c]
call fcn.10003e00
push 0
push str.config_systemprofile
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.1000ae10
cmp eax, 0xffffffff
je 0x1001d181
mov edx, dword [ebp - 0x234]
mov byte [edx + 0x71], 1
mov ecx, dword [ebp - 0x234]
call fcn.1001d3e0
push 0x101665b8
mov ecx, dword [ebp - 0x234]
add ecx, 0x80
call fcn.10007da0
jmp 0x1001d1a6
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.1000af60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x1001ebd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015375b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
push str.CCameraRecord_HandleData
push 1
push 0xbf
push 0x10166f04
push 0x10166f38
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 0x72], 0
lea ecx, [ebp - 0x58]
call fcn.10003f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003f70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.1001e280
mov byte [ebp - 0x71], al
movzx edx, byte [ebp - 0x71]
test edx, edx
jne 0x1001ec79
push str.CameraRecord_StartRecord_Error
push 3
push 0xc9
push 0x10166f74
push 0x10166fa8
call fcn.10145f00
add esp, 0x14
jmp 0x1001ed7f
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10075690
add esp, 8
mov byte [ebp - 4], 2
lea edx, [ebp - 0xa0]
push edx
call fcn.100fd8b0
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10002bf0
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.10002bf0
push eax
push str._s_Camera__s
lea ecx, [ebp - 0x70]
push ecx
call fcn.1007cf90
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.10003e00
push 0
push 1
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.Camera
call fcn.100029e0
mov dword [ebp - 0x84], eax
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x78]
call fcn.100776f0
mov byte [ebp - 0x74], al
mov dl, byte [ebp - 0x74]
mov byte [ebp - 0x71], dl
movzx eax, byte [ebp - 0x71]
test eax, eax
jne 0x1001ed5b
push 0x10166fe8
push 3
push 0xd5
push str..._srcMoniterHelperCameraRecordCameraRecord.cpp
push str.CCameraRecord::HandleData
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10003e00
jmp 0x1001ed7f
mov byte [ebp - 0x72], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10003e00
xor ecx, ecx
jne 0x1001ec3b
movzx edx, byte [ebp - 0x72]
test edx, edx
jne 0x1001eda5
lea ecx, [ebp - 0x28]
call fcn.10001f20
movzx eax, al
test eax, eax
jne 0x1001eda5
lea ecx, [ebp - 0x28]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [ebp - 0x72]
mov byte [ebp - 0x73], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10003e00
mov al, byte [ebp - 0x73]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret