Function at 0x77c980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x184]
sub esp, 0x184
push 0xffffffffffffffff
push 0x87893d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0xa5d1d4]
xor eax, ebp
mov dword [ebp + 0x180], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0x190]
xor ebx, ebx
mov edi, dword [ebp + 0x18c]
push ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ebx
call fcn.00779c00
test al, al
je 0x77d13a
cmp dword [edi + 0x10], ebx
jne 0x77c9e9
xor eax, eax
jmp 0x77c9f3
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x77c9f3
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
test eax, eax
jne 0x77ce18
cmp dword [ebp - 0x1c], 3
je 0x77ccfe
xor al, al
test al, al
jne 0x77ca84
lea eax, [ebp + 0xe0]
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 - 0x18], ebx
je 0x77ca69
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x77ca69
call fcn.00742270
jmp 0x77ca6e
mov al, byte [0xa5c73c]
test al, al
je 0x77ca84
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x77ca88
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x77caa2
lea ecx, [ebp + 0xe0]
and ebx, 0xfffffffe
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x77d13a
push str.Registry_value___s__is_not_binary__but_of_type__s_
lea ecx, [ebp + 0xe0]
call fcn.00436220
xor eax, eax
mov dword [ebp + 0x140], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0x150], 0
mov dword [ebp + 0x154], 7
mov word [ebp + 0x140], ax
mov dword [ebp + 0x158], eax
mov dword [ebp + 0x15c], eax
mov dword [ebp + 0x160], eax
mov dword [ebp + 0x170], eax
mov dword [ebp + 0x174], 7
mov word [ebp + 0x160], ax
mov dword [ebp + 0x178], eax
mov dword [ebp + 0x17c], eax
mov byte [ebp - 4], 3
call fcn.0074aab0
test eax, eax
je 0x77cb4e
lea ecx, [ebp + 0x140]
push ecx
lea ecx, [ebp + 0x160]
push ecx
lea ecx, [ebp + 0xe0]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x77cb5f
lea eax, [ebp + 0xe0]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
call fcn.00737b00
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
call fcn.00737b00
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
sub esp, 0x20
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
push eax
call fcn.007789c0
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x18], esp
push edi
push dword [ebp - 0x14]
push eax
call fcn.00777ef0
add esp, 0xc
push 0x8a64f0
push str.wxRegKey::QueryValue
push 0x3e1
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
push 1
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 8
call fcn.004cb390
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.00583390
lea ecx, [ebp + 0x80]
call fcn.00436d10
lea ecx, [ebp + 0x58]
call fcn.004cb830
lea ecx, [ebp - 0x38]
call fcn.00476530
push dword [ebp + 0x178]
mov byte [ebp - 4], 2
call fcn.008058ea
mov edx, dword [ebp + 0x174]
add esp, 4
cmp edx, 8
jb 0x77cc59
mov ecx, dword [ebp + 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77cc4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77d161
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp + 0x158]
xor eax, eax
mov dword [ebp + 0x170], 0
mov dword [ebp + 0x174], 7
mov word [ebp + 0x160], ax
mov byte [ebp - 4], 1
call fcn.008058ea
mov edx, dword [ebp + 0x154]
add esp, 4
cmp edx, 8
jb 0x77ccc8
mov ecx, dword [ebp + 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77ccbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77d161
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp + 0x150], 0
lea ecx, [ebp + 0xe0]
mov dword [ebp + 0x154], 7
mov word [ebp + 0x140], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436d10
mov al, 1
jmp 0x77ca25
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x77ce0f
mov esi, dword [esi]
cmp eax, dword [esi + 4]
jbe 0x77cd98
add eax, 0x400
push eax
push dword [esi]
mov dword [ebp - 0x18], eax
call fcn.00805a2d
add esp, 8
test eax, eax
jne 0x77cd8d
cmp dword [esi], ebx
jne 0x77cd3a
push eax
call fcn.008058ea
add esp, 4
jmp 0x77cd95
cmp dword [esi + 0xc], 1
je 0x77cd78
cmp dword [0xa5c6a0], ebx
je 0x77cd78
push str.cant_release_shared_buffer
push str.m_ref__1
push str.wxMemoryBufferData::release
push 0x1e9
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_buffer.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], bl
je 0x77cd78
mov byte [0xea464c], bl
int3
mov eax, dword [esi]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.008058ea
add esp, 4
jmp 0x77cd95
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
cmp dword [edi + 0x10], ebx
jne 0x77cda6
xor edi, edi
jmp 0x77cdae
cmp dword [edi + 0x14], 8
jb 0x77cdae
mov edi, dword [edi]
lea edx, [ebp - 0x20]
push edx
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
push 0
push edi
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [ecx + 0x30], eax
mov eax, dword [esi]
cmp edi, dword [eax + 4]
jbe 0x77ce08
cmp dword [0xa5c6a0], ebx
je 0x77ce08
push 0
push str.len___m_bufdata__m_size
push str.wxMemoryBuffer::SetDataLen
push 0x22e
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_buffer.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], bl
je 0x77ce08
mov byte [0xea464c], bl
int3
mov eax, dword [esi]
mov dword [eax + 8], edi
jmp 0x77ce18
push 0
mov ecx, esi
call fcn.006698a0
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], ebx
je 0x77d136
xor al, al
test al, al
jne 0x77ce85
lea eax, [ebp + 0xe0]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0xb
cmp dword [0xea47c8], 0
mov dword [ebp - 0x18], ebx
je 0x77ce6a
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x77ce6a
call fcn.00742270
jmp 0x77ce6f
mov al, byte [0xa5c73c]
test al, al
je 0x77ce85
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x77ce89
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x77cea3
lea ecx, [ebp + 0xe0]
and ebx, 0xfffffffd
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x77d13a
push str.Cant_read_value_of_key__s
lea ecx, [ebp + 0xc0]
call fcn.00436220
xor eax, eax
mov dword [ebp + 0x100], 0
mov dword [ebp - 4], 0xc
mov dword [ebp + 0x110], 0
mov dword [ebp + 0x114], 7
mov word [ebp + 0x100], ax
mov dword [ebp + 0x118], eax
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x120], eax
mov dword [ebp + 0x130], eax
mov dword [ebp + 0x134], 7
mov word [ebp + 0x120], ax
mov dword [ebp + 0x138], eax
mov dword [ebp + 0x13c], eax
mov byte [ebp - 4], 0xe
call fcn.0074aab0
test eax, eax
je 0x77cf4f
lea ecx, [ebp + 0x100]
push ecx
lea ecx, [ebp + 0x120]
push ecx
lea ecx, [ebp + 0xc0]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x77cf60
lea eax, [ebp + 0xc0]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xf
call fcn.00737b00
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x10
call fcn.00737b00
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
push str.wx.sys_error
lea ecx, [ebp + 0xe0]
mov byte [ebp - 4], 0x11
call fcn.00436220
push 1
lea eax, [ebp + 0xa0]
mov byte [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.00777ff0
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x24], esp
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov byte [ecx + 8], 0
push 0x8a64f0
push str.wxRegKey::QueryValue
push 0x3f6
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0x14
call fcn.004cb390
mov esi, eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp + 0xe0]
mov ecx, esi
push eax
call fcn.004ef560
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00772ea0
lea ecx, [ebp + 0x30]
call fcn.00436d10
lea ecx, [ebp + 8]
call fcn.004cb830
lea ecx, [ebp + 0xa0]
call fcn.00436d10
lea ecx, [ebp + 0xe0]
call fcn.00436d10
lea ecx, [ebp - 0x4c]
call fcn.00476530
push dword [ebp + 0x138]
mov byte [ebp - 4], 0xd
call fcn.008058ea
mov edx, dword [ebp + 0x134]
add esp, 4
cmp edx, 8
jb 0x77d095
mov ecx, dword [ebp + 0x120]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77d08b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77d161
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp + 0x118]
xor eax, eax
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 7
mov word [ebp + 0x120], ax
mov byte [ebp - 4], 0xc
call fcn.008058ea
mov edx, dword [ebp + 0x114]
add esp, 4
cmp edx, 8
jb 0x77d100
mov ecx, dword [ebp + 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77d0f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77d161
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp + 0x110], 0
lea ecx, [ebp + 0xc0]
mov dword [ebp + 0x114], 7
mov word [ebp + 0x100], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436d10
mov al, 1
jmp 0x77ce26
mov al, 1
jmp 0x77d13c
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 + 0x180]
xor ecx, ebp
call fcn.008001d2
lea esp, [ebp + 0x184]
pop ebp
ret 8
call fcn.00805899
int3