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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5566cd
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ebx, dword [0x5c6f58]
mov esi, ecx
lea ecx, [esp + 0x20]
call dword [0x55a6c4]
mov dword [esp + 0x2a0], 0
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov byte [esp + 0x2a0], 1
push 0
push 0x58a7a0
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
mov edi, eax
cmp edi, 1
jge 0x4ed086
mov byte [esp + 0x2a0], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x4ed5ea
push edi
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov byte [esp + 0x2a0], 2
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc edi
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
mov byte [esp + 0x2a0], 3
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
add edx, esi
cmp esi, edx
jbe 0x4ed10b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x20]
add esi, eax
cmp eax, esi
jbe 0x4ed128
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
test edi, edi
je 0x4ed133
cmp edi, eax
je 0x4ed139
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x28], esi
je 0x4ed5be
lea eax, [esp + 0x24]
call fcn.00413720
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x4ed189
test edi, edi
jne 0x4ed183
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x28], edx
jb 0x4ed17d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
inc dword [esp + 0x28]
jmp 0x4ed116
mov eax, dword [edi]
mov ecx, eax
jmp 0x4ed16b
lea ecx, [esp + 0x1c]
call dword [0x55a6c4]
mov byte [esp + 0x2a0], 4
lea eax, [esp + 0x24]
call fcn.00413720
cmp dword [eax + 8], 0
je 0x4ed288
push 0x214
lea eax, [esp + 0x70]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], 0x214
mov dword [esp + 0x70], 1
call fcn.00413720
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], edx
call fcn.00413720
mov eax, dword [eax]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x24]
call fcn.00413720
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00413720
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 8]
push ecx
lea edx, [esp + 0x70]
push 0
push edx
call eax
add esp, 0xc
sub eax, 1
je 0x4ed276
sub eax, 1
je 0x4ed453
sub eax, 1
jne 0x4ed288
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x2a0], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 4
jmp 0x4ed5ea
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x4ed33f
push eax
push 0x58a7a4
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
test eax, eax
jne 0x4ed2e1
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
mov byte [esp + 0x2a0], 5
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x2a0], 4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
push 0x55ad28
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
jle 0x4ed330
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov byte [esp + 0x2a0], 6
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x2a0], 4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x4ed33f
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jle 0x4ed581
lea ecx, [esp + 0x4c]
push ecx
call fcn.004d3aa0
mov byte [esp + 0x2a0], 7
mov ecx, dword [0x5c6f50]
mov eax, ecx
xor edi, edi
call fcn.004e74f0
test eax, eax
jle 0x4ed3bd
push ecx
mov eax, edi
call fcn.004e8440
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x4ed3ab
lea eax, [esp + 0x24]
call fcn.00413720
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x4ed3ab
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x50]
call fcn.004c8c40
mov ecx, dword [0x5c6f50]
mov eax, ecx
inc edi
call fcn.004e74f0
cmp edi, eax
jl 0x4ed372
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4ed55b
cmp eax, 1
jne 0x4ed3e0
push 0
lea eax, [esp + 0x50]
call fcn.00437690
mov ebx, dword [eax]
jmp 0x4ed4ba
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00437200
mov byte [esp + 0x2a0], 8
lea ecx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x1c4]
call fcn.004ed990
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1bc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x6c]
call sub.mfc90u.dll_CDialog::DoModal
cmp eax, 1
je 0x4ed496
mov byte [esp + 0x2a0], 7
lea ecx, [esp + 0x6c]
call fcn.00437330
mov byte [esp + 0x2a0], 4
lea eax, [esp + 0x4c]
push eax
call fcn.005131b0
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x2a0], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 3
jmp 0x4ed5ea
mov ecx, dword [esp + 0x1bc]
push ecx
lea eax, [esp + 0x50]
call fcn.00437690
mov ebx, dword [eax]
mov byte [esp + 0x2a0], 7
lea ecx, [esp + 0x6c]
call fcn.00437330
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x34], esi
call fcn.00413720
mov edi, dword [eax + 4]
mov ebx, dword [ebx + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call dword [0x55a6c4]
mov byte [esp + 0x2a0], 9
push edi
push ebx
push esi
lea edx, [esp + 0x24]
push str._s__d__s
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [0x5c7044]
add esp, 0x14
add eax, 0x810
lea ecx, [esp + 0x18]
call fcn.00414e50
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004ce3b0
mov byte [esp + 0x2a0], 7
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x2a0], 0xa
lea esi, [esp + 0x4c]
call fcn.004a8e60
mov byte [esp + 0x2a0], 4
mov ecx, dword [esp + 0x4c]
push ecx
call sub.mfc90u.dll_delete
add esp, 4
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x2a0], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x4ed5ea
mov byte [esp + 0x2a0], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 2
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.00532776
mov esp, ebp
pop ebp
ret