Function at 0x450460
Capabilities:
Disable automatic windows recovery features

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45067a
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
cmp ecx, 4
ja 0x450661
test ecx, ecx
je 0x450647
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x24], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00450690
movzx eax, byte [esp + 0xc]
test al, al
je 0x4504ed
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0xd]
lea ecx, [ebx + ecx - 1]
neg ebx
and ecx, ebx
mov dword [eax + 0x14], ecx
mov edx, dword [edx]
add ecx, edx
mov dword [eax + 0x14], ecx
mov ecx, eax
jmp 0x45063f
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 8], ecx
mov ecx, dword [0x67e2d0]
test ecx, ecx
jne 0x450511
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x45051a
mov eax, dword [esp + 0x3c]
call fcn.0045f450
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0xd]
lea ecx, [ebx + ecx - 1]
neg ebx
and ecx, ebx
mov dword [edi + 0x10], ecx
xor eax, eax
lea edi, [esp + 0x28]
call fcn.0045f67b
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x30], ebp
mov eax, edx
mov edx, dword [edx]
mov dword [esp + 0x38], edx
mov esi, edx
mov edx, dword [ecx]
mov edi, ebp
mov ebp, dword [ecx + 4]
test ebp, ebp
jne 0x450571
mov edx, 1
jmp 0x4505bb
lea ebp, [ebp + ebp*4]
lea eax, [edx + ebp*4 - 0x14]
cmp dword [eax], 1
je 0x450582
xor eax, eax
jmp 0x4505b2
mov eax, dword [edx + ebp*4 - 0x10]
mov ecx, dword [edx + ebp*4 - 4]
add eax, ecx
cmp ebx, eax
jne 0x4505ac
mov eax, dword [edx + ebp*4 - 0xc]
add eax, ecx
cmp edi, eax
jne 0x4505ac
lea eax, [ecx + esi]
mov dword [edx + ebp*4 - 4], eax
mov ecx, dword [esp + 0x44]
mov eax, 1
jmp 0x4505b2
mov ecx, dword [esp + 0x44]
xor eax, eax
xor eax, 1
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x45063a
mov edx, dword [ecx + 4]
lea ebx, [edx + 1]
mov ebp, dword [ecx]
mov esi, eax
mov eax, dword [ecx + 8]
cmp eax, ebx
jae 0x45061e
lea ecx, [0x551ea0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00447650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], edx
mov edx, dword [0x67e2d0]
test edx, edx
jne 0x45060f
mov dword [edi], eax
jmp 0x450614
call fcn.0045f450
mov esi, dword [esp + 0x48]
mov edx, ecx
mov ebp, eax
mov ecx, edi
lea eax, [edx + 1]
mov dword [ecx + 4], eax
lea eax, [edx + edx*4]
lea edi, [ebp + eax*4]
mov eax, esi
lea esi, [esp + 0x28]
call fcn.0045fb5e
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
add dword [ecx + 0x10], eax
add dword [ecx + 0xc], 4
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
movzx eax, byte [eax + 0xd]
lea edx, [eax + edx - 1]
neg eax
and edx, eax
mov dword [ecx + 0x10], edx
add esp, 0x40
ret
lea eax, [0x5474c0]
mov dword [esp], eax
lea eax, [0x59a61c]
mov dword [esp + 4], eax
call fcn.00433350
nop
call fcn.0045e080
jmp fcn.00450460