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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xc
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor esi, esi
cmp dword [ecx], 0
jne 0x1000bb57
lea eax, [ebp - 0x10]
mov dword [eax], 0xffffffff
xor ecx, ecx
lea edx, [ebp - 0x14]
mov dword [edx], ecx
sub esp, 0x24
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x1005e180]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1000bb0d
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000bb57
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
test esi, esi
je 0x1000bb47
push esi
call fcn.1004044f
add esp, 4
add eax, eax
add eax, 2
push eax
push esi
push 1
push 0
push str.CurrentVersion
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000bb4c
mov esi, 0x8007000d
test edi, edi
je 0x1000bb57
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebp
ret 4

Function at 0x1000bb6c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor esi, esi
cmp dword [ecx], 0
jne 0x1000bbdf
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 0x1000bbb7
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000bbdf
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 0x1000bbdf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret
Function at 0x1000d5b6
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 [0x10067010]
xor eax, ebp
mov dword [esp + 0x28], eax
push 0x60
push 0
push 0x1005e3b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x1000d69d
mov esi, eax
push 0
push str.EnterpriseModeSiteListConverter.xsl
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x1000d69d
mov edi, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000d69d
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1000d69d
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1000d6c6
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 0x1000d6cd
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 [section..00cfg]
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
jmp 0x1000d6d2
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.1002c1aa
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 0x8000ffff
jmp 0x1000d6b1
mov esi, 0x8007000e
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1000d6b1

Function at 0x1000da48
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 [0x10067010]
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 0x1000da94
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000dac4
mov eax, dword [ebp - 0x10]
mov esi, 0x80070057
cmp eax, 2
jb 0x1000dac4
shr eax, 1
cmp eax, 1
je 0x1000dabf
lea ecx, [eax - 1]
cmp word [edi + eax*2 - 2], 0x5c
mov eax, ecx
jne 0x1000daa3
mov word [edi + ecx*2], 0
xor esi, esi
jmp 0x1000dac4
mov esi, 0x80004005
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret
Function at 0x1000df4a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x11c
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x100698a8]
mov ecx, dword [0x10068c40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000df9a
mov bl, byte [0x100698a4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
add esp, 0x11c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100698a8
call fcn.1002b797
add esp, 4
cmp dword [0x100698a8], 0xffffffff
jne 0x1000df7d
mov eax, dword [0x100698d8]
mov ecx, dword [0x10068c40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000e0cd
mov bl, 1
cmp byte [0x100698d4], 0
jne 0x1000e006
mov eax, dword [0x100698e0]
mov ecx, dword [0x10068c40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000e10a
cmp byte [0x100698dc], 0
je 0x1000e01e
mov byte [0x100698a4], bl
push 0x100698a8
call fcn.1002b80d
add esp, 4
jmp 0x1000df7d
lea esi, [ebp - 0x120]
push 0x110
push 0
push esi
call fcn.1002eba0
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 0x1000e006
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 0x1000e006
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
je 0x1000e07f
cmp eax, 6
jne 0x1000e0c6
mov bl, 1
mov eax, dword [ebp - 0x128]
cmp eax, 0x1b
ja 0x1000e09a
mov ecx, 0xa07f7d0
bt ecx, eax
jb 0x1000e006
lea ecx, [eax - 0x77]
cmp ecx, 0xb
ja 0x1000e0b0
mov edx, 0xccd
bt edx, ecx
jb 0x1000e006
add eax, 0xffffffba
cmp eax, 0xe
ja 0x1000e0c6
mov ecx, 0x4005
bt ecx, eax
jb 0x1000e006
xor ebx, ebx
jmp 0x1000e006
push 0x100698d8
call fcn.1002b797
add esp, 4
cmp dword [0x100698d8], 0xffffffff
jne 0x1000dfd1
push 0x1c
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
setne byte [0x100698d4]
push 0x100698d8
call fcn.1002b80d
add esp, 4
jmp 0x1000dfd1
push 0x100698e0
call fcn.1002b797
add esp, 4
cmp dword [0x100698e0], 0xffffffff
jne 0x1000dffd
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 0x1000e16d
push str.IsDeviceRegisteredWithManagement
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e16d
mov ecx, eax
call dword [section..00cfg]
xor esi, esi
lea edi, [ebp - 0x124]
push esi
push esi
push edi
call ecx
cmp dword [edi], esi
setne cl
jmp 0x1000e184
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 [0x100698dc], al
push 0x100698e0
call fcn.1002b80d
add esp, 4
jmp 0x1000dffd
Function at 0x1000e3cc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x10067010]
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 0x1000e49b
mov edi, eax
mov dword [ebp - 0x14], 0
push str.msiso.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000e41a
mov ecx, 0x82
jmp 0x1000e42e
push str.iertutil.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000e49b
mov ecx, 0x1e0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e49b
mov ecx, eax
mov dword [ebp - 0x20], esi
lea esi, [ebp - 0x1c]
mov dword [esi], 0
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push esi
push eax
push edi
call ecx
xor ebx, ebx
test eax, eax
jne 0x1000e49d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000e49d
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000e49b
mov edi, eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push esi
push esi
push esi
push dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
setne bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000e49d
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000e4cb
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 [0x10067010]
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.1000e3cc
mov bl, 1
test al, al
je 0x1000e597
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
jne 0x1000e595
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x18]
mov dword [ecx], edi
mov edi, eax
lea eax, [esp + 0x1c]
mov dword [eax], 8
push eax
push ebx
push ecx
mov ebx, ecx
push 0
push str.LatestUpsellAttemptedSessionTime
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebx]
xor ecx, 0xb
or ecx, eax
sete bl
jne 0x1000e575
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
test edi, edi
je 0x1000e580
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1000e595
mov eax, esp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
setns bl
jmp 0x1000e597
xor ebx, ebx
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000e5ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [esp + 0x20], eax
xor ebx, ebx
call fcn.1000e4cb
test al, al
jne 0x1000e65e
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 [0x1005e4e0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.1000466c
mov ebx, 0
test eax, eax
jne 0x1000e64f
xor eax, eax
dec eax
lea ecx, [esp + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
call fcn.1000e3cc
test al, al
je 0x1000e649
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 0x1000e64d
xor ebx, ebx
jmp 0x1000e64f
mov bl, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000e65e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x1000e6f8
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 [0x10067010]
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 0x1000e753
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 0x1000e7ad
xor eax, eax
mov dword [ebp - 0x14], eax
lea edi, [ebp - 0x14]
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 0x1000e781
mov ebx, eax
jmp 0x1000e7ad
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 0x1000e7ad
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x1000e7bb
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.1002c1aa
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000e7ef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x10067010]
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.1000e6f8
add esp, 8
test eax, eax
jne 0x1000e830
xor esi, esi
cmp dword [ebp - 0x1c], 0
jne 0x1000e8f9
mov ebx, 0xffffffe8
xor esi, esi
lea edi, [ebp - 0x14]
mov eax, dword [ebx + 0x1005e9fc]
mov ecx, dword [ebx + str.RedirectionMode]
mov dword [ebp - 0x14], esi
push edi
push 0x20119
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000e87d
xor edi, edi
mov al, 1
test edi, edi
je 0x1000e86f
push edi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
test al, al
je 0x1000e8c7
add ebx, 0xc
lea edi, [ebp - 0x14]
jne 0x1000e83a
jmp 0x1000e8cc
mov ecx, edi
mov edi, dword [ebp - 0x14]
xor edx, edx
dec edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebx + 0x1005ea00]
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 edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
cmp dword [ebp - 0x20], 0
setne dl
test eax, eax
jne 0x1000e85e
cmp dword [ebp - 0x18], 4
jne 0x1000e85e
xor eax, eax
mov cl, dl
mov dword [ebp - 0x24], ecx
jmp 0x1000e860
mov esi, dword [ebp - 0x24]
jmp 0x1000e8f9
mov dword [ebp - 0x14], 0xffffffff
mov ecx, str.RedirectionMode
mov edx, 4
push 4
push edi
call fcn.1000e6f8
add esp, 8
mov esi, dword [ebp - 0x14]
xor ecx, ecx
inc ecx
cmp esi, 3
cmovae esi, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000e90d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x10067010]
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 0x1000e947
xor ebx, ebx
inc ebx
jmp 0x1000e9a1
mov edi, dword [ebp - 0x14]
xor ecx, ecx
lea eax, [ebp - 0x1c]
mov dword [eax], ecx
lea esi, [ebp - 0x18]
mov dword [esi], 0xffffffff
mov dword [ebp - 0x14], 4
push ebx
push eax
push esi
push ecx
xor ebx, ebx
push str.LastCustomerType
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi], 4
mov ecx, 0xd
cmove ecx, ebx
test eax, eax
cmovne ecx, eax
movzx ebx, cx
or ebx, 0x80070000
test ecx, ecx
cmovle ebx, ecx
lea eax, [ebp - 0x1c]
mov esi, dword [eax]
test edi, edi
je 0x1000e9a1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, 2
cmovae esi, eax
test ebx, ebx
cmovne esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000e9c2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov eax, dword [0x10067010]
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 [0x1005e4e0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.1000466c
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1000ea47
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 0x1000ea55
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x14
pop esi
pop ebp
ret

Function at 0x1000ed03
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [0x10067010]
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 0x1000edde
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
jne 0x1000edd5
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000edd5
lea ebx, [ebp - 0xa8]
mov ecx, ebx
push 2
push 0x30f
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f55e
mov ecx, ebx
call fcn.10002a70
push 0x1e
push str.Failed_to_create_mutex_named:
push eax
call fcn.10006876
add esp, 0xc
mov ebx, eax
push edi
call fcn.1004044f
add esp, 4
push eax
push edi
push ebx
call fcn.10006876
add esp, 0xc
push 8
push str._Error:
push eax
call fcn.10006876
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.10001dd0
lea ecx, [ebp - 0xa8]
call fcn.1000f8ba
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000ee50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x100698c0]
mov ecx, dword [0x10068c40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000ee9a
mov esi, dword [0x100698bc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100698c0
call fcn.1002b797
add esp, 4
cmp dword [0x100698c0], 0xffffffff
jne 0x1000ee80
mov esi, 0xffffffe8
xor edi, edi
mov eax, dword [esi + 0x1005ed28]
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 0x1000ef20
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + 0x1005ed2c]
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 0x1000ef15
cmp dword [ebp - 0x18], 4
je 0x1000ef29
test ebx, ebx
je 0x1000ef20
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
jne 0x1000eeb7
xor esi, esi
jmp 0x1000ef49
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 0x1000ef49
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x100698bc], esi
push 0x100698c0
call fcn.1002b80d
add esp, 4
jmp 0x1000ee80
Function at 0x1000f2e4
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x218]
mov dword [ebx], 0xffffffff
push ebx
push str.Logging
call fcn.1000e6de
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x1000f320
mov ecx, dword [ebp - 0x218]
mov dword [0x1006999c], ecx
test cl, 0x20
jne 0x1000f340
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], esi
push esi
push 3
push 6
call fcn.1002b388
add esp, 0xc
test al, al
je 0x1000f3a9
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.1002eba0
add esp, 0xc
push esi
push 0x1c
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000f4f5
push edi
call fcn.1004044f
add esp, 4
lea ecx, [ebp - 0x224]
push eax
push edi
call fcn.10029e9a
jmp 0x1000f3f4
mov dword [ebp - 0x218], esi
push ebx
push esi
push esi
push 0x10054050
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x1000f3d7
xor eax, eax
push ebx
push eax
push eax
push 0x10054060
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1000f4f5
lea ecx, [ebp - 0x224]
push dword [ebp - 0x218]
call fcn.10010564
push dword [ebp - 0x218]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea esi, [ebp - 0x224]
mov ecx, esi
push 0xa
push 0x1005f00e
call fcn.10029f20
cmp byte [eax + 0xb], 0
jns 0x1000f410
mov eax, dword [eax]
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
push 8
push str.EdgeBho
call fcn.10029f20
cmp byte [eax + 0xb], 0
jns 0x1000f430
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
push 1
push 0x1005f036
call fcn.10029f20
mov ecx, esi
push dword [ebp + 8]
call fcn.1002a1be
test byte [0x1006999d], 0x20
je 0x1000f4b9
lea edi, [ebp - 0x224]
mov ecx, edi
push 1
push 0x1005f03a
call fcn.10029f20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
call fcn.10053519
add esp, 8
movzx eax, byte [ebp - 0x20d]
test al, al
jns 0x1000f496
mov eax, dword [ebp - 0x214]
mov ebx, dword [ebp - 0x218]
jmp 0x1000f499
and eax, 0x7f
mov ecx, edi
push eax
push ebx
call fcn.10029f20
cmp byte [ebp - 0x20d], 0
jns 0x1000f4b9
push dword [ebp - 0x218]
call fcn.1002b724
add esp, 4
mov ecx, esi
push 4
push str..log
call fcn.10029f20
xor eax, eax
bt dword [0x1006999c], 0xc
setae al
shl eax, 5
or eax, 0x10
cmp byte [ebp - 0x219], 0
jns 0x1000f4e9
mov esi, dword [ebp - 0x224]
mov ecx, 0x100698e4
push eax
push esi
call fcn.1001052e
cmp byte [ebp - 0x219], 0
jns 0x1000f32b
push dword [ebp - 0x224]
call fcn.1002b724
add esp, 4
jmp 0x1000f32b