Function at 0x553fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x970]
xor edi, edi
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], edi
je 0x553fde
cmp dword [ebp + 8], edi
jne 0x5544f8
mov eax, dword [0x67da2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x50]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], edi
mov word [ebp - 0x50], di
call fcn.00401ee0
mov eax, dword [ebx + 0x54]
mov byte [ebp - 4], 2
cmp eax, edi
jne 0x55400e
lea eax, [ebx + 0x58]
mov ecx, dword [ebp - 0x54]
cmp ecx, edi
jne 0x554018
lea ecx, [ebp - 0x50]
push eax
push ecx
call fcn.00586dec
add esp, 8
test eax, eax
je 0x5543d6
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x554034
lea eax, [ebx + 0x58]
push 1
push eax
call fcn.004713c0
add esp, 8
cmp eax, edi
je 0x55408a
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x55404d
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x20]
call fcn.005a0d1d
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push ecx
push str.Delete_old_file__s_n
push edx
mov byte [ebp - 4], 3
call fcn.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebx + 0x42c]
push eax
call fcn.005111c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005a0c5d
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x554094
lea eax, [ebx + 0x58]
mov ecx, dword [ebp - 0x54]
cmp ecx, edi
jne 0x55409e
lea ecx, [ebp - 0x50]
push 1
push eax
push ecx
call fcn.00470f90
add esp, 0xc
cmp eax, edi
jne 0x5543a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x5540c4
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x20]
call fcn.005a0d1d
mov ecx, dword [ebx + 0x50]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005a0d1d
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x683730]
push edx
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
mov byte [ebp - 4], 5
call fcn.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0x10
lea edi, [ebx + 0x42c]
push eax
mov ecx, edi
call fcn.005111c0
mov ecx, dword [0x67da2c]
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x24]
push 0
push edx
push 0x400
push esi
push 0
push 0x1100
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x683184]
mov edx, dword [ebp - 0x14]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s_n_n_s__s
push eax
call fcn.00599a28
mov ecx, dword [ebp - 0x24]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
lea edx, [ebp - 0x14]
push str.__errno___ld_n
push edx
call fcn.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, edi
push eax
call fcn.005111c0
mov eax, dword [ebx + 0x54]
xor esi, esi
cmp eax, esi
jne 0x554188
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], si
call fcn.00401ee0
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 7
cmp eax, esi
jne 0x5541a9
lea eax, [ebp - 0x38]
push 0x5c
push eax
call fcn.00584766
add esp, 8
cmp eax, esi
je 0x554306
add eax, 2
mov word [eax], si
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x5541cc
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.00471550
add esp, 8
cmp eax, esi
jne 0x554306
push str.Folder_does_not_exist__Creating..._n
mov ecx, edi
call fcn.005111c0
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x5541f5
lea eax, [ebp - 0x38]
add eax, 6
push 0x5c
push eax
call fcn.00584c8f
add esp, 8
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x5542e2
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x554219
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x44], di
call fcn.00401ee0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 8
cmp ecx, edi
jne 0x55423a
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x554244
lea eax, [ebp - 0x38]
mov edx, esi
sub edx, eax
sar edx, 1
mov word [ecx + edx*2], di
mov eax, dword [ebp - 0x48]
cmp eax, edi
jne 0x554258
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.00471550
add esp, 8
cmp eax, edi
jne 0x554354
mov eax, dword [ebp - 0x48]
cmp eax, edi
jne 0x554275
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.00471730
add esp, 8
cmp eax, edi
jne 0x554354
mov eax, dword [ebp - 0x48]
cmp eax, edi
jne 0x554292
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.005a0d1d
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push str.Can_not_create_folder__s__error___ld_n
push ecx
call fcn.00599a28
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebx + 0x42c]
push edx
call fcn.005111c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.005a0c5d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x5542ec
lea eax, [ebx + 0x58]
mov ecx, dword [ebp - 0x54]
cmp ecx, edi
jne 0x5542f6
lea ecx, [ebp - 0x50]
push 1
push eax
push ecx
call fcn.00470f90
add esp, 0xc
cmp eax, edi
jne 0x554375
mov eax, dword [0x683190]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x18]
push 0x50010
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.005a0c5d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005a0c5d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005a0c5d
jmp 0x5544e0
add esi, 2
push 0x5c
push esi
call fcn.00584c8f
add esp, 8
lea ecx, [ebp - 0x48]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.00401070
jmp 0x554207
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.005a0c5d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005a0c5d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005a0c5d
xor edi, edi
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x5543b1
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x50]
push eax
lea ecx, [ebp - 0x14]
push str.Rename_temp_file__ls_to__ls._n
push ecx
call fcn.00599a28
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebx + 0x42c]
push edx
call fcn.005111c0
mov esi, 1
mov dword [ebx + 0xcc], esi
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x5543eb
lea eax, [ebx + 0x58]
push eax
call fcn.00508280
mov eax, dword [ebx + 0x980]
add esp, 4
cmp eax, edi
jne 0x554470
mov al, byte [ebx + 0x970]
test al, al
jne 0x554470
cmp dword [ebx + 0x400], edi
je 0x55447b
mov edx, dword [0x6825d4]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push edi
push edi
push str.bSaveLogs
push edx
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x55443c
cmp dword [ebp - 0x2c], esi
je 0x55447b
lea ecx, [ebx + 0x42c]
call fcn.005112b0
mov eax, dword [0x6825a8]
cmp eax, edi
jne 0x554455
mov eax, 0x6825ac
push eax
call fcn.00587502
mov eax, dword [ebx + 0x4c]
add esp, 4
cmp eax, edi
je 0x55447b
push eax
call fcn.00586ecb
add esp, 4
jmp 0x55447b
lea ecx, [ebx + 0x42c]
call fcn.005112b0
push 3
mov ecx, ebx
call fcn.00554530
cmp dword [ebx + 4], edi
jne 0x5544a7
mov eax, dword [ebx + 0x54]
cmp eax, edi
jne 0x554493
lea eax, [ebx + 0x58]
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0x42c]
push ecx
push edx
push eax
call fcn.00557760
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x5544e0
mov eax, dword [ebx + 0xc4]
push str..m3u
push eax
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x5544cf
mov ecx, ebx
call fcn.0055ab40
test al, al
jne 0x5544e0
mov al, byte [ebx + 0x98d]
test al, al
je 0x5544e0
mov ecx, ebx
call fcn.005538d0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005a0c5d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4