Function at 0x5606b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov al, byte [edi + 0x9cc]
mov dword [ebp - 0x30], edi
test al, al
mov dword [ebp - 4], ebx
je 0x5606ee
cmp dword [ebp + 8], ebx
jne 0x560c16
mov eax, dword [0x68d01c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x50]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x50], bx
call fcn.00401ee0
mov eax, dword [edi + 0x54]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x56071e
lea eax, [edi + 0x58]
mov ecx, dword [ebp - 0x54]
cmp ecx, ebx
jne 0x560728
lea ecx, [ebp - 0x50]
push eax
push ecx
call fcn.00593cdc
add esp, 8
test eax, eax
je 0x560ae6
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x560744
lea eax, [edi + 0x58]
push 1
push eax
call fcn.004740e0
add esp, 8
cmp eax, ebx
je 0x56079a
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x56075d
lea eax, [edi + 0x58]
push eax
lea ecx, [ebp - 0x20]
call fcn.005add0d
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.005a6a18
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [edi + 0x44c]
push eax
call fcn.005181e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005adc4d
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x5607a4
lea eax, [edi + 0x58]
mov ecx, dword [ebp - 0x54]
cmp ecx, ebx
jne 0x5607ae
lea ecx, [ebp - 0x50]
push 1
push eax
push ecx
call fcn.00473cb0
add esp, 0xc
cmp eax, ebx
jne 0x560ab7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x5607d4
lea eax, [edi + 0x58]
push eax
lea ecx, [ebp - 0x20]
call fcn.005add0d
mov ecx, dword [edi + 0x50]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005add0d
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x692d00]
push edx
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
mov byte [ebp - 4], 5
call fcn.005a6a18
mov eax, dword [ebp - 0x14]
add esp, 0x10
lea ebx, [edi + 0x44c]
push eax
mov ecx, ebx
call fcn.005181e0
mov ecx, dword [0x68d01c]
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 [0x692770]
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.005a6a18
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.005a6a18
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.005181e0
mov eax, dword [edi + 0x54]
xor esi, esi
cmp eax, esi
jne 0x560898
lea eax, [edi + 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 0x5608b9
lea eax, [ebp - 0x38]
push 0x5c
push eax
call fcn.00591662
add esp, 8
cmp eax, esi
je 0x560a16
add eax, 2
mov word [eax], si
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x5608dc
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.00474270
add esp, 8
cmp eax, esi
jne 0x560a16
push str.Folder_does_not_exist__Creating..._n
mov ecx, ebx
call fcn.005181e0
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x560905
lea eax, [ebp - 0x38]
add eax, 6
push 0x5c
push eax
call fcn.00591b7f
add esp, 8
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x5609f2
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x560929
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x44], bx
call fcn.00401ee0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 8
cmp ecx, ebx
jne 0x56094a
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x560954
lea eax, [ebp - 0x38]
mov edx, esi
sub edx, eax
sar edx, 1
mov word [ecx + edx*2], bx
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x560968
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.00474270
add esp, 8
cmp eax, ebx
jne 0x560a64
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x560985
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.00474450
add esp, 8
cmp eax, ebx
jne 0x560a64
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x5609a2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.005add0d
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.005a6a18
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [edi + 0x44c]
push edx
call fcn.005181e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.005adc4d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x5609fc
lea eax, [edi + 0x58]
mov ecx, dword [ebp - 0x54]
cmp ecx, ebx
jne 0x560a06
lea ecx, [ebp - 0x50]
push 1
push eax
push ecx
call fcn.00473cb0
add esp, 0xc
cmp eax, ebx
jne 0x560a85
mov eax, dword [0x69277c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edi + 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.005adc4d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005adc4d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005adc4d
jmp 0x560bfe
add esi, 2
push 0x5c
push esi
call fcn.00591b7f
add esp, 8
lea ecx, [ebp - 0x48]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.00401070
jmp 0x560917
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.005adc4d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005adc4d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005adc4d
xor ebx, ebx
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x560ac1
lea eax, [edi + 0x58]
push eax
mov eax, dword [edi + 0x50]
push eax
lea ecx, [ebp - 0x14]
push str.Rename_temp_file__ls_to__ls._n
push ecx
call fcn.005a6a18
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [edi + 0x44c]
push edx
call fcn.005181e0
mov eax, dword [edi + 0x420]
mov esi, 1
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0xcc], esi
call fcn.0056d500
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x560b0a
lea eax, [edi + 0x58]
push eax
call fcn.0050d5b0
mov eax, dword [edi + 0x9dc]
add esp, 4
cmp eax, ebx
jne 0x560b8e
mov al, byte [edi + 0x9cc]
test al, al
jne 0x560b8e
cmp dword [edi + 0x420], ebx
je 0x560b99
mov eax, dword [0x691b84]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x2c]
push ecx
push edx
push ebx
push ebx
push str.bSaveLogs
push eax
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x560b5a
cmp dword [ebp - 0x2c], esi
je 0x560b99
lea ecx, [edi + 0x44c]
call fcn.005182d0
mov eax, dword [0x691b58]
cmp eax, ebx
jne 0x560b73
mov eax, 0x691b5c
push eax
call fcn.005943f2
mov eax, dword [edi + 0x4c]
add esp, 4
cmp eax, ebx
je 0x560b99
push eax
call fcn.00593dbb
add esp, 4
jmp 0x560b99
lea ecx, [edi + 0x44c]
call fcn.005182d0
push 3
mov ecx, edi
call fcn.00560c50
cmp dword [edi + 4], ebx
jne 0x560bc5
mov eax, dword [edi + 0x54]
cmp eax, ebx
jne 0x560bb1
lea eax, [edi + 0x58]
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x44c]
push ecx
push edx
push eax
call fcn.00563ec0
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x560bfe
mov eax, dword [edi + 0xc4]
push str..m3u
push eax
call fcn.0059adb0
add esp, 8
test eax, eax
jne 0x560bed
mov ecx, edi
call fcn.005672c0
test al, al
jne 0x560bfe
mov al, byte [edi + 0x9e9]
test al, al
je 0x560bfe
mov ecx, edi
call fcn.0055ffd0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005adc4d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4