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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bafa8
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 0x4a8950
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a8950
mov dword [esp + 0x40], 0x5ccd08
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 0x4a822d
cmp ebx, 0x25
je 0x4a822d
cmp ebx, 0x27
jne 0x4a88c6
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_3
cmp ebx, 0x25
mov byte [esp + 0x64], 1
jne 0x4a8386
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x66
je 0x4a82a5
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.004a0bf0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5ccd08
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 2
je 0x4a8367
mov eax, dword [eax]
cmp eax, ecx
jne 0x4a829a
jmp 0x4a8367
push str.QMLibrary.CompColor_
lea ecx, [esp + 0x70]
call fcn.004c9dae
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe 0x4a8312
test ebx, ebx
je 0x4a82cf
push 0x2c
lea ecx, [esp + 0x70]
call fcn.004ca198
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.004a2580
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 0x4a82c0
push 0x29
lea ecx, [esp + 0x70]
call fcn.004ca198
cmp ebx, 4
je 0x4a837c
push ebx
push 0x609
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.004a0bf0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5ccd08
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 4
je 0x4a8367
mov eax, dword [eax]
cmp eax, ecx
jne 0x4a8361
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
jmp 0x4a8947
mov dword [esp + 0x14], 0x24
jmp 0x4a83b5
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
mov ecx, edi
call fcn.004a2580
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.004a19e0
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 0x4a844b
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 0x4a844b
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a843d
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.00477be0
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 0x4a8499
mov dword [eax], ebx
jmp 0x4a849c
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 0x4a8571
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 0x4a8571
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a8563
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.00477be0
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 0x4a85bf
mov dword [eax], ebx
jmp 0x4a85c2
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 0x4a8633
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 0x4a861b
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x27
je 0x4a862f
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x28
je 0x4a862f
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004ad320
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a85e6
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4a881e
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 0x4a86a6
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 0x4a86a6
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a8698
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.00477be0
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 0x4a86f4
mov dword [eax], ebx
jmp 0x4a86f7
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x664668
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x6c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x664668
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x78]
mov ecx, esi
push eax
mov byte [esp + 0x70], 1
call fcn.004b14b0
push eax
mov ecx, esi
call fcn.004b14c0
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.004a3f30
mov ebx, eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
test eax, eax
mov byte [esp + 0x64], 0xa
jne 0x4a8786
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 0x4a8786
inc ecx
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0x20
dec ecx
jne 0x4a8778
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.00477c20
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 0x4a87f0
mov edx, dword [esp + 0x18]
mov dword [eax], edx
jmp 0x4a87f7
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 0x4a88b4
push ebp
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jae 0x4a88a8
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
push esi
call dword [esi + 0x50]
add esp, 0xc
cmp eax, 0x27
je 0x4a8864
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x28
jne 0x4a888a
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.004a81a0
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a8845
jmp 0x4a88a8
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.004a0bf0
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.004a2480
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x14]
cmp ebx, 0x28
jne 0x4a8917
push ebp
xor ebx, ebx
xor esi, esi
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x4a8919
cmp dword [esp + 0x74], ebx
jne 0x4a88fe
push esi
push ebp
call dword [ebp + 0x38]
add esp, 8
mov ecx, edi
push eax
call fcn.004ad320
push ebp
inc esi
call dword [ebp + 0x44]
add esp, 4
cmp esi, eax
jb 0x4a88da
jmp 0x4a8919
push ebx
push 0x646
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.004a0bf0
jmp 0x4a8919
xor ebx, ebx
mov dword [esp + 0x40], 0x5ccd08
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], 0xc
cmp eax, ebx
je 0x4a8937
mov eax, dword [eax]
cmp eax, ebx
jne 0x4a8931
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