Function at 0x51ca00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x687230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x88]
push edi
push str.Custom
lea eax, [esp + 0x14]
push esi
push eax
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
mov edi, dword [esp + 0x88]
xor ebp, ebp
mov ecx, edi
push ebp
push eax
mov dword [esp + 0x88], ebp
call fcn.00452510
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], ebx
call sub.MFC42u.DLL_CString::CString
push str.Advanced
lea ecx, [esp + 0x90]
push esi
push ecx
call sub.MFC42u.DLL_operator_1
mov edx, dword [esp + 0x8c]
push ebp
push edx
mov ecx, edi
mov dword [esp + 0x88], 1
call fcn.00452510
mov esi, dword [esp + 0x90]
cmp dword [esi + 8], ebp
je 0x51ce62
mov eax, dword [esi + 0x58]
mov ecx, edi
push eax
mov eax, dword [esp + 0x90]
push str.Name
push eax
call fcn.004515d0
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x8c]
push ecx
push str.IgnoreDone
push edx
mov ecx, edi
call fcn.00451290
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x8c]
push eax
push str.IgnoreOverDue
push ecx
mov ecx, edi
call fcn.00451290
mov edx, dword [esi + 0x30]
mov eax, dword [esp + 0x8c]
push edx
push str.WantAllSubtasks
push eax
mov ecx, edi
call fcn.00451290
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x18], ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 2
mov dword [esp + 0x20], ebx
call sub.MFC42u.DLL_CString::CString_5
push ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 3
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
call fcn.004c7080
mov eax, dword [esi + 8]
mov byte [esp + 0x80], 4
cmp eax, ebp
jle 0x51ce12
jmp 0x51cb73
or ebx, 0xffffffff
push str.Rule_d
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_6
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x14]
push ecx
push ebp
lea eax, [esp + 0x90]
push edx
push eax
mov byte [esp + 0x90], 5
call fcn.0041b6e0
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x48]
push ebp
push ecx
mov ecx, esi
call fcn.00481e00
lea edx, [esp + 0x48]
lea eax, [esp + 0x88]
push edx
push eax
push edi
mov byte [esp + 0x8c], 8
call fcn.005bdbb0
add esp, 0xc
test eax, eax
je 0x51cda1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004a1b30
mov edx, dword [esp + 0x1c]
mov ebx, eax
push edx
call fcn.004a1b30
add esp, 8
cmp ebx, eax
jne case.default.0x51cc86
mov eax, dword [esp + 0x48]
push eax
call fcn.004a1b30
add esp, 4
test eax, eax
je 0x51cc36
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne case.default.0x51cc86
jmp 0x51cc42
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne case.default.0x51cc86
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jne case.default.0x51cc86
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
cmp edx, eax
jne case.default.0x51cc86
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jne case.default.0x51cc86
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x51cc81
mov eax, dword [esp + 0x48]
push ecx
push eax
call fcn.004f6090
add esp, 8
mov dword [esp + 0x70], eax
cmp eax, 9
ja case.default.0x51cc86
jmp dword [eax*4 + 0x51ce88]
fld qword [esp + 0x60]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x40
jne case.0x51cc86.4
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x4c]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call sub.MFC42u.DLL_CString::operator_2
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
inc dword [esp + 0x10]
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0xb
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 4
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 8]
inc ebp
cmp ebp, eax
jl 0x51cb70
jmp 0x51ce0f
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
xor eax, eax
cmp ecx, edx
sete al
jmp 0x51cd80
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
sete al
and eax, 0xff
test eax, eax
je case.default.0x51cc86
mov eax, dword [esp + 0x90]
inc eax
cmp eax, 2
mov dword [esp + 0x90], eax
jg 0x51cdd9
jmp 0x51cd07
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 4
call sub.MFC42u.DLL_CString::CString
jmp 0x51ce12
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 4
call sub.MFC42u.DLL_CString::CString
or ebx, 0xffffffff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
push edx
push str.NumRules
push eax
mov ecx, edi
call fcn.00451290
mov edx, dword [esi + 0x5c]
lea ecx, [esp + 0x8c]
push ecx
push edi
push edx
call fcn.0051d8f0
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], ebx
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret