Function at 0x55f540
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cdea0
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x54]
push edi
test eax, eax
jne 0x55f568
lea eax, [ebx + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.005a590d
mov eax, dword [esp + 0x14]
push 0x67b5bc
push eax
mov dword [esp + 0x30], 0
call fcn.0058cb32
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x55f6dc
push ebp
call fcn.0059df57
push eax
call fcn.0058bc1c
mov edi, eax
add esp, 8
test edi, edi
jg 0x55f5b9
push ebp
call fcn.0058a8a8
add esp, 4
jmp 0x55f6dc
cmp edi, 0x7d0
jle 0x55f5c6
mov edi, 0x7d0
mov ecx, dword [0x682f9c]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.005a5c1a
push ebp
mov esi, eax
push edi
push 1
push esi
call fcn.0058bb05
push ebp
call fcn.0058a8a8
push 7
push esi
push 0x65bfd8
call fcn.0058c890
add esp, 0x20
test eax, eax
je 0x55f655
push 6
push esi
push 0x65bfb4
call fcn.0058c890
add esp, 0xc
test eax, eax
je 0x55f655
push 6
push esi
push 0x65bfbc
call fcn.0058c890
add esp, 0xc
test eax, eax
je 0x55f655
push 8
push esi
push 0x65bfcc
call fcn.0058c890
add esp, 0xc
test eax, eax
je 0x55f655
push 7
push esi
push 0x65bfc4
call fcn.0058c890
add esp, 0xc
test eax, eax
jne 0x55f6ce
push 0xa
lea ecx, [esp + 0x14]
call fcn.005a5c3a
mov ebp, eax
cmp ebp, 0xffffffff
je 0x55f743
cmp edi, 0x7d0
jge 0x55f67c
dec edi
cmp ebp, edi
je 0x55f743
mov edx, dword [0x682f9c]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x6889bc]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x34], 3
call fcn.0059e618
mov eax, dword [0x6889b8]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x55f702
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x1c]
call fcn.005a584d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005a584d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005a584d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x55f71c
push 0
push 0x1472
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x18]
push edx
push 0x13bd
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x1c]
jmp 0x55f82a
mov ecx, dword [0x682f9c]
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [0x6889c0]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.0059e618
mov edx, dword [0x6889b8]
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0x50004
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x55f795
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
jmp 0x55f6c9
push 0xd
lea ecx, [esp + 0x14]
call fcn.005a5c3a
cmp eax, 0xffffffff
je 0x55f7a9
mov byte [eax + esi], 0
cmp ebp, 0xffffffff
je 0x55f7b2
mov byte [esi + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
inc ecx
push ecx
mov ecx, dword [0x687b54]
push eax
push 1
push 0
push str.LastUrl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x55f7f6
push 1
push str.RegSetValueEx_err_in_SM::NdDlMP3OOM3U___n
lea ecx, [ebx + 0x9e8]
call fcn.00484af0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
jmp 0x55f6c9
mov eax, dword [ebx + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x55f812
push 0
push 0x1472
push 0x111
push eax
call esi
mov edx, dword [ebx + 0x18]
push 0
push 0
push 0x2711
push edx
call esi
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
call fcn.005a584d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005a584d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret