Function at 0x4078a8
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x433024]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [0x4341fc]
push ebx
push esi
mov ebx, ecx
mov esi, 0x4341fc
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.004027b2
mov eax, dword [0x4341fc]
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.00402bdd
mov eax, dword [esp + 0x3c]
mov edi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x407931
push edi
lea eax, [esp + 0x34]
push eax
call fcn.004029fe
mov eax, dword [esp + 0x30]
lea ecx, [edi + edi]
push ecx
push eax
lea edi, [esp + 0xb4]
lea ecx, [esp + 0x58]
call fcn.00426400
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x38]
push eax
push 8
pop ecx
call fcn.004025a5
cmp byte [ebx + 0x33], 2
mov eax, dword [0x4341fc]
pop ecx
pop ecx
mov ecx, esi
jne 0x407c59
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.004063b0
mov eax, dword [0x4341fc]
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.004063b0
push 0x42e1a8
lea eax, [esp + 0x1c]
push eax
call fcn.0040b50b
test eax, eax
jne 0x407a17
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.004018b2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004018b2
xor esi, esi
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, esi
jmp 0x407fa9
mov edi, 0x42e25c
push edi
lea esi, [esp + 0x20]
call fcn.00402777
push edi
lea esi, [esp + 0x18]
call fcn.00402777
lea edi, [ebx + 0x58]
push edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, esi
push eax
lea eax, [esp + 0x30]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [esp + 0x44]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [esp + 0x54]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [esp + 0x2c]
call fcn.004033f8
mov eax, dword [esp + 0x50]
pop ecx
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [0x4341fc]
mov ecx, 0x4341fc
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.00402bdd
add esp, 0xc
push 0x42e260
lea esi, [esp + 0x20]
call fcn.00402777
mov eax, esi
push eax
lea edi, [esp + 0x2c]
lea eax, [esp + 0x24]
call fcn.004033f8
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040349a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b2
lea eax, [ebx + 0x5c]
call fcn.00403357
lea ecx, [esp + 0x14]
call fcn.0040349a
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x407b47
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004029fe
mov esi, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
push esi
lea edi, [esp + 0xb4]
lea ecx, [esp + 0x58]
call fcn.00426400
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x20]
push eax
push 8
pop ecx
call fcn.004025a5
mov edi, dword [esp + 0x34]
pop ecx
pop ecx
test edi, edi
jne 0x407b85
push 0x80004005
call fcn.00401759
push edi
push dword [esp + 0x20]
call fcn.0041727b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x13], al
je 0x407c1b
push 0
push 0
push pe_nt_image_headers32
push dword [ebx + 0x28]
mov dword [esp + 0x30], vtable.CRegistry.0
mov dword [esp + 0x34], SysReAllocString
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [esp + 0x20]
test eax, eax
je 0x407bf0
call fcn.00427830
test eax, eax
je 0x407c07
push ecx
lea eax, [edi - 0x10]
mov esi, esp
call fcn.00402ae1
push dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
push eax
call fcn.004278b0
jmp 0x407c07
call fcn.00427830
test eax, eax
je 0x407c07
push dword [esp + 0x34]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea esi, [esp + 0x20]
call fcn.004277d0
mov ecx, esi
call fcn.00427880
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b2
lea eax, [esi - 0x10]
call fcn.004018b2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004018b2
lea eax, [edi - 0x10]
call fcn.004018b2
mov esi, 0x4341fc
jmp 0x407e79
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.004063b0
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0x20
jne 0x407ccd
lea eax, [ebx + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
push 0x10
pop ecx
call fcn.004025a5
cmp dword [esp + 0x34], 0
pop ecx
pop ecx
je 0x407b7b
push dword [esp + 0x2c]
push edi
call fcn.0041727b
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.004018b2
cmp byte [esp + 0x13], 0
jne 0x407e71
mov eax, dword [0x4341fc]
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.00402bdd
add esp, 0xc
mov edi, 0x42cdfc
push edi
lea esi, [esp + 0x20]
call fcn.00402777
push edi
lea esi, [esp + 0x2c]
call fcn.00402777
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
mov edi, esi
lea eax, [esp + 0x40]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [esp + 0x24]
call fcn.004033f8
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040349a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004018b2
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x407d85
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004029fe
mov esi, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
push esi
lea edi, [esp + 0xb4]
lea ecx, [esp + 0x58]
call fcn.00426400
mov byte [esp + 0x13], 1
xor eax, eax
mov cl, byte [esp + eax + 0xac]
cmp cl, byte [ebx + eax + 0x3c]
jne 0x407e2a
inc eax
cmp eax, 0x10
jl 0x407da1
push 0
push 0
push pe_nt_image_headers32
push dword [ebx + 0x28]
mov dword [esp + 0x48], vtable.CRegistry.0
mov dword [esp + 0x4c], SysReAllocString
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x407e31
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
pop ecx
call fcn.004025a5
pop ecx
pop ecx
lea esi, [esp + 0x38]
call fcn.00427830
mov edi, dword [esp + 0x20]
test eax, eax
je 0x407e20
push ecx
lea eax, [edi - 0x10]
mov esi, esp
call fcn.00402ae1
push dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x40]
push eax
call fcn.004278b0
lea eax, [edi - 0x10]
call fcn.004018b2
jmp 0x407e4c
mov byte [esp + 0x13], 0
jmp 0x407e60
lea esi, [esp + 0x38]
call fcn.00427830
test eax, eax
je 0x407e4c
push dword [esp + 0x34]
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea esi, [esp + 0x38]
call fcn.004277d0
mov ecx, esi
call fcn.00427880
mov esi, dword [esp + 0x14]
lea eax, [esi - 0x10]
call fcn.004018b2
mov edi, dword [esp + 0x18]
mov esi, 0x4341fc
lea eax, [edi - 0x10]
call fcn.004018b2
cmp byte [esp + 0x13], 0
je 0x407eba
push dword [ebx + 0x60]
lea ebx, [esp + 0x24]
call fcn.00402699
mov edi, dword [esp + 0x4c]
pop ecx
add edi, 0x64
call fcn.00403316
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x44]
xor esi, esi
inc esi
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4079ec
mov eax, dword [0x4341fc]
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 0x407f34
mov eax, dword [0x4341fc]
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.004027b2
mov edi, dword [esp + 0x28]
push 5
push edi
lea eax, [esp + 0x20]
call fcn.00402bdd
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.004018b2
lea eax, [ebx - 0x10]
jmp 0x4079e5
cmp byte [ebx + 0x33], 2
lea eax, [esp + 0x18]
jne 0x407f42
push 0x7c
jmp 0x407f44
push 0x6d
push eax
call fcn.004027b2
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 0x407f76
push 0x42c8e4
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.004018b2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004018b2
lea eax, [esi - 0x10]
call fcn.004018b2
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004161d1
mov esp, ebp
pop ebp
ret