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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5af298
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x64]
xor ebx, ebx
push esi
push edi
cmp ebp, ebx
mov edi, ecx
je 0x49ccf0
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x49ccf0
mov dword [esp + 0x40], 0x5c0d08
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0xa
mov eax, dword [edi + 8]
push ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x14], eax
call dword [ebp + 0x50]
mov ebx, eax
add esp, 4
cmp ebx, 0x24
mov dword [esp + 0x14], ebx
je 0x49c5cd
cmp ebx, 0x25
je 0x49c5cd
cmp ebx, 0x27
jne 0x49cc66
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_3
cmp ebx, 0x25
mov byte [esp + 0x64], 1
jne 0x49c726
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x66
je 0x49c645
push esi
call dword [esi + 0x50]
add esp, 4
push eax
push 0x5f9
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494f90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5c0d08
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 2
je 0x49c707
mov eax, dword [eax]
cmp eax, ecx
jne 0x49c63a
jmp 0x49c707
push str.QMLibrary.CompColor_
lea ecx, [esp + 0x70]
call fcn.004be14e
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe 0x49c6b2
test ebx, ebx
je 0x49c66f
push 0x2c
lea ecx, [esp + 0x70]
call fcn.004be538
push ebx
push esi
call dword [esi + 0x38]
add esp, 8
lea ecx, [esp + 0x40]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov ecx, edi
call fcn.00496920
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::CString
push esi
inc ebx
call dword [esi + 0x44]
add esp, 4
cmp ebx, eax
jb 0x49c660
push 0x29
lea ecx, [esp + 0x70]
call fcn.004be538
cmp ebx, 4
je 0x49c71c
push ebx
push 0x609
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494f90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5c0d08
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 4
je 0x49c707
mov eax, dword [eax]
cmp eax, ecx
jne 0x49c701
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
jmp 0x49cce7
mov dword [esp + 0x14], 0x24
jmp 0x49c755
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
mov ecx, edi
call fcn.00496920
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, edi
call fcn.00495d80
mov eax, dword [edi + 0x1d4]
xor esi, esi
mov dword [esp + 0x2d], esi
push ebp
mov ebx, esi
mov byte [esp + 0x2c], 4
mov dword [esp + 0x31], eax
call dword [ebp + 0x58]
mov ecx, dword [edi + 0x180]
mov edx, dword [edi + 0x1b4]
xor ecx, esi
xor eax, ebx
and ecx, 1
and eax, 0xfffff
xor esi, ecx
xor ebx, eax
mov eax, dword [edi + 0x1bc]
mov dword [esp + 0x35], esi
lea esi, [edi + 0x1ac]
add esp, 4
test eax, eax
mov dword [esp + 0x29], ebx
mov dword [esp + 0x18], edx
jne 0x49c7eb
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x49c7eb
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x49c7dd
mov ebx, dword [esi + 0x10]
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov edx, dword [esi + 0xc]
lea eax, [ebx + 8]
inc edx
push eax
mov dword [esi + 0xc], edx
call fcn.0046bf80
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [ebx + 8], edx
mov dl, byte [esp + 0x34]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x14], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x49c839
mov dword [eax], ebx
jmp 0x49c83c
mov dword [esi + 4], ebx
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
push str.Sgn_
push ecx
mov dword [esi + 8], ebx
call sub.MFC42.DLL_operator
push 0x29
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [edi + 0x1c8]
mov byte [esp + 0x68], 7
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x1b8]
xor ebx, ebx
mov dword [esp + 0x2d], ebx
push ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x2d], ebx
mov byte [esp + 0x2c], 6
mov dword [esp + 0x31], ebx
call dword [ebp + 0x58]
mov ecx, ebx
mov edx, dword [esi + 8]
xor eax, ecx
add esp, 4
and eax, 0xfffff
mov dword [esp + 0x18], edx
xor ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x29], ecx
mov ecx, dword [edi + 0x180]
xor ecx, ebx
and ecx, 1
xor ebx, ecx
test eax, eax
mov dword [esp + 0x31], ebx
jne 0x49c911
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x49c911
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x49c903
mov ebx, dword [esi + 0x10]
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov edx, dword [esi + 0xc]
lea eax, [ebx + 8]
inc edx
push eax
mov dword [esi + 0xc], edx
call fcn.0046bf80
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [ebx + 8], edx
mov dl, byte [esp + 0x34]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x14], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x49c95f
mov dword [eax], ebx
jmp 0x49c962
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x1b4]
add eax, 8
mov ebx, 1
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
call dword [ebp + 0x44]
add esp, 4
cmp eax, ebx
jbe 0x49c9d3
push ebx
push ebp
call dword [ebp + 0x38]
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, 0x24
mov dword [esp + 0x18], eax
jne 0x49c9bb
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x27
je 0x49c9cf
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x28
je 0x49c9cf
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004a16c0
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x49c986
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x49cbbe
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, eax
mov dword [esp + 0x2d], eax
and ecx, 0xfff00000
mov dword [esp + 0x2d], eax
mov dword [esp + 0x29], ecx
mov ecx, dword [edi + 0x180]
xor ecx, eax
mov byte [esp + 0x28], 0x10
and ecx, 1
mov dword [esp + 0x18], edx
xor eax, ecx
mov dword [esp + 0x31], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x49ca46
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x49ca46
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x49ca38
mov ebx, dword [esi + 0x10]
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov edx, dword [esi + 0xc]
lea eax, [ebx + 8]
inc edx
push eax
mov dword [esi + 0xc], edx
call fcn.0046bf80
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [ebx + 8], edx
mov dl, byte [esp + 0x34]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x14], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x49ca94
mov dword [eax], ebx
jmp 0x49ca97
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x659680
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x6c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x659680
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x78]
mov ecx, esi
push eax
mov byte [esp + 0x70], 1
call fcn.004a5850
push eax
mov ecx, esi
call fcn.004a5860
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.004982d0
mov ebx, eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
test eax, eax
mov byte [esp + 0x64], 0xa
jne 0x49cb26
mov ecx, dword [edi + 0x18]
push 0x20
lea edx, [edi + 0x14]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [edi + 0x18]
mov edx, ecx
shl edx, 5
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x1c]
jl 0x49cb26
inc ecx
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0x20
dec ecx
jne 0x49cb18
mov eax, dword [edi + 0x10]
push 1
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov dword [eax + 4], esi
mov dword [eax], 0
mov esi, dword [edi + 0xc]
inc esi
mov dword [edi + 0xc], esi
lea esi, [eax + 8]
push esi
call fcn.0046bfc0
mov edx, dword [ebx]
mov dword [esi], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
lea ecx, [ebx + 0x10]
mov dword [esi + 8], edx
mov eax, dword [ebx + 0xc]
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
call sub.MFC42.DLL_CString::operator_3
add ebx, 0x14
lea ecx, [esi + 0x14]
push ebx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [edi + 8]
test eax, eax
je 0x49cb90
mov edx, dword [esp + 0x18]
mov dword [eax], edx
jmp 0x49cb97
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [edi + 8], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0x1b8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, ecx
mov dword [edx + 5], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x24
jne 0x49cc54
push ebp
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jae 0x49cc48
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
push esi
call dword [esi + 0x50]
add esp, 0xc
cmp eax, 0x27
je 0x49cc04
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x28
jne 0x49cc2a
push ebp
call dword [ebp + 0x44]
add esp, 4
dec eax
cmp ebx, eax
mov ecx, edi
sbb eax, eax
neg eax
push eax
push ebp
push esi
call fcn.0049c540
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x49cbe5
jmp 0x49cc48
push esi
call dword [esi + 0x50]
add esp, 4
push eax
push 0x634
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494f90
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.00496820
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x14]
cmp ebx, 0x28
jne 0x49ccb7
push ebp
xor ebx, ebx
xor esi, esi
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x49ccb9
cmp dword [esp + 0x74], ebx
jne 0x49cc9e
push esi
push ebp
call dword [ebp + 0x38]
add esp, 8
mov ecx, edi
push eax
call fcn.004a16c0
push ebp
inc esi
call dword [ebp + 0x44]
add esp, 4
cmp esi, eax
jb 0x49cc7a
jmp 0x49ccb9
push ebx
push 0x646
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494f90
jmp 0x49ccb9
xor ebx, ebx
mov dword [esp + 0x40], 0x5c0d08
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], 0xc
cmp eax, ebx
je 0x49ccd7
mov eax, dword [eax]
cmp eax, ebx
jne 0x49ccd1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x54]
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0xc