joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b6ae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 8], eax
xor esi, esi
cmp dword [ecx], 0
jne 0x1000b71a
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
sub esp, 0x1c
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x1005cb70]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.100041ba
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
je 0x1000b735
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000b71a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x10
pop esi
pop ebp
ret 4
mov esi, 0x8007000d
jmp 0x1000b70c
mov esi, dword [ebp + 8]
test esi, esi
je 0x1000b72e
push esi
call fcn.100406c7
add esp, 4
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.CurrentVersion
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000b70c

Function at 0x1000b770
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor esi, esi
cmp dword [ecx], 0
je 0x1000b79c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
push ecx
push 0x102
push eax
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000b7ce
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000b789
mov edi, dword [ebp - 0x10]
push str.CurrentVersion
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test edi, edi
je 0x1000b789
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000b789
Function at 0x1000d1ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [esp + 0x28], eax
push 0x60
push 0
push 0x1005cda0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x1000d2b3
mov esi, eax
push 0
push str.EnterpriseModeSiteListConverter.xsl
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x1000d2b3
mov edi, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000d2b3
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1000d2b3
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1000d2dc
mov edi, eax
xorps xmm0, xmm0
lea ebx, [esp + 0x10]
movaps xmmword [ebx], xmm0
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov dword [ebx + 8], eax
test eax, eax
je 0x1000d2ac
mov edi, dword [ebp + 8]
mov word [esp + 0x10], 0xd
lea esi, [esp + 0xe]
mov word [esi], 0
mov eax, dword [edi]
mov ecx, dword [eax + 0xe8]
call dword [0x10060ec8]
sub esp, 0x18
movaps xmm0, xmmword [esp + 0x28]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x14], esi
mov dword [esp], edi
call ecx
xor ecx, ecx
cmp word [esi], 0xffff
mov esi, 0x80004005
cmove esi, ecx
test eax, eax
cmovs esi, eax
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1000d2c7
mov esi, 0x8007000e
jmp 0x1000d2a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 0x8000ffff
jmp 0x1000d2c7

Function at 0x1000d658
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x10065040]
xor ecx, ebp
mov dword [ebp - 0xc], ecx
add eax, eax
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
xor eax, eax
push ecx
push edi
push eax
push 2
push eax
push str.CLSID1FD49718_1D00_4B19_AF5F_070AF6D5D54CInProcServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1000d6bc
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret
mov esi, 0x80004005
jmp 0x1000d6a2
mov eax, dword [ebp - 0x10]
mov esi, 0x80070057
cmp eax, 2
jb 0x1000d6a2
shr eax, 1
cmp eax, 1
je 0x1000d6b5
lea ecx, [eax - 1]
cmp word [edi + eax*2 - 2], 0x5c
mov eax, ecx
jne 0x1000d6cb
mov word [edi + ecx*2], 0
xor esi, esi
jmp 0x1000d6a2
Function at 0x1000db3e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x11c
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x10067a58]
mov ecx, dword [0x10066de4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000db8e
mov bl, byte [0x10067a54]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, ebx
add esp, 0x11c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10067a58
call fcn.1002a11a
add esp, 4
cmp dword [0x10067a58], 0xffffffff
jne 0x1000db71
mov eax, dword [0x10067a88]
mov ecx, dword [0x10066de4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000dcc0
mov bl, 1
cmp byte [0x10067a84], 0
jne 0x1000dbfa
mov eax, dword [0x10067a90]
mov ecx, dword [0x10066de4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000dcfd
cmp byte [0x10067a8c], 0
je 0x1000dc12
mov byte [0x10067a54], bl
push 0x10067a58
call fcn.1002a194
add esp, 4
jmp 0x1000db71
lea esi, [ebp - 0x120]
push 0x110
push 0
push esi
call fcn.1002dc40
add esp, 0xc
mov dword [esi - 4], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
test eax, eax
je 0x1000dbfa
lea eax, [ebp - 0x128]
mov dword [eax], ebx
push eax
push ebx
push ebx
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x1000dbfa
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
je 0x1000dc77
cmp eax, 6
je 0x1000dc77
xor ebx, ebx
jmp 0x1000dbfa
mov bl, 1
mov eax, dword [ebp - 0x128]
cmp eax, 0x1b
ja 0x1000dc92
mov ecx, 0xa07f7d0
bt ecx, eax
jb 0x1000dbfa
lea ecx, [eax - 0x77]
cmp ecx, 0xb
ja 0x1000dca8
mov edx, 0xccd
bt edx, ecx
jb 0x1000dbfa
add eax, 0xffffffba
cmp eax, 0xe
ja 0x1000dc73
mov ecx, 0x4005
bt ecx, eax
jb 0x1000dbfa
jmp 0x1000dc73
push 0x10067a88
call fcn.1002a11a
add esp, 4
cmp dword [0x10067a88], 0xffffffff
jne 0x1000dbc5
push 0x1c
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
setne byte [0x10067a84]
push 0x10067a88
call fcn.1002a194
add esp, 4
jmp 0x1000dbc5
push 0x10067a90
call fcn.1002a11a
add esp, 4
cmp dword [0x10067a90], 0xffffffff
jne 0x1000dbf1
xor eax, eax
mov dword [ebp - 0x124], eax
push 0x1100
push eax
push str.MDMRegistration.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x1000dd60
push str.IsDeviceRegisteredWithManagement
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000dd60
mov ecx, eax
call dword [0x10060ec8]
xor esi, esi
lea edi, [ebp - 0x124]
push esi
push esi
push edi
call ecx
cmp dword [edi], esi
setne cl
jmp 0x1000dd77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
xor ecx, ecx
test eax, eax
setns al
and al, cl
mov byte [0x10067a8c], al
push 0x10067a90
call fcn.1002a194
add esp, 4
jmp 0x1000dbf1
Function at 0x1000dfbf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.SCODEF
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x1000e030
mov edi, eax
mov dword [ebp - 0x14], 0
push str.msiso.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000e077
mov ecx, 0x82
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e030
mov ecx, eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], 0
call dword [0x10060ec8]
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
call ecx
test eax, eax
je 0x1000e072
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x1000e090
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000e090
mov edi, eax
xor eax, eax
dec eax
lea ecx, [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
push ecx
push ecx
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
setne bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000e092
mov eax, dword [ebp - 0x14]
jmp 0x1000e036
push str.iertutil.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000e030
mov ecx, 0x1e0
jmp 0x1000e007
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000e0a6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [esp + 0x20], eax
xor edi, edi
dec edi
lea esi, [esp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov ecx, esi
call fcn.1000dfbf
mov bl, 1
test al, al
je 0x1000e102
mov dword [esp], edi
mov dword [esp + 4], edi
xor eax, eax
lea ebx, [esp + 0x10]
mov dword [ebx], eax
push ebx
push 0x20119
push eax
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000e124
xor ebx, ebx
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1002aa2a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test edi, edi
je 0x1000e100
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000e100
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
mov dword [eax], edi
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [ecx], 8
push ecx
push ebx
push eax
push 0
push str.LatestUpsellAttemptedSessionTime
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000e117
cmp dword [esp + 0x18], 0xb
jne 0x1000e117
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
test edi, edi
je 0x1000e178
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
setns bl
jmp 0x1000e102
Function at 0x1000e18c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [esp + 0x20], eax
xor ebx, ebx
call fcn.1000e0a6
test al, al
jne 0x1000e23a
lea ecx, [esp + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
sub esp, 0x1c
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [0x1005cb70]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.100041ba
mov ebx, 0
test eax, eax
jne 0x1000e22b
xor eax, eax
dec eax
lea ecx, [esp + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
call fcn.1000dfbf
test al, al
je 0x1000e229
movsd xmm0, qword [esp + 4]
lea eax, [esp + 0x18]
movsd qword [eax], xmm0
push 8
push eax
push 0xb
push 0
push str.LatestUpsellAttemptedSessionTime
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1000e24d
xor ebx, ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000e23a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1002aa2a
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x1000e22b

Function at 0x1000e2d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
mov dword [edi], esi
push edi
push 0x20119
push esi
push str.SoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e333
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push edi
push dword [ebp + 8]
push eax
push 0
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 2
jne 0x1000e35c
xor eax, eax
mov dword [ebp - 0x14], eax
push edi
push 0x20119
push eax
push str.SoftwareMicrosoftEdgeIEToEdge
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000e39e
mov ebx, eax
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x1000e36a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, dword [ebp - 0x20]
mov ecx, 0x65e
cmove ecx, eax
test ebx, ebx
cmovne ecx, ebx
movzx esi, cx
or esi, 0x80070000
test ecx, ecx
cmovle esi, ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push edi
push dword [ebp + 8]
push eax
push 0
push dword [ebp - 0x1c]
mov edi, ecx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test edi, edi
je 0x1000e35c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000e35c
Function at 0x1000e6b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
mov dword [eax], 0xffffffff
mov ecx, str.DisabledPendingAutoUpdateConsent
mov edx, 4
push 4
push eax
call fcn.1000e2d8
add esp, 8
test eax, eax
jne 0x1000e709
xor ebx, ebx
cmp dword [ebp - 0x1c], 0
je 0x1000e709
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.1000e428
mov bh, al
call fcn.1000e5b0
or al, bh
lea esi, [ebp - 0x14]
cmp al, 1
jne 0x1000e725
mov edi, 0xffffffe8
jmp 0x1000e781
mov dword [ebp - 0x14], 0xffffffff
mov ecx, str.RedirectionMode
mov edx, 4
push 4
push esi
call fcn.1000e2d8
add esp, 8
mov edx, dword [ebp - 0x14]
xor esi, esi
inc esi
cmp edx, 2
mov cl, bh
mov ebx, edx
cmove ebx, esi
test cl, cl
cmove ebx, edx
cmp edx, 3
cmovae ebx, esi
test eax, eax
cmovne ebx, esi
jmp 0x1000e6f5
xor ebx, ebx
cmp dword [ebp - 0x24], 0
setne bl
jmp 0x1000e6f5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
lea esi, [ebp - 0x14]
je 0x1000e763
add edi, 0xc
je 0x1000e725
mov eax, dword [edi + 0x1005d3dc]
mov ecx, dword [edi + str.RedirectionMode]
xor edx, edx
mov dword [ebp - 0x14], edx
push esi
push 0x20119
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e77c
mov ecx, esi
mov esi, dword [ebp - 0x14]
xor edx, edx
dec edx
mov dword [ebp - 0x20], edx
mov eax, dword [edi + 0x1005d3e0]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 4
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x18]
xor ecx, 4
or ecx, eax
setne bl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
test esi, esi
jne 0x1000e76e
jmp 0x1000e775

Function at 0x1000e7ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
lea ebx, [ebp - 0x14]
mov dword [ebx], esi
push ebx
push 0x20119
push esi
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000e842
xor ebx, ebx
xor eax, eax
cmp esi, 2
cmovae esi, eax
test bl, bl
cmove esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp - 0x14]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ecx], eax
lea esi, [ebp - 0x18]
mov dword [esi], 0xffffffff
mov dword [ebp - 0x14], 4
push ebx
push ecx
push esi
push eax
push str.LastCustomerType
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esi]
xor ecx, 4
or ecx, eax
sete bl
lea eax, [ebp - 0x1c]
mov esi, dword [eax]
test edi, edi
je 0x1000e821
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000e821
Function at 0x1000e888
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
sub esp, 0x1c
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x1005cb70]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.100041ba
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1000e90d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ecx], eax
mov eax, 4
push eax
push ecx
push eax
push 0
push str.LastCustomerType
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000e91b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x14
pop esi
pop ebp
ret

Function at 0x1000ebbd
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
xor esi, esi
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax - 4], 0xc
push esi
push eax
push 1
push str.S:_ML__NW___LW_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1000ec15
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test eax, eax
je 0x1000ec2c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000ec0c
lea ebx, [ebp - 0xa8]
mov ecx, ebx
push 2
push 0x3d7
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, ebx
call fcn.10002640
push 0x1e
push str.Failed_to_create_mutex_named:
push eax
call fcn.100063da
add esp, 0xc
mov ebx, eax
push edi
call fcn.100406c7
add esp, 4
push eax
push edi
push ebx
call fcn.100063da
add esp, 0xc
push 8
push str._Error:
push eax
call fcn.100063da
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.10001c20
lea ecx, [ebp - 0xa8]
call fcn.1000f822
jmp 0x1000ec0c
Function at 0x1000ed0b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x10067a70]
mov ecx, dword [0x10066de4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000ed55
mov esi, dword [0x10067a6c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10067a70
call fcn.1002a11a
add esp, 4
cmp dword [0x10067a70], 0xffffffff
jne 0x1000ed3b
mov esi, 0xffffffe8
xor edi, edi
jmp 0x1000ed88
test ebx, ebx
je 0x1000ed7f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
je 0x1000ee08
mov eax, dword [esi + 0x1005d9d0]
mov ecx, dword [esi + str.InternetExplorerIntegrationLevel]
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
push 0x20119
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ed7f
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + 0x1005d9d4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ed74
cmp dword [ebp - 0x18], 4
jne 0x1000ed74
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, 2
sete cl
add ecx, ecx
cmp eax, 1
cmove ecx, eax
mov esi, ecx
test ebx, ebx
je 0x1000ee0a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000ee0a
xor esi, esi
mov dword [0x10067a6c], esi
push 0x10067a70
call fcn.1002a194
add esp, 4
jmp 0x1000ed3b
Function at 0x1000f234
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x218]
mov dword [ebx], 0xffffffff
push ebx
push str.Logging
call fcn.1000e2be
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x1000f270
mov ecx, dword [ebp - 0x218]
mov dword [0x10067b4c], ecx
test cl, 0x20
jne 0x1000f290
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov dword [ebp - 0x21c], esi
xorps xmm0, xmm0
movsd qword [ebp - 0x224], xmm0
push esi
push 3
push 6
call fcn.10029dd8
add esp, 0xc
test al, al
jne 0x1000f30a
mov dword [ebp - 0x218], esi
push ebx
push esi
push esi
push 0x10053050
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x1000f2e2
xor eax, eax
push ebx
push eax
push eax
push 0x10053060
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1000f45b
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x1000f47b
lea ecx, [ebp - 0x224]
push eax
call fcn.10028bf8
push dword [ebp - 0x218]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1000f342
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.1002dc40
add esp, 0xc
push esi
push 0x1c
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000f45b
lea ecx, [ebp - 0x224]
push edi
call fcn.10028bf8
lea ecx, [ebp - 0x224]
push 0xa
push 0x1005dc50
call fcn.10028c1a
cmp byte [eax + 0xb], 0
jns 0x1000f35c
mov eax, dword [eax]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push eax
call edi
lea ecx, [ebp - 0x224]
push 8
push str.EdgeBho
call fcn.10028c1a
cmp byte [eax + 0xb], 0
jns 0x1000f382
mov eax, dword [eax]
push esi
push eax
call edi
lea ecx, [ebp - 0x224]
push 1
push 0x1005dc78
call fcn.10028c1a
mov edi, dword [ebp + 8]
test edi, edi
je 0x1000f47b
push edi
call fcn.100406c7
add esp, 4
lea esi, [ebp - 0x224]
mov ecx, esi
push eax
push edi
call fcn.10028c1a
test byte [0x10067b4d], 0x20
je 0x1000f41f
lea edi, [ebp - 0x224]
mov ecx, edi
push 1
push 0x1005dc7c
call fcn.10028c1a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
call fcn.10052963
add esp, 8
movsx eax, byte [ebp - 0x20d]
test eax, eax
jns 0x1000f3ff
mov eax, dword [ebp - 0x214]
mov ebx, dword [ebp - 0x218]
mov ecx, edi
push eax
push ebx
call fcn.10028c1a
cmp byte [ebp - 0x20d], 0
jns 0x1000f41f
push dword [ebp - 0x218]
call fcn.1002a0d4
add esp, 4
mov ecx, esi
push 4
push 0x1005dc80
call fcn.10028c1a
xor eax, eax
bt dword [0x10067b4c], 0xc
setae al
shl eax, 5
or eax, 0x10
cmp byte [ebp - 0x219], 0
jns 0x1000f44f
mov esi, dword [ebp - 0x224]
mov ecx, 0x10067a94
push eax
push esi
call fcn.1001053c
cmp byte [ebp - 0x219], 0
jns 0x1000f27b
push dword [ebp - 0x224]
call fcn.1002a0d4
add esp, 4
jmp 0x1000f27b
ud2