Function at 0x40b8f1
Capabilities:
Delete registry key

Disassembly:
push 0x64
mov eax, 0x451c77
call fcn.00414323
cmp byte [0x464d54], 0
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x58], ebx
jne 0x40bbcc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
add ecx, 8
push eax
call fcn.0040a06b
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ecx + 8]
cmp esi, dword [eax]
je 0x40b939
cmp edi, dword [esi + 0x10]
jae 0x40b93b
mov esi, dword [eax]
cmp esi, dword [eax]
je 0x40bbcc
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x40ba8e
lea eax, [esi + 0x54]
add ecx, 0x10
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], ecx
push eax
call fcn.0040d4da
xor edi, edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
lea eax, [esi + 0x24]
mov dword [ebp - 4], edi
push ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040a3d8
add esp, 0xc
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x40b98b
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x44]
push 0x2001f
push ecx
lea ecx, [ebp - 0x64]
push dword [eax + 0x20]
call fcn.00406813
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
call fcn.00401a1b
add bl, 1
je 0x40b9c5
push edi
push 0x4548e0
push 0x4533c4
lea ecx, [ebp - 0x64]
call fcn.0040ae86
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov ebx, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push 0x2001f
push ebx
push dword [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.00406813
test eax, eax
jne 0x40b9f8
push ebx
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x40ba77
mov ecx, dword [ebp - 0x48]
lea eax, [esi + 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040d4da
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
push ebx
lea eax, [esi + 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040a3d8
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40ba31
mov eax, dword [eax]
push edi
push edi
push 0x2001f
push edi
push edi
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x54]
push dword [eax + 0x20]
call fcn.004060aa
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
call fcn.00401a1b
add bl, 1
je 0x40ba6f
push edi
push 0x4548e0
push 0x4533c4
lea ecx, [ebp - 0x54]
call fcn.0040ae86
lea ecx, [ebp - 0x54]
call fcn.00406090
lea ecx, [ebp - 0x70]
call fcn.00406090
lea ecx, [ebp - 0x64]
call fcn.00406090
mov eax, edi
jmp 0x40bbd4
cmp eax, 1
je 0x40bb2b
cmp eax, 3
je 0x40bb2b
lea eax, [esi + 0x54]
add ecx, 0x10
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040d4da
xor edi, edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
push ebx
add esi, 0x24
mov dword [ebp - 4], 4
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040a3d8
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40bade
mov eax, dword [eax]
push edi
push edi
push 0x2001f
push edi
push edi
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x64]
push dword [eax + 0x20]
call fcn.004060aa
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
call fcn.00401a1b
add bl, 1
je 0x40bb1c
push edi
push 0x4548e0
push 0x4533c4
lea ecx, [ebp - 0x64]
call fcn.0040ae86
lea ecx, [ebp - 0x64]
call fcn.00406090
xor eax, eax
jmp 0x40bbd4
lea eax, [esi + 0x54]
add ecx, 0x10
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040d4da
xor edi, edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
push ebx
add esi, 0x24
mov dword [ebp - 4], 3
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040a3d8
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40bb69
mov eax, dword [eax]
push 0x2001f
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x54]
push dword [eax + 0x20]
call fcn.00406813
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
call fcn.00401a1b
add bl, 1
mov ebx, dword [ebp - 0x58]
push ebx
push dword [ebp - 0x48]
je 0x40bbb8
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
push 0x4548e0
push 0x4533c4
lea ecx, [ebp - 0x54]
call fcn.0040ae86
lea ecx, [ebp - 0x54]
jmp 0x40bb1f
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00406090
mov eax, esi
jmp 0x40bbd4
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.004142cd
ret 0xc