Function at 0x408fc1
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x42f064]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [0x43024c]
push ebx
push esi
mov ebx, ecx
mov esi, 0x43024c
push edi
mov ecx, esi
mov dword [esp + 0x48], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
push 0x6a
lea eax, [esp + 0x44]
push eax
call fcn.004027b4
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebx + 0x50]
add eax, 0x10
push dword [ebx + 0x4c]
mov dword [esp + 0x38], eax
push str._cn__d_cxy__dhzr
lea eax, [esp + 0x3c]
call fcn.00402bdf
mov eax, dword [esp + 0x3c]
mov edi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x40904a
push edi
lea eax, [esp + 0x34]
push eax
call fcn.00402a00
mov eax, dword [esp + 0x30]
lea ecx, [edi + edi]
push ecx
push eax
lea edi, [esp + 0xb4]
lea ecx, [esp + 0x58]
call fcn.004238f0
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x38]
push eax
push 8
pop ecx
call fcn.004025a7
cmp byte [ebx + 0x33], 2
mov eax, dword [0x43024c]
pop ecx
pop ecx
mov ecx, esi
jne 0x409376
call dword [eax + 0xc]
add eax, 0x10
lea edi, [ebx + 4]
mov dword [esp + 0x2c], eax
push 0x400
lea ecx, [esp + 0x30]
mov eax, edi
mov dword [esp + 0x48], edi
call fcn.0040637f
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x3ef
lea ecx, [esp + 0x1c]
mov eax, edi
call fcn.0040637f
push 0x42a478
lea eax, [esp + 0x1c]
push eax
call fcn.0040cccd
test eax, eax
jne 0x409130
mov esi, dword [esp + 0x18]
push 0x10
push dword [esp + 0x44]
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
call fcn.004018b4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004018b4
xor esi, esi
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, esi
jmp 0x4096c8
mov edi, 0x42a52c
push edi
lea esi, [esp + 0x20]
call fcn.00402779
push edi
lea esi, [esp + 0x18]
call fcn.00402779
lea eax, [ebx + 0x58]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
push ecx
lea ecx, [esp + 0x30]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [esp + 0x44]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [esp + 0x54]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [esp + 0x2c]
push ecx
call fcn.004033fe
mov eax, dword [esp + 0x54]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [0x43024c]
mov ecx, 0x43024c
call dword [eax + 0xc]
add eax, 0x10
push 0x39d
mov dword [esp + 0x18], eax
push 0x2d7
push str._cn__d_cxy__dhzr
lea eax, [esp + 0x20]
call fcn.00402bdf
add esp, 0xc
push 0x42a530
lea esi, [esp + 0x20]
call fcn.00402779
mov eax, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040348e
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b4
lea eax, [ebx + 0x5c]
call fcn.0040335d
lea ecx, [esp + 0x14]
call fcn.0040348e
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x409264
push edi
lea eax, [esp + 0x18]
push eax
call fcn.00402a00
mov esi, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
push esi
lea edi, [esp + 0xb4]
lea ecx, [esp + 0x58]
call fcn.004238f0
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x20]
push eax
push 8
pop ecx
call fcn.004025a7
mov edi, dword [esp + 0x34]
pop ecx
pop ecx
test edi, edi
jne 0x4092a2
push 0x80004005
call fcn.0040175b
push edi
push dword [esp + 0x20]
call fcn.004157db
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x13], al
je 0x409338
push 0
push 0
push pe_nt_image_headers32
push dword [ebx + 0x28]
mov dword [esp + 0x30], vtable.CRegistry.0
mov dword [esp + 0x34], 0x80000001
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [esp + 0x20]
test eax, eax
je 0x40930d
call fcn.00424cb0
test eax, eax
je 0x409324
push ecx
lea eax, [edi - 0x10]
mov esi, esp
call fcn.00402ae3
push dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
push eax
call fcn.00424d30
jmp 0x409324
call fcn.00424cb0
test eax, eax
je 0x409324
push dword [esp + 0x34]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea esi, [esp + 0x20]
call fcn.00424c50
mov ecx, esi
call fcn.00424d00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b4
lea eax, [esi - 0x10]
call fcn.004018b4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004018b4
lea eax, [edi - 0x10]
call fcn.004018b4
mov esi, 0x43024c
jmp 0x409598
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [ebx + 4]
push 0x400
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], eax
call fcn.0040637f
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0x20
jne 0x4093ea
lea eax, [ebx + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
push 0x10
pop ecx
call fcn.004025a7
cmp dword [esp + 0x34], 0
pop ecx
pop ecx
je 0x409298
push dword [esp + 0x2c]
push edi
call fcn.004157db
neg eax
sbb al, al
inc al
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004018b4
cmp byte [esp + 0x13], 0
jne 0x409590
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebx + 0x50]
add eax, 0x10
push dword [ebx + 0x4c]
mov dword [esp + 0x1c], eax
push str._cn__d_cxy__dhzr
lea eax, [esp + 0x20]
call fcn.00402bdf
add esp, 0xc
mov edi, 0x429dd4
push edi
lea esi, [esp + 0x20]
call fcn.00402779
push edi
lea esi, [esp + 0x2c]
call fcn.00402779
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
mov eax, esi
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [esp + 0x24]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040348e
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b4
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x4094a4
push edi
lea eax, [esp + 0x18]
push eax
call fcn.00402a00
mov esi, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
push esi
lea edi, [esp + 0xb4]
lea ecx, [esp + 0x58]
call fcn.004238f0
mov byte [esp + 0x13], 1
xor eax, eax
mov cl, byte [esp + eax + 0xac]
cmp cl, byte [ebx + eax + 0x3c]
jne 0x409549
inc eax
cmp eax, 0x10
jl 0x4094c0
push 0
push 0
push pe_nt_image_headers32
push dword [ebx + 0x28]
mov dword [esp + 0x48], vtable.CRegistry.0
mov dword [esp + 0x4c], 0x80000001
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x409550
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
pop ecx
call fcn.004025a7
pop ecx
pop ecx
lea esi, [esp + 0x38]
call fcn.00424cb0
mov edi, dword [esp + 0x20]
test eax, eax
je 0x40953f
push ecx
lea eax, [edi - 0x10]
mov esi, esp
call fcn.00402ae3
push dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x40]
push eax
call fcn.00424d30
lea eax, [edi - 0x10]
call fcn.004018b4
jmp 0x40956b
mov byte [esp + 0x13], 0
jmp 0x40957f
lea esi, [esp + 0x38]
call fcn.00424cb0
test eax, eax
je 0x40956b
push dword [esp + 0x34]
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea esi, [esp + 0x38]
call fcn.00424c50
mov ecx, esi
call fcn.00424d00
mov esi, dword [esp + 0x14]
lea eax, [esi - 0x10]
call fcn.004018b4
mov edi, dword [esp + 0x18]
mov esi, 0x43024c
lea eax, [edi - 0x10]
call fcn.004018b4
cmp byte [esp + 0x13], 0
je 0x4095d9
push dword [ebx + 0x60]
lea ebx, [esp + 0x24]
call fcn.0040269b
mov edi, dword [esp + 0x4c]
pop ecx
add edi, 0x64
call fcn.0040331c
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x44]
xor esi, esi
inc esi
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x409105
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
inc dword [ebx + 0x20]
cmp dword [ebx + 0x20], 5
mov dword [esp + 0x18], eax
jl 0x409653
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
push 0x6e
lea eax, [esp + 0x2c]
push eax
call fcn.004027b4
mov edi, dword [esp + 0x28]
push 5
push edi
lea eax, [esp + 0x20]
call fcn.00402bdf
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x4c]
pop ecx
pop ecx
push 0x10
push dword [esp + 0x44]
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_EndDialog]
lea eax, [edi - 0x10]
call fcn.004018b4
lea eax, [ebx - 0x10]
jmp 0x4090fe
cmp byte [ebx + 0x33], 2
lea eax, [esp + 0x18]
jne 0x409661
push 0x7c
jmp 0x409663
push 0x6d
push eax
call fcn.004027b4
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push 0x30
push esi
push edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebx + 0x33], 1
jne 0x409695
push 0x4298bc
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [edi - 0x10]
call fcn.004018b4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004018b4
lea eax, [esi - 0x10]
call fcn.004018b4
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00414657
mov esp, ebp
pop ebp
ret