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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x580dd8
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 0x492900
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x492900
mov dword [esp + 0x40], 0x58e9f8
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 0x4921dd
cmp ebx, 0x25
je 0x4921dd
cmp ebx, 0x27
jne 0x492876
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_3
cmp ebx, 0x25
mov byte [esp + 0x64], 1
jne 0x492336
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x66
je 0x492255
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.0048abb0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x58e9f8
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 2
je 0x492317
mov eax, dword [eax]
cmp eax, ecx
jne 0x49224a
jmp 0x492317
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 0x4922c2
test ebx, ebx
je 0x49227f
push 0x2c
lea ecx, [esp + 0x70]
call fcn.0043bae6
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.0048c530
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 3
call fcn.0043b6c6
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 0x492270
push 0x29
lea ecx, [esp + 0x70]
call fcn.0043bae6
cmp ebx, 4
je 0x49232c
push ebx
push 0x609
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0048abb0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x58e9f8
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 4
je 0x492317
mov eax, dword [eax]
cmp eax, ecx
jne 0x492311
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
jmp 0x4928f7
mov dword [esp + 0x14], 0x24
jmp 0x492365
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
mov ecx, edi
call fcn.0048c530
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.0048b990
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 0x4923fb
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 0x4923fb
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4923ed
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.00450390
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 0x492449
mov dword [eax], ebx
jmp 0x49244c
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 0x492521
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 0x492521
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x492513
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.00450390
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 0x49256f
mov dword [eax], ebx
jmp 0x492572
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 0x4925e3
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 0x4925cb
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x27
je 0x4925df
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x28
je 0x4925df
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004972d0
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x492596
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4927ce
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 0x492656
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 0x492656
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x492648
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.00450390
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 0x4926a4
mov dword [eax], ebx
jmp 0x4926a7
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x621dc4
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x6c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x621dc4
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x78]
mov ecx, esi
push eax
mov byte [esp + 0x70], 1
call fcn.0049b460
push eax
mov ecx, esi
call fcn.0049b470
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.0048dee0
mov ebx, eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
test eax, eax
mov byte [esp + 0x64], 0xa
jne 0x492736
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 0x492736
inc ecx
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0x20
dec ecx
jne 0x492728
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.00457dd0
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 0x4927a0
mov edx, dword [esp + 0x18]
mov dword [eax], edx
jmp 0x4927a7
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 0x492864
push ebp
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jae 0x492858
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
push esi
call dword [esi + 0x50]
add esp, 0xc
cmp eax, 0x27
je 0x492814
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x28
jne 0x49283a
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.00492150
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4927f5
jmp 0x492858
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.0048abb0
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.0048c430
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x14]
cmp ebx, 0x28
jne 0x4928c7
push ebp
xor ebx, ebx
xor esi, esi
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x4928c9
cmp dword [esp + 0x74], ebx
jne 0x4928ae
push esi
push ebp
call dword [ebp + 0x38]
add esp, 8
mov ecx, edi
push eax
call fcn.004972d0
push ebp
inc esi
call dword [ebp + 0x44]
add esp, 4
cmp esi, eax
jb 0x49288a
jmp 0x4928c9
push ebx
push 0x646
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0048abb0
jmp 0x4928c9
xor ebx, ebx
mov dword [esp + 0x40], 0x58e9f8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], 0xc
cmp eax, ebx
je 0x4928e7
mov eax, dword [eax]
cmp eax, ebx
jne 0x4928e1
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