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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6845b1
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x11c]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x11c]
push ebx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x17c]
test eax, eax
je 0x4f8a7c
push ebp
push esi
push 0
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.0041af50
add esp, 0xc
mov eax, dword [eax]
push 0
push 0
push eax
push str.ExpandTasks__s_
lea ecx, [esp + 0x110]
mov dword [esp + 0x12c], 0
call fcn.004245e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], 2
call sub.MFC42u.DLL_CString::CString
lea ebp, [edi + 0x2064]
lea ecx, [esp + 0xdc]
push ebp
call fcn.00526e30
push 0xa
lea ecx, [esp + 0xe8]
mov byte [esp + 0x120], 3
call fcn.004fcec0
mov dword [esp + 0xe4], vtable.CHTIList.0
lea esi, [edi + 0x2680]
push 0
lea eax, [esp + 0xe8]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x128], 4
call fcn.00640460
mov eax, dword [esp + 0x124]
cmp eax, 3
ja case.default.0x4f866c
jmp dword [eax*4 + 0x4f8a98]
push ebx
mov ecx, ebp
call fcn.005707c0
jmp case.default.0x4f866c
mov ecx, esi
call fcn.0063f880
test eax, eax
je 0x4f8690
mov esi, dword [esi + 0xc]
jmp 0x4f8692
xor esi, esi
test esi, esi
je case.default.0x4f866c
mov eax, esi
mov esi, dword [esi]
push 1
push ebx
mov eax, dword [eax + 8]
mov ecx, ebp
push eax
call fcn.00570820
test esi, esi
jne 0x4f869a
jmp case.default.0x4f866c
lea ecx, [esp + 0x84]
call fcn.00481de0
lea ecx, [esp + 0x98]
mov byte [esp + 0x11c], 5
call fcn.004a2080
lea ecx, [esp + 0xc0]
mov byte [esp + 0x11c], 6
call fcn.004858d0
lea ecx, [esp + 0x84]
mov byte [esp + 0x11c], 7
call fcn.004778d0
mov ebp, 1
mov byte [esp + 0x11c], 8
push ebp
call fcn.004221f0
fstp qword [esp + 0x14]
or esi, 0xffffffff
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], esi
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x5c]
mov byte [esp + 0x11c], 9
mov dword [esp + 0x58], 4
call sub.MFC42u.DLL_CString::CString_5
xor eax, eax
push esi
push 2
lea ecx, [esp + 0x58]
mov byte [esp + 0x124], 0xa
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], esi
call fcn.004c7080
lea ecx, [esp + 0x50]
call fcn.004f8ab0
cmp eax, 2
mov dword [esp + 0x78], eax
jl 0x4f8798
cmp eax, 3
jg 0x4f8798
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 0xb
call fcn.004fdaf0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x11c], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x11c], 8
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x84]
push ebx
push edx
mov ecx, edi
mov dword [esp + 0xb4], ebp
call fcn.004f8be0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x11c], 0xe
call fcn.00485af0
lea ecx, [esp + 0x98]
mov byte [esp + 0x11c], 0xd
call fcn.00457720
mov byte [esp + 0x11c], 4
lea ecx, [esp + 0x84]
jmp 0x4f899f
lea ecx, [esp + 0x84]
call fcn.00481de0
lea ecx, [esp + 0x98]
mov byte [esp + 0x11c], 0xf
call fcn.004a2080
lea ecx, [esp + 0xc0]
mov byte [esp + 0x11c], 0x10
call fcn.004858d0
lea ecx, [esp + 0x84]
mov byte [esp + 0x11c], 0x11
call fcn.004778d0
mov ebp, 1
mov byte [esp + 0x11c], 0x12
push ebp
call fcn.004221f0
fstp qword [esp + 0x14]
or esi, 0xffffffff
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0x13
mov dword [esp + 0x24], 4
call sub.MFC42u.DLL_CString::CString_5
xor eax, eax
push esi
push 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x124], 0x14
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
call fcn.004c7080
lea ecx, [esp + 0x1c]
call fcn.004f8ab0
cmp eax, 2
mov dword [esp + 0x44], eax
jl 0x4f890e
cmp eax, 3
jg 0x4f890e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 0x15
call fcn.004fdaf0
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0x16
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 0x12
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x84]
push ebx
push ecx
mov ecx, edi
mov dword [esp + 0xb4], ebp
call fcn.004f8be0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x11c], 0x18
call fcn.00485af0
lea ecx, [esp + 0x98]
mov byte [esp + 0x11c], 0x17
call fcn.00457720
mov byte [esp + 0x11c], 4
lea ecx, [esp + 0x84]
call fcn.00481e20
test ebx, ebx
jne 0x4f8a25
mov eax, dword [esp + 0xe8]
mov ebx, 1
test eax, eax
mov ecx, eax
je 0x4f8a25
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4f89c6
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x4f8a25
mov edx, dword [ecx]
mov eax, ecx
mov dword [esp + 0x10], edx
mov esi, dword [eax + 8]
test esi, esi
je 0x4f8a06
push 0
push esi
lea ecx, [edi + 0x26e4]
call fcn.006426f0
test eax, eax
jne 0x4f8a06
mov eax, dword [edi + 0x2620]
push esi
push 3
push 0x110a
push eax
call ebp
mov esi, eax
xor ebx, ebx
test esi, esi
jne 0x4f89d9
jmp 0x4f8a0a
test ebx, ebx
jne 0x4f8a1d
push esi
mov ecx, edi
call fcn.004f1f60
push 0
push 1
mov ecx, edi
call fcn.004decd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4f89c2
mov dword [esp + 0xe4], vtable.CList_struct__TREEITEM___struct__TREEITEM__.0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x11c], 0x19
call fcn.004fcef0
lea ecx, [esp + 0xdc]
mov dword [esp + 0xe4], vtable.CObject.0
mov byte [esp + 0x11c], 2
call fcn.00526e50
lea ecx, [esp + 0x100]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00424610
pop esi
pop ebp
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8