Function at 0x10009524
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, 0xb0
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x10065040]
xor ecx, ebp
mov dword [esp + 0xa8], ecx
mov dword [eax], 1
push 0xffffffffffffffff
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100095e8
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x100095ce
lea ebx, [esp + 0x18]
mov ecx, ebx
push 2
push 0xd7
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f4c6
mov ecx, ebx
call fcn.10002640
movsx ecx, byte [edi + 0xb]
test ecx, ecx
jns 0x1000959c
mov ecx, dword [edi + 4]
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.100063da
add esp, 0xc
push 0x43
push str._OnTimer:_Failed_to_acquire_last_run_mutex_for_scheduled_task_run:
push eax
call fcn.100063da
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.10001c20
mov ecx, ebx
call fcn.1000f822
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.1002aa2a
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esp + 4], esi
call fcn.1000eb7f
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1000960d
mov eax, dword [edi]
lea edi, [esp + 0xa4]
mov dword [edi], 0xffffffff
lea edx, [esp + 0x18]
mov dword [edx], 8
lea ecx, [esp + 0x10]
push edx
push ecx
push edi
push ebx
push eax
mov esi, dword [esp + 0x18]
push dword [esi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 0xb
sete cl
mov edi, 0xd
cmove edi, ebx
test eax, eax
sete dl
cmovne edi, eax
and dl, cl
cmp dl, 1
jne 0x100096b5
mov ecx, dword [esp + 8]
sub ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
sbb eax, dword [esp + 0x14]
mov edi, dword [ebp + 0xc]
cmp ecx, dword [edi + 0x10]
sbb eax, dword [edi + 0x14]
jb 0x1000974b
call fcn.1000eb7f
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
cmp byte [edi + 0xb], 0
mov ecx, edi
mov esi, dword [esp + 4]
jns 0x10009691
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
push 8
lea eax, [esp + 0x1c]
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
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
je 0x1000975a
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000973a
lea ebx, [esp + 0x18]
mov ecx, ebx
push 2
push 0xfb
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f4c6
mov ecx, ebx
call fcn.10002640
push 0x19
push str.Failed_to_read_write_the
push eax
call fcn.100063da
add esp, 0xc
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + 0xb]
test ecx, ecx
jns 0x10009712
mov ecx, dword [edx + 4]
mov edx, dword [edx]
push ecx
push edx
push eax
call fcn.100063da
add esp, 0xc
push str._registry_value:
push eax
call fcn.1000302e
add esp, 8
mov ecx, eax
push edi
call fcn.10001a10
mov ecx, ebx
call fcn.1000f822
mov eax, dword [esi + 0x34]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x100095ce
mov esi, dword [esp + 4]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
push 0
call fcn.1000f47d
add esp, 4
test al, al
je 0x100097c3
lea edi, [esp + 0x18]
mov ecx, edi
push 0
push 0xf2
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + 0xb]
test ecx, ecx
jns 0x10009796
mov ecx, dword [edx + 4]
mov edx, dword [edx]
push ecx
push edx
push eax
call fcn.100063da
add esp, 0xc
push 0x1b
push str._OnTimer:_task_run_needed:
push eax
call fcn.100063da
add esp, 0xc
movzx edx, bl
mov ecx, eax
push edx
call fcn.10001800
mov ecx, edi
call fcn.1000f822
test bl, bl
je 0x100097e8
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 0x20]
mov ecx, dword [eax + 0x28]
call dword [0x10060ec8]
push esi
mov esi, dword [esp + 8]
push edi
call ecx
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.1000945c
jmp 0x100095ce