Function at 0x51d460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x687318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
push edi
mov ecx, dword [ebp]
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0xc]
push eax
push 0x7250f8
push ecx
mov ecx, edi
call fcn.004515d0
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp]
push ecx
push str.TitleOption
push eax
mov ecx, edi
call fcn.00451290
mov edx, dword [esi]
mov eax, dword [ebp]
push edx
push 0x725118
push eax
mov ecx, edi
call fcn.00451290
mov ecx, dword [esi + 4]
mov eax, dword [ebp]
push ecx
push 0x72510c
push eax
mov ecx, edi
call fcn.00451290
mov edx, dword [esi + 8]
mov eax, dword [ebp]
push edx
push 0x725104
push eax
mov ecx, edi
call fcn.00451290
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp]
push ecx
push 0x7250cc
push eax
mov ecx, edi
call fcn.00451290
mov edx, dword [esi + 0x18]
mov eax, dword [ebp]
push edx
push 0x7250c0
push eax
mov ecx, edi
call fcn.00451290
mov ecx, dword [esi + 0xb8]
mov eax, dword [ebp]
push ecx
push 0x723d54
push eax
mov ecx, edi
call fcn.00451290
mov edx, dword [esi + 0xb0]
mov eax, dword [ebp]
push edx
push str.StartNextNDays
push eax
mov ecx, edi
call fcn.00451290
mov ecx, dword [esi + 0xb4]
mov eax, dword [ebp]
push ecx
push str.DueNextNDays
push eax
mov ecx, edi
call fcn.00451290
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
push ecx
push edx
push str.UserStart
push eax
mov ecx, edi
call fcn.004519b0
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], ecx
mov edx, ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push str.UserDue
push eax
mov ecx, edi
call fcn.004519b0
push str.AllocBy
lea edx, [esp + 0x58]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esi + 0x6c]
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x50], 0
call fcn.00451b70
or ebx, 0xffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebx
call sub.MFC42u.DLL_CString::CString
push 0x725014
lea edx, [esp + 0x58]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esi + 0x58]
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x50], 1
call fcn.00451b70
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebx
call sub.MFC42u.DLL_CString::CString
push 0x725000
lea edx, [esp + 0x58]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esi + 0x80]
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x50], 2
call fcn.00451b70
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebx
call sub.MFC42u.DLL_CString::CString
push str.AllocTo
lea edx, [esp + 0x58]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
mov dword [esp + 0x44], 3
lea ecx, [esi + 0x30]
push 1
push ecx
push eax
mov ecx, edi
call fcn.00451b70
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebx
call sub.MFC42u.DLL_CString::CString
push 0x72504c
lea edx, [esp + 0x58]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esi + 0x1c]
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x50], 4
call fcn.00451b70
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebx
call sub.MFC42u.DLL_CString::CString
push 0x724ff4
lea edx, [esp + 0x58]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esi + 0x44]
push 1
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x50], 5
call fcn.00451b70
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebx
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esi + 0x94]
push ebp
push edi
push edx
call fcn.0051d8f0
mov ebx, dword [esi + 0xc8]
add esp, 0xc
neg ebx
lea ecx, [esp + 0x10]
sbb ebx, ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 6
call fcn.004a9bc0
test ebx, ebx
mov byte [esp + 0x44], 7
mov dword [esp + 0x4c], 0
je 0x51d876
cmp ebx, 0xffffffff
mov dword [esp + 0x54], ebx
jne 0x51d769
mov ebx, dword [esi + 0xc4]
xor eax, eax
test ebx, ebx
jbe 0x51d769
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
test edx, edx
mov dword [esp + 0x54], edx
jne 0x51d769
inc eax
add ecx, 4
cmp eax, ebx
jb 0x51d757
mov eax, dword [esp + 0x54]
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0x18], ebx
jne 0x51d7a0
mov eax, dword [eax + 4]
mov edx, dword [esi + 0xc4]
inc eax
cmp eax, edx
jae 0x51d7a0
mov ecx, dword [esi + 0xc0]
lea ecx, [ecx + eax*4]
mov ebx, dword [ecx]
test ebx, ebx
mov dword [esp + 0x18], ebx
jne 0x51d7a0
inc eax
add ecx, 4
cmp eax, edx
jb 0x51d78e
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x10]
add edx, 8
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x20]
add eax, 0xc
push eax
call fcn.004a9e70
lea ecx, [esp + 0x28]
call fcn.006086f6
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 8
push ecx
lea ecx, [esp + 0x24]
call fcn.004aa110
test eax, eax
je 0x51d85c
push str.CustomCustom_d
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_6
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp]
mov ecx, edx
inc edx
mov dword [esp + 0x4c], edx
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x54], 9
call fcn.0041b6e0
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xb
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x28]
push 1
push ecx
push edx
mov ecx, edi
call fcn.00451b70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push eax
push str.AttributeID
push ecx
mov ecx, edi
call fcn.004515d0
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 7
call sub.MFC42u.DLL_CStringArray::CStringArray
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x51d73c
push str.Custom
lea edx, [esp + 0x54]
push ebp
push edx
call sub.MFC42u.DLL_operator_1
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax]
push ecx
push str.ItemCount
push eax
mov ecx, edi
mov byte [esp + 0x50], 0xc
call fcn.00451290
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret