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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f3de
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1bc], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1b8], ebx
call fcn.00484550
test al, al
je 0x486a84
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x204], ebx
lea esi, [ecx + 0x14]
cmp dword [ecx + 0x10], ebx
jne 0x485ed4
xor eax, eax
jmp 0x485edd
cmp dword [esi], 8
mov eax, ecx
jb 0x485edd
mov eax, dword [ecx]
lea ecx, [ebp - 0x204]
push ecx
push 0
lea ecx, [ebp - 0x1c8]
push ecx
push 0
push eax
mov eax, dword [ebp - 0x1bc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx + 0x30], eax
test eax, eax
jne 0x486a84
mov eax, dword [ebp - 0x1c8]
cmp eax, 1
je 0x486572
cmp eax, 2
je 0x486572
xor al, al
nop dword [eax]
test al, al
jne 0x485f95
lea eax, [ebp - 0x1b0]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x1b8], ebx
je 0x485f77
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x485f77
call fcn.004667a0
jmp 0x485f7c
mov al, byte [0x5785ac]
test al, al
je 0x485f95
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x1b1], 1
cmp eax, 1
jae 0x485f9c
mov byte [ebp - 0x1b1], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x485fb6
lea ecx, [ebp - 0x1b0]
and ebx, 0xfffffffe
call fcn.00418510
cmp byte [ebp - 0x1b1], 0
je 0x487315
push str.Registry_value___s__is_not_text__but_of_type__s_
lea ecx, [ebp - 0x1b0]
call fcn.004287a0
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 3
call fcn.00467dd0
test eax, eax
je 0x486065
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x190]
push ecx
lea ecx, [ebp - 0x1b0]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x486076
lea eax, [ebp - 0x1b0]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 4], 4
call fcn.0043fb80
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 5
call fcn.0043fb80
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], esi
mov dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1c8]
sub esp, 0x20
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1fc], esp
mov dword [ebp - 0x1c4], esi
cmp eax, 0xb
ja case.default.0x4860d9
jmp dword [eax*4 + 0x48733c]
push str.NONE
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push 0x5390c0
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.EXPAND_SZ
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.BINARY
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.DWORD
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.DWORD_BIG_ENDIAN
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.LINK
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.MULTI_SZ
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.RESOURCE_LIST
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.FULL_RESOURCE_DESCRIPTOR
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.RESOURCE_REQUIREMENTS_LIST
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.QWORD
mov ecx, esi
call fcn.00416e30
or ebx, 0x40
jmp 0x4863d1
push str.unknown___lu_
lea ecx, [ebp - 0xc0]
call fcn.004287a0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
call fcn.00467dd0
test eax, eax
je 0x486241
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.004681c0
mov edi, eax
test edi, edi
jne 0x486252
lea eax, [ebp - 0xc0]
push eax
call fcn.00469180
add esp, 4
mov edi, eax
call fcn.0043fb80
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 0xa
call fcn.0043fb80
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0xb
call fcn.0043fb80
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1d4], 0
push 1
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0xc
call fcn.00461630
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x4862e0
cmp dword [0x57857c], 0
je 0x4862e0
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.D:wxWidgets_3.2.0includewx_strvararg.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x4862e0
mov byte [0x57c0ac], 0
int3
lea ecx, [ebp - 0x1e4]
call fcn.00460dc0
push dword [ebp - 0x1b8]
push eax
push esi
call fcn.0043edd0
add esp, 0xc
lea ecx, [ebp - 0x1e4]
or ebx, 0xc0
call fcn.00428f00
push dword [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x486355
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48634b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 7
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x4863b2
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4863a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00418510
sub esp, 0x20
mov byte [ebp - 4], 0xd
mov eax, esp
mov dword [ebp - 0x1c4], esp
push dword [ebp - 0x1d0]
push dword [ebp - 0x1bc]
push eax
call fcn.00482520
add esp, 0xc
xorps xmm0, xmm0
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x98], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0x90], str.wxRegKey::QueryValue
mov dword [ebp - 0x94], 0x40f
mov dword [ebp - 0x8c], 0x52a774
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0xa0]
call fcn.0047d2a0
push dword [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x4864ce
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4864c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
test esi, esi
je 0x486538
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x11
push dword [esi + 0x14]
call fcn.00462a80
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.004e0f9d
push 0x429750
push dword [esi]
mov byte [ebp - 4], 0x12
push dword [esi + 4]
call fcn.00462a80
push dword [esi]
mov dword [esi + 8], 0
call fcn.004e0f9d
push 0x20
push esi
call fcn.004c8cae
add esp, 0x28
lea ecx, [ebp - 0x1f8]
call fcn.00428f00
lea ecx, [ebp - 0x190]
call fcn.00418510
lea ecx, [ebp - 0x100]
call fcn.00418510
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00418510
mov al, 1
jmp 0x485f30
mov eax, dword [ebp - 0x204]
shr eax, 1
mov dword [ebp - 0x1c0], eax
jne 0x4865a9
mov dword [edi + 0x10], ebx
cmp dword [edi + 0x14], 8
jb 0x48658d
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x1bc]
cmp dword [eax + 0x30], 0
jne 0x486a84
mov al, 1
jmp 0x487317
push eax
push edi
lea ecx, [ebp - 0x1f4]
call fcn.0043d310
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1ec], ebx
mov byte [ebp - 0x1e8], bl
cmp dword [eax + 0x10], ebx
jne 0x4865d1
xor ecx, ecx
jmp 0x4865da
cmp dword [esi], 8
mov ecx, eax
jb 0x4865da
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1f0]
lea edx, [ebp - 0x204]
mov esi, dword [ebp - 0x1bc]
push edx
push dword [eax]
lea eax, [ebp - 0x1c8]
push eax
push 0
push ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x1c0]
mov dword [esi + 0x30], eax
mov eax, dword [ecx]
lea esi, [edx - 1]
cmp word [eax + edx*2 - 2], bx
mov byte [ebp - 0x1e8], 1
cmovne esi, edx
mov dword [ebp - 0x1ec], esi
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1c4], ecx
mov ecx, dword [0x52e46c]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x48666f
cmp esi, ecx
jne 0x4866ae
mov esi, eax
lea edx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x486660
sub esi, edx
sar esi, 1
cmp esi, ecx
jne 0x4866ae
cmp dword [0x57857c], 0
je 0x4866ae
push str.must_have_real_length
push str.len___npos
push str.wxString::SubstrBufFromType_wchar_t_const__::SubstrBufFromType
push 0x159
push str.D:wxWidgets_3.2.0includewx_string.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x4866ae
mov byte [0x57c0ac], 0
int3
mov ecx, dword [ebp - 0x1c4]
push esi
push dword [ebp - 0x1c0]
call fcn.00420000
lea ecx, [ebp - 0x1f4]
call fcn.0045aa60
cmp dword [ebp - 0x1c8], 2
mov dword [ebp - 4], 0xffffffff
jne 0x486592
cmp byte [ebp + 0x10], 0
jne 0x486592
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4866f3
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 0x486809
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
push esi
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x200]
call fcn.0043d310
cmp dword [edi + 0x14], 8
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax]
mov eax, edi
jb 0x48676c
mov eax, dword [edi]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
setne byte [ebp - 0x1b1]
mov eax, dword [ebp - 0x1fc]
mov edx, 0x5296d4
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4867a0
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x200]
push edx
call fcn.00420000
lea ecx, [ebp - 0x200]
call fcn.0047d620
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x14
cmp edi, eax
je 0x4867f1
cmp dword [ebp - 0x10c], 8
mov ecx, edi
push dword [ebp - 0x110]
cmovae eax, dword [ebp - 0x120]
push eax
call fcn.00420000
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.00418510
mov al, byte [ebp - 0x1b1]
test al, al
jne 0x486592
test al, al
jne 0x486876
lea eax, [ebp - 0x1b0]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0x16
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x1b8], ebx
je 0x486858
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x486858
call fcn.004667a0
jmp 0x48685d
mov al, byte [0x5785ac]
test al, al
je 0x486876
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x1b1], 1
cmp eax, 6
jae 0x48687d
mov byte [ebp - 0x1b1], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x48689d
and ebx, 0xfffffffd
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x1b8], ebx
call fcn.00418510
cmp byte [ebp - 0x1b1], 0
je 0x486592
call fcn.0043fb80
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 0x17
call fcn.0043fb80
mov dword [ebp - 0x1f4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 0x18
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00442110
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
sub esp, 0x14
mov dword [ebp - 4], 0x19
mov esi, esp
mov dword [ebp - 0x1fc], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.004677a0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0xa0], 6
mov dword [ebp - 0x98], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0x90], str.wxRegKey::QueryValue
mov dword [ebp - 0x94], 0x442
mov dword [ebp - 0x8c], 0x52a774
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x1b
call sub.KERNEL32.dll_GetLastError
push eax
push str.ExpandEnvironmentStrings
push 0x442
push str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0xa0]
call fcn.00446d40
push dword [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x486a01
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4869f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
test esi, esi
je 0x486a6b
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x1d
push dword [esi + 0x14]
call fcn.00462a80
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.004e0f9d
push 0x429750
push dword [esi]
mov byte [ebp - 4], 0x1e
push dword [esi + 4]
call fcn.00462a80
push dword [esi]
mov dword [esi + 8], 0
call fcn.004e0f9d
push 0x20
push esi
call fcn.004c8cae
add esp, 0x28
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 4], 0xffffffff
call fcn.00428f00
mov al, 1
jmp 0x486811
xor al, al
mov edi, 0xffff
nop dword [eax + eax]
test al, al
jne 0x486af5
lea eax, [ebp - 0x100]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 4
mov dword [ebp - 4], 0x1f
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x1b8], ebx
je 0x486ad7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x486ad7
call fcn.004667a0
jmp 0x486adc
mov al, byte [0x5785ac]
test al, al
je 0x486af5
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x1b1], 1
cmp eax, 1
jae 0x486afc
mov byte [ebp - 0x1b1], 0
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x486b7c
push dword [ebp - 0xe8]
and ebx, 0xfffffffb
mov dword [ebp - 0x1b8], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0xec]
add esp, 4
cmp ecx, 8
jb 0x486b5f
mov edx, dword [ebp - 0x100]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x486b55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
cmp byte [ebp - 0x1b1], 0
je 0x487315
mov eax, dword [0x57bfc0]
test eax, eax
jne 0x486b9c
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x208]
mov dword [ebp - 4], 0x20
push str.Cant_read_value_of__s
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x1c4], esi
call fcn.0043fb80
cmp esi, eax
je 0x486bd7
inc word [esi + 8]
or ebx, 8
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0x22
call fcn.0043fb80
mov ecx, dword [ebp - 0x208]
cmp ecx, eax
je 0x486c29
add word [ecx + 8], di
jne 0x486c1e
mov edi, dword [ebp - 0x208]
test edi, edi
je 0x486c1e
cmp byte [edi + 0xa], 0
je 0x486c13
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x208], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486c50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00420000
and ebx, 0xfffffff7
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 4], 0x23
call fcn.0043fb80
mov edi, 0xffff
cmp esi, eax
je 0x486cb3
add word [esi + 8], di
jne 0x486ca8
cmp byte [esi + 0xa], 0
je 0x486c9d
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0x24
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x26
call fcn.00467dd0
test eax, eax
je 0x486d3b
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x486d49
lea eax, [ebp - 0x30]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 0x27
call fcn.0043fb80
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0x28
call fcn.0043fb80
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1d4], 0
mov eax, dword [0x57bfc0]
mov byte [ebp - 4], 0x29
test eax, eax
jne 0x486d99
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0x2a
push str.wx.sys_error
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x1c0], esi
call fcn.0043fb80
cmp esi, eax
je 0x486dd1
inc word [esi + 8]
or ebx, 0x20
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0x2c
call fcn.0043fb80
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
je 0x486e23
add word [ecx + 8], di
jne 0x486e18
mov edi, dword [ebp - 0x1cc]
test edi, edi
je 0x486e18
cmp byte [edi + 0xa], 0
je 0x486e0d
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1cc], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486e55
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00420000
and ebx, 0xffffffdf
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0x2d
call fcn.0043fb80
cmp esi, eax
je 0x486eb8
mov eax, 0xffff
add word [esi + 8], ax
jne 0x486ead
cmp byte [esi + 0xa], 0
je 0x486ea2
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
push dword [ebp - 0x1d0]
mov edi, dword [ebp - 0x1bc]
lea eax, [ebp - 0x228]
push edi
push eax
mov byte [ebp - 4], 0x2e
call fcn.00482520
add esp, 0xc
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2f
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x168], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0x160], str.wxRegKey::QueryValue
mov dword [ebp - 0x164], 0x44c
mov dword [ebp - 0x15c], 0x52a774
movlpd qword [ebp - 0x158], xmm0
movlpd qword [ebp - 0x150], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x148], eax
xor eax, eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0x30
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp - 0x130], 0
mov esi, eax
je 0x486fcc
cmp dword [0x57857c], 0
je 0x486fcc
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.D:wxWidgets_3.2.0includewxlog.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x486fcc
mov byte [0x57c0ac], 0
int3
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
push dword [ebp - 0xd0]
cmovae eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x140]
push eax
call fcn.00420000
push esi
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x168]
call fcn.00475c90
mov edi, dword [edi + 0x30]
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x32
push 1
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x1fc], eax
call fcn.00461630
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x487069
cmp dword [0x57857c], 0
je 0x487069
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.D:wxWidgets_3.2.0includewx_strvararg.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x487069
mov byte [0x57c0ac], 0
int3
lea ecx, [ebp - 0x1e4]
call fcn.00460dc0
lea ecx, [ebp - 0x1fc]
mov esi, eax
call fcn.00462790
push eax
push esi
lea eax, [ebp - 0x170]
push edi
push eax
call fcn.004757a0
add esp, 0x10
lea ecx, [ebp - 0x228]
call fcn.00418510
lea ecx, [ebp - 0x140]
call fcn.00418510
lea ecx, [ebp - 0x168]
call fcn.00429010
push dword [ebp - 0xc8]
mov byte [ebp - 4], 0x29
call fcn.004e0f9d
mov ecx, dword [ebp - 0xcc]
add esp, 4
cmp ecx, 8
jb 0x487106
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4870fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov byte [ebp - 4], 0x33
call fcn.0043fb80
mov ecx, dword [ebp - 0x1dc]
mov edi, 0xffff
cmp ecx, eax
je 0x487154
add word [ecx + 8], di
jne 0x487149
mov esi, dword [ebp - 0x1dc]
test esi, esi
je 0x487149
cmp byte [esi + 0xa], 0
je 0x48713e
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0x34
call fcn.0043fb80
mov ecx, dword [ebp - 0x1e0]
cmp ecx, eax
je 0x48719d
add word [ecx + 8], di
jne 0x487192
mov esi, dword [ebp - 0x1e0]
test esi, esi
je 0x487192
cmp byte [esi + 0xa], 0
je 0x487187
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0x35
call fcn.0043fb80
mov ecx, dword [ebp - 0x1e4]
cmp ecx, eax
je 0x4871e6
add word [ecx + 8], di
jne 0x4871db
mov esi, dword [ebp - 0x1e4]
test esi, esi
je 0x4871db
cmp byte [esi + 0xa], 0
je 0x4871d0
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1e4], eax
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x25
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x48722f
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487225
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 0x24
call fcn.004e0f9d
mov ecx, dword [ebp - 0xac]
add esp, 4
cmp ecx, 8
jb 0x487295
mov edx, dword [ebp - 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48728b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x4872fa
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4872f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487335
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov al, 1
mov dword [ebp - 0x1c], 7
jmp 0x486a90
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 - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret 0xc
call fcn.004ce51f
nop
loopne 0x48739e
dec eax
add ah, dh
pushal
dec eax
add byte [eax], cl
popal
dec eax
add byte [ecx], bl
dec eax
add byte [eax], dh
popal
dec eax
add byte [ecx + 0x48], al
add byte [eax + 0x61], bl
dec eax
add byte [ecx + 0x48], ch
add byte [eax - 0x6bffb79f], al
popal
dec eax
add byte [eax - 0x43ffb79f], ch
popal
dec eax
add ah, cl
int3