Function at 0x4683d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f696
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1164
call fcn.00486960
mov eax, dword [0x4b04dc]
xor eax, esp
mov dword [esp + 0x1160], eax
push ebx
push esi
push edi
mov eax, dword [0x4b04dc]
xor eax, esp
push eax
lea eax, [esp + 0x1178]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov dword [esp + 0x1180], ebx
mov dword [esp + 0x60], edx
call fcn.00467830
mov edi, eax
cmp edi, ebx
jl 0x468abc
cmp byte [esi], 0x7d
je 0x468aba
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push esi
mov dword [esp + 0x40], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x46848c
test ebx, ebx
je 0x4685b7
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00467830
mov edi, eax
test edi, edi
js 0x468aa9
xor eax, eax
cmp dword [ebp + 0x10], eax
je 0x4685b7
mov cl, byte [esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, esi
test cl, cl
je 0x4684dc
cmp cl, 0x5c
je 0x4684d4
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x4684c0
jmp 0x4684dc
test eax, eax
jne 0x468a87
mov edi, 0x4979e8
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x468524
add edi, 4
cmp edi, str.kk.smain_frm_wnd
jl 0x4684e1
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x28], ecx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.004665c0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jmp 0x468526
xor edi, edi
cmp ebx, edi
je 0x4685b3
mov ebx, dword [esp + 0x14]
mov eax, esi
mov ecx, ebx
call fcn.00467830
mov edi, eax
test edi, edi
js 0x468aa0
mov edi, esi
mov ecx, ebx
call fcn.00467f00
mov edi, eax
test edi, edi
js 0x468aa0
mov dword [esp + 0x2c], 0
cmp byte [esi], 0x7b
jne 0x4685a5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x4685a5
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0
push ecx
push edx
push esi
mov ecx, ebx
call fcn.004683d0
mov edi, eax
test edi, edi
js 0x468aa9
mov eax, esi
mov ecx, ebx
call fcn.00467830
mov edi, eax
test edi, edi
js 0x468aa9
cmp byte [esi], 0x7d
jne 0x46845d
jmp 0x468aa9
mov dword [esp + 0x2c], edi
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4685e0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, esi
call fcn.00467830
mov edi, eax
test edi, edi
js 0x468aa9
push 0x4979c4
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x46870a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x16c]
call fcn.00467830
mov edi, eax
cmp edi, ebx
jl 0x468aa9
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00467830
mov edi, eax
test edi, edi
js 0x468aa9
cmp byte [esi], 0x3d
jne 0x468a90
cmp dword [ebp + 0x10], ebx
je 0x468689
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x16c]
mov byte [esp + 0x1180], 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00467970
mov edi, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp edi, ebx
jl 0x468ae2
mov byte [esp + 0x1180], bl
mov dword [esp + 0x40], ebx
jmp 0x468560
cmp dword [ebp + 0x14], ebx
jne 0x4686f0
cmp dword [esp + 0x38], ebx
je 0x4686f0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x54]
push edx
mov edx, 0x20006
xor eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00466500
cmp eax, ebx
jne 0x468af6
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x16c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x4686dd
cmp eax, 2
jne 0x468af6
cmp edi, ebx
je 0x4686ec
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.00467f00
mov edi, eax
cmp edi, ebx
jl 0x468aab
jmp 0x4685a5
mov cl, byte [esi]
mov eax, esi
test cl, cl
je 0x46872e
cmp cl, 0x5c
je 0x468726
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x468712
jmp 0x46872e
cmp eax, ebx
jne 0x468a90
cmp dword [ebp + 0x10], ebx
je 0x46885f
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x468761
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push ecx
lea edi, [esp + 0x18]
mov ebx, 0x2001f
call fcn.004660b0
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x468778
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4687a1
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x46878d
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x468821
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x4687cb
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edx
lea edi, [esp + 0x18]
mov ebx, 0x20019
call fcn.004660b0
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x4687e2
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x468807
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x4687f7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x468821
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.00466480
mov edi, eax
cmp edi, ebx
jne 0x468b08
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00467830
mov edi, eax
cmp edi, ebx
jl 0x468aab
cmp byte [esi], 0x3d
jne 0x468560
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00467970
mov edi, eax
cmp edi, ebx
jl 0x468aab
jmp 0x468560
cmp dword [ebp + 0x14], ebx
jne 0x468905
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x468892
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edx
lea edi, [esp + 0x18]
mov ebx, 0x20019
call fcn.004660b0
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x4688a9
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4688ca
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x4688be
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x4688d9
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.0047abd7
add esp, 0x10
cmp eax, 0x50
ja case.0x4688fe.107
movzx ecx, byte [eax + 0x468b70]
jmp dword [ecx*4 + 0x468b60]
mov dword [esp + 0x10], 2
jmp 0x4688d2
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00467830
mov edi, eax
cmp edi, ebx
jl 0x468aa9
mov ebx, dword [esp + 0x14]
mov edi, esi
mov ecx, ebx
call fcn.00467f00
mov edi, eax
test edi, edi
js 0x468aa9
cmp byte [esi], 0x7b
jne 0x468982
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x468982
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push 0
push eax
push esi
mov ecx, ebx
call fcn.004683d0
mov edi, eax
test edi, edi
jns 0x46896f
cmp dword [ebp + 0x14], 0
je 0x468aa9
mov eax, esi
mov ecx, ebx
call fcn.00467830
mov edi, eax
test edi, edi
js 0x468aa9
cmp dword [esp + 0x10], 2
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
je 0x4685a5
xor ebx, ebx
cmp dword [esp + 0x10], ebx
je 0x4689b4
cmp eax, ebx
jne 0x4685a5
mov eax, dword [esp + 0x10]
call fcn.004660a0
mov edi, eax
jmp 0x468aab
cmp eax, ebx
je 0x4689f2
mov ecx, dword [esp + 0x18]
call fcn.00467eb0
test eax, eax
je 0x4689f2
lea ebx, [esp + 0x64]
call fcn.00467e70
test eax, eax
je 0x4685a5
cmp dword [esp + 0x38], 0
je 0x4685a5
mov ecx, ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004665c0
jmp 0x4685a5
mov ecx, dword [esp + 0x18]
call fcn.00467eb0
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x468a1c
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x468b2e
cmp dword [esp + 0x38], ebx
je 0x4685a5
cmp dword [esp + 0x10], ebx
jne 0x4685a5
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea ebx, [esp + 0x64]
lea eax, [esp + 0x48]
call fcn.004663d0
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
cmp eax, ecx
jne 0x468b43
lea esi, [esp + 0x48]
call fcn.004663b0
mov esi, dword [esp + 0x34]
jmp 0x4685a5
lea esi, [esp + 0x28]
call fcn.004663b0
lea esi, [esp + 0x18]
call fcn.004663b0
mov eax, 0x80020009
jmp 0x468abc
lea esi, [esp + 0x28]
call fcn.004663b0
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x468aba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x1178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1160]
xor ecx, esp
call fcn.00475dcc
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x3c]
call fcn.004663b0
lea esi, [esp + 0x18]
call fcn.004663b0
jmp 0x468aba
call fcn.004660a0
lea esi, [esp + 0x54]
mov edi, eax
call fcn.004663b0
jmp 0x468aab
lea esi, [esp + 0x18]
call fcn.004663b0
mov eax, edi
call fcn.004660a0
jmp 0x468abc
push 0x8007000e
call fcn.00402500
push 0x80070057
call fcn.00402500
lea esi, [esp + 0x18]
call fcn.004663b0
mov eax, ebx
call fcn.004660a0
jmp 0x468abc
call fcn.004660a0
mov edi, eax
lea esi, [esp + 0x48]
jmp 0x468aa4
push 0x80004005
call fcn.00402500
lea ecx, [ecx]
jns 0x8b608bac
inc esi
add byte [ebx + ecx*4], ah
inc esi
add byte [ebx - 0x75], dl
inc esi
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3