Function at 0x482730
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ebf5
mov eax, dword fs:[0]
push eax
sub esp, 0x320
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 edx, ecx
mov dword [ebp - 0x314], edx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x318], ebx
cmp dword [edx], ebx
jne 0x4827b2
cmp dword [0x57857c], ebx
je 0x4827b2
push ebx
push str.IsOpened__
push str.wxRegKey::GetNextKey
push 0x4a7
push str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], bl
je 0x4827ac
mov byte [0x57c0ac], bl
int3
mov edx, dword [ebp - 0x314]
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x4827f4
lea eax, [ecx + 1]
mov dword [esi], eax
lea eax, [ebp - 0x21c]
push 0x105
push eax
push ecx
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ecx, dword [ebp - 0x314]
mov dword [ecx + 0x30], eax
test eax, eax
je 0x482c79
cmp eax, 0x103
jne 0x482814
mov dword [ecx + 0x30], ebx
mov dword [esi], 0xffffffff
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
xor al, al
test al, al
jne 0x48287b
lea eax, [ebp - 0x2cc]
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 - 0x318], ebx
je 0x48285d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x48285d
call fcn.004667a0
jmp 0x482862
mov al, byte [0x5785ac]
test al, al
je 0x48287b
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x30d], 1
cmp eax, 1
jae 0x482882
mov byte [ebp - 0x30d], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x48289c
lea ecx, [ebp - 0x2cc]
and ebx, 0xfffffffe
call fcn.00418510
cmp byte [ebp - 0x30d], 0
je 0x4827f4
push str.Cant_enumerate_subkeys_of_key__s
lea ecx, [ebp - 0x2ec]
call fcn.004287a0
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 3
call fcn.00467dd0
test eax, eax
je 0x48294b
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x2ec]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x48295c
lea eax, [ebp - 0x2ec]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 4
call fcn.0043fb80
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 5
call fcn.0043fb80
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x31c], 0
push str.wx.sys_error
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 6
call fcn.004287a0
mov esi, dword [ebp - 0x314]
lea eax, [ebp - 0x30c]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00482620
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x318], esp
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov byte [ecx + 8], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 9
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x2a4], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0x29c], str.wxRegKey::GetNextKey
mov dword [ebp - 0x2a0], 0x4b7
mov dword [ebp - 0x298], 0x52a774
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x28c], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x284], eax
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x32c]
push eax
push dword [esi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00447cb0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0047d1c0
push dword [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.004e0f9d
mov ecx, dword [ebp - 0x268]
add esp, 4
cmp ecx, 8
jb 0x482aef
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x482ae5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482ca7
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
test esi, esi
je 0x482b65
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0xc
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], 0xd
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 - 0x30c]
call fcn.00418510
lea ecx, [ebp - 0x2cc]
call fcn.00418510
lea ecx, [ebp - 0x32c]
call fcn.00428f00
push dword [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.004e0f9d
mov ecx, dword [ebp - 0x228]
add esp, 4
cmp ecx, 8
jb 0x482bd8
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x482bce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482ca7
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
mov byte [ebp - 4], 1
call fcn.004e0f9d
mov ecx, dword [ebp - 0x248]
add esp, 4
cmp ecx, 8
jb 0x482c43
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x482c39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482ca7
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00418510
mov al, 1
jmp 0x482816
lea edx, [ebp - 0x21c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x482c82
sub edx, esi
lea eax, [ebp - 0x21c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00420000
mov al, 1
jmp 0x4827f6
call fcn.004ce51f
int3