Function at 0x402ec7
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.00406ad0
push 0xffffffffffffffff
push 0x407a71
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x40c150]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1114]
mov edi, dword [ebp + 0x1110]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x111c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], eax
jmp 0x403379
push 0x408288
push edi
mov dword [ebp - 0x28], 1
call dword [sym.imp.kernel32.dll_lstrcmpiA]
neg eax
sbb esi, esi
push 0x408268
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x402f65
cmp esi, ebx
je 0x40300a
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
cmp dword [ebp + 0x1118], ebx
je 0x40300a
push 0x5c
push edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00401f11
pop ecx
pop ecx
test eax, eax
jne 0x403390
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00402067
test eax, eax
je 0x402fca
mov eax, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004022d1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x14], ebx
je 0x403002
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x40339f
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00401080
cmp esi, ebx
jl 0x4033df
jmp 0x403344
lea ecx, [ebp - 0x34]
call fcn.00401080
push 0x408278
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x403030
mov ecx, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x28], ebx
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
push 0x408260
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x40311c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
cmp byte [edi], 0x3d
jne 0x403398
cmp dword [ebp + 0x1118], ebx
je 0x4030bd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.00402b29
mov esi, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x4c]
cmp esi, ebx
jl 0x4033da
mov byte [ebp - 4], bl
jmp 0x40333f
cmp dword [ebp + 0x111c], ebx
jne 0x40310e
cmp dword [ebp - 0x28], ebx
je 0x40310e
push 0x20006
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.00407701
cmp eax, ebx
jne 0x4033a4
lea eax, [ebp]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x403106
cmp eax, 2
jne 0x4033a4
lea ecx, [ebp - 0x58]
call fcn.00401080
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
jmp 0x40337f
push 0x5c
push edi
call fcn.00401f11
pop ecx
pop ecx
test eax, eax
jne 0x403398
cmp dword [ebp + 0x1118], ebx
je 0x4031ad
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00407701
test eax, eax
je 0x40317c
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00407701
test eax, eax
je 0x40317c
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00407701
mov esi, eax
cmp esi, ebx
jne 0x4033b0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
cmp byte [edi], 0x3d
jne 0x403344
mov ecx, dword [ebp - 0x10]
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.00402b29
mov esi, eax
jmp 0x402ff5
cmp dword [ebp + 0x111c], ebx
jne 0x4031cb
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00407701
mov dword [ebp - 0x14], eax
jmp 0x4031d2
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
je 0x4031e1
mov dword [ebp + 0x111c], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x1000]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll__mbsnbcpy_s]
push eax
call fcn.004019e1
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
cmp byte [edi], 0x7b
jne 0x40326e
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x40326e
push dword [ebp + 0x111c]
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
push edi
call fcn.00402ec7
mov esi, eax
cmp esi, ebx
jge 0x40325b
cmp dword [ebp + 0x111c], ebx
je 0x4033df
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
cmp dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0x111c], eax
je 0x403385
cmp dword [ebp - 0x14], ebx
je 0x40329e
cmp eax, ebx
jne 0x403385
push dword [ebp - 0x14]
call fcn.00401a6b
pop ecx
mov esi, eax
jmp 0x4033df
cmp eax, ebx
je 0x4032e5
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.00407701
test eax, eax
je 0x4032e5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1000]
push eax
call fcn.00402067
test eax, eax
je 0x403385
cmp dword [ebp - 0x28], ebx
je 0x403385
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x24]
call fcn.004022d1
jmp 0x403385
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.00407701
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x60], eax
call fcn.00401080
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x4033c1
cmp dword [ebp - 0x28], ebx
je 0x403385
cmp dword [ebp - 0x60], ebx
jne 0x403385
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.00401be8
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jne 0x4033ce
lea ecx, [ebp - 0x40]
call fcn.00401080
cmp dword [ebp + 0x1118], ebx
je 0x403385
cmp byte [edi], 0x7b
jne 0x403385
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x403385
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0x1118]
push dword [ebp - 0x24]
push edi
call fcn.00402ec7
mov esi, eax
cmp esi, ebx
jl 0x4033df
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407701
mov esi, eax
cmp esi, ebx
jl 0x4033df
cmp byte [edi], 0x7d
jne 0x402f32
jmp 0x4033df
lea ecx, [ebp - 0x34]
call fcn.00401080
mov esi, 0x80020009
jmp 0x4033df
lea ecx, [ebp - 0x34]
jmp 0x4033da
push eax
call fcn.00401a6b
pop ecx
lea ecx, [ebp - 0x58]
jmp 0x4033d8
lea ecx, [ebp - 0x24]
call fcn.00401080
push esi
call fcn.00401a6b
pop ecx
jmp 0x4033e9
lea ecx, [ebp - 0x24]
call fcn.00401080
push dword [ebp - 0x14]
jmp 0x4033b9
push eax
call fcn.00401a6b
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00401080
lea ecx, [ebp - 0x24]
call fcn.00401080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.00406ab9
add ebp, 0x1108
leave
ret 0x10