Function at 0x543cc0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aee80
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 0x543ce8
lea eax, [ebx + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.00588780
mov eax, dword [esp + 0x14]
push 0x63ea50
push eax
mov dword [esp + 0x30], 0
call fcn.0056dabf
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x543e5c
push ebp
call fcn.00580dca
push eax
call fcn.0056ed6c
mov edi, eax
add esp, 8
test edi, edi
jg 0x543d39
push ebp
call fcn.0056d8d8
add esp, 4
jmp 0x543e5c
cmp edi, 0x7d0
jle 0x543d46
mov edi, 0x7d0
mov ecx, dword [0x65ec1c]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00588b01
push ebp
mov esi, eax
push edi
push 1
push esi
call fcn.0056ec55
push ebp
call fcn.0056d8d8
push 7
push esi
push 0x639014
call fcn.0056f9a0
add esp, 0x20
test eax, eax
je 0x543dd5
push 6
push esi
push 0x638ff0
call fcn.0056f9a0
add esp, 0xc
test eax, eax
je 0x543dd5
push 6
push esi
push 0x638ff8
call fcn.0056f9a0
add esp, 0xc
test eax, eax
je 0x543dd5
push 8
push esi
push 0x639008
call fcn.0056f9a0
add esp, 0xc
test eax, eax
je 0x543dd5
push 7
push esi
push 0x639000
call fcn.0056f9a0
add esp, 0xc
test eax, eax
jne 0x543e4e
push 0xa
lea ecx, [esp + 0x14]
call fcn.00588b21
mov ebp, eax
cmp ebp, 0xffffffff
je 0x543ec3
cmp edi, 0x7d0
jge 0x543dfc
dec edi
cmp ebp, edi
je 0x543ec3
mov edx, dword [0x65ec1c]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x66448c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x34], 3
call fcn.0058148b
mov eax, dword [0x664488]
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 0x543e82
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.005886c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005886c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005886c0
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 0x543e9c
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 0x543fd0
mov ecx, dword [0x65ec1c]
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [0x664490]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.0058148b
mov edx, dword [0x664488]
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 0x543f5a
push 0xd
lea ecx, [esp + 0x14]
call fcn.00588b21
cmp eax, 0xffffffff
je 0x543f1b
mov byte [eax + esi], 0
cmp ebp, 0xffffffff
je 0x543f24
mov byte [esi + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
inc ecx
push ecx
mov ecx, dword [0x663680]
push eax
push 1
push 0
push str.LastUrl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x543f9c
push 1
push str.RegSetValueEx_err_in_SM::NdDlMP3OOM3U___n
lea ecx, [ebx + 0x89c]
call fcn.00478c60
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.005886c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005886c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005886c0
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 0x543fb8
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.005886c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005886c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005886c0
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