joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005a4c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edx, dword [ebp + 0x10]
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [esp + 0x78], eax
movzx edi, word [edx + 6]
mov esi, 0x80004005
cmp di, 8
jg 0x10005ba4
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor edx, edx
mov word [esp + 0xe], di
test di, di
lea eax, [esp + 0x50]
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
cmove eax, edx
cmp dword [ebx + 0xc], 0
je 0x10005ae9
mov esi, 0x80004005
cmp word [esp + 0xe], 0
je 0x10005ba4
xor esi, esi
xor edx, edx
mov edi, dword [ebx + 4]
mov edi, dword [edi + edx*4]
cmp edi, 7
ja 0x10005b9f
mov ecx, dword [ebx]
add ecx, esi
mov dword [eax + edi*4], ecx
inc edx
add esi, 0x10
cmp edx, dword [ebx + 0xc]
jb 0x10005aca
cmp edx, dword [ebx + 8]
mov dword [esp + 0x10], eax
jae 0x10005b28
cmp word [esp + 0xe], 0
je 0x10005b9f
mov esi, edx
not esi
mov edi, edx
shl edi, 4
mov ecx, dword [ebx]
add ecx, edi
mov eax, dword [ebp + 0x10]
movsx eax, word [eax + 6]
add eax, esi
mov ebx, dword [esp + 0x10]
mov dword [ebx + eax*4], ecx
mov ebx, dword [ebp + 0x14]
inc edx
dec esi
add edi, 0x10
cmp edx, dword [ebx + 8]
jb 0x10005b07
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff4
lea eax, [esp + 0x48]
mov dword [eax + 4], 0xffffffff
mov dword [eax], 0x100258e0
mov dword [eax - 0x10], eax
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax - 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax - 4], ecx
pxor xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx], xmm0
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
test esi, esi
cmove esi, ebx
mov eax, dword [ebp + 0x10]
lea edi, [eax + 8]
movsx ecx, word [eax + 6]
movzx edx, word [eax + 4]
push esi
push dword [esp + 0x14]
push edi
push ecx
push edx
push dword [eax]
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantChangeTypeEx]
mov esi, eax
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x10005ba4
mov esi, 0x80004005
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.10025901
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x10006514
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x98
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
lea ebx, [ebp - 0xa4]
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 0x1000659a
mov edi, eax
push 2
call fcn.1000e17f
add esp, 4
test al, al
je 0x1000661c
mov ecx, ebx
push 2
push 0xc2
push 0x100543f0
call fcn.1000e1c8
push 0x22
push str.Failed_to_open_kStateKey_reg_key:
push ebx
call fcn.1000621f
add esp, 0xc
mov ecx, eax
push edi
call fcn.100020a0
mov ecx, ebx
call fcn.1000e468
jmp 0x1000661c
mov esi, dword [ebp - 0xa4]
xor eax, eax
dec eax
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
lea edi, [ebp - 0x14]
mov dword [edi], eax
mov dword [ebp - 0xa4], 4
xor eax, eax
push ebx
push ecx
push edi
push eax
push str.DisableCampaignRedirect
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 4
mov edi, 0xd
mov ecx, 0
cmove edi, ecx
test eax, eax
cmovne edi, eax
cmp edi, 2
je 0x1000661c
test edi, edi
jne 0x100065ef
cmp dword [ebp - 0x18], 1
jne 0x1000661c
jmp 0x10006669
push 2
call fcn.1000e17f
add esp, 4
test al, al
je 0x1000661c
mov ecx, ebx
push 2
push 0xbe
push 0x100543f0
call fcn.1000e1c8
push 0x33
push str.Failed_to_read_kDisableCampaignRedirect_reg_value:
jmp 0x1000657d
mov dword [ebp - 0xa4], 0xffffffff
mov ecx, str.CampaignMode
mov edx, 4
push 4
push ebx
call fcn.1000d297
add esp, 8
mov ecx, dword [ebp - 0xa4]
xor edx, edx
inc edx
cmp ecx, 4
cmovae ecx, edx
test eax, eax
cmovne ecx, edx
cmp ecx, 3
je 0x1000666d
mov bl, byte [ebp + 0xc]
cmp ecx, 2
je 0x10006671
cmp ecx, 1
jne 0x10006669
xor bl, 1
and bl, byte [ebp + 8]
jmp 0x10006674
xor ebx, ebx
jmp 0x10006674
mov bl, 1
jmp 0x10006674
xor bl, 1
test esi, esi
je 0x1000667f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008836
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x90
mov esi, ecx
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
push 0
call fcn.1000e17f
add esp, 4
cmp edi, ebx
je 0x100088c0
test al, al
je 0x10008892
lea edi, [ebp - 0x9c]
mov ecx, edi
push 0
push 0x3a
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000e1c8
push 0x1c
push str.RepeatingTaskScheduler_Start
push edi
call fcn.1000621f
add esp, 0xc
mov ecx, edi
call fcn.1000e468
sub esp, 0x10
movaps xmm0, xmmword [0x10054730]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
xor eax, eax
push eax
push eax
push esi
push 0x10008910
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
jmp 0x100088f1
test al, al
je 0x100088f1
lea esi, [ebp - 0x9c]
mov ecx, esi
push 0
push 0x36
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000e1c8
push 0x25
push str.No_tasks__skipping_scheduler_creation
push esi
call fcn.1000621f
add esp, 0xc
mov ecx, esi
call fcn.1000e468
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a5d8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x280
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [esp + 0x278], eax
lea edi, [esp + 0x70]
push 0x208
push 0
push edi
call fcn.10028220
add esp, 0xc
push 0x104
push edi
call fcn.1000c71c
add esp, 8
test eax, eax
js 0x1000a6dc
mov ebx, dword [ebp + 8]
push edi
call fcn.10036d35
add esp, 4
add eax, 0x28
xor ecx, ecx
dec ecx
lea esi, [esp + 0x64]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov ecx, esi
push eax
call fcn.1000a760
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
sar ecx, 1
push ebx
push edi
push str.__s____create_cache_container_d
push ecx
push eax
call fcn.1000a7b9
add esp, 0x14
test eax, eax
js 0x1000a6e0
xorps xmm0, xmm0
lea eax, [esp + 0x20]
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x44
lea ecx, [esp + 0x10]
movaps xmmword [ecx], xmm0
mov edx, dword [esp + 0x64]
sub esp, 0x28
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000a6e4
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000a6fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000a721
mov esi, eax
jmp 0x1000a748
mov esi, eax
jmp 0x1000a733
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000a733
lea eax, [esp + 0xc]
mov dword [eax], 0xffffffff
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1000a6c6
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, 0x80004005
cmove esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x14]
call edi
push dword [esp + 0x10]
call edi
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1000a748
mov dword [esp + 0x68], eax
push eax
call fcn.10024ac9
add esp, 4
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.10025901
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a847
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x1005d014]
xor ecx, ebp
mov dword [ebp - 0xc], ecx
mov esi, 0x80070057
cmp eax, 0x104
jb 0x1000a8c4
lea esi, [ebp - 0x20]
mov dword [esi], 0xffffffff
call fcn.1000ce66
mov ecx, 0x1004b050
mov edx, 0x1004b060
test al, al
cmovne edx, ecx
movups xmm0, xmmword [edx]
lea eax, [ebp - 0x1c]
movups xmmword [eax], xmm0
xor edi, edi
push esi
push edi
push edi
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, eax
test eax, eax
jne 0x1000a8c4
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
mov eax, 0x80004005
cmove edi, eax
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, edi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10025901
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebp
ret
Function at 0x1000c4ea
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [esp + 0x68], eax
push dword [ecx]
call fcn.1000a8d7
add esp, 4
test eax, eax
je 0x1000c57b
mov dword [esp + 0xc], esi
mov esi, dword [eax + 8]
lea eax, [esp + 0x64]
mov dword [eax], 0
xorps xmm0, xmm0
lea ebx, [esp + 0x10]
movups xmmword [ebx + 0x3c], xmm0
movaps xmmword [ebx + 0x30], xmm0
movaps xmmword [ebx + 0x20], xmm0
movaps xmmword [ebx + 0x10], xmm0
movaps xmmword [ebx], xmm0
sub esp, 0x1c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
movaps xmm0, xmmword [0x10055170]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
call dword [sym.imp.WININET.dll_UrlCacheFindFirstEntry]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1000c585
cmp edi, 0x80070103
je 0x1000c5a5
jmp 0x1000c64e
mov edi, 0x80070057
jmp 0x1000c64e
push esi
call fcn.10036d35
add esp, 4
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_StrCmpNICW]
test eax, eax
je 0x1000c5e5
push ebx
call dword [sym.imp.WININET.dll_UrlCacheFreeEntryInfo]
xor edi, edi
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x1000c64e
xor eax, eax
mov dword [esp + 0x10], eax
push ebx
push 0x102
push eax
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000c61a
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000c643
mov esi, dword [sym.imp.WININET.dll_UrlCacheFindNextEntry]
push dword [esp + 0x10]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push ebx
call dword [sym.imp.WININET.dll_UrlCacheFreeEntryInfo]
push ebx
push dword [esp + 0x68]
call esi
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1000c5eb
jmp 0x1000c56e
mov edi, dword [esp + 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 0x1000c643
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp esi, 0x80070002
cmovne edi, esi
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.10025901
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000cbb8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x11c
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1005f860]
mov ecx, dword [0x1005ebfc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000cc08
mov bl, byte [0x1005f85c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
mov eax, ebx
add esp, 0x11c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1005f860
call fcn.100249b6
add esp, 4
cmp dword [0x1005f860], 0xffffffff
jne 0x1000cbeb
mov eax, dword [0x1005f890]
mov ecx, dword [0x1005ebfc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000cd3b
mov bl, 1
cmp byte [0x1005f88c], 0
jne 0x1000cc74
mov eax, dword [0x1005f898]
mov ecx, dword [0x1005ebfc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000cd78
cmp byte [0x1005f894], 0
je 0x1000cc8c
mov byte [0x1005f85c], bl
push 0x1005f860
call fcn.1002496c
add esp, 4
jmp 0x1000cbeb
lea esi, [ebp - 0x120]
push 0x110
push 0
push esi
call fcn.10028220
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 0x1000cc74
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 0x1000cc74
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
je 0x1000cced
cmp eax, 6
jne 0x1000cd34
mov bl, 1
mov eax, dword [ebp - 0x128]
cmp eax, 0x1b
ja 0x1000cd08
mov ecx, 0xa07f7d0
bt ecx, eax
jb 0x1000cc74
lea ecx, [eax - 0x77]
cmp ecx, 0xb
ja 0x1000cd1e
mov edx, 0xccd
bt edx, ecx
jb 0x1000cc74
add eax, 0xffffffba
cmp eax, 0xe
ja 0x1000cd34
mov ecx, 0x4005
bt ecx, eax
jb 0x1000cc74
xor ebx, ebx
jmp 0x1000cc74
push 0x1005f890
call fcn.100249b6
add esp, 4
cmp dword [0x1005f890], 0xffffffff
jne 0x1000cc3f
push 0x1c
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
setne byte [0x1005f88c]
push 0x1005f890
call fcn.1002496c
add esp, 4
jmp 0x1000cc3f
push 0x1005f898
call fcn.100249b6
add esp, 4
cmp dword [0x1005f898], 0xffffffff
jne 0x1000cc6b
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 0x1000cdd3
push str.IsDeviceRegisteredWithManagement
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000cdd3
xor esi, esi
lea edi, [ebp - 0x124]
push esi
push esi
push edi
call eax
cmp dword [edi], esi
setne cl
jmp 0x1000cdea
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 [0x1005f894], al
push 0x1005f898
call fcn.1002496c
add esp, 4
jmp 0x1000cc6b
Function at 0x1000cfb7
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 [0x1005d014]
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 0x1000d080
mov edi, eax
mov dword [ebp - 0x14], 0
push str.msiso.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d005
mov ecx, 0x82
jmp 0x1000d019
push str.iertutil.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d080
mov ecx, 0x1e0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d080
mov ecx, eax
mov dword [ebp - 0x20], esi
lea esi, [ebp - 0x1c]
mov dword [esi], 0
lea eax, [ebp - 0x14]
push esi
push eax
push edi
call ecx
xor ebx, ebx
test eax, eax
jne 0x1000d082
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000d082
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000d080
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 0x1000d082
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000d096
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 [0x1005d014]
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.1000cfb7
mov bl, 1
test al, al
je 0x1000d162
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 0x1000d160
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 0x1000d140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
test edi, edi
je 0x1000d14b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1000d160
mov eax, esp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
setns bl
jmp 0x1000d162
xor ebx, ebx
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.10025901
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d177
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [esp + 0x20], eax
xor ebx, ebx
call fcn.1000d096
test al, al
jne 0x1000d229
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 [0x100554b0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.100044f2
mov ebx, 0
test eax, eax
jne 0x1000d21a
xor eax, eax
dec eax
lea ecx, [esp + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
call fcn.1000cfb7
test al, al
je 0x1000d214
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 0x1000d218
xor ebx, ebx
jmp 0x1000d21a
mov bl, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000d229
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.10025901
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x1000d297
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 [0x1005d014]
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 0x1000d2f2
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 0x1000d34c
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 0x1000d320
mov ebx, eax
jmp 0x1000d34c
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 0x1000d34c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x18], ecx
mov edi, 0x65e
cmove edi, eax
test ebx, ebx
cmovne edi, ebx
test esi, esi
je 0x1000d36c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx esi, di
or esi, 0x80070000
test edi, edi
cmovle esi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d38e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1005d014]
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.1000d297
add esp, 8
test eax, eax
jne 0x1000d3cf
xor esi, esi
cmp dword [ebp - 0x1c], 0
jne 0x1000d4a1
mov ebx, 0xffffffe8
xor esi, esi
lea edi, [ebp - 0x14]
mov eax, dword [ebx + 0x100559e4]
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 0x1000d3ff
xor edi, edi
jmp 0x1000d44e
mov ecx, edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebx + 0x100559e8]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 4
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x20]
push edx
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
cmp dword [ebp - 0x20], esi
setne dl
test eax, eax
jne 0x1000d44c
cmp dword [ebp - 0x14], 4
jne 0x1000d44c
mov cl, dl
mov dword [ebp - 0x24], ecx
xor eax, eax
xor esi, esi
jmp 0x1000d450
xor esi, esi
mov al, 1
test edi, edi
je 0x1000d45f
push edi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
test al, al
je 0x1000d49e
add ebx, 0xc
lea edi, [ebp - 0x14]
jne 0x1000d3d9
mov dword [ebp - 0x14], 0xffffffff
mov ecx, str.RedirectionMode
mov edx, 4
push 4
push edi
call fcn.1000d297
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
jmp 0x1000d4a1
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000d4b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1005d014]
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 0x1000d4ef
xor ebx, ebx
inc ebx
jmp 0x1000d549
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 0x1000d549
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.10025901
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret