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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b9598
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 0x4a7000
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a7000
mov dword [esp + 0x40], 0x5cad08
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 0x4a68dd
cmp ebx, 0x25
je 0x4a68dd
cmp ebx, 0x27
jne 0x4a6f76
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_3
cmp ebx, 0x25
mov byte [esp + 0x64], 1
jne 0x4a6a36
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x66
je 0x4a6955
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.0049f2a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5cad08
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 2
je 0x4a6a17
mov eax, dword [eax]
cmp eax, ecx
jne 0x4a694a
jmp 0x4a6a17
push str.QMLibrary.CompColor_
lea ecx, [esp + 0x70]
call fcn.004c845e
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe 0x4a69c2
test ebx, ebx
je 0x4a697f
push 0x2c
lea ecx, [esp + 0x70]
call fcn.004c8848
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.004a0c30
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 0x4a6970
push 0x29
lea ecx, [esp + 0x70]
call fcn.004c8848
cmp ebx, 4
je 0x4a6a2c
push ebx
push 0x609
push 1
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0049f2a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x5cad08
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], 4
je 0x4a6a17
mov eax, dword [eax]
cmp eax, ecx
jne 0x4a6a11
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
jmp 0x4a6ff7
mov dword [esp + 0x14], 0x24
jmp 0x4a6a65
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
mov ecx, edi
call fcn.004a0c30
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.004a0090
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 0x4a6afb
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 0x4a6afb
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a6aed
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.00476290
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 0x4a6b49
mov dword [eax], ebx
jmp 0x4a6b4c
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 0x4a6c21
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 0x4a6c21
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a6c13
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.00476290
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 0x4a6c6f
mov dword [eax], ebx
jmp 0x4a6c72
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 0x4a6ce3
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 0x4a6ccb
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x27
je 0x4a6cdf
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x50]
add esp, 4
cmp eax, 0x28
je 0x4a6cdf
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004ab9d0
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a6c96
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4a6ece
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 0x4a6d56
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 0x4a6d56
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4a6d48
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.00476290
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 0x4a6da4
mov dword [eax], ebx
jmp 0x4a6da7
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x662668
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x6c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x662668
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x78]
mov ecx, esi
push eax
mov byte [esp + 0x70], 1
call fcn.004afb60
push eax
mov ecx, esi
call fcn.004afb70
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.004a25e0
mov ebx, eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
test eax, eax
mov byte [esp + 0x64], 0xa
jne 0x4a6e36
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 0x4a6e36
inc ecx
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0x20
dec ecx
jne 0x4a6e28
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.004762d0
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 0x4a6ea0
mov edx, dword [esp + 0x18]
mov dword [eax], edx
jmp 0x4a6ea7
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 0x4a6f64
push ebp
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jae 0x4a6f58
push ebx
push ebp
call dword [ebp + 0x38]
mov esi, eax
push esi
call dword [esi + 0x50]
add esp, 0xc
cmp eax, 0x27
je 0x4a6f14
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x28
jne 0x4a6f3a
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.004a6850
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4a6ef5
jmp 0x4a6f58
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.0049f2a0
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, edi
call fcn.004a0b30
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x14]
cmp ebx, 0x28
jne 0x4a6fc7
push ebp
xor ebx, ebx
xor esi, esi
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x4a6fc9
cmp dword [esp + 0x74], ebx
jne 0x4a6fae
push esi
push ebp
call dword [ebp + 0x38]
add esp, 8
mov ecx, edi
push eax
call fcn.004ab9d0
push ebp
inc esi
call dword [ebp + 0x44]
add esp, 4
cmp esi, eax
jb 0x4a6f8a
jmp 0x4a6fc9
push ebx
push 0x646
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.0049f2a0
jmp 0x4a6fc9
xor ebx, ebx
mov dword [esp + 0x40], 0x5cad08
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], 0xc
cmp eax, ebx
je 0x4a6fe7
mov eax, dword [eax]
cmp eax, ebx
jne 0x4a6fe1
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