Function at 0x554950
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c27c0
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 0x554978
lea eax, [ebx + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.0059adfd
mov eax, dword [esp + 0x14]
push 0x66db54
push eax
mov dword [esp + 0x30], 0
call fcn.00582012
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x554aec
push ebp
call fcn.00593447
push eax
call fcn.005810fc
mov edi, eax
add esp, 8
test edi, edi
jg 0x5549c9
push ebp
call fcn.0057fd88
add esp, 4
jmp 0x554aec
cmp edi, 0x7d0
jle 0x5549d6
mov edi, 0x7d0
mov ecx, dword [0x6754cc]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0059b10a
push ebp
mov esi, eax
push edi
push 1
push esi
call fcn.00580fe5
push ebp
call fcn.0057fd88
push 7
push esi
push 0x64f014
call fcn.00581d70
add esp, 0x20
test eax, eax
je 0x554a65
push 6
push esi
push 0x64eff0
call fcn.00581d70
add esp, 0xc
test eax, eax
je 0x554a65
push 6
push esi
push 0x64eff8
call fcn.00581d70
add esp, 0xc
test eax, eax
je 0x554a65
push 8
push esi
push 0x64f008
call fcn.00581d70
add esp, 0xc
test eax, eax
je 0x554a65
push 7
push esi
push 0x64f000
call fcn.00581d70
add esp, 0xc
test eax, eax
jne 0x554ade
push 0xa
lea ecx, [esp + 0x14]
call fcn.0059b12a
mov ebp, eax
cmp ebp, 0xffffffff
je 0x554b53
cmp edi, 0x7d0
jge 0x554a8c
dec edi
cmp ebp, edi
je 0x554b53
mov edx, dword [0x6754cc]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x67ae84]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x34], 3
call fcn.00593b08
mov eax, dword [0x67ae80]
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 0x554b12
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.0059ad3d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059ad3d
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 0x554b2c
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 0x554c60
mov ecx, dword [0x6754cc]
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [0x67ae88]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.00593b08
mov edx, dword [0x67ae80]
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
je 0x554bea
push 0xd
lea ecx, [esp + 0x14]
call fcn.0059b12a
cmp eax, 0xffffffff
je 0x554bab
mov byte [eax + esi], 0
cmp ebp, 0xffffffff
je 0x554bb4
mov byte [esi + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
inc ecx
push ecx
mov ecx, dword [0x67a040]
push eax
push 1
push 0
push str.LastUrl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x554c2c
push 1
push str.RegSetValueEx_err_in_SM::NdDlMP3OOM3U___n
lea ecx, [ebx + 0x9a4]
call fcn.00480980
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.0059ad3d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059ad3d
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]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x554c48
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.0059ad3d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059ad3d
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