Function at 0x59be40
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
mov edi, ecx
push eax
mov dword [esp + 0x10], edi
call fcn.0059af00
mov ebp, eax
add esp, 4
mov edx, str.EXTM3U
mov ecx, ebp
mov esi, 2
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x59be83
test al, al
je 0x59be7f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x59be83
add ecx, esi
add edx, esi
test al, al
jne 0x59be65
xor eax, eax
jmp 0x59be88
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x59be9b
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov byte [ecx + 0xc], 1
pop ebp
pop ecx
ret 8
mov edx, 0xf
mov eax, str.EXT_X_VERSION:
mov ecx, ebp
push ebx
mov ebx, dword [ecx]
cmp ebx, dword [eax]
jne 0x59bef1
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x59bea8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x59bef1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x59bef1
mov al, byte [eax + 2]
cmp al, byte [ecx + 2]
jne 0x59bef1
add edi, 0x5c
push edi
push 0x67942c
add ebp, 0xf
push ebp
call fcn.00621b5e
add esp, 0xc
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov edx, str.EXT_X_ENDLIST
mov ecx, ebp
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x59bf16
test al, al
je 0x59bf12
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x59bf16
add ecx, esi
add edx, esi
test al, al
jne 0x59bef8
xor eax, eax
jmp 0x59bf1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x59bf32
mov ecx, dword [esp + 0x1c]
pop ebx
mov dword [ecx + 8], esi
mov byte [edi + 0x4d], 1
pop edi
pop esi
pop ebp
pop ecx
ret 8
mov edx, 0x16
mov eax, str.EXT_X_TARGETDURATION:
mov ecx, ebp
mov edi, edi
mov ebx, dword [ecx]
cmp ebx, dword [eax]
jne 0x59bf88
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x59bf40
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x59bf88
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x59bf88
mov ecx, dword [esp + 0x1c]
add edi, 0x30
push edi
push 0x6b2c98
add ebp, 0x16
push ebp
mov dword [ecx + 8], esi
call fcn.00621b5e
add esp, 0xc
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov edx, 0x16
mov eax, str.EXT_X_MEDIA_SEQUENCE:
mov ecx, ebp
mov ebx, dword [ecx]
cmp ebx, dword [eax]
jne 0x59bfdc
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x59bf94
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x59bfdc
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x59bfdc
mov ecx, dword [esp + 0x1c]
add edi, 0x38
push edi
push str._I64d
add ebp, 0x16
push ebp
mov dword [ecx + 8], esi
call fcn.00621b5e
add esp, 0xc
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov eax, 0x15
mov ecx, str.EXT_X_PLAYLIST_TYPE:
mov edx, ebp
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x59c013
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59bfe8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x59c013
mov ecx, dword [esp + 0x1c]
pop ebx
pop edi
mov dword [ecx + 8], esi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov eax, 0xb
mov ecx, str.EXT_X_KEY:
mov edx, ebp
nop
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x59c0b0
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59c020
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x59c0b0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x59c0b0
mov cl, byte [ecx + 2]
cmp cl, byte [edx + 2]
jne 0x59c0b0
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], esi
mov byte [eax + 0x12], 1
mov dword [edi + 0x78], 1
mov eax, dword [0x75dbe4]
test eax, eax
je 0x59c485
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.DebugFlags
push eax
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x59c485
test dword [esp + 0x18], 0x20000000
je 0x59c485
pop ebx
mov dword [edi + 0x78], eax
pop edi
pop esi
pop ebp
pop ecx
ret 8
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x11], 0
jne 0x59c0f5
mov eax, 0x19
mov ecx, str.EXT_X_PROGRAM_DATE_TIME:
mov edx, ebp
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x59c0f5
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59c0c6
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x59c0f5
pop ebx
pop edi
mov byte [esi + 0x11], 1
mov dword [esi + 8], 2
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
cmp byte [esi + 0xf], 0
jne 0x59c142
mov eax, 0x11
mov ecx, str.EXT_X_BYTERANGE:
mov edx, ebp
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x59c142
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59c107
mov cl, byte [ecx]
cmp cl, byte [edx]
jne 0x59c142
push esi
add ebp, 0x11
push ebp
mov ecx, edi
mov dword [esi + 8], 2
mov byte [esi + 0xf], 1
call fcn.0059af80
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov eax, 0x15
mov ecx, str.ANVATO_SEGMENT_INFO:
mov edx, ebp
mov edi, edi
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x59c16e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59c150
mov al, byte [ecx]
cmp al, byte [edx]
je 0x59c485
cmp byte [esi + 0xe], 0
jne 0x59c39e
mov eax, str.EXTINF:
mov edx, ebp
mov ecx, 8
sub edx, eax
mov ebx, dword [eax + edx]
cmp ebx, dword [eax]
jne 0x59c1b9
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x59c186
push esi
add ebp, 8
push ebp
mov ecx, edi
mov dword [esi + 8], 2
mov byte [esi + 0xe], 1
call fcn.0059bbd0
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
cmp byte [esi + 0xe], 0
jne 0x59c39e
mov eax, 0xb
mov ecx, str.EXT_X_MAP:
mov edx, ebp
nop
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x59c39e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x59c1d0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x59c39e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x59c39e
mov cl, byte [ecx + 2]
cmp cl, byte [edx + 2]
jne 0x59c39e
add ebp, 0xb
push ebp
mov dword [esi + 8], 2
call fcn.0059af00
push 4
mov ebp, eax
push str.URI
push ebp
call fcn.00624bdd
add esp, 0x10
test eax, eax
jne 0x59c485
add ebp, 4
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x59c240
sub eax, edx
inc eax
push eax
call fcn.005f4427
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x59c485
mov edx, edi
mov dword [esp + 0x1c], edi
mov eax, ebp
sub edx, ebp
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x59c270
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov al, byte [ebp]
cmp al, 0x22
jne 0x59c297
push 0x22
jmp 0x59c2a1
cmp al, 0x27
jne 0x59c31c
push 0x27
inc edi
push edi
call fcn.00621750
add esp, 8
cmp eax, ebx
je 0x59c31c
mov byte [eax], 0
inc eax
push eax
call fcn.0059af00
mov cl, byte [eax]
add esp, 4
test cl, cl
je 0x59c31c
cmp cl, 0x2c
jne 0x59c31c
inc eax
push eax
call fcn.0059af00
mov ebp, eax
add esp, 4
cmp byte [ebp], 0
je 0x59c31c
push 0xa
push str.BYTERANGE
push ebp
call fcn.00624bdd
add esp, 0xc
test eax, eax
jne 0x59c31c
add ebp, 0xa
cmp byte [ebp], 0x22
jne 0x59c309
inc ebp
push 0x22
push ebp
call fcn.00621750
add esp, 8
cmp eax, ebx
je 0x59c309
mov byte [eax], 0
push esi
push ebp
mov ebp, dword [esp + 0x18]
mov ecx, ebp
mov byte [esi + 0xf], 1
call fcn.0059af80
jmp 0x59c320
mov ebp, dword [esp + 0x10]
mov edx, dword [esi + 0x24]
fldz
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push eax
push ecx
push edx
push 0x67997c
sub esp, 8
fstp qword [esp]
push edi
call fcn.0059af00
add esp, 4
push eax
lea ecx, [ebp + 0x28]
call fcn.0059b780
push 0x2e
push edi
mov byte [esi + 0xf], 0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.00622910
add esp, 8
cmp eax, ebx
je 0x59c387
push 0x6b2cf0
push eax
call fcn.00621c8e
add esp, 8
test eax, eax
je 0x59c387
mov dword [ebp + 0x7c], 1
mov eax, dword [esp + 0x1c]
push eax
call fcn.005f4432
add esp, 4
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
mov bl, byte [esi + 0x10]
test bl, bl
jne 0x59c3da
mov eax, str.EXT_X_DISCONTINUITY
mov edx, ebp
mov ecx, 0x14
sub edx, eax
mov edi, dword [eax + edx]
cmp edi, dword [eax]
jne 0x59c3da
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x59c3b3
pop ebx
pop edi
mov dword [esi + 8], 2
mov byte [esi + 0x10], 1
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
cmp byte [ebp], 0x23
je 0x59c485
cmp byte [esi + 0xe], 0
je 0x59c44f
mov ecx, dword [esi + 0x24]
fld qword [esi + 0x30]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x38]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push ecx
push edx
lea edi, [esi + 0x38]
push eax
sub esp, 8
fstp qword [esp]
push ebp
call fcn.0059af00
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
add ecx, 0x28
call fcn.0059b780
fldz
push 0x67997c
fstp qword [esi + 0x30]
mov ecx, edi
mov byte [esi + 0xe], 0
call fcn.0054f250
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0xf], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
pop esi
pop ebp
pop ecx
ret 8
cmp byte [esi + 0xf], 0
jne 0x59c435
test bl, bl
je 0x59c467
pop ebx
pop edi
mov byte [esi + 0x10], 0
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
cmp byte [esi + 0x11], 0
je 0x59c47b
pop ebx
pop edi
mov byte [esi + 0x11], 0
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
cmp byte [esi + 0x12], 0
je 0x59c485
mov byte [esi + 0x12], 0
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8