Function at 0x46c1f0
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0xb0
push 0xffffffffffffffff
push 0x58609c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp + 0xac], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xb8]
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], edi
call fcn.00455e30
test eax, eax
je 0x46c261
mov eax, dword [0x651df0]
and eax, 0x7fff0000
cmp eax, 0x2230000
je 0x46c258
cmp eax, 0x2130000
jne 0x46c261
mov dword [ebp - 0x1c], 0xf013f
jmp 0x46c268
mov dword [ebp - 0x1c], 0xf003f
lea ecx, [ebp + 0x94]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
call fcn.00412890
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46c295
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
push 0x5e7424
lea ecx, [ebp + 0x48]
call fcn.00412850
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.00412890
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x48]
call fcn.004125c0
test al, al
jne 0x46c2f7
lea ecx, [ebp + 0x60]
mov byte [ebp - 0x10], 0x5c
call fcn.00410120
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 1
jb 0x46c2db
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0040ff20
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0
push eax
inc esi
push esi
call fcn.0040ff20
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0x78]
mov dword [ebp - 0x24], eax
call fcn.0041bb10
mov byte [ebp - 4], 4
push str._lu_
mov dword [ebp + 0x90], 0
call fcn.0041bea0
add esp, 4
lea ecx, [ebp + 0x78]
push eax
push str._lu_
call fcn.0041bc10
mov byte [ebp - 4], 5
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x78]
call fcn.00440d50
mov ecx, eax
call fcn.00446720
mov esi, eax
mov byte [ebp - 4], 6
lea eax, [ebp + 0x60]
push eax
lea edx, [ebp + 0x48]
lea ecx, [ebp + 0x30]
call fcn.0046c510
mov byte [ebp - 4], 7
mov edx, eax
push esi
lea ecx, [ebp]
call fcn.0046c680
mov esi, eax
or edi, 1
add esp, 8
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x30]
call fcn.004100d0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x18]
call fcn.004100d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x78]
call fcn.0041ba60
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.004100d0
lea eax, [ebp + 0x94]
cmp eax, esi
je 0x46c43e
mov ecx, eax
call fcn.00410120
mov esi, eax
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x46c3fb
mov ecx, dword [esi]
inc edx
cmp edx, 0x1000
jb 0x46c3f1
mov ebx, dword [ecx - 4]
add edx, 0x23
sub ecx, ebx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x46c505
mov ecx, ebx
mov ebx, dword [ebp - 0x28]
push edx
push ecx
call fcn.00539070
add esp, 8
lea eax, [ebp - 0x10]
mov dword [esi + 0x10], 0
push eax
push esi
mov dword [esi + 0x14], 0xf
mov byte [ebp - 0x10], 0
call fcn.0040ff20
push dword [ebp - 0x2c]
call fcn.00413cd0
add esp, 0xc
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push eax
call fcn.00413cd0
add esp, 4
lea ecx, [ebp + 0x94]
push eax
call fcn.004137e0
and edi, 0xfffffffe
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004100d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x48]
call fcn.004100d0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x94]
push 0
push 0
push 0
call fcn.004125d0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x46c4bc
cmp dword [ebp - 0x20], 2
je 0x46c280
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46c4a3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x46c4c3
lea ecx, [ebp + 0x94]
call fcn.004125d0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x46c4c3
mov dword [ebp - 0x14], 0
cmp esi, 0x3fd
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x94]
call fcn.004100d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.005395e6
lea esp, [ebp + 0xb0]
pop ebp
ret 4
call fcn.00555b08
int3