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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x54b5b8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
push edi
call fcn.0045c3c0
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 + 0x5c], ebx
jbe 0x45c10b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x45c3a3
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 0x45c163
fld dword [esi]
sub esp, 8
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp qword [esp]
call dword [sym.imp.MSVCR80.dll_ceil]
mov ecx, dword [ebp + 0x10]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
add esp, 8
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fst dword [esi]
fld dword [ecx + 8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45c163
fld dword [ecx]
fstp dword [esi]
fldz
mov ecx, dword [edi + 0x28]
fst dword [esp + 0x74]
xor eax, eax
fst dword [esp + 0x78]
mov dword [esp + 0x60], ecx
fst dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x80]
mov edx, dword [ecx - 0xc]
test edx, edx
mov dword [esp + 0x58], edx
jle 0x45c399
jmp 0x45c1af
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
lea ebx, [esp + 0x74]
push ebx
mov ebx, dword [ebp + 0x10]
sub edx, eax
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0045c470
push 0x24
mov dword [esp + 0x58], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x45c37f
fldz
mov ecx, 0x5b06b0
fst dword [esi + 4]
fst dword [esi + 8]
fst dword [esi + 0xc]
fstp dword [esi + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], vtable.CBkRichTextSubTextObj.0
mov edx, dword [0x5b06b0]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
cmp dword [edi + 0x1c], ebx
je 0x45c253
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x50], ecx
call fcn.004053b0
mov dword [esp + 0x64], eax
call fcn.00405230
test eax, eax
je 0x45c249
mov eax, dword [esp + 0x64]
call fcn.004029d0
fimul dword [esp + 0x50]
call fcn.00546c10
jmp 0x45c256
mov edx, dword [esp + 0x50]
mov dword [esp + 0x50], edx
jmp 0x45c25a
mov eax, dword [edi + 0x34]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x68]
fstp dword [esp + 0x64]
fld dword [esp + 0x74]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x74]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x78]
fld dword [esp + 0x64]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x78]
fadd dword [esp + 0x80]
fstp dword [esp + 0x80]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x28]
push eax
mov eax, dword [esp + 0x58]
call fcn.00403d80
mov dword [esp + 0xc0], ebx
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x45c2ca
xor eax, eax
jmp 0x45c2e4
mov eax, ecx
lea edx, [eax + 2]
mov dword [esp + 0x64], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x45c2d3
sub eax, dword [esp + 0x64]
sar eax, 1
mov ebx, eax
push ecx
lea eax, [esi + 0x20]
call fcn.00412c00
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c31a
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 + 0x74]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x40]
test ecx, ecx
lea ebx, [edi + 0x3c]
mov dword [esp + 0x64], esi
jne 0x45c33a
xor edx, edx
jmp 0x45c342
mov edx, dword [ebx + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x45c35f
mov eax, dword [ebx + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x45c35f
mov eax, dword [ebx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x45c37f
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x45c36c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x78]
push ecx
mov eax, ebx
call fcn.00451270
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
jl 0x45c1a0
mov ebx, dword [esp + 0x5c]
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
push ebx
mov ecx, edi
call eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc