joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor edx, edx
xor bl, bl
push esi
mov esi, 0x1ffc
mov dword [ebp - 4], edx
cmp dword [ebp + 8], edx
jne 0x1000a542
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000a537
mov bh, al
and bh, 3
push edi
mov edi, 0x89abcdef
mov byte [ebp + 0xf], bh
jbe 0x1000a5ac
mov bh, 4
sub bh, byte [ebp + 0xf]
je 0x1000a5a4
xor edx, edx
mov bl, 1
cmp bh, 4
jb 0x1000a572
movzx edx, byte [eax + 3]
mov bl, 2
shl edx, 8
cmp bh, 3
jb 0x1000a582
movzx ecx, byte [eax + 2]
or edx, ecx
shl edx, 8
inc bl
cmp bh, 2
jb 0x1000a592
movzx ecx, byte [eax + 1]
or edx, ecx
shl edx, 8
inc bl
movzx ecx, byte [eax]
or edx, ecx
movzx ecx, bl
add eax, ecx
xor edi, edx
sub bh, bl
jne 0x1000a560
xor edx, edx
mov bh, byte [ebp + 0xf]
movzx ecx, bl
sub esi, ecx
cmp esi, 4
jbe 0x1000a5c6
lea ecx, [esi - 5]
shr ecx, 2
inc ecx
xor edx, dword [eax]
sub esi, 4
add eax, 4
dec ecx
jne 0x1000a5b8
mov dword [ebp - 4], edx
test bh, bh
je 0x1000a5f1
movzx ecx, bh
and ecx, 0x80000003
jns 0x1000a5da
dec ecx
or ecx, 0xfffffffc
inc ecx
mov bl, 4
shl cl, 3
sub bl, bh
shl edx, cl
shl bl, 3
mov cl, bl
mov ebx, dword [ebp - 4]
shr ebx, cl
xor edi, edx
jmp 0x1000a5f4
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebp + 0xf]
xor edi, ebx
and ecx, 0x80000003
jns 0x1000a607
dec ecx
or ecx, 0xfffffffc
inc ecx
mov bl, 4
sub bl, cl
cmp bl, 4
je 0x1000a63b
movzx edx, byte [eax]
shl edx, 8
cmp bl, 2
jb 0x1000a621
movzx ecx, byte [eax + 1]
or edx, ecx
shl edx, 8
cmp bl, 3
jb 0x1000a62f
movzx ecx, byte [eax + 2]
or edx, ecx
movzx ecx, bl
shl edx, 8
add eax, ecx
sub esi, ecx
xor edi, edx
test esi, esi
je 0x1000a684
nop
xor edx, edx
mov bl, 1
cmp esi, 4
jb 0x1000a652
movzx edx, byte [eax + 3]
mov bl, 2
shl edx, 8
cmp esi, 3
jb 0x1000a663
movzx ecx, byte [eax + 2]
or edx, ecx
shl edx, 8
add bl, 1
cmp esi, 2
jb 0x1000a674
movzx ecx, byte [eax + 1]
or edx, ecx
shl edx, 8
add bl, 1
movzx ecx, byte [eax]
or edx, ecx
movzx ecx, bl
add eax, ecx
xor edi, edx
sub esi, ecx
jne 0x1000a640
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000c250
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ded96
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10115034]
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 0x1000c30d
xor ecx, ecx
jmp 0x1000c325
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c316
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.10001df0
push 0x14
push 0
push 0x100eae10
mov ecx, edi
call fcn.10005890
cmp eax, 0xffffffff
je 0x1000c364
mov ecx, esi
mov byte [esi + 0x4c], 1
call fcn.1000c630
push 0
push 0x100eae3c
mov ecx, edi
call fcn.10001df0
jmp 0x1000c371
push edi
lea ecx, [esi + 0x50]
mov byte [esi + 0x4c], 0
call fcn.10005640
mov eax, dword [0x10119bf0]
test al, 1
jne 0x1000c39c
or eax, 1
mov dword [0x10119bf0], eax
mov byte [ebp - 4], 4
call fcn.10011310
push 0x100e61a0
call fcn.100dc9fb
add esp, 4
mov byte [ebp - 4], 3
cmp dword [0x10119c54], 8
mov edx, 0x10119c40
cmovae edx, dword [0x10119c40]
cmp word [edx], 0
jne 0x1000c3b9
xor ecx, ecx
jmp 0x1000c3cf
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c3c0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 4]
call fcn.10001df0
push 0
push 0x100eae40
lea ecx, [esi + 0x1c]
call fcn.10001df0
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.100dc8fb
mov esp, ebp
pop ebp
ret
Function at 0x1000c410
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100dedec
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x10115034]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x1000c466
mov ecx, dword [ecx]
push ecx
lea eax, [esp + 0x40]
push 0x100eae44
push eax
call fcn.1002e5f0
push 0x100eae7c
lea eax, [esp + 0x4c]
mov dword [esp + 0x2e0], 0
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10005c80
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 0x1000c510
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1000c5a4
test byte [esp + 0x6c], 0x10
je 0x1000c579
cmp word [esp + 0x98], 0x2e
je 0x1000c579
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.1002e5f0
add esp, 0x10
lea eax, [esp + 0x54]
mov byte [esp + 0x2d0], 3
push eax
lea ecx, [esp + 0x1c]
call fcn.10005640
mov byte [esp + 0x2d0], 2
cmp dword [esp + 0x68], 8
jb 0x1000c579
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 0x1000c510
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 0x1000c5b4
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 0x1000c5d7
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.100dc8fb
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c9b0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dee59
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10115034]
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.10001a60
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.10001a60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1002f390
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 0x1000ca78
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x1000cb52
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 0x1000ca9e
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x2c]
push str._sDB__d.db
push eax
call fcn.1002e5f0
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.10001a60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1002f390
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 0x1000cb2d
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x1000cb44
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x1000cb44
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001a60
cmp dword [ebp - 0x18], 8
jb 0x1000cb52
push dword [ebp - 0x2c]
call edi
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x1000cb60
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000cb80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de540
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10115034]
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.10001a60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1002f390
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 0x1000cc12
push dword [ebp - 0x30]
call edi
add esp, 4
test bl, bl
jne 0x1000cc47
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 0x100eafb0
push 0x100eb004
call fcn.100d1600
add esp, 0x18
xor esi, esi
jmp 0x1000cd08
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.10001a60
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.1000c9b0
mov ebx, eax
add esi, 0x1c
cmp esi, ebx
je 0x1000cca7
cmp dword [esi + 0x14], 8
jb 0x1000cc8c
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.10001900
cmp dword [ebp - 0x1c], 8
jb 0x1000ccb5
push dword [ebp - 0x30]
call edi
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x1000ccc6
mov eax, dword [esi]
jmp 0x1000ccc8
mov eax, esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.100aa2c0
add esp, 8
test eax, eax
je 0x1000cd05
cmp dword [esi + 0x14], 8
jb 0x1000cce1
mov esi, dword [esi]
push eax
push esi
push str.ERR:sqlite3_open16__s__fail_0x_x
push 1
push 0x8a
push 0x100eb0b0
push str.CFirefox::Open
call fcn.100d1600
add esp, 0x1c
xor esi, esi
jmp 0x1000cd08
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 8
jb 0x1000cd16
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1000ded0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100defd9
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10115034]
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.1000e120
mov esi, eax
push 0x100eb4fc
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10005c80
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.1000f2b0
add esp, 4
push str.Main
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.10005d70
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 0x1000dfcc
cmp dword [ebp + 0x20], 8
jb 0x1000dfaf
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.10001900
cmp dword [ebp - 0x220], 8
jb 0x1000dfe0
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 0x1000e011
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 0x1000e042
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 0x1000e076
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 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000e0a3
push 0x100eb554
jmp 0x1000e0e4
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 0x1000e0d1
push 0x100eb57c
jmp 0x1000e0e4
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
mov ecx, edi
call fcn.10001ef0
cmp dword [ebp + 0x20], 8
jb 0x1000e0f9
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000e2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df018
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10115034]
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 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000e375
push 0x100eb5ec
jmp 0x1000e3b6
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 0x1000e3a3
push 0x100eb64c
jmp 0x1000e3b6
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.10001ef0
cmp dword [ebp + 0x20], 8
jb 0x1000e3cf
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000e670
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x100eb7a4]
movdqu xmm0, xmmword [str.nss3.dll]
push ebx
push esi
push edi
mov word [ebp - 8], ax
mov edi, ecx
lea eax, [ebp - 0x238]
push eax
movdqu xmmword [ebp - 0x18], xmm0
call fcn.1000dd10
cmp dword [ebp - 0x228], 0
je 0x1000e71b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmovae eax, dword [ebp - 0x238]
push eax
call ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x5c], eax
test eax, eax
jne 0x1000e748
lea eax, [ebp - 0x220]
push eax
call ebx
xor bl, bl
cmp dword [ebp - 0x224], 8
jb 0x1000e735
push dword [ebp - 0x238]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NSS_Init
push eax
call esi
push str.PL_Base64Decode
push dword [edi + 0x5c]
mov dword [edi + 0x60], eax
call esi
push str.PK11SDR_Decrypt
push dword [edi + 0x5c]
mov dword [edi + 0x74], eax
call esi
push str.PK11_Authenticate
push dword [edi + 0x5c]
mov dword [edi + 0x6c], eax
call esi
push str.PK11_GetInternalKeySlot
push dword [edi + 0x5c]
mov dword [edi + 0x68], eax
call esi
push str.PK11_FreeSlot
push dword [edi + 0x5c]
mov dword [edi + 0x64], eax
call esi
push str.NSS_Shutdown
push dword [edi + 0x5c]
mov dword [edi + 0x70], eax
call esi
push str.SECITEM_ZfreeItem
push dword [edi + 0x5c]
mov dword [edi + 0x78], eax
call esi
cmp dword [edi + 0x60], 0
mov dword [edi + 0x7c], eax
je 0x1000e71b
cmp dword [edi + 0x74], 0
je 0x1000e71b
cmp dword [edi + 0x6c], 0
je 0x1000e71b
cmp dword [edi + 0x68], 0
je 0x1000e71b
cmp dword [edi + 0x64], 0
je 0x1000e71b
cmp dword [edi + 0x70], 0
je 0x1000e71b
cmp dword [edi + 0x78], 0
je 0x1000e71b
test eax, eax
je 0x1000e71b
lea eax, [ebp - 0x220]
push eax
call ebx
mov bl, 1
jmp 0x1000e71d
Function at 0x10010340
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df2a7
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10115034]
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 0
mov dword [ebp - 0x238], edi
call fcn.10002140
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
mov dword [edi], vtable.COpera.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 0x10010412
xor ecx, ecx
jmp 0x1001042f
lea ecx, [ebp - 0x218]
lea ebx, [ecx + 2]
jmp 0x10010420
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010420
sub ecx, ebx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.10001df0
lea ecx, [ebp - 0x230]
call fcn.1002f580
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push str._sRoaming
push eax
call fcn.1002e5f0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x24
mov dword [ebp - 0x234], eax
cmp esi, eax
je 0x100104b0
cmp dword [esi + 0x14], 8
jb 0x10010495
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.10001900
cmp dword [ebp - 0x23c], 8
jb 0x100104c4
push dword [ebp - 0x250]
call ebx
add esp, 4
push 0x14
push 0
push str.config_systemprofile
mov ecx, esi
call fcn.10005890
cmp eax, 0xffffffff
je 0x100104f4
mov ecx, edi
mov byte [edi + 0x71], 1
call fcn.100109e0
push 0
push 0x100ebc24
mov ecx, esi
call fcn.10001df0
jmp 0x10010501
push esi
lea ecx, [edi + 0x74]
mov byte [edi + 0x71], 0
call fcn.10005640
cmp dword [ebp - 0x21c], 8
jb 0x10010515
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.100dc8fb
mov esp, ebp
pop ebp
ret
Function at 0x100105f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de381
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10115034]
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 dword [ebp - 4], 0
lea edi, [ecx + 0x80]
mov dword [ebp - 0x30], 0
cmp dword [edi + 0x14], 8
jb 0x10010639
mov eax, dword [edi]
jmp 0x1001063b
mov eax, edi
mov esi, dword [ebp + 8]
push eax
push str._sOpera_SoftwareOpera_StableHistory
push esi
call fcn.1002e5f0
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.10001a60
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.1002f390
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne al
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x11], al
jb 0x100106bf
push dword [ebp - 0x2c]
call ebx
mov al, byte [ebp - 0x11]
add esp, 4
test al, al
jne 0x10010719
cmp dword [edi + 0x14], 8
jb 0x100106cb
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x2c]
push str._sOpera_SoftwareOpera_DeveloperHistory
push eax
call fcn.1002e5f0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x1001070b
cmp dword [esi + 0x14], 8
jb 0x100106f0
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.10001900
cmp dword [ebp - 0x18], 8
jb 0x10010719
push dword [ebp - 0x2c]
call ebx
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.100dc8fb
mov esp, ebp
pop ebp
ret 4