Function at 0x4135b3
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x4741dd
call fcn.00473d84
mov eax, 0x2844
call fcn.00443b60
push ebx
push esi
lea edx, [ecx + 0x208]
add ecx, 0x30c
push edi
call fcn.0040da1e
push 1
mov ebx, eax
lea ecx, [ebp - 0x2850]
push SysReAllocString
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0041f18f
xor eax, eax
mov esi, 0x3ff
mov dword [ebp - 4], eax
push esi
push eax
mov byte [ebp - 0x1440], al
lea eax, [ebp - 0x143f]
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x840], 0
lea eax, [ebp - 0x83f]
push esi
push 0
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x1040], 0
lea eax, [ebp - 0x103f]
push esi
push 0
push eax
call fcn.00443b90
add esp, 0xc
lea ecx, [ebp - 0x2850]
xor esi, esi
mov edi, 0x48086e
push 1
push esi
push edi
push 0x482608
call fcn.0041f4c0
lea edx, [ebp - 0x1440]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x413669
mov eax, dword [0x4ae264]
lea ecx, [ebp - 0x2850]
push esi
add eax, 0xa8de
push eax
push edi
push 0x482c64
call fcn.0041f4c0
lea edx, [ebp - 0x840]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x413698
push 1
push esi
push edi
push 0x482c68
lea ecx, [ebp - 0x2850]
call fcn.0041f4c0
lea edx, [ebp - 0x1040]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4136be
push ecx
push esi
push 0x481d70
lea ecx, [ebp - 0x2850]
call fcn.0041f59d
push ecx
push esi
push 0x482c6c
lea ecx, [ebp - 0x2850]
mov dword [ebp - 0x10], eax
call fcn.0041f59d
mov esi, 0x3ff
mov byte [ebp - 0x440], 0
mov edi, eax
lea eax, [ebp - 0x43f]
push esi
push 0
push eax
mov dword [ebp - 0x14], edi
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0xc40], 0
lea eax, [ebp - 0xc3f]
push esi
push 0
push eax
call fcn.00443b90
add esp, 0xc
lea ecx, [ebp - 0x2850]
xor esi, esi
push 1
push esi
push 0x48086e
push 0x482c74
call fcn.0041f4c0
lea edx, [ebp - 0x440]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41374d
mov eax, dword [0x4ae264]
lea ecx, [ebp - 0x2850]
push esi
add eax, 0xa8de
push eax
push 0x48086e
push 0x482c80
call fcn.0041f4c0
lea edx, [ebp - 0xc40]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x413780
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [ebp + 8]
test esi, esi
je 0x4137a4
mov ecx, esi
call fcn.004263d4
push 1
xor ebx, ebx
lea eax, [ebp - 0x440]
push ebx
push eax
push 0x482c74
lea ecx, [ebp - 0x2850]
call fcn.0041f5cc
mov eax, dword [0x4ae264]
lea ecx, [ebp - 0x2850]
push ebx
add eax, 0xa8de
push eax
lea eax, [ebp - 0xc40]
push eax
push 0x482c80
call fcn.0041f5cc
test esi, esi
je 0x41380d
lea eax, [ebp - 0x440]
mov ecx, esi
push eax
push 0x482c88
call fcn.0042612a
lea eax, [ebp - 0xc40]
mov ecx, esi
push eax
push 0x482c94
call fcn.0042612a
mov eax, dword [0x4ae264]
test dword [eax + 0xcd14], 2
jne 0x41384f
push 1
push ebx
lea eax, [ebp - 0x1440]
push eax
push 0x482608
lea ecx, [ebp - 0x2850]
call fcn.0041f5cc
test esi, esi
je 0x41384f
lea eax, [ebp - 0x1440]
mov ecx, esi
push eax
push 0x482c9c
call fcn.0042612a
mov eax, dword [0x4ae264]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
test dword [eax + 0xcd14], 1
jne 0x4138bd
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2850]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x481d70
call fcn.0041f3fa
test esi, esi
je 0x4138bd
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x40], 0
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
push 0x48095c
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x40]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push 0x482ca8
call fcn.0042612a
mov edi, dword [ebp - 0x14]
mov eax, dword [0x4ae264]
test dword [eax + 0xcd14], 4
jne 0x413962
test edi, edi
je 0x413962
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push 4
push 0x482c6c
lea ecx, [ebp - 0x2850]
call fcn.0041f3fa
mov eax, dword [0x4ae264]
lea ecx, [ebp - 0x2850]
push 0
add eax, 0xa8de
push eax
lea eax, [ebp - 0x840]
push eax
push 0x482c64
call fcn.0041f5cc
test esi, esi
je 0x413962
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x40], 0
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
push dword [ebp - 0x14]
push 0x48095c
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x40]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push 0x482cac
call fcn.0042612a
lea eax, [ebp - 0x840]
mov ecx, esi
push eax
push 0x482cb4
call fcn.0042612a
lea ecx, [ebp - 0x1040]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41396b
sub ecx, edx
je 0x413991
push 1
push 0
lea eax, [ebp - 0x1040]
push eax
push 0x482c68
lea ecx, [ebp - 0x2850]
call fcn.0041f5cc
push 0
call fcn.0043f850
pop ecx
push 8
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2850]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
push 0xb
push 0x481d78
call fcn.0041f3fa
push dword [ebp - 0x18]
call fcn.0041ed0a
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4