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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x593688
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 0x4a51c0
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a51c0
mov dword [esp + 0x40], 0x5a09f8
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 0x4a4a9d
cmp ebx, 0x25
je 0x4a4a9d
cmp ebx, 0x27
jne 0x4a5136
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_3
cmp ebx, 0x25
mov byte [esp + 0x64], 1
jne 0x4a4bf6
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x66
je 0x4a4b15
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.0049d470
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5a09f8
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 2
je 0x4a4bd7
mov eax, dword [eax]
cmp eax, ecx
jne 0x4a4b0a
jmp 0x4a4bd7
push str.QMLibrary.CompColor_
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::operator
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe 0x4a4b82
test ebx, ebx
je 0x4a4b3f
push 0x2c
lea ecx, [esp + 0x70]
call fcn.0044e3c6
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.0049edf0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 3
call fcn.0044dfa6
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 0x4a4b30
push 0x29
lea ecx, [esp + 0x70]
call fcn.0044e3c6
cmp ebx, 4
je 0x4a4bec
push ebx
push 0x609
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0049d470
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5a09f8
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 4
je 0x4a4bd7
mov eax, dword [eax]
cmp eax, ecx
jne 0x4a4bd1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
jmp 0x4a51b7
mov dword [esp + 0x14], 0x24
jmp 0x4a4c25
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
mov ecx, edi
call fcn.0049edf0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::operator_1
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.0049e250
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 0x4a4cbb
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 0x4a4cbb
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a4cad
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.00462c50
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 0x4a4d09
mov dword [eax], ebx
jmp 0x4a4d0c
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
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 0x4a4de1
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 0x4a4de1
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a4dd3
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.00462c50
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 0x4a4e2f
mov dword [eax], ebx
jmp 0x4a4e32
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 0x4a4ea3
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 0x4a4e8b
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x27
je 0x4a4e9f
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x28
je 0x4a4e9f
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004a9b90
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a4e56
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4a508e
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 0x4a4f16
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 0x4a4f16
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a4f08
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.00462c50
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 0x4a4f64
mov dword [eax], ebx
jmp 0x4a4f67
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x633dc4
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x6c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x633dc4
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x78]
mov ecx, esi
push eax
mov byte [esp + 0x70], 1
call fcn.004add20
push eax
mov ecx, esi
call fcn.004add30
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.004a07a0
mov ebx, eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
test eax, eax
mov byte [esp + 0x64], 0xa
jne 0x4a4ff6
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 0x4a4ff6
inc ecx
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0x20
dec ecx
jne 0x4a4fe8
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.0046a690
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_1
add ebx, 0x14
lea ecx, [esi + 0x14]
push ebx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi + 8]
test eax, eax
je 0x4a5060
mov edx, dword [esp + 0x18]
mov dword [eax], edx
jmp 0x4a5067
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 0x4a5124
push ebp
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jae 0x4a5118
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
push esi
call dword [esi + 0x50]
add esp, 0xc
cmp eax, 0x27
je 0x4a50d4
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x28
jne 0x4a50fa
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.004a4a10
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a50b5
jmp 0x4a5118
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.0049d470
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.0049ecf0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x14]
cmp ebx, 0x28
jne 0x4a5187
push ebp
xor ebx, ebx
xor esi, esi
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x4a5189
cmp dword [esp + 0x74], ebx
jne 0x4a516e
push esi
push ebp
call dword [ebp + 0x38]
add esp, 8
mov ecx, edi
push eax
call fcn.004a9b90
push ebp
inc esi
call dword [ebp + 0x44]
add esp, 4
cmp esi, eax
jb 0x4a514a
jmp 0x4a5189
push ebx
push 0x646
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0049d470
jmp 0x4a5189
xor ebx, ebx
mov dword [esp + 0x40], 0x5a09f8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], 0xc
cmp eax, ebx
je 0x4a51a7
mov eax, dword [eax]
cmp eax, ebx
jne 0x4a51a1
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