Function at 0x40fc80
Capabilities:
Disable automatic windows recovery features

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, eax
or eax, ecx
mov ebx, dword [esp + 0x60]
or eax, ebx
test eax, 3
jne 0x41006f
movzx eax, byte [0x67e2d4]
test al, al
je 0x40fdcb
nop
mov eax, dword [0x65e1dc]
test byte [eax], al
mov ebp, ecx
shr ecx, 0x16
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x40fcd8
mov esi, ebp
shr ebp, 0xd
and ebp, 0x1ff
mov eax, dword [eax + ebp*4 + 0x40000]
jmp 0x40fcdc
mov esi, ebp
xor eax, eax
test eax, eax
jne 0x40fd0c
lea eax, [0x657654]
mov dword [esp], eax
call fcn.00401bf0
mov eax, dword [esp + 4]
test eax, eax
je 0x40fcfd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x40fd01
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x58]
xor ebx, ebx
jmp 0x40ffc3
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
lea ecx, [eax + 0x3b]
mov dword [esp], ecx
call fcn.00401b90
cmp byte [esp + 4], 1
jne 0x40fdc7
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
cmp dword [edx + 0xc], eax
ja 0x40fdc7
cmp dword [edx + 0x44], eax
jbe 0x40fdc7
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x54]
test byte [edx], al
mov ebx, dword [0x65e1dc]
test byte [ebx], al
mov ebp, dword [esp + 0x34]
mov ebx, dword [ebx + ebp*4]
test ebx, ebx
je 0x40fd88
mov esi, eax
shr eax, 4
and eax, 0x3ffff
add eax, ebx
mov edi, esi
shr esi, 2
and esi, 3
add ebx, 0x3ffff
jmp 0x40fd92
mov edi, eax
xor ebp, ebp
xor esi, esi
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x50], edx
mov ecx, edx
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x40fdb7
mov edx, dword [esp + 0x60]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
jmp 0x40feea
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
jmp 0x40fde0
add esp, 0x54
ret
add esp, 0x54
ret
add ebx, 4
mov dword [esp + 0x24], ebx
mov ebx, ebp
mov ebp, esi
mov esi, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x24]
cmp ebp, ebx
jbe 0x40fecf
movzx ebp, byte [eax]
mov ecx, esi
shr ebp, cl
test ebp, 1
je 0x40fe6d
lea ebp, [ebx + edi]
add edx, ebx
mov edi, dword [esp + 0x50]
mov ebx, dword [edi + 0x970]
mov ebp, dword [ebp]
mov edx, dword [edx]
mov dword [ebx], ebp
mov dword [ebx + 4], edx
mov edx, dword [edi + 0x970]
add edx, 8
mov dword [edi + 0x970], edx
cmp dword [edi + 0x974], edx
jne 0x40fe61
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.0042d470
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov esi, ecx
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
cmp ecx, 3
jae 0x40fe7d
lea ebp, [ecx + 1]
mov ecx, ebp
mov ebp, dword [esp + 0x48]
jmp 0x40fe89
mov ebp, dword [esp + 0x48]
cmp ebp, eax
je 0x40fe92
nop
inc eax
xor ecx, ecx
mov esi, dword [esp + 0x2c]
jmp 0x40fdcf
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.0040faa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x24]
jmp 0x40fdcf
add esp, 0x54
ret
add ebp, 4
mov esi, dword [esp + 0x50]
mov dword [esp + 0x28], ebp
mov esi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jbe 0x40fecf
movzx edx, byte [eax]
mov ecx, esi
shr edx, cl
test edx, 1
je 0x40ff70
lea edx, [ebp + edi]
mov edi, dword [esp + 0x50]
mov ebp, dword [edi + 0x970]
mov edx, dword [edx]
mov dword [ebp], edx
mov dword [ebp + 4], 0
mov edx, dword [edi + 0x970]
add edx, 8
mov dword [edi + 0x970], edx
cmp dword [edi + 0x974], edx
jne 0x40ff68
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ecx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.0042d470
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov esi, ecx
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x58]
cmp ecx, 3
jae 0x40ff7a
lea edx, [ecx + 1]
jmp 0x40ff82
cmp ebx, eax
je 0x40ff8b
nop
inc eax
xor edx, edx
mov ecx, dword [esp + 0x2c]
jmp 0x40fed3
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0040faa0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
mov ecx, ebp
mov ebp, dword [esp + 0x28]
jmp 0x40fed3
inc ebx
cmp eax, ebx
jle 0x410002
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x68]
cmp edx, esi
jb 0x40ffc2
cmp dword [ebp + 0x6c], edx
jbe 0x40ffc2
mov eax, dword [ebp + 0xfc]
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
sub edx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00410230
add esp, 0x54
ret
lea eax, [0x657654]
mov dword [esp], eax
call fcn.00401bf0
mov eax, dword [esp + 4]
test eax, eax
je 0x41001f
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x410023
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x58]
xor ebx, ebx
jmp 0x41002c
inc ebx
cmp eax, ebx
jle 0x41006b
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x70]
cmp edx, esi
jb 0x41002b
cmp dword [ebp + 0x74], edx
jbe 0x41002b
mov eax, dword [ebp + 0x104]
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
sub edx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00410230
add esp, 0x54
ret
add esp, 0x54
ret
lea eax, [0x565eba]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00433a80
nop
int3