Function at 0x778690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x8f4
push 0xffffffffffffffff
push 0x87849a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x8fc]
xor ebx, ebx
mov esi, dword [ebp + 0x900]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
cmp dword [edi], ebx
jne 0x778717
cmp dword [0xa5d6f8], ebx
je 0x778717
push ebx
push str.IsOpened__
push str.wxRegKey::GetNextValue
push 0x47d
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], bl
je 0x778717
mov byte [0xea569c], bl
int3
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x778761
push 0
push 0
push 0
lea eax, [ecx + 1]
mov dword [ebp - 0x18], 0x400
mov dword [esi], eax
lea eax, [ebp - 0x18]
push 0
push eax
lea eax, [ebp + 0xf0]
push eax
push ecx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x778a8e
cmp eax, 0x103
jne 0x778788
mov dword [edi + 0x30], ebx
mov dword [esi], 0xffffffff
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 + 0x8f0]
xor ecx, ebp
call fcn.00800392
lea esp, [ebp + 0x8f4]
pop ebp
ret 8
xor al, al
nop word [eax + eax]
test al, al
jne 0x7787ef
lea eax, [ebp + 0x90]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea5818], 0
mov dword [ebp - 0x1c], ebx
je 0x7787d4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7787d4
call fcn.007423b0
jmp 0x7787d9
mov al, byte [0xa5d794]
test al, al
je 0x7787ef
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x7787f3
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x77880d
lea ecx, [ebp + 0x90]
and ebx, 0xfffffffe
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x778761
push str.Cant_enumerate_values_of_key__s
lea ecx, [ebp + 0x70]
call fcn.00436310
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.0074abf0
test eax, eax
je 0x7788b3
lea ecx, [ebp + 0xb0]
push ecx
lea ecx, [ebp + 0xd0]
push ecx
lea ecx, [ebp + 0x70]
push ecx
mov ecx, eax
call fcn.0074fa90
mov esi, eax
test esi, esi
jne 0x7788c1
lea eax, [ebp + 0x70]
push eax
call fcn.00750db0
add esp, 4
mov esi, eax
call fcn.00737c40
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
call fcn.00737c40
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
call fcn.00737c40
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
push str.wx.sys_error
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.00436310
push 1
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00778160
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov byte [ecx + 8], 0
push 0x8a7570
push str.wxRegKey::GetNextValue
push 0x493
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 9
call fcn.004cb4d0
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp + 0x90]
mov ecx, esi
push eax
call fcn.004ef6c0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00773010
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
lea ecx, [ebp + 0x50]
call fcn.00436e00
lea ecx, [ebp + 0x90]
call fcn.00436e00
lea ecx, [ebp - 0x30]
call fcn.00476650
push dword [ebp + 0xe8]
mov byte [ebp - 4], 2
call fcn.00805aaa
mov edx, dword [ebp + 0xe4]
add esp, 4
cmp edx, 8
jb 0x7789f0
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7789e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x778abd
push edx
push ecx
call fcn.00800125
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.00805aaa
mov edx, dword [ebp + 0xc4]
add esp, 4
cmp edx, 8
jb 0x778a5b
mov ecx, dword [ebp + 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x778a51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x778abd
push edx
push ecx
call fcn.00800125
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.00436e00
mov al, 1
jmp 0x778790
lea edx, [ebp + 0xf0]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x778a97
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0xf0]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00437780
mov al, 1
jmp 0x778763
call fcn.00805a59
int3