Function at 0x5226f0
Capabilities:
Disable automatic windows recovery features

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x522966
sub esp, 0x44
lea eax, [0x5392c0]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
lea ebp, [0x52e740]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0051ac90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x5228b3
test ebx, ebx
jne 0x52286f
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x52278a
xor ecx, ecx
jmp 0x52279d
movzx ecx, byte [ecx]
test cl, cl
je 0x522798
mov ecx, 0xffffffff
jmp 0x52279d
mov ecx, 1
test ecx, ecx
jle 0x5227a8
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x5227e3
lea eax, [0x537a20]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x5529bd]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x57dac4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
cmp ecx, 0x7fffffff
jg 0x522834
lea eax, [0x539260]
mov dword [esp], eax
call fcn.0040b1a0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0x6573b0]
mov eax, dword [eax]
test ecx, ecx
jne 0x522817
mov dword [edi], eax
jmp 0x52281c
call fcn.0045f3d0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
lea eax, [0x537a20]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x5527de]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x57dac4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
lea eax, [0x54a034]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xd
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00408c10
mov eax, dword [esp + 8]
mov dword [esp + 0x54], 0
lea ecx, [0x57dc2c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
lea eax, [0x53bdc0]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x52e780]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0051ac90
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52292b
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
lea eax, [0x537a20]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x55
lea ecx, [0x553b4d]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x57dac4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
call fcn.0045e000
jmp fcn.005226f0