Function at 0x46f120
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4d0191
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], esi
call fcn.0046ceb0
mov al, byte [esp + 0x94]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x90], ebx
mov byte [esp + 0x44], al
call fcn.00406ad6
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x27]
mov byte [esp + 0x8c], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.004b9520
mov edi, vtable.ISOArray_class_ISOString_.0
mov dword [esp + 0x2c], edi
mov eax, dword [esi + 8]
mov byte [esp + 0x8c], 2
cmp eax, ebx
jne 0x46f1e7
mov dword [esp + 0x2c], edi
mov byte [esp + 0x8c], 3
lea ecx, [esp + 0x30]
call fcn.0042bb20
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x8c], 1
and ecx, edx
call fcn.0040b517
mov eax, dword [esp + 0x50]
mov byte [esp + 0x8c], bl
cmp eax, ebx
je 0x46f311
jmp 0x46f304
mov eax, dword [esp + 0x94]
cmp dword [eax + 8], ebx
jne 0x46f220
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 4
call fcn.0042bb20
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x30]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x8c], 1
and ecx, eax
jmp 0x46f1ca
mov ecx, dword [esi + 4]
push ebx
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.0046d070
test eax, eax
jne 0x46f244
mov dword [esp + 0x2c], edi
mov byte [esp + 0x8c], 5
jmp 0x46f1ab
lea eax, [esp + 0x40]
lea ecx, [esp + 0x58]
push eax
call fcn.0046ecc0
test eax, eax
je 0x46f27b
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00437970
lea eax, [esp + 0x40]
lea ecx, [esp + 0x58]
push eax
call fcn.0046ecc0
test eax, eax
jne 0x46f256
xor edi, edi
xor ebp, ebp
mov esi, dword [esp + 0x34]
cmp esi, ebx
jne 0x46f28b
xor edx, edx
jmp 0x46f2a2
mov ecx, dword [esp + 0x38]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edi, edx
jge 0x46f337
lea edx, [esi + ebp]
lea ecx, [esp + 0x58]
push edx
call fcn.0046f120
test eax, eax
je 0x46f2c1
inc edi
add ebp, 0x18
jmp 0x46f27f
mov dword [esp + 0x2c], vtable.ISOArray_class_ISOString_.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 6
call fcn.0042bb20
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x30]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x8c], 1
and ecx, eax
call fcn.0040b517
mov eax, dword [esp + 0x50]
mov byte [esp + 0x8c], bl
cmp eax, ebx
je 0x46f311
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x50], ebx
push 1
lea ecx, [esp + 0x44]
call fcn.00406ad6
lea ecx, [esp + 0x58]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0046cf30
xor eax, eax
jmp 0x46f41f
lea ecx, [esp + 0x58]
call fcn.0046f620
mov edi, dword [esp + 0x94]
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x46f353
mov eax, 0x4d68e8
mov esi, dword [esp + 0x28]
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x46f398
mov ecx, dword [edi + 4]
mov edx, 0x4d68e8
cmp ecx, ebx
je 0x46f377
mov edx, ecx
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jne 0x46f383
mov ecx, 0x4d68e8
push edx
push ecx
push str.RegDeleteKey:__s_:__s
push eax
push 0x503ff0
call fcn.00423520
add esp, 0x14
mov edi, dword [esi + 0xc]
xor edx, edx
cmp edi, ebx
mov dword [esp + 0x2c], vtable.ISOArray_class_ISOString_.0
sete dl
mov esi, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 7
call fcn.0040b57d
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x8c], 1
and ecx, edx
call fcn.0040b517
mov eax, dword [esp + 0x50]
mov byte [esp + 0x8c], bl
cmp eax, ebx
je 0x46f3fe
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x50], ebx
push 1
lea ecx, [esp + 0x44]
call fcn.00406ad6
lea ecx, [esp + 0x58]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0046cf30
mov eax, esi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 4