Function at 0x4023e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 8]
call fcn.0042ef80
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0042fbb0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x40241a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
cmp dword [ebp - 0x10], eax
jae 0x402bd3
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 0xb
cmp dword [ebp - 0x10], eax
jae 0x4024c1
push 0xc
push str._defbrowser_
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x4024c1
cmp dword [ebp + 0x10], 0
je 0x4024c1
push str._defbrowser_
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.0042ef80
push 0
lea edx, [ebp - 0x18]
push edx
push str.PreferredBrowser
push str.RealMediaSDK
push SysReAllocStringLen
call fcn.004018a0
add esp, 0x14
test eax, eax
je 0x4024b4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.0042f690
push 0x4728a4
lea ecx, [ebp - 8]
call fcn.0042f630
lea ecx, [ebp - 0x18]
call fcn.0042f1e0
jmp 0x402bce
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 8
cmp dword [ebp - 0x10], eax
jae 0x40259a
push 9
push str._appdata_
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x40259a
push str._appdata_
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
call fcn.0042ef80
lea edx, [ebp - 0x20]
push edx
push 0
push 0
push 0x1c
push 0
call fcn.00401d5f
add esp, 0x14
test eax, eax
jne 0x40253a
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0x1a
push 0
call fcn.00401d5f
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
test eax, eax
jbe 0x40258d
lea ecx, [ebp - 0x20]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0040104b
movsx ecx, al
cmp ecx, 0x5c
je 0x402581
push 0x4726c4
lea ecx, [ebp - 0x20]
call fcn.0042f630
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 8]
call fcn.0042f690
lea ecx, [ebp - 0x20]
call fcn.0042f1e0
jmp 0x402bce
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 0xf
cmp dword [ebp - 0x10], eax
jae 0x40265b
push 0x10
push str._system_appdata_
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x40265b
push str._system_appdata_
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
call fcn.0042ef80
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0x1a
push 0
call fcn.00401d5f
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
test eax, eax
jbe 0x40264e
lea ecx, [ebp - 0x28]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0040104b
movsx edx, al
cmp edx, 0x5c
je 0x402642
push 0x4726c4
lea ecx, [ebp - 0x28]
call fcn.0042f630
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.0042f690
lea ecx, [ebp - 0x28]
call fcn.0042f1e0
jmp 0x402bce
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 0xe
cmp dword [ebp - 0x10], eax
jae 0x40271c
push 0xf
push str._local_appdata_
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x40271c
push str._local_appdata_
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.0042ef80
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0x1c
push 0
call fcn.00401d5f
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
test eax, eax
jbe 0x40270f
lea ecx, [ebp - 0x30]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.0040104b
movsx eax, al
cmp eax, 0x5c
je 0x402703
push 0x4726c4
lea ecx, [ebp - 0x30]
call fcn.0042f630
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 8]
call fcn.0042f690
lea ecx, [ebp - 0x30]
call fcn.0042f1e0
jmp 0x402bce
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 0xa
cmp dword [ebp - 0x10], eax
jae 0x40287d
push 0xb
push str._progfiles_
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
push edx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x40287d
push str._progfiles_
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x38]
call fcn.0042ef80
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0x26
push 0
call fcn.00401d5f
add esp, 0x14
test eax, eax
jge 0x40281d
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40281d
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], 0x104
mov dl, byte [0x4727a6]
mov byte [ebp - 0x148], dl
push 0x103
push 0
lea eax, [ebp - 0x147]
push eax
call fcn.0044f280
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x150]
push eax
push 0
push str.ProgramFilesDir
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402813
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x38]
call fcn.0042f2d0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x38]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
test eax, eax
jbe 0x402870
lea ecx, [ebp - 0x38]
call fcn.00401029
push eax
call fcn.0044f080
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x38]
call fcn.0040104b
movsx ecx, al
cmp ecx, 0x5c
je 0x402864
push 0x4726c4
lea ecx, [ebp - 0x38]
call fcn.0042f630
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 8]
call fcn.0042f690
lea ecx, [ebp - 0x38]
call fcn.0042f1e0
jmp 0x402bce
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 4
cmp dword [ebp - 0x10], eax
jae 0x402b67
push 5
push str._app:
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
push eax
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x402b67
lea ecx, [ebp - 0x15c]
call fcn.0042ef80
push str._app:
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4028d8
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
cmp dword [ebp - 0x10], eax
jae 0x40290e
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
cmp eax, 0x25
jne 0x4028f7
jmp 0x40290e
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
push edx
lea ecx, [ebp - 0x15c]
call fcn.0042f670
jmp 0x4028cf
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x160], 0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x15c]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
lea edx, [ebp - 0x2ed]
push edx
call fcn.0042fa40
add esp, 0xc
mov ecx, eax
call fcn.00401029
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2e5], al
lea ecx, [ebp - 0x2ed]
call fcn.0042f1e0
movzx eax, byte [ebp - 0x2e5]
test eax, eax
je 0x402a5b
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0x104
mov cl, byte [0x4727a6]
mov byte [ebp - 0x270], cl
push 0x103
push 0
lea edx, [ebp - 0x26f]
push edx
call fcn.0044f280
add esp, 0xc
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x164]
push edx
push 0
push 0
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402a4e
cmp dword [ebp - 0x168], 0
jbe 0x402a4e
mov ecx, dword [ebp - 0x168]
sub ecx, 1
mov dword [ebp - 0x274], ecx
jmp 0x402a07
mov edx, dword [ebp - 0x274]
sub edx, 1
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x274], 0
jle 0x402a35
mov eax, dword [ebp - 0x274]
movsx ecx, byte [ebp + eax - 0x270]
cmp ecx, 0x5c
jne 0x402a33
mov edx, dword [ebp - 0x274]
mov byte [ebp + edx - 0x270], 0
jmp 0x402a35
jmp 0x4029f8
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 8]
call fcn.0042f630
mov dword [ebp - 0x160], 1
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x160], 0
jne 0x402b5a
push str.realplay.exe
lea edx, [ebp - 0x15c]
push edx
call fcn.0040105d
add esp, 8
movzx eax, al
test eax, eax
je 0x402b5a
lea ecx, [ebp - 0x27c]
call fcn.0042ef80
push 0
lea ecx, [ebp - 0x27c]
push ecx
push str.MainApp
push 0x4727c8
push SysReAllocStringLen
call fcn.004018a0
add esp, 0x14
test eax, eax
je 0x402b4f
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x2e4]
call fcn.00437f60
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00438110
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.00437fd0
lea ecx, [ebp - 0x2b4]
call fcn.0042ef90
sub eax, 1
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0040104b
movsx edx, al
cmp edx, 0x5c
je 0x402b1f
push 0x5c
lea ecx, [ebp - 0x2b4]
call fcn.0042f670
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 8]
call fcn.0042f690
lea ecx, [ebp - 0x2b4]
call fcn.0042f1e0
lea ecx, [ebp - 0x2ac]
call fcn.00437fa0
lea ecx, [ebp - 0x2e4]
call fcn.00437fa0
lea ecx, [ebp - 0x27c]
call fcn.0042f1e0
lea ecx, [ebp - 0x15c]
call fcn.0042f1e0
jmp 0x402bce
mov ecx, dword [ebp + 0xc]
call fcn.0042ef90
sub eax, 5
cmp dword [ebp - 0x10], eax
jae 0x402bbc
push 6
push str.quot_
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00469a56
add esp, 0xc
test eax, eax
jne 0x402bbc
push str.quot_
call fcn.0044f080
add esp, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
push 0x4727bc
lea ecx, [ebp - 8]
call fcn.0042f630
jmp 0x402bce
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [ebp - 8]
call fcn.0042f670
jmp 0x402411
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0042fc40
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0042f130
lea ecx, [ebp - 8]
call fcn.0042f1e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret