Function at 0x10009918
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, 0xa8
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x10067010]
xor ecx, ebp
mov dword [esp + 0xa0], ecx
mov dword [eax], 1
push 0xffffffffffffffff
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10009999
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x10009bf1
lea ebx, [esp + 0x10]
mov ecx, ebx
push 2
push 0xd7
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f55e
mov ecx, ebx
call fcn.10002a70
movzx ecx, byte [edi + 0xb]
test cl, cl
jns 0x10009a33
mov ecx, dword [edi + 4]
mov edi, dword [edi]
jmp 0x10009a36
mov dword [esp], esi
call fcn.1000ecc5
mov dword [esp + 4], eax
mov esi, edx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x100099bb
mov eax, dword [edi]
lea edi, [esp + 0x9c]
mov dword [edi], 0xffffffff
lea edx, [esp + 0x10]
mov dword [edx], 8
lea ecx, [esp + 8]
push edx
push ecx
push edi
push ebx
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [edi]
cmp ecx, 0xb
mov edi, 0xd
cmove edi, ebx
test eax, eax
cmovne edi, eax
jne 0x10009aab
cmp ecx, 0xb
jne 0x10009aab
mov eax, dword [esp + 4]
sub eax, dword [esp + 8]
sbb esi, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
cmp eax, dword [edi + 0x10]
sbb esi, dword [edi + 0x14]
jae 0x10009a6d
mov esi, dword [esp]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
jmp 0x10009b14
and ecx, 0x7f
push ecx
push edi
push eax
call fcn.10006876
add esp, 0xc
push 0x43
push str._OnTimer:_Failed_to_acquire_last_run_mutex_for_scheduled_task_run:
push eax
call fcn.10006876
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.10001dd0
mov ecx, ebx
call fcn.1000f8ba
jmp 0x10009bf1
call fcn.1000ecc5
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
cmp byte [edi + 0xb], 0
mov ecx, edi
mov esi, dword [esp]
jns 0x10009a87
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
push 8
lea eax, [esp + 0x14]
push eax
push 0xb
push 0
push ecx
push dword [esi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
sete bl
mov esi, dword [esp]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
je 0x10009b14
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x10009be5
lea ebx, [esp + 0x10]
mov ecx, ebx
push 2
push 0xfb
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f55e
mov ecx, ebx
call fcn.10002a70
push 0x19
push str.Failed_to_read_write_the
push eax
call fcn.10006876
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + 0xb]
test cl, cl
jns 0x10009bba
mov ecx, dword [edx + 4]
mov edx, dword [edx]
jmp 0x10009bbd
push 0
call fcn.1000f515
add esp, 4
test al, al
je 0x10009b82
lea edi, [esp + 0x10]
mov ecx, edi
push 0
push 0xf2
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + 0xb]
test cl, cl
jns 0x10009b52
mov ecx, dword [edx + 4]
mov edx, dword [edx]
jmp 0x10009b55
and ecx, 0x7f
push ecx
push edx
push eax
call fcn.10006876
add esp, 0xc
push 0x1b
push str._OnTimer:_task_run_needed:
push eax
call fcn.10006876
add esp, 0xc
movzx edx, bl
mov ecx, eax
push edx
call fcn.100019b0
mov ecx, edi
call fcn.1000f8ba
test bl, bl
je 0x10009ba6
mov eax, dword [esp]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 0x20]
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
push esi
mov esi, dword [esp + 4]
push edi
call ecx
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10009850
jmp 0x10009bf1
and ecx, 0x7f
push ecx
push edx
push eax
call fcn.10006876
add esp, 0xc
push str._registry_value:
push eax
call fcn.1000347a
add esp, 8
mov ecx, eax
push edi
call fcn.10001bc0
mov ecx, ebx
call fcn.1000f8ba
mov eax, dword [esi + 0x34]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.1002c1aa
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10