Function at 0x5423f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ad220
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 0x542418
lea eax, [ebx + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.00586bf3
mov eax, dword [esp + 0x14]
push 0x63ca18
push eax
mov dword [esp + 0x30], 0
call fcn.0056bf3f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x54258c
push ebp
call fcn.0057f23a
push eax
call fcn.0056d1ec
mov edi, eax
add esp, 8
test edi, edi
jg 0x542469
push ebp
call fcn.0056bd58
add esp, 4
jmp 0x54258c
cmp edi, 0x7d0
jle 0x542476
mov edi, 0x7d0
mov ecx, dword [0x65ca8c]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00586f74
push ebp
mov esi, eax
push edi
push 1
push esi
call fcn.0056d0d5
push ebp
call fcn.0056bd58
push 7
push esi
push 0x63700c
call fcn.0056de20
add esp, 0x20
test eax, eax
je 0x542505
push 6
push esi
push 0x636fe8
call fcn.0056de20
add esp, 0xc
test eax, eax
je 0x542505
push 6
push esi
push 0x636ff0
call fcn.0056de20
add esp, 0xc
test eax, eax
je 0x542505
push 8
push esi
push 0x637000
call fcn.0056de20
add esp, 0xc
test eax, eax
je 0x542505
push 7
push esi
push 0x636ff8
call fcn.0056de20
add esp, 0xc
test eax, eax
jne 0x54257e
push 0xa
lea ecx, [esp + 0x14]
call fcn.00586f94
mov ebp, eax
cmp ebp, 0xffffffff
je 0x5425f3
cmp edi, 0x7d0
jge 0x54252c
dec edi
cmp ebp, edi
je 0x5425f3
mov edx, dword [0x65ca8c]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x6622f4]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x34], 3
call fcn.0057f8fb
mov eax, dword [0x6622f0]
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 0x5425b2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.00586b33
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00586b33
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00586b33
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 0x5425cc
push 0
push 0x138a
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 0x542700
mov ecx, dword [0x65ca8c]
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [0x6622f8]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.0057f8fb
mov edx, dword [0x6622f0]
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 0x54268a
push 0xd
lea ecx, [esp + 0x14]
call fcn.00586f94
cmp eax, 0xffffffff
je 0x54264b
mov byte [eax + esi], 0
cmp ebp, 0xffffffff
je 0x542654
mov byte [esi + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
inc ecx
push ecx
mov ecx, dword [0x6614e8]
push eax
push 1
push 0
push str.LastUrl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x5426cc
push 1
push str.RegSetValueEx_err_in_SM::NdDlMP3OOM3U___n
lea ecx, [ebx + 0x89c]
call fcn.00478010
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00586b33
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00586b33
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00586b33
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 0x5426e8
push 0
push 0x138a
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.00586b33
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00586b33
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00586b33
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