Function at 0x487370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f521
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
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 eax, ecx
mov dword [ebp - 0x198], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x19c], ebx
call fcn.00484550
test al, al
je 0x487d68
cmp dword [edi + 0x10], ebx
jne 0x4873d1
xor eax, eax
jmp 0x4873db
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4873db
mov eax, dword [edi]
lea ecx, [ebp - 0x1a4]
push ecx
push 0
lea ecx, [ebp - 0x1a0]
push ecx
push 0
push eax
mov eax, dword [ebp - 0x198]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 0x30], eax
test eax, eax
jne 0x487935
cmp dword [ebp - 0x1a0], 3
je 0x487800
xor al, al
nop dword [eax]
test al, al
jne 0x487485
lea eax, [ebp - 0xb0]
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 - 0x19c], ebx
je 0x487467
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x487467
call fcn.004667a0
jmp 0x48746c
mov al, byte [0x5785ac]
test al, al
je 0x487485
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x191], 1
cmp eax, 1
jae 0x48748c
mov byte [ebp - 0x191], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4874a6
lea ecx, [ebp - 0xb0]
and ebx, 0xfffffffe
call fcn.00418510
cmp byte [ebp - 0x191], 0
je 0x487d68
push str.Registry_value___s__is_not_binary__but_of_type__s_
lea ecx, [ebp - 0xb0]
call fcn.004287a0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 1
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], 3
call fcn.00467dd0
test eax, eax
je 0x48752b
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x48753c
lea eax, [ebp - 0xb0]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 4
call fcn.0043fb80
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 5
call fcn.0043fb80
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1ac], 0
sub esp, 0x20
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x1a8], esp
push dword [ebp - 0x1a0]
push eax
call fcn.004832c0
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x19c], esp
push edi
push dword [ebp - 0x198]
push eax
call fcn.00482520
add esp, 0xc
xorps xmm0, xmm0
mov byte [ebp - 4], 8
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xf8], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0xf0], str.wxRegKey::QueryValue
mov dword [ebp - 0xf4], 0x3de
mov dword [ebp - 0xec], 0x52a774
movlpd qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0xe0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0xd8], eax
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x100]
call fcn.0047d2a0
push dword [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.004e0f9d
mov ecx, dword [ebp - 0xbc]
add esp, 4
cmp ecx, 8
jb 0x4876ac
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4876a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487d88
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0xd4]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
test esi, esi
je 0x487722
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0xb
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], 0xc
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 - 0x1bc]
call fcn.00428f00
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x487776
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48776c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487d88
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], 1
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x4877d3
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4877c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487d88
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00418510
mov al, 1
jmp 0x487420
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x48792c
mov esi, dword [esi]
cmp eax, dword [esi + 4]
jbe 0x4878a6
add eax, 0x400
push eax
push dword [esi]
mov dword [ebp - 0x19c], eax
call fcn.004e279e
add esp, 8
test eax, eax
jne 0x487895
cmp dword [esi], ebx
jne 0x487842
push eax
call fcn.004e0f9d
add esp, 4
jmp 0x4878a0
cmp dword [esi + 0xc], 1
je 0x487880
cmp dword [0x57857c], ebx
je 0x487880
push str.cant_release_shared_buffer
push str.m_ref__1
push str.wxMemoryBufferData::release
push 0x1e9
push str.D:wxWidgets_3.2.0includewx_buffer.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], bl
je 0x487880
mov byte [0x57c0ac], bl
int3
mov eax, dword [esi]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.004e0f9d
add esp, 4
jmp 0x4878a0
mov dword [esi], eax
mov eax, dword [ebp - 0x19c]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x198]
mov esi, dword [ebp - 0x1a8]
mov eax, dword [esi]
cmp dword [edi + 0x10], ebx
jne 0x4878b7
xor edi, edi
jmp 0x4878bf
cmp dword [edi + 0x14], 8
jb 0x4878bf
mov edi, dword [edi]
lea edx, [ebp - 0x1a4]
push edx
push dword [eax]
lea eax, [ebp - 0x1a0]
push eax
push 0
push edi
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x198]
mov edi, dword [ebp - 0x1a4]
mov dword [ecx + 0x30], eax
mov eax, dword [esi]
cmp edi, dword [eax + 4]
jbe 0x487925
cmp dword [0x57857c], ebx
je 0x487925
push 0
push str.len___m_bufdata__m_size
push str.wxMemoryBuffer::SetDataLen
push 0x22e
push str.D:wxWidgets_3.2.0includewx_buffer.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], bl
je 0x487925
mov byte [0x57c0ac], bl
int3
mov eax, dword [esi]
mov dword [eax + 8], edi
jmp 0x487935
push 0
mov ecx, esi
call fcn.0048b310
mov edi, dword [ebp - 0x198]
cmp dword [edi + 0x30], ebx
je 0x487d64
xor al, al
test al, al
jne 0x4879ab
lea eax, [ebp - 0xb0]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0xd
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x19c], ebx
je 0x48798d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x48798d
call fcn.004667a0
jmp 0x487992
mov al, byte [0x5785ac]
test al, al
je 0x4879ab
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x191], 1
cmp eax, 1
jae 0x4879b2
mov byte [ebp - 0x191], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x4879cc
lea ecx, [ebp - 0xb0]
and ebx, 0xfffffffd
call fcn.00418510
cmp byte [ebp - 0x191], 0
je 0x487d68
push str.Cant_read_value_of_key__s
lea ecx, [ebp - 0x170]
call fcn.004287a0
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x10
call fcn.00467dd0
test eax, eax
je 0x487a5a
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x487a6b
lea eax, [ebp - 0x170]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 0x11
call fcn.0043fb80
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 0x12
call fcn.0043fb80
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1c0], 0
push str.wx.sys_error
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x13
call fcn.004287a0
push 1
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x14
push eax
mov ecx, edi
call fcn.00482620
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1a8], esp
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov byte [ecx + 8], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x148], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0x140], str.wxRegKey::QueryValue
mov dword [ebp - 0x144], 0x3f3
mov dword [ebp - 0x13c], 0x52a774
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x130], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x128], eax
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 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
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x1d0]
push eax
push dword [edi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x150]
call fcn.00447cb0
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0047d1c0
push dword [ebp - 0x108]
mov byte [ebp - 4], 0x15
call fcn.004e0f9d
mov ecx, dword [ebp - 0x10c]
add esp, 4
cmp ecx, 8
jb 0x487bf8
mov edx, dword [ebp - 0x120]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487bee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487d88
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
test esi, esi
je 0x487c6e
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x19
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], 0x1a
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 - 0x190]
call fcn.00418510
lea ecx, [ebp - 0xb0]
call fcn.00418510
lea ecx, [ebp - 0x1d0]
call fcn.00428f00
push dword [ebp - 0x58]
mov byte [ebp - 4], 0xf
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x487cd8
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487cce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487d88
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xe
call fcn.004e0f9d
mov ecx, dword [ebp - 0x7c]
add esp, 4
cmp ecx, 8
jb 0x487d34
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487d2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487d88
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00418510
mov al, 1
jmp 0x487946
mov al, 1
jmp 0x487d6a
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 8
call fcn.004ce51f
int3