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

Disassembly:
push 0xffffffffffffffff
push 0x68608b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0xffffffffffffffff
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [esp + 0xe4]
push 2
push ecx
lea ecx, [esp + 0xa8]
call fcn.004f5d60
mov edx, dword [esp + 0xe8]
xor ebx, ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x3c], vtable.CArray_struct_SEARCHPARAM__struct_SEARCHPARAM__.0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 1
call fcn.004a2080
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 2
call fcn.004858d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xcc], 3
call fcn.004778d0
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 4
lea eax, [esi + 1]
push eax
call fcn.00482e50
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esi + esi*2]
shl ecx, 4
add ecx, edx
call fcn.004c8bd0
mov edx, dword [esp + 0xe4]
push 0xa
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004fcf50
mov esi, dword [esp + 0xe0]
mov byte [esp + 0xcc], 5
cmp esi, ebx
je 0x50dbce
mov eax, dword [ebp + 0x2f60]
lea ecx, [ebp + 0x2f60]
call dword [eax + 0xc0]
mov dword [esp + 0x14], eax
jmp 0x50dbd6
mov dword [esp + 0x14], 0xffffffff
mov edi, dword [esp + 0xdc]
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
and esi, 2
dec esi
cmp edi, eax
mov dword [esp + 0x10], esi
je 0x50dc57
jmp 0x50dbf5
xor ebx, ebx
cmp edi, 0xffffffff
je 0x50dc08
push edi
lea ecx, [ebp + 0x34ec]
call sub.MFC42u.DLL_CListCtrl::GetItemData
mov ebx, eax
push ebx
lea ecx, [ebp + 0x2f60]
call fcn.005ece20
test eax, eax
jne 0x50dc47
lea ecx, [esp + 0x18]
or esi, 0xffffffff
push ecx
mov ecx, dword [ebp + 0x252c]
xor edx, edx
cmp ecx, esi
setne dl
lea eax, [esp + 0x40]
push edx
push eax
push ebx
lea ecx, [ebp + 0x2d70]
call fcn.005c5390
test eax, eax
jne 0x50dd23
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edi, ecx
cmp edi, eax
jne 0x50dbf3
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CMap_enum_TDC_ATTRIBUTE__enum_TDC_ATTRIBUTE__class_CString__class_CString__.0
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 0xb
call fcn.004c89a0
mov ebp, vtable.CObject.0
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 0xd
call fcn.00485af0
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 0xc
call fcn.00457720
mov dword [esp + 0x3c], vtable.CArray_struct_SEARCHPARAM__struct_SEARCHPARAM__.0
mov eax, dword [esp + 0x40]
mov byte [esp + 0xcc], 0xe
cmp eax, ebx
je 0x50dcd3
mov edx, dword [esp + 0x44]
push edx
push eax
call fcn.004fdce0
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0xcc], 0xf
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x98]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42u.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 0x18
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CMap_enum_TDC_ATTRIBUTE__enum_TDC_ATTRIBUTE__class_CString__class_CString__.0
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 6
call fcn.004c89a0
mov ebp, vtable.CObject.0
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 8
call fcn.00485af0
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 7
call fcn.00457720
mov dword [esp + 0x3c], vtable.CArray_struct_SEARCHPARAM__struct_SEARCHPARAM__.0
mov eax, dword [esp + 0x40]
mov byte [esp + 0xcc], 9
test eax, eax
je 0x50dd9f
mov edx, dword [esp + 0x44]
push edx
push eax
call fcn.004fdce0
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0xcc], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x98]
mov dword [esp + 0xcc], esi
call sub.MFC42u.DLL_CString::CString
mov eax, edi
jmp 0x50dd08