Function at 0x77b630
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x1a4
push 0xffffffffffffffff
push 0x878a36
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 0x1ac]
xor ebx, ebx
mov edi, dword [ebp + 0x1b0]
push ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x14], ebx
call fcn.00779d70
test al, al
je 0x77c17f
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x5c], ebx
cmp dword [esi + 0x10], ebx
jne 0x77b69f
xor eax, eax
jmp 0x77b6a9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x77b6a9
mov eax, dword [esi]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x40]
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x77c17f
mov eax, dword [ebp - 0x40]
cmp eax, 1
je 0x77bcda
cmp eax, 2
je 0x77bcda
xor al, al
test al, al
jne 0x77b73f
lea eax, [ebp + 0x50]
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 0x77b724
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x77b724
call fcn.007423b0
jmp 0x77b729
mov al, byte [0xa5d794]
test al, al
je 0x77b73f
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x77b743
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x77b75a
lea ecx, [ebp + 0x50]
and ebx, 0xfffffffe
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x77ca9b
push str.Registry_value___s__is_not_text__but_of_type__s_
lea ecx, [ebp + 0x50]
call fcn.00436310
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 + 0xc0], eax
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0xd4], 7
mov word [ebp + 0xc0], ax
mov dword [ebp + 0xd8], eax
mov dword [ebp + 0xdc], eax
mov byte [ebp - 4], 3
call fcn.0074abf0
test eax, eax
je 0x77b800
lea ecx, [ebp + 0x140]
push ecx
lea ecx, [ebp + 0xc0]
push ecx
lea ecx, [ebp + 0x50]
push ecx
mov ecx, eax
call fcn.0074fa90
mov esi, eax
test esi, esi
jne 0x77b80e
lea eax, [ebp + 0x50]
push eax
call fcn.00750db0
add esp, 4
mov esi, eax
call fcn.00737c40
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
call fcn.00737c40
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 5
call fcn.00737c40
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x40]
sub esp, 0x20
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x20], esi
cmp eax, 0xb
ja case.default.0x77b856
jmp dword [eax*4 + 0x77cac8]
push str.NONE
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push 0x9be468
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.EXPAND_SZ
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.BINARY
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.DWORD
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.DWORD_BIG_ENDIAN
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.LINK
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.MULTI_SZ
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.RESOURCE_LIST
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.FULL_RESOURCE_DESCRIPTOR
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.RESOURCE_REQUIREMENTS_LIST
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.QWORD
mov ecx, esi
call fcn.004cb630
or ebx, 8
jmp 0x77bb7e
push str.unknown___lu_
lea ecx, [ebp + 0x100]
call fcn.00436310
xor eax, eax
mov dword [ebp + 0x160], 0
mov dword [ebp + 0x170], 0
mov dword [ebp + 0x174], 7
mov word [ebp + 0x160], ax
mov dword [ebp + 0x178], eax
mov dword [ebp + 0x17c], eax
mov dword [ebp + 0x180], eax
mov dword [ebp + 0x190], eax
mov dword [ebp + 0x194], 7
mov word [ebp + 0x180], ax
mov dword [ebp + 0x198], eax
mov dword [ebp + 0x19c], eax
mov byte [ebp - 4], 9
call fcn.0074abf0
test eax, eax
je 0x77b9e8
lea ecx, [ebp + 0x160]
push ecx
lea ecx, [ebp + 0x180]
push ecx
lea ecx, [ebp + 0x100]
push ecx
mov ecx, eax
call fcn.0074fa90
mov edi, eax
test edi, edi
jne 0x77b9f9
lea eax, [ebp + 0x100]
push eax
call fcn.00750db0
add esp, 4
mov edi, eax
call fcn.00737c40
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0xa
call fcn.00737c40
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xb
call fcn.00737c40
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00745540
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x77ba75
cmp dword [0xa5d6f8], 0
je 0x77ba75
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatStringSpecifier_T_::value____argtype
push str.wxArgNormalizer_unsigned_long_::wxArgNormalizer
push 0x1e4
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x77ba75
mov byte [0xea569c], 0
int3
lea ecx, [ebp - 0x58]
call fcn.00744ca0
push dword [ebp - 0x14]
push eax
push esi
call fcn.00736b30
add esp, 0xc
lea ecx, [ebp - 0x58]
or ebx, 0x18
call fcn.00476650
push dword [ebp + 0x198]
mov byte [ebp - 4], 8
call fcn.00805aaa
mov edx, dword [ebp + 0x194]
add esp, 4
cmp edx, 8
jb 0x77bae7
mov ecx, dword [ebp + 0x180]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77badd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0x178]
xor eax, eax
mov dword [ebp + 0x190], 0
mov dword [ebp + 0x194], 7
mov word [ebp + 0x180], ax
mov byte [ebp - 4], 7
call fcn.00805aaa
mov edx, dword [ebp + 0x174]
add esp, 4
cmp edx, 8
jb 0x77bb56
mov ecx, dword [ebp + 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77bb4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x170], 0
lea ecx, [ebp + 0x100]
mov dword [ebp + 0x174], 7
mov word [ebp + 0x160], ax
call fcn.00436e00
sub esp, 0x20
mov byte [ebp - 4], 0xd
mov eax, esp
mov dword [ebp - 0x20], esp
push dword [ebp - 0x64]
push dword [ebp - 0x18]
push eax
call fcn.00778060
add esp, 0xc
push 0x8a7570
push str.wxRegKey::QueryValue
push 0x412
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0xe
call fcn.004cb4d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, eax
call fcn.00583530
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
lea ecx, [ebp - 0x3c]
call fcn.00476650
push dword [ebp + 0xd8]
mov byte [ebp - 4], 2
call fcn.00805aaa
mov edx, dword [ebp + 0xd4]
add esp, 4
cmp edx, 8
jb 0x77bc38
mov ecx, dword [ebp + 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77bc2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0x158]
xor eax, eax
mov dword [ebp + 0xd0], 0
mov dword [ebp + 0xd4], 7
mov word [ebp + 0xc0], ax
mov byte [ebp - 4], 1
call fcn.00805aaa
mov edx, dword [ebp + 0x154]
add esp, 4
cmp edx, 8
jb 0x77bca7
mov ecx, dword [ebp + 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77bc9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x150], 0
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x154], 7
mov word [ebp + 0x140], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436e00
mov al, 1
jmp 0x77b6e3
mov esi, dword [ebp - 0x5c]
shr esi, 1
mov dword [ebp - 0x1c], esi
jne 0x77bd08
mov dword [edi + 0x10], ebx
cmp dword [edi + 0x14], 8
jb 0x77bcef
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x30], 0
jne 0x77c17f
mov al, 1
jmp 0x77ca9d
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.004d0c30
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], bl
cmp dword [eax + 0x10], ebx
jne 0x77bd24
xor ecx, ecx
jmp 0x77bd2e
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x77bd2e
mov ecx, dword [eax]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x5c]
push edx
push dword [eax]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x18]
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x18]
dec esi
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp word [eax + edx*2 - 2], bx
mov byte [ebp - 0x2c], 1
cmovne esi, edx
mov dword [ebp - 0x30], esi
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov ecx, dword [0x9b7ac8]
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x77bd9f
cmp esi, ecx
jne 0x77bdde
mov esi, eax
lea edx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x77bd90
sub esi, edx
sar esi, 1
cmp esi, ecx
jne 0x77bdde
cmp dword [0xa5d6f8], 0
je 0x77bdde
push str.must_have_real_length
push str.len___npos
push str.wxString::SubstrBufFromType_wchar_t_const__::SubstrBufFromType
push 0x159
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_string.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x77bdde
mov byte [0xea569c], 0
int3
mov ecx, dword [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
call fcn.00437780
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x12
jne 0x77be2f
cmp dword [0xa5d6f8], 0
je 0x77be2f
push str.forgot_to_call_SetLength__
push str.this__m_lenSet
push str.wxStringTypeBufferLengthBase_wchar_t_::wxStringTypeBufferLengthBase
push 0xfc8
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_string.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x77be2f
mov byte [0xea569c], 0
int3
mov byte [ebp - 4], 0x13
call fcn.00737c40
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
je 0x77be74
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x77be6c
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x77be6c
cmp byte [esi + 0xa], 0
je 0x77be61
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 - 0x34], eax
cmp dword [ebp - 0x40], 2
mov dword [ebp - 4], 0xffffffff
jne 0x77bcf4
cmp byte [ebp + 0x1b4], 0
jne 0x77bcf4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x77be9c
mov eax, dword [edi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test esi, esi
setne al
test esi, esi
je 0x77c02a
xor eax, eax
mov dword [ebp + 0x120], 0
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 7
mov word [ebp + 0x120], ax
mov dword [ebp + 0x138], eax
mov dword [ebp + 0x13c], eax
push esi
lea eax, [ebp + 0x120]
mov dword [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x28]
call fcn.004d0c30
cmp dword [edi + 0x14], 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, edi
jb 0x77bf0f
mov eax, dword [edi]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
setne byte [ebp - 0xd]
mov eax, dword [ebp - 0x24]
mov edx, 0x88c2f0
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x77bf36
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x28]
push edx
call fcn.00437780
mov byte [ebp - 4], 0x16
call fcn.00737c40
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x77bf94
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x77bf8c
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x77bf8c
cmp byte [esi + 0xa], 0
je 0x77bf81
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
lea eax, [ebp + 0x120]
mov byte [ebp - 4], 0x14
cmp edi, eax
je 0x77bfbe
cmp dword [ebp + 0x134], 8
mov ecx, edi
push dword [ebp + 0x130]
cmovae eax, dword [ebp + 0x120]
push eax
call fcn.00437780
push dword [ebp + 0x138]
mov dword [ebp - 4], 0xffffffff
call fcn.00805aaa
mov edx, dword [ebp + 0x134]
add esp, 4
cmp edx, 8
jb 0x77c013
mov ecx, dword [ebp + 0x120]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77c009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
mov al, byte [ebp - 0xd]
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 7
test al, al
jne 0x77bcf4
test al, al
jne 0x77c08e
lea eax, [ebp + 0x50]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0x17
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x77c073
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x77c073
call fcn.007423b0
jmp 0x77c078
mov al, byte [0xa5d794]
test al, al
je 0x77c08e
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x77c092
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x77c0ac
and ebx, 0xfffffffd
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x77bcf4
call fcn.00737c40
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x18
call fcn.00737c40
mov dword [ebp - 0x38], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x19
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
sub esp, 0x14
mov dword [ebp - 4], 0x1a
mov esi, esp
mov dword [ebp - 0x24], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
push 0x8a7570
push str.wxRegKey::QueryValue
push 0x445
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
push 6
lea ecx, [ebp]
mov byte [ebp - 4], 0x1b
call fcn.004cb4d0
mov esi, eax
mov byte [ebp - 4], 0x1c
call sub.KERNEL32.dll_GetLastError
push eax
push str.ExpandEnvironmentStrings
push 0x445
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, esi
call fcn.004d0600
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x77c032
xor al, al
test al, al
jne 0x77c1e0
lea eax, [ebp + 0x140]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 4
mov dword [ebp - 4], 0x1e
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x77c1c5
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x77c1c5
call fcn.007423b0
jmp 0x77c1ca
mov al, byte [0xa5d794]
test al, al
je 0x77c1e0
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x77c1e4
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x77c261
push dword [ebp + 0x158]
and ebx, 0xfffffffb
mov dword [ebp - 0x14], ebx
call fcn.00805aaa
mov edx, dword [ebp + 0x154]
add esp, 4
cmp edx, 8
jb 0x77c244
mov ecx, dword [ebp + 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77c23a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x150], 0
mov dword [ebp + 0x154], 7
mov word [ebp + 0x140], ax
cmp byte [ebp - 0xd], 0
je 0x77ca9b
mov eax, dword [0xea560c]
test eax, eax
jne 0x77c27e
call fcn.007354a0
mov dword [0xea560c], eax
push eax
push dword [0x9b7ac8]
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0x1f
push str.Cant_read_value_of__s
push eax
call fcn.007369b0
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x20], esi
call fcn.00737c40
cmp esi, eax
je 0x77c2b3
inc word [esi + 8]
or ebx, 0x40
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x21
call fcn.00737c40
mov ecx, dword [ebp - 0x60]
cmp ecx, eax
je 0x77c2fe
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x77c2f6
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x77c2f6
cmp byte [edi + 0xa], 0
je 0x77c2eb
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 - 0x60], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp + 0x180], 0
mov byte [ebp - 4], 0x1f
mov dword [ebp + 0x190], 0
mov dword [ebp + 0x194], 7
mov word [ebp + 0x180], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x77c330
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0x180]
call fcn.00437780
and ebx, 0xffffffbf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x22
call fcn.00737c40
mov edi, 0xffff
cmp esi, eax
je 0x77c394
add word [esi + 8], di
jne 0x77c38c
test esi, esi
je 0x77c38c
cmp byte [esi + 0xa], 0
je 0x77c381
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 dword [ebp + 0x198], 0
mov dword [ebp + 0x19c], 0
xor eax, eax
mov dword [ebp + 0x100], 0
mov dword [ebp - 4], 0x23
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 + 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], 0x25
call fcn.0074abf0
test eax, eax
je 0x77c43a
lea ecx, [ebp + 0x100]
push ecx
lea ecx, [ebp + 0x160]
push ecx
lea ecx, [ebp + 0x180]
push ecx
mov ecx, eax
call fcn.0074fa90
mov esi, eax
test esi, esi
jne 0x77c44b
lea eax, [ebp + 0x180]
push eax
call fcn.00750db0
add esp, 4
mov esi, eax
call fcn.00737c40
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x26
call fcn.00737c40
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x27
call fcn.00737c40
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
mov eax, dword [0xea560c]
mov byte [ebp - 4], 0x28
test eax, eax
jne 0x77c48c
call fcn.007354a0
mov dword [0xea560c], eax
push eax
push dword [0x9b7ac8]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x29
push str.wx.sys_error
push eax
call fcn.007369b0
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x1c], esi
call fcn.00737c40
cmp esi, eax
je 0x77c4be
inc word [esi + 8]
or ebx, 0x80
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x2b
call fcn.00737c40
mov ecx, dword [ebp - 0x44]
cmp ecx, eax
je 0x77c507
add word [ecx + 8], di
jne 0x77c4ff
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x77c4ff
cmp byte [edi + 0xa], 0
je 0x77c4f4
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 + 0xe0], 0
mov byte [ebp - 4], 0x29
mov dword [ebp + 0xf0], 0
mov dword [ebp + 0xf4], 7
mov word [ebp + 0xe0], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x77c540
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xe0]
call fcn.00437780
and ebx, 0xffffff7f
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x2c
call fcn.00737c40
cmp esi, eax
je 0x77c5a4
mov eax, 0xffff
add word [esi + 8], ax
jne 0x77c59c
test esi, esi
je 0x77c59c
cmp byte [esi + 0xa], 0
je 0x77c591
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 - 0x1c], eax
mov dword [ebp + 0xf8], 0
mov dword [ebp + 0xfc], 0
push dword [ebp - 0x64]
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x84]
push edi
push eax
mov byte [ebp - 4], 0x2d
call fcn.00778060
add esp, 0xc
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2e
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x78], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_registry.cpp
mov dword [ebp + 0x80], str.wxRegKey::QueryValue
mov dword [ebp + 0x7c], 0x44f
mov dword [ebp + 0x84], 0x8a7570
movlpd qword [ebp + 0x88], xmm0
movlpd qword [ebp + 0x90], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp + 0x98], eax
xor eax, eax
mov dword [ebp + 0xa0], 0
mov dword [ebp + 0x9c], 0
mov dword [ebp + 0xb0], 0
mov dword [ebp + 0xb4], 7
mov word [ebp + 0xa0], ax
mov dword [ebp + 0xb8], eax
mov dword [ebp + 0xbc], eax
mov byte [ebp - 4], 0x2f
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp + 0xb0], 0
mov esi, eax
je 0x77c6a9
cmp dword [0xa5d6f8], 0
je 0x77c6a9
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 0x77c6a9
mov byte [0xea569c], 0
int3
cmp dword [ebp + 0xf4], 8
lea eax, [ebp + 0xe0]
push dword [ebp + 0xf0]
cmovae eax, dword [ebp + 0xe0]
lea ecx, [ebp + 0xa0]
push eax
call fcn.00437780
push esi
lea eax, [ebp + 0xe0]
push eax
lea ecx, [ebp + 0x78]
call fcn.004f14b0
mov edi, dword [edi + 0x30]
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x31
push 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], eax
call fcn.00745540
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x77c73d
cmp dword [0xa5d6f8], 0
je 0x77c73d
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.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x77c73d
mov byte [0xea569c], 0
int3
lea ecx, [ebp - 0x58]
call fcn.00744ca0
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00746390
push eax
push esi
lea eax, [ebp + 0x70]
push edi
push eax
call fcn.005839e0
add esp, 0x10
lea ecx, [ebp - 0x84]
call fcn.00436e00
push dword [ebp + 0xb8]
mov byte [ebp - 4], 0x2d
call fcn.00805aaa
mov edx, dword [ebp + 0xb4]
add esp, 4
cmp edx, 8
jb 0x77c7bb
mov ecx, dword [ebp + 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77c7b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp + 0x9c]
xor eax, eax
mov dword [ebp + 0xb0], 0
mov dword [ebp + 0xb4], 7
mov word [ebp + 0xa0], ax
test esi, esi
je 0x77c831
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 0x32
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], 0x33
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 + 0xf8]
mov byte [ebp - 4], 0x28
call fcn.00805aaa
mov edx, dword [ebp + 0xf4]
add esp, 4
cmp edx, 8
jb 0x77c883
mov ecx, dword [ebp + 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77c879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
mov byte [ebp - 4], 0x34
call fcn.00737c40
mov ecx, dword [ebp - 0x50]
mov edi, 0xffff
cmp ecx, eax
je 0x77c8c8
add word [ecx + 8], di
jne 0x77c8c0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x77c8c0
cmp byte [esi + 0xa], 0
je 0x77c8b5
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 - 0x50], eax
mov byte [ebp - 4], 0x35
call fcn.00737c40
mov ecx, dword [ebp - 0x54]
cmp ecx, eax
je 0x77c908
add word [ecx + 8], di
jne 0x77c900
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x77c900
cmp byte [esi + 0xa], 0
je 0x77c8f5
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 - 0x54], eax
mov byte [ebp - 4], 0x36
call fcn.00737c40
mov ecx, dword [ebp - 0x58]
cmp ecx, eax
je 0x77c948
add word [ecx + 8], di
jne 0x77c940
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x77c940
cmp byte [esi + 0xa], 0
je 0x77c935
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 - 0x58], eax
push dword [ebp + 0x178]
mov byte [ebp - 4], 0x24
call fcn.00805aaa
mov edx, dword [ebp + 0x174]
add esp, 4
cmp edx, 8
jb 0x77c99a
mov ecx, dword [ebp + 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77c990
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0x118]
xor eax, eax
mov dword [ebp + 0x170], 0
mov dword [ebp + 0x174], 7
mov word [ebp + 0x160], ax
mov byte [ebp - 4], 0x23
call fcn.00805aaa
mov edx, dword [ebp + 0x114]
add esp, 4
cmp edx, 8
jb 0x77ca09
mov ecx, dword [ebp + 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77c9ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0x198]
xor eax, eax
mov dword [ebp + 0x110], 0
mov dword [ebp + 0x114], 7
mov word [ebp + 0x100], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00805aaa
mov edx, dword [ebp + 0x194]
add esp, 4
cmp edx, 8
jb 0x77ca77
mov ecx, dword [ebp + 0x180]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x77ca6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x77cac2
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x190], 0
mov word [ebp + 0x180], ax
mov al, 1
mov dword [ebp + 0x194], 7
jmp 0x77c181
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 + 0x1a0]
xor ecx, ebp
call fcn.00800392
lea esp, [ebp + 0x1a4]
pop ebp
ret 0xc
call fcn.00805a59
nop
pop ebp
mov eax, -1200553865
ja 0x77cad0
test dword [eax - 0x4766ff89], edi
ja 7850712
lodsd eax, dword [esi]
mov eax, -1195310985
ja 0x77cae0
aad 0xb8
ja 7850724
jmp 0xfd7842a1