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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x68da1d
push eax
mov eax, 0x6138
mov dword fs:[0], esp
call fcn.006097e0
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
test eax, eax
push edi
mov dword [esp + 0x10], esi
je 0x5817f9
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x5814e8
dec eax
jne 0x5817f9
push str.TODOLIST_LOG_REPORT
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CString::CString_6
lea eax, [esp + 0x58]
lea ecx, [esp + 0x30bc]
push eax
mov dword [esp + 0x6150], 7
call fcn.00425c70
lea ecx, [esp + 0x58]
mov byte [esp + 0x614c], 9
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 8]
test eax, eax
mov dword [esp + 0x34], eax
jle 0x58147d
mov edx, dword [ebp + 8]
push 0x738574
lea ecx, [esp + 0x50]
mov eax, dword [edx + 4]
mov ebx, dword [eax + esi*4]
mov dword [esp + 0x20], ebx
call sub.MFC42u.DLL_CString::CString_6
push str.PERIOD
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6150], 0xa
call sub.MFC42u.DLL_CString::CString_6
lea ecx, [esp + 0x4c]
push 0
lea edx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x30c8]
mov byte [esp + 0x6158], 0xb
call fcn.00427700
mov edi, eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x30], edi
mov byte [esp + 0x614c], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x614c], 9
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov eax, ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00581820
add esp, 0x10
push str.DATE_RANGE
lea ecx, [esp + 0x58]
mov byte [esp + 0x6150], 0xc
call sub.MFC42u.DLL_CString::CString_6
lea eax, [esp + 0x14]
push 1
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x6158], 0xd
call fcn.004253c0
lea ecx, [esp + 0x54]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebx + 0xc]
neg eax
sbb eax, eax
test eax, eax
je 0x58145b
jmp 0x5811ea
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
jne 0x581209
mov edi, dword [ebx + 8]
xor ecx, ecx
test edi, edi
jbe 0x581209
mov edx, dword [ebx + 4]
mov eax, dword [edx]
test eax, eax
jne 0x581209
inc ecx
add edx, 4
cmp ecx, edi
jb 0x5811fb
mov edx, dword [eax]
test edx, edx
mov dword [esp + 0xc], edx
jne 0x58123a
mov ecx, dword [eax + 4]
mov esi, dword [ebx + 8]
inc ecx
cmp ecx, esi
jae 0x58123a
mov edx, dword [ebx + 4]
lea edx, [edx + ecx*4]
mov edi, dword [edx]
test edi, edi
mov dword [esp + 0xc], edi
jne 0x581236
inc ecx
add edx, 4
cmp ecx, esi
jb 0x581224
mov edx, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
push ebx
mov dword [esp + 0x40], edx
call fcn.0057fda0
push 0x738574
lea ecx, [esp + 0x70]
mov edi, eax
call sub.MFC42u.DLL_CString::CString_6
push str.TASK
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6150], 0xe
call sub.MFC42u.DLL_CString::CString_6
lea eax, [esp + 0x6c]
push 0
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x6158], 0xf
call fcn.004250e0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x614c], 0xe
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
push 0x7202b0
lea ecx, [esp + 0x78]
call sub.MFC42u.DLL_CString::CString_6
push 1
lea edx, [esp + 0x78]
push ebx
push edx
mov ecx, esi
mov byte [esp + 0x6158], 0x10
call fcn.00425420
lea ecx, [esp + 0x74]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
push str.TITLE
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CString::CString_6
lea eax, [edi + 0x28]
push 1
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x6158], 0x11
call fcn.004253c0
lea ecx, [esp + 0x50]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
push str.HOURS
lea ecx, [esp + 0x60]
call sub.MFC42u.DLL_CString::CString_6
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 1
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x615c], 0x12
call fcn.00425490
lea ecx, [esp + 0x5c]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
push str.PERSON
lea ecx, [esp + 0x68]
call sub.MFC42u.DLL_CString::CString_6
lea edx, [edi + 0x30]
push 1
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x6158], 0x13
call fcn.004253c0
lea ecx, [esp + 0x64]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
push str.PATH
lea ecx, [esp + 0x74]
call sub.MFC42u.DLL_CString::CString_6
add edi, 0x34
push 1
lea ecx, [esp + 0x74]
push edi
push ecx
mov ecx, esi
mov byte [esp + 0x6158], 0x14
call fcn.004253c0
lea ecx, [esp + 0x70]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.00580af0
test eax, eax
je 0x58144b
push str.GROUPBY
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::CString_6
lea edx, [esp + 0x78]
push ebx
push edx
mov ecx, edi
mov byte [esp + 0x6154], 0x15
call fcn.00580b00
push 1
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mov byte [esp + 0x6158], 0x16
call fcn.004253c0
lea ecx, [esp + 0x78]
mov byte [esp + 0x614c], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x614c], 0xc
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5811e2
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov byte [esp + 0x614c], 9
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x5810ef
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42u.DLL_CString::CString_6
lea edx, [esp + 0x60]
push 1
push edx
lea ecx, [esp + 0x30c4]
mov byte [esp + 0x6154], 0x17
call fcn.004260b0
lea ecx, [esp + 0x60]
mov esi, eax
mov byte [esp + 0x614c], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30bc]
mov dword [esp + 0x614c], 0xffffffff
call fcn.00425d40
mov eax, esi
mov ecx, dword [esp + 0x6144]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x98]
call fcn.0044b2f0
push 0
push 0
mov dword [esp + 0x6154], 0
call fcn.0057ed10
push eax
mov eax, dword [ebp + 0x14]
push 0x5001
push eax
lea ecx, [esp + 0xac]
call fcn.0044b340
test eax, eax
je 0x5817d7
lea ecx, [esp + 0x7c]
push 1
push ecx
mov ecx, esi
call fcn.005806b0
mov eax, dword [eax]
lea ecx, [esp + 0x98]
push eax
mov byte [esp + 0x6150], 1
call fcn.0044b6d0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x614c], 0
call sub.MFC42u.DLL_CString::CString
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [edx + 8]
test eax, eax
mov dword [esp + 0x30], eax
jle 0x58178d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edi, dword [ecx + esi*4]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x30]
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov edx, eax
mov eax, dword [esp + 0x3c]
push edx
push eax
push ecx
mov dword [esp + 0x44], edi
call fcn.00581820
add esp, 0x10
lea ecx, [esp + 0x84]
mov byte [esp + 0x614c], 2
call fcn.006089e4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x84]
push edx
push edi
mov byte [esp + 0x6154], 3
call fcn.00581e80
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov byte [esp + 0x614c], 4
jle 0x581735
jmp 0x5815ff
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x88]
xor edx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov esi, dword [eax + ebx*4]
mov eax, esi
shr eax, 4
div dword [edi + 8]
mov edi, dword [edi + 4]
test edi, edi
je 0x581650
mov eax, dword [edi + edx*4]
test eax, eax
je 0x581650
cmp dword [eax + 8], esi
je 0x58163e
mov eax, dword [eax]
test eax, eax
jne 0x581631
jmp 0x581650
test eax, eax
je 0x581650
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x10]
push esi
call fcn.0057fda0
mov ecx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00580b00
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x614c], 5
call fcn.00580af0
test eax, eax
je 0x5816ba
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x5816ba
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42u.DLL_CString::operator_2
test ebx, ebx
jle 0x5816ba
push 0x71bcd0
lea ecx, [esp + 0x9c]
call fcn.0044b6d0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [edi + 0x34]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x20]
add edi, 0x28
push edx
push edi
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00580900
mov eax, dword [eax]
lea ecx, [esp + 0x98]
push eax
mov byte [esp + 0x6150], 6
call fcn.0044b6d0
lea ecx, [esp + 0x80]
mov byte [esp + 0x614c], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x614c], 4
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jl 0x5815fb
mov esi, dword [esp + 0x1c]
push 0x71bcd0
lea ecx, [esp + 0x9c]
call fcn.0044b6d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x614c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x84]
mov byte [esp + 0x614c], 2
call sub.MFC42u.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0x2c]
mov byte [esp + 0x614c], 0
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x581574
lea ecx, [esp + 0x98]
call sub.MFC42u.DLL_CStdioFile::Close
lea ecx, [esp + 0x98]
mov dword [esp + 0x614c], 0xffffffff
mov dword [esp + 0x98], vtable.CStdioFileEx.0
call sub.MFC42u.DLL_CStdioFile::CStdioFile
mov eax, 1
mov ecx, dword [esp + 0x6144]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x98]
mov dword [esp + 0x614c], 0xffffffff
mov dword [esp + 0x98], vtable.CStdioFileEx.0
call sub.MFC42u.DLL_CStdioFile::CStdioFile
mov ecx, dword [esp + 0x6144]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10