Function at 0x7776d0
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0xf4
push 0xffffffffffffffff
push 0x8780b2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0xa5d1d4]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 0xfc]
xor ebx, ebx
push 1
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
call fcn.00779c00
test al, al
je 0x777b5f
cmp dword [edi + 0x10], ebx
jne 0x777734
xor eax, eax
jmp 0x77773e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x77773e
mov eax, dword [edi]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x777b5b
cmp eax, 2
je 0x777b5b
xor al, al
nop dword [eax]
test al, al
jne 0x7777bf
lea eax, [ebp + 0x90]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7777a4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7777a4
call fcn.00742270
jmp 0x7777a9
mov al, byte [0xa5c73c]
test al, al
je 0x7777bf
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x7777c3
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x7777dd
lea ecx, [ebp + 0x90]
and ebx, 0xfffffffe
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x777b5f
push str.Cant_delete_value__s_from_key__s
lea ecx, [ebp + 0x70]
call fcn.00436220
xor eax, eax
mov dword [ebp + 0xb0], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 7
mov word [ebp + 0xb0], ax
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0xcc], eax
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0xe0], eax
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
mov dword [ebp + 0xe8], eax
mov dword [ebp + 0xec], eax
mov byte [ebp - 4], 3
call fcn.0074aab0
test eax, eax
je 0x777883
lea ecx, [ebp + 0xb0]
push ecx
lea ecx, [ebp + 0xd0]
push ecx
lea ecx, [ebp + 0x70]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x777891
lea eax, [ebp + 0x70]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
call fcn.00737b00
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 5
call fcn.00737b00
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
push str.wx.sys_error
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.00436220
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x50]
push 1
push eax
mov byte [ebp - 4], 7
call fcn.00777ff0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.004cb460
push 0x8a64f0
push str.wxRegKey::DeleteValue
push 0x31c
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.004cb390
mov esi, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
mov edi, dword [eax + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp + 0x90]
mov ecx, esi
push eax
call fcn.004ef560
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
push 2
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
call fcn.00745400
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x777999
cmp dword [0xa5c6a0], 0
je 0x777999
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
push 0x241
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x777999
mov byte [0xea464c], 0
int3
lea eax, [ebp - 0x64]
push 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], eax
call fcn.00745400
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7779ed
cmp dword [0xa5c6a0], 0
je 0x7779ed
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
push 0x230
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7779ed
mov byte [0xea464c], 0
int3
lea ecx, [ebp - 0x44]
call fcn.00744b60
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00746230
push eax
lea ecx, [ebp - 0x20]
call fcn.00746250
push eax
push esi
push edi
push dword [ebp - 0x14]
call fcn.00583840
add esp, 0x14
lea ecx, [ebp - 0x64]
call fcn.00436d10
cmp byte [ebp - 0x28], 0
je 0x777a3d
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x777a3d
mov ecx, esi
call fcn.00436d10
push 0x20
push esi
call fcn.007fff65
add esp, 8
lea ecx, [ebp + 0x30]
call fcn.00436d10
lea ecx, [ebp + 8]
call fcn.004cb830
lea ecx, [ebp + 0x50]
call fcn.00436d10
lea ecx, [ebp + 0x90]
call fcn.00436d10
lea ecx, [ebp - 0x44]
call fcn.00476530
push dword [ebp + 0xe8]
mov byte [ebp - 4], 2
call fcn.008058ea
mov edx, dword [ebp + 0xe4]
add esp, 4
cmp edx, 8
jb 0x777aba
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x777ab0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x777b86
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp + 0xc8]
xor eax, eax
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
mov byte [ebp - 4], 1
call fcn.008058ea
mov edx, dword [ebp + 0xc4]
add esp, 4
cmp edx, 8
jb 0x777b25
mov ecx, dword [ebp + 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x777b1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x777b86
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp + 0xc0], 0
lea ecx, [ebp + 0x70]
mov dword [ebp + 0xc4], 7
mov word [ebp + 0xb0], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436d10
mov edi, dword [ebp - 0x24]
mov al, 1
jmp 0x777760
mov al, 1
jmp 0x777b61
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf0]
xor ecx, ebp
call fcn.008001d2
lea esp, [ebp + 0xf4]
pop ebp
ret 4
call fcn.00805899
int3