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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4d9be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov edi, ecx
push edi
call fcn.00474ac0
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
push ecx
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
mov dword [esp + 0x58], ebx
jbe 0x47482c
call fcn.004a089d
test ebx, ebx
je 0x4748b7
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
cmp dword [eax + 0x50], 0
mov esi, dword [ebp + 0xc]
jne 0x474883
fld dword [esi]
sub esp, 8
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp qword [esp]
call fcn.004a38d0
mov ecx, dword [ebp + 0x10]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
add esp, 8
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fst dword [esi]
fld dword [ecx + 8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x474883
fld dword [ecx]
fstp dword [esi]
fldz
mov ecx, dword [edi + 0x28]
fst dword [esp + 0x70]
xor eax, eax
fst dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
fst dword [esp + 0x78]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x7c]
mov edx, dword [ecx - 0xc]
test edx, edx
mov dword [esp + 0x54], edx
jg 0x4748df
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ebx
mov ecx, edi
call edx
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
lea ebx, [esp + 0x70]
push ebx
mov ebx, dword [ebp + 0x10]
sub edx, eax
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00474b70
mov ebx, eax
push 0x24
mov dword [esp + 0x68], ebx
call fcn.0049fa24
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x474aa8
fldz
mov ecx, 0x507fec
fst dword [esi + 4]
fst dword [esi + 8]
fst dword [esi + 0xc]
fstp dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], vtable.CBkRichTextSubTextObj.0
mov edx, dword [0x507fec]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
cmp dword [edi + 0x1c], 0
je 0x474967
mov ecx, dword [edi + 0x34]
push ecx
push ecx
call fcn.0045dd80
add esp, 4
call fcn.0045e7e0
mov dword [esp + 0x50], eax
jmp 0x47496e
mov edx, dword [edi + 0x34]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
mov eax, dword [edi + 0x14]
lea edx, [esp + 0x60]
fstp dword [esp + 0x50]
fld dword [esp + 0x70]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x70]
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x74]
fld dword [esp + 0x50]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x74]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
lea eax, [edi + 0x28]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, ebx
call fcn.0040c630
mov dword [esp + 0xbc], 0
mov ecx, dword [eax]
test ecx, ecx
jne 0x4749da
xor eax, eax
jmp 0x4749ef
mov eax, ecx
lea ebx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4749e0
sub eax, ebx
sar eax, 1
mov ebx, eax
push ecx
lea eax, [esi + 0x20]
call fcn.00403b90
mov dword [esp + 0xbc], 0xffffffff
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x474a25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x40]
test ecx, ecx
lea ebx, [edi + 0x3c]
mov dword [esp + 0x50], esi
jne 0x474a45
xor edx, edx
jmp 0x474a4d
mov edx, dword [ebx + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x474a6a
mov eax, dword [ebx + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x474a6a
mov eax, dword [ebx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x474a89
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x474a76
call fcn.004a089d
push esi
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x74]
push ecx
mov eax, ebx
call fcn.00498050
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
jl 0x4748d0
mov ebx, dword [esp + 0x58]
jmp 0x4748ad
push 0x4f7e44
lea edx, [esp + 0x4f]
xor al, al
push edx
mov byte [esp + 0x53], al
call fcn.004b1663
int3