Function at 0x1004a256
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004a28a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1004a285
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1004a463
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
cmp dword [eax], 0
je 0x1004a3a0
push 0
mov ecx, dword [ebp - 4]
call fcn.10019e95
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov esi, eax
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x1004a308
mov dword [ebp - 8], 1
jmp 0x1004a30c
and dword [ebp - 8], 0
mov eax, dword [ebp - 8]
sub eax, 0xffff
je 0x1004a323
xor eax, eax
je 0x1004a323
mov dword [ebp - 0xc], 1
jmp 0x1004a327
and dword [ebp - 0xc], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jne 0x1004a345
xor eax, eax
je 0x1004a345
mov dword [ebp - 0x10], 1
jmp 0x1004a349
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
cmp dword [eax], 0
je 0x1004a36d
xor eax, eax
je 0x1004a36d
mov dword [ebp - 0x54], 1
jmp 0x1004a371
and dword [ebp - 0x54], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
push 0
mov ecx, dword [ebp - 4]
call fcn.10019e95
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1004a3a0
mov dword [ebp - 0x18], 1
jmp 0x1004a3a4
and dword [ebp - 0x18], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 4]
call fcn.10019e95
cmp esi, dword [eax]
jl 0x1004a3d4
mov dword [ebp - 0x20], 1
jmp 0x1004a3d8
and dword [ebp - 0x20], 0
push 3
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
je 0x1004a3f2
mov dword [ebp - 0x24], 1
jmp 0x1004a3f6
and dword [ebp - 0x24], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jg 0x1004a410
mov dword [ebp - 0x28], 1
jmp 0x1004a414
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x1004a42e
mov dword [ebp - 0x30], 1
jmp 0x1004a432
and dword [ebp - 0x30], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
imul eax, dword [eax], 0
cmp eax, dword [ebp - 0x30]
jge 0x1004a457
mov dword [ebp - 0x34], 1
jmp 0x1004a45b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret