joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100086c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119887
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [ebp - 0x238], edi
call fcn.10003c80
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
mov dword [edi], vtable.COperaDev.0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], eax
mov word [edx], ax
cmp word [ebp - 0x218], ax
jne 0x10008792
xor ecx, ecx
jmp 0x100087af
lea ecx, [ebp - 0x218]
lea ebx, [ecx + 2]
jmp 0x100087a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100087a0
sub ecx, ebx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.10002100
lea ecx, [ebp - 0x230]
call fcn.1004ef90
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push 0x10128508
push eax
call fcn.1004df00
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x24
mov dword [ebp - 0x234], eax
cmp esi, eax
je 0x10008830
cmp dword [esi + 0x14], 8
jb 0x10008815
push dword [esi]
call ebx
mov eax, dword [ebp - 0x234]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.10001be0
cmp dword [ebp - 0x23c], 8
jb 0x10008844
push dword [ebp - 0x250]
call ebx
add esp, 4
push 0x14
push 0
push 0x10128520
mov ecx, esi
call fcn.10007090
cmp eax, 0xffffffff
je 0x10008874
mov ecx, edi
mov byte [edi + 0x71], 1
call fcn.10008a50
push 0
push 0x1012854c
mov ecx, esi
call fcn.10002100
jmp 0x10008881
push esi
lea ecx, [edi + 0x74]
mov byte [edi + 0x71], 0
call fcn.10006e40
cmp dword [ebp - 0x21c], 8
jb 0x10008895
push dword [ebp - 0x230]
call ebx
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x100098a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119a18
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10009916
mov ecx, ebx
call fcn.10009a60
test al, al
jne 0x10009946
push str.init_ntdll_fail_
push 3
push 0x6e
push 0x101290e8
push 0x10129140
call fcn.1010dc80
add esp, 0x14
xor bl, bl
cmp dword [ebp + 0x20], 8
jb 0x10009926
push dword [ebp + 0xc]
call edi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, ebx
call fcn.1000a940
test al, al
jne 0x10009966
push str.Get_process_id_fail_
push 3
push 0x75
push 0x101291e8
push str.CEdgeHelper::GetHistoryData
jmp 0x1000990e
xor esi, esi
jmp 0x10009970
push dword [esi + 0x1012a470]
lea ecx, [ebp - 0x4c]
call fcn.10002200
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x10]
call fcn.1000c720
cmp dword [ebp - 0x38], 8
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jb 0x100099a1
push dword [ebp - 0x4c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 0xc]
push eax
call fcn.10001d60
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
push dword [ebp - 0x34]
call fcn.1000a100
test al, al
jne 0x10009a0d
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 8
jb 0x100099fa
push dword [ebp - 0x2c]
call edi
add esp, 4
add esi, 4
cmp esi, 0x10
jb 0x10009970
mov bl, 1
jmp 0x10009918
sub esp, 0x18
mov dword [ebx + 0x18], 0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.10001d60
push dword [ebp + 8]
mov ecx, ebx
call fcn.1000aaf0
cmp dword [ebp - 0x18], 8
jb 0x10009a50
push dword [ebp - 0x2c]
call edi
add esp, 4
mov bl, 1
jmp 0x10009918
Function at 0x1000a940
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a9ba
push 0x228
lea eax, [ebp - 0x23c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1000a9c1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1000aad4
add ebx, 0x10
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [ebp - 0x21c], ax
je 0x1000aa02
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000a9f3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x260]
call fcn.10002100
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.1000cab0
mov esi, eax
cmp esi, dword [ebx]
je 0x1000aa57
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x1000aa3e
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x260]
push 0
call fcn.100035e0
test eax, eax
jns 0x1000aa8d
lea eax, [ebp - 0x260]
push ecx
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push eax
push ecx
mov ecx, ebx
call fcn.1000d740
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.1000d780
mov esi, dword [ebp - 0x244]
mov eax, dword [ebp - 0x238]
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24c], 8
jb 0x1000aab5
push dword [ebp - 0x260]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000a9c4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x1000c1b0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119c88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmovae eax, dword [ebp + 8]
push 0
push 1
push SysReAllocString
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x1000c235
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
inc eax
push eax
mov dword [ebp - 0x18], eax
call fcn.1010d140
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000c269
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x1000c249
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp - 0x18]
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
sub esp, 8
mov dword [esi + 0x34], 3
lea eax, [esi + 4]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000c320
mov eax, dword [ebp - 0x18]
push 0
push 0x80
push 3
mov dword [esi], eax
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push 0
push 0x40000000
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000c2f4
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push ebx
call edi
jmp 0x1000c235
push 0
lea eax, [ebp - 0x14]
push eax
push 0x29c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call edi
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov bl, 1
jmp 0x1000c237
Function at 0x1000e380
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119de6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CFirefox.0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [ebp - 0x21c], esi
mov word [esi + 4], cx
mov dword [ebp - 4], ecx
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ecx
mov word [esi + 0x1c], cx
lea edi, [esi + 0x34]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ecx
mov word [edi], ax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
push 0x206
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x1000e43d
xor ecx, ecx
jmp 0x1000e455
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e446
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.10002100
push 0x14
push 0
push 0x1012a480
mov ecx, edi
call fcn.10007090
cmp eax, 0xffffffff
je 0x1000e494
mov ecx, esi
mov byte [esi + 0x4c], 1
call fcn.1000e760
push 0
push 0x1012a4ac
mov ecx, edi
call fcn.10002100
jmp 0x1000e4a1
push edi
lea ecx, [esi + 0x50]
mov byte [esi + 0x4c], 0
call fcn.10006e40
mov eax, dword [0x1016b50c]
test al, 1
jne 0x1000e4cc
or eax, 1
mov dword [0x1016b50c], eax
mov byte [ebp - 4], 4
call fcn.10015e80
push 0x101246b0
call fcn.101177fb
add esp, 4
mov byte [ebp - 4], 3
cmp dword [0x1016b56c], 8
mov edx, 0x1016b558
cmovae edx, dword [0x1016b558]
cmp word [edx], 0
jne 0x1000e4e9
xor ecx, ecx
jmp 0x1000e4ff
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e4f0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 4]
call fcn.10002100
push 0
push 0x1012a4b0
lea ecx, [esi + 0x1c]
call fcn.10002100
mov dword [esi + 0x5c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x1000e540
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10119e3c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
add ecx, 0x34
mov dword [esp + 0x14], 0
cmp dword [ecx + 0x14], 8
jb 0x1000e596
mov ecx, dword [ecx]
push ecx
lea eax, [esp + 0x40]
push 0x1012a4b4
push eax
call fcn.1004df00
push 0x1012a4ec
lea eax, [esp + 0x4c]
mov dword [esp + 0x2e0], 0
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10007490
add esp, 0x18
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x2d0], 2
lea ecx, [esp + 0x6c]
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
push ecx
cmovae eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000e640
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1000e6d4
test byte [esp + 0x6c], 0x10
je 0x1000e6a9
cmp word [esp + 0x98], 0x2e
je 0x1000e6a9
cmp dword [esp + 0x50], 8
lea ecx, [esp + 0x98]
push ecx
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x5c]
push str._s_splaces.sqlite
push eax
call fcn.1004df00
add esp, 0x10
lea eax, [esp + 0x54]
mov byte [esp + 0x2d0], 3
push eax
lea ecx, [esp + 0x1c]
call fcn.10006e40
mov byte [esp + 0x2d0], 2
cmp dword [esp + 0x68], 8
jb 0x1000e6a9
push dword [esp + 0x54]
call edi
add esp, 4
lea eax, [esp + 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000e640
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
cmp dword [esp + 0x38], 8
jb 0x1000e6e4
push dword [esp + 0x24]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
cmp dword [esp + 0x50], 8
mov word [esp + 0x24], ax
mov dword [esp + 0x34], eax
jb 0x1000e707
push dword [esp + 0x3c]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 4
Function at 0x1000eae0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119ea9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp + 0xc]
push eax
call fcn.10001d60
xor eax, eax
mov dword [ebp - 0x4c], 1
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], 7
push eax
mov dword [ebp - 0x34], 0
call fcn.10001d60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1004eda0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x30], 8
jb 0x1000eba8
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x1000ec82
push 0
call dword [sym.imp.MSVCR120.dll__time64]
mov ecx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x48]
add esp, 4
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x1000ebce
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x2c]
push str._sDB__d.db
push eax
call fcn.1004df00
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp + 0xc]
push 0
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp + 0x20], 8
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push eax
call fcn.10001d60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1004eda0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 3
setne bl
cmp dword [ebp - 0x30], 8
jb 0x1000ec5d
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x1000ec74
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x1000ec74
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001d60
cmp dword [ebp - 0x18], 8
jb 0x1000ec82
push dword [ebp - 0x2c]
call edi
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x1000ec90
push dword [ebp + 0xc]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000ecb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101194f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], 7
push eax
mov dword [ebp - 0x20], 0
call fcn.10001d60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1004eda0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x1c], 8
jb 0x1000ed42
push dword [ebp - 0x30]
call edi
add esp, 4
test bl, bl
jne 0x1000ed77
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.ERR:File_not_exist__s
push 1
push 0x81
push 0x1012a620
push 0x1012a674
call fcn.1010dc80
add esp, 0x18
xor esi, esi
jmp 0x1000ee38
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.10001d60
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.1000eae0
mov ebx, eax
add esi, 0x1c
cmp esi, ebx
je 0x1000edd7
cmp dword [esi + 0x14], 8
jb 0x1000edbc
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.10001be0
cmp dword [ebp - 0x1c], 8
jb 0x1000ede5
push dword [ebp - 0x30]
call edi
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x1000edf6
mov eax, dword [esi]
jmp 0x1000edf8
mov eax, esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.100c9bc0
add esp, 8
test eax, eax
je 0x1000ee35
cmp dword [esi + 0x14], 8
jb 0x1000ee11
mov esi, dword [esi]
push eax
push esi
push str.ERR:sqlite3_open16__s__fail_0x_x
push 1
push 0x8a
push 0x1012a720
push str.CFirefox::Open
call fcn.1010dc80
add esp, 0x1c
xor esi, esi
jmp 0x1000ee38
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 8
jb 0x1000ee46
push dword [ebp + 8]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10010140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a039
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x218], 0x100
lea eax, [ebp - 0x280]
push eax
call fcn.10010390
mov esi, eax
push 0x1012abf4
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10007490
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.10011510
add esp, 4
push str.Main
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.10007580
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
lea eax, [ebp + 0xc]
add esp, 4
cmp eax, ebx
je 0x1001023c
cmp dword [ebp + 0x20], 8
jb 0x1001021f
push dword [ebp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
call fcn.10001be0
cmp dword [ebp - 0x220], 8
jb 0x10010250
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x254], 8
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
jb 0x10010281
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x254], 7
cmp dword [ebp - 0x238], 8
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x100102b2
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x26c], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x100102e6
push dword [ebp - 0x280]
call esi
add esp, 4
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x21c]
push ecx
push 1
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10010313
push 0x1012ac5c
jmp 0x10010354
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push str.Install_Directory
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10010341
push 0x1012acd8
jmp 0x10010354
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
mov ecx, edi
call fcn.10002200
cmp dword [ebp + 0x20], 8
jb 0x10010369
push dword [ebp + 0xc]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10010550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a078
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], 0x100
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100105e5
push 0x1012ad04
jmp 0x10010626
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10010613
push 0x1012ad4c
jmp 0x10010626
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.10002200
cmp dword [ebp + 0x20], 8
jb 0x1001063f
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x1c