Function at 0x778e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x114]
sub esp, 0x114
push 0xffffffffffffffff
push 0x878604
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp + 0x110], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov esi, dword [ebp + 0x11c]
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], ebx
call fcn.00779d70
test al, al
je 0x77984f
cmp dword [esi + 0x10], ebx
jne 0x778ed0
xor esi, esi
jmp 0x778ed8
cmp dword [esi + 0x14], 8
jb 0x778ed8
mov esi, dword [esi]
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x77984a
xor al, al
mov edi, 0xffff
nop dword [eax]
test al, al
jne 0x778f5c
lea eax, [ebp + 0x20]
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 - 0x14], ebx
je 0x778f41
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x778f41
call fcn.007423b0
jmp 0x778f46
mov al, byte [0xa5d794]
test al, al
je 0x778f5c
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x778f60
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x778fcb
push dword [ebp + 0x38]
and ebx, 0xfffffffe
mov dword [ebp - 0x14], ebx
call fcn.00805aaa
mov edx, dword [ebp + 0x34]
add esp, 4
cmp edx, 8
jb 0x778fb7
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x778fad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp byte [ebp - 0xd], 0
je 0x77984f
mov eax, dword [0xea560c]
test eax, eax
jne 0x778fe8
call fcn.007354a0
mov dword [0xea560c], eax
push eax
push dword [0x9b7ac8]
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push str.Cant_read_value_of_key__s
push eax
call fcn.007369b0
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
call fcn.00737c40
cmp esi, eax
je 0x77901d
inc word [esi + 8]
or ebx, 2
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
call fcn.00737c40
mov ecx, dword [ebp - 0x44]
cmp ecx, eax
je 0x779063
add word [ecx + 8], di
jne 0x77905b
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x77905b
cmp byte [edi + 0xa], 0
je 0x779050
push dword [edi]
call fcn.00805aaa
add esp, 4
push 0xc
push edi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x44], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp + 0xd0], 0
mov byte [ebp - 4], 1
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x779095
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xd0]
call fcn.00437780
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 4
call fcn.00737c40
mov edi, 0xffff
cmp esi, eax
je 0x7790f9
add word [esi + 8], di
jne 0x7790f1
test esi, esi
je 0x7790f1
cmp byte [esi + 0xa], 0
je 0x7790e6
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0xe8], 0
mov dword [ebp + 0xec], 0
xor eax, eax
mov dword [ebp + 0x90], 0
mov dword [ebp - 4], 5
mov dword [ebp + 0xa0], 0
mov dword [ebp + 0xa4], 7
mov word [ebp + 0x90], ax
mov dword [ebp + 0xa8], eax
mov dword [ebp + 0xac], eax
mov dword [ebp + 0xb0], eax
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xc4], 7
mov word [ebp + 0xb0], ax
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0xcc], eax
mov byte [ebp - 4], 7
call fcn.0074abf0
test eax, eax
je 0x77919f
lea ecx, [ebp + 0x90]
push ecx
lea ecx, [ebp + 0xb0]
push ecx
lea ecx, [ebp + 0xd0]
push ecx
mov ecx, eax
call fcn.0074fa90
mov esi, eax
test esi, esi
jne 0x7791b0
lea eax, [ebp + 0xd0]
push eax
call fcn.00750db0
add esp, 4
mov esi, eax
call fcn.00737c40
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
call fcn.00737c40
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov eax, dword [0xea560c]
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x7791f1
call fcn.007354a0
mov dword [0xea560c], eax
push eax
push dword [0x9b7ac8]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
push str.wx.sys_error
push eax
call fcn.007369b0
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], esi
call fcn.00737c40
cmp esi, eax
je 0x779223
inc word [esi + 8]
or ebx, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xd
call fcn.00737c40
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
je 0x779269
add word [ecx + 8], di
jne 0x779261
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x779261
cmp byte [edi + 0xa], 0
je 0x779256
push dword [edi]
call fcn.00805aaa
add esp, 4
push 0xc
push edi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x4c], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp + 0xf0], 0
mov byte [ebp - 4], 0xb
mov dword [ebp + 0x100], 0
mov dword [ebp + 0x104], 7
mov word [ebp + 0xf0], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7792a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xf0]
call fcn.00437780
and ebx, 0xfffffffb
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xe
call fcn.00737c40
cmp esi, eax
je 0x779301
mov eax, 0xffff
add word [esi + 8], ax
jne 0x7792f9
test esi, esi
je 0x7792f9
cmp byte [esi + 0xa], 0
je 0x7792ee
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x30], eax
mov dword [ebp + 0x108], 0
mov dword [ebp + 0x10c], 0
mov edi, dword [ebp - 0x34]
lea eax, [ebp]
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00778160
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x50], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x11
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x48], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
mov dword [ebp + 0x50], str.wxRegKey::GetValueType
mov dword [ebp + 0x4c], 0x365
mov dword [ebp + 0x54], 0x8a7570
movlpd qword [ebp + 0x58], xmm0
movlpd qword [ebp + 0x60], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp + 0x68], eax
xor eax, eax
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], eax
mov byte [ebp - 4], 0x12
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp + 0x80], 0
mov esi, eax
je 0x7793f6
cmp dword [0xa5d6f8], 0
je 0x7793f6
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_log.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7793f6
mov byte [0xea569c], 0
int3
cmp dword [ebp + 0x104], 8
lea eax, [ebp + 0xf0]
push dword [ebp + 0x100]
cmovae eax, dword [ebp + 0xf0]
lea ecx, [ebp + 0x70]
push eax
call fcn.00437780
push esi
lea eax, [ebp + 0xf0]
push eax
lea ecx, [ebp + 0x48]
call fcn.004f14b0
mov edi, dword [edi + 0x30]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x14
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], eax
call fcn.00745540
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x779484
cmp dword [0xa5d6f8], 0
je 0x779484
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.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x779484
mov byte [0xea569c], 0
int3
lea ecx, [ebp - 0x28]
call fcn.00744ca0
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00746370
push eax
push esi
lea eax, [ebp + 0x40]
push edi
push eax
call fcn.005839e0
add esp, 0x10
cmp byte [ebp - 0x50], 0
je 0x7794c4
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x7794c4
mov ecx, esi
call fcn.00436e00
push 0x20
push esi
call fcn.00800125
add esp, 8
push dword [ebp + 0x88]
mov byte [ebp - 4], 0x10
call fcn.00805aaa
mov edx, dword [ebp + 0x84]
add esp, 4
cmp edx, 8
jb 0x779513
mov ecx, dword [ebp + 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x779509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp + 0x6c]
xor eax, eax
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
test esi, esi
je 0x779583
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 0x15
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 0x16
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
push dword [ebp + 0x18]
mov byte [ebp - 4], 0xf
call fcn.00805aaa
mov edx, dword [ebp + 0x14]
add esp, 4
cmp edx, 8
jb 0x7795cc
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7795c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0x108]
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov byte [ebp - 4], 0xa
call fcn.00805aaa
mov edx, dword [ebp + 0x104]
add esp, 4
cmp edx, 8
jb 0x779632
mov ecx, dword [ebp + 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x779628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
mov byte [ebp - 4], 0x17
call fcn.00737c40
mov ecx, dword [ebp - 0x20]
mov edi, 0xffff
cmp ecx, eax
je 0x779677
add word [ecx + 8], di
jne 0x77966f
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x77966f
cmp byte [esi + 0xa], 0
je 0x779664
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x18
call fcn.00737c40
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x7796b7
add word [ecx + 8], di
jne 0x7796af
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x7796af
cmp byte [esi + 0xa], 0
je 0x7796a4
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x19
call fcn.00737c40
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
je 0x7796f7
add word [ecx + 8], di
jne 0x7796ef
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x7796ef
cmp byte [esi + 0xa], 0
je 0x7796e4
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x28], eax
push dword [ebp + 0xc8]
mov byte [ebp - 4], 6
call fcn.00805aaa
mov edx, dword [ebp + 0xc4]
add esp, 4
cmp edx, 8
jb 0x779749
mov ecx, dword [ebp + 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77973f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0xa8]
xor eax, eax
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 7
mov word [ebp + 0xb0], ax
mov byte [ebp - 4], 5
call fcn.00805aaa
mov edx, dword [ebp + 0xa4]
add esp, 4
cmp edx, 8
jb 0x7797b8
mov ecx, dword [ebp + 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7797ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0xe8]
xor eax, eax
mov dword [ebp + 0xa0], 0
mov dword [ebp + 0xa4], 7
mov word [ebp + 0x90], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00805aaa
mov edx, dword [ebp + 0xe4]
add esp, 4
cmp edx, 8
jb 0x779826
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77981c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x779876
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0xe0], 0
mov word [ebp + 0xd0], ax
mov al, 1
mov dword [ebp + 0xe4], 7
jmp 0x778f00
mov eax, dword [ebp - 0x3c]
jmp 0x779851
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x110]
xor ecx, ebp
call fcn.00800392
lea esp, [ebp + 0x114]
pop ebp
ret 4
call fcn.00805a59
int3