Function at 0x10008cc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x1005c010]
xor eax, ebp
mov dword [esp + 0xc0], eax
xor edi, edi
cmp dword [ebp + 0x1c], 0
jne 0x1000937f
mov ebx, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x113
je 0x10008df3
cmp eax, 2
je 0x10008e78
cmp eax, 1
jne 0x1000937f
xor esi, esi
lea edi, [esp + 0x20]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
sub esp, 0x1c
mov dword [esp + 0x18], esi
movaps xmm0, xmmword [0x10052840]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysReAllocString
mov ecx, edi
call fcn.100043f2
lea ecx, [ebx + 0x24]
mov eax, dword [edi]
sub esp, 0x1c
mov dword [esp + 0x18], esi
movaps xmm0, xmmword [0x10052840]
movups xmmword [esp + 8], xmm0
mov dword [esp], eax
mov dword [esp + 4], str.TaskLastRunTime
mov dword [esp + 0x24], ecx
call fcn.100043f2
push str.LocalIeToEdgeBhoMutex
call fcn.1000d5b5
add esp, 4
mov dword [ebx + 0x30], eax
xor edi, edi
dec edi
test eax, eax
je 0x100090e1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10008ecb
push 2
call fcn.1000def1
add esp, 4
test al, al
je 0x100090e1
lea ebx, [esp + 0x30]
mov ecx, ebx
push 2
push 0x9f
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
push 0x2d
push str.Failed_to_acquire_last_run_mutex_at_startup:
push ebx
call fcn.10005eef
add esp, 0xc
mov esi, edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov edi, esi
push eax
call fcn.10002170
mov ecx, ebx
call fcn.1000e1da
jmp 0x100090e1
mov esi, dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10008ea3
xor edi, edi
push 2
call fcn.1000def1
add esp, 4
test al, al
je 0x10009377
lea ebx, [esp + 0x30]
mov ecx, ebx
push 2
push 0xd7
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
movzx eax, byte [esi + 0xb]
test al, al
jns 0x10008e41
mov eax, dword [esi + 4]
mov esi, dword [esi]
push eax
push esi
push ebx
call fcn.10005eef
add esp, 0xc
push 0x43
push str._OnTimer:_Failed_to_acquire_last_run_mutex_for_scheduled_task_run:
push eax
call fcn.10005eef
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.10002170
mov ecx, ebx
call fcn.1000e1da
jmp 0x10009375
mov esi, ebx
mov eax, dword [ebx + 0x34]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
cmp edi, ebx
je 0x10009375
sub ebx, edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
add edi, 0x30
add ebx, 0xffffffd0
jne 0x10008e8c
jmp 0x10009375
call fcn.1000d577
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
cmp byte [esi + 0xb], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
js 0x100090f9
mov eax, esi
jmp 0x100090fb
mov dword [esp + 4], ebx
mov eax, dword [ebx + 0x34]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x100090ce
xor edi, edi
mov esi, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x10008ef9
mov eax, dword [ebx]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 8
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
push ecx
push edi
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x2c], 0xb
mov ecx, 0
mov edi, 0xd
cmove edi, ecx
test eax, eax
cmovne edi, eax
cmp edi, 2
je 0x10008f4c
cmp byte [ebx + 0x18], 0
je 0x10008ffe
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x10008f56
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
push 8
lea ecx, [esp + 0x34]
push ecx
push 0xb
push edx
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10009229
push 0
call fcn.1000def1
add esp, 4
test al, al
je 0x10008fd7
lea ecx, [esp + 0x30]
push 0
push 0xae
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x10008fb1
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea edi, [esp + 0x38]
push edi
call fcn.10005eef
add esp, 0xc
push 0xf
push str._initial_run:_0
push eax
call fcn.10005eef
add esp, 0xc
mov ecx, edi
call fcn.1000e1da
xor edi, edi
push edi
push edi
push esi
mov eax, dword [esp + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetTimer]
add ebx, 0x30
add esi, 0x30
cmp dword [esp + 0xc], ebx
jne 0x10008ee7
jmp 0x100090ce
test edi, edi
jne 0x1000922b
call fcn.1000d577
mov ecx, edx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
sub eax, edi
mov dword [esp + 0x14], edx
sbb ecx, edx
mov edi, dword [ebx + 0x10]
mov edx, 0xdc3cba00
add edi, edx
mov edx, dword [ebx + 0x14]
adc edx, 0xffffffff
cmp eax, edi
sbb ecx, edx
jae 0x1000904e
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
push ebx
push dword [esp + 0x18]
call fcn.10008bfa
add esp, 8
jmp 0x100090c7
push 0
call fcn.1000def1
add esp, 4
test al, al
je 0x100090b2
lea ecx, [esp + 0x30]
push 0
push 0xb9
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x10009080
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea edi, [esp + 0x38]
push edi
call fcn.10005eef
add esp, 0xc
push 0xe
push str._initial_run:
push eax
call fcn.10005eef
add esp, 0xc
mov ecx, eax
push 0xea60
call fcn.10002170
mov ecx, edi
call fcn.1000e1da
push 0
push 0xea60
push esi
mov eax, dword [esp + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor edi, edi
jmp 0x10008fe9
xor edi, edi
mov eax, dword [esp + 4]
push dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
neg edi
sbb edi, edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10009377
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10009377
mov eax, dword [esi]
lea esi, [esp + 0x18]
mov dword [esi], 0xffffffff
lea edx, [esp + 0x30]
mov dword [edx], 8
lea ecx, [esp + 0x20]
xor edi, edi
push edx
push ecx
push esi
push edi
push eax
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi], 0xb
mov edi, 0xd
mov ecx, 0
cmove edi, ecx
test eax, eax
cmovne edi, eax
test edi, edi
je 0x100091c7
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 2
call fcn.1000def1
add esp, 4
test al, al
je 0x100091b6
lea esi, [esp + 0x30]
mov ecx, esi
push 2
push 0xfb
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
push 0x19
push str.Failed_to_read_write_the
push esi
call fcn.10005eef
add esp, 0xc
mov edx, dword [ebp + 0x10]
movzx ecx, byte [edx + 0xb]
test cl, cl
jns 0x1000918e
mov ecx, dword [edx + 4]
mov edx, dword [edx]
push ecx
push edx
push eax
call fcn.10005eef
add esp, 0xc
push str._registry_value:
push eax
call fcn.100035da
add esp, 8
mov ecx, eax
push edi
call fcn.10001f90
mov ecx, esi
call fcn.1000e1da
mov eax, dword [ebx + 0x34]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10009375
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
sbb eax, dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 4], ecx
cmp ecx, esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
sbb eax, edx
jae 0x10009212
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
call fcn.1000def1
add esp, 4
test al, al
jne 0x100092e3
jmp 0x10009362
call fcn.1000d577
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
cmp byte [edi + 0xb], 0
js 0x100092a0
mov ecx, edi
jmp 0x100092a2
mov edi, eax
push 2
call fcn.1000def1
add esp, 4
test al, al
je 0x100090d0
lea esi, [esp + 0x30]
mov ecx, esi
push 2
push 0xc1
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
push 0x19
push str.Failed_to_read_write_the
push esi
call fcn.10005eef
add esp, 0xc
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x10009271
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
push ecx
push ebx
push eax
call fcn.10005eef
add esp, 0xc
push str._registry_value:
push eax
call fcn.100035da
add esp, 8
mov ecx, eax
push edi
call fcn.10001f90
lea ecx, [esp + 0x30]
call fcn.1000e1da
jmp 0x100090d0
mov ecx, dword [edi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
push 8
lea eax, [esp + 0x34]
push eax
push 0xb
push 0
push ecx
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x10009149
push 0
call fcn.1000def1
add esp, 4
test al, al
mov edi, dword [ebp + 0x10]
je 0x10009355
cmp dword [esp + 4], esi
mov eax, dword [esp + 0xc]
sbb dword [esp + 8], eax
setb byte [esp + 8]
setae byte [esp + 4]
lea esi, [esp + 0x30]
mov ecx, esi
push 0
push 0xf2
push str..._.._third_party_ie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000df3a
movzx eax, byte [edi + 0xb]
mov ecx, edi
test al, al
jns 0x1000931f
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push esi
call fcn.10005eef
add esp, 0xc
push 0x1b
push str._OnTimer:_task_run_needed:
push eax
call fcn.10005eef
add esp, 0xc
movzx edx, byte [esp + 4]
mov ecx, eax
push edx
call fcn.10001db0
mov ecx, esi
call fcn.1000e1da
cmp byte [esp + 8], 0
jne 0x10009362
lea eax, [edi + 0x20]
push dword [ebx + 0x34]
push eax
call dword [edi + 0x28]
add esp, 8
mov edx, dword [esp + 0x20]
mov ecx, ebx
push edi
push dword [esp + 0x28]
call fcn.10008bfa
add esp, 8
xor edi, edi
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
xor edi, edi
inc edi
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.10025727
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18