Function at 0x4a3450
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x52ac50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 0x6c]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x48], al
call fcn.0040d630
mov cl, byte [esp + 0x7c]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], ebx
call fcn.0040d630
mov dl, byte [esp + 0x7c]
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 1
mov byte [esp + 0x38], dl
call fcn.0040d630
mov al, byte [esp + 0x7c]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
mov byte [esp + 0x18], al
call fcn.0040d630
mov esi, dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call ebp
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
call fcn.0040fea0
push esi
mov byte [esp + 0x78], 3
call ebp
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x4a355f
lea edi, [eax - 1]
cmp edi, ebx
jl 0x4a355f
lea eax, [esi + edi*2]
cmp word [eax], 0x5c
je 0x4a3510
dec edi
sub eax, 2
cmp edi, ebx
jge 0x4a3500
jmp 0x4a355f
lea esi, [esi + edi*2 + 2]
push esi
call ebp
add esp, 4
lea ecx, [esp + 0x44]
push eax
push esi
call fcn.0040fea0
push edi
lea ecx, [esp + 0x58]
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.004a60f0
mov edx, dword [0x535110]
lea ecx, [esp + 0x14]
push edx
push ebx
push eax
mov byte [esp + 0x80], 4
call fcn.0040fca0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 3
call fcn.0040d630
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4a3572
mov ecx, 0x535104
mov dword [esp + 0x7c], ecx
jmp 0x4a3578
mov dword [esp + 0x7c], ebx
mov ecx, ebx
mov ax, word [ecx]
test ax, ax
je 0x4a3596
cmp ax, 0x5c
je 0x4a35ab
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4a3580
mov dword [esp + 0x7c], ecx
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call fcn.0040d630
jmp 0x4a372c
mov dword [esp + 0x7c], ecx
xor edi, edi
mov esi, 0x53a760
jmp 0x4a35bc
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4a35c5
mov ebx, 0x535104
mov eax, dword [esi]
push eax
call ebp
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0x10
test eax, eax
je 0x4a35ea
add esi, 0xc
inc edi
cmp esi, 0x53a808
jb 0x4a35b8
jmp 0x4a3596
mov edx, dword [esp + 0x7c]
lea esi, [edx + 2]
push esi
call ebp
add esp, 4
lea ecx, [esp + 0x24]
push eax
push esi
call fcn.0040fea0
lea esi, [edi + edi*2]
shl esi, 2
mov edi, dword [esi + 0x53a764]
push edi
call ebp
add esp, 4
lea ecx, [esp + 0x34]
push eax
push edi
call fcn.0040fea0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x54]
push eax
push 0x5607a8
push ecx
call fcn.00413d10
add esp, 0xc
mov edx, dword [0x535110]
lea ecx, [esp + 0x34]
push edx
push 0
push eax
mov byte [esp + 0x80], 5
call fcn.004a7080
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 3
call fcn.0040d630
mov esi, dword [esi + 0x53a768]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call fcn.0040d630
test esi, esi
je 0x4a372c
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a3694
mov eax, 0x535104
xor ecx, ecx
cmp ebx, 1
sete cl
push ecx
push 2
push eax
lea ecx, [esp + 0x60]
call fcn.004a1d00
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], 0
test eax, eax
jne 0x4a36be
mov eax, 0x535104
lea edx, [esp + 0x7c]
push edx
push 2
push 0
push eax
push esi
call ebp
test eax, eax
jne 0x4a371c
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4a36dc
mov eax, 0x535104
push eax
mov eax, dword [esp + 0x80]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
jne 0x4a36f9
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x7c]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
cmp edi, 5
jne 0x4a3723
lea ecx, [esp + 0x54]
call fcn.004a1e60
inc ebx
cmp ebx, 2
jge 0x4a372c
jmp 0x4a3687
cmp eax, 5
jne 0x4a3723
jmp 0x4a3708
lea ecx, [esp + 0x54]
call fcn.004a1e60
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 1
call fcn.0040d630
mov ecx, dword [esp + 0x28]
xor esi, esi
cmp ecx, esi
je 0x4a3764
mov al, byte [ecx - 1]
test al, al
je 0x4a3758
cmp al, 0xff
je 0x4a3758
dec al
mov byte [ecx - 1], al
jmp 0x4a3764
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
pop edi
cmp ecx, esi
pop esi
pop ebp
pop ebx
je 0x4a37ab
mov al, byte [ecx - 1]
test al, al
je 0x4a379f
cmp al, 0xff
je 0x4a379f
dec al
mov byte [ecx - 1], al
mov eax, dword [esp]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp]
mov dword fs:[0], ecx
add esp, 0x68
ret