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

Disassembly:
sub esp, 0x1c8
push ebx
mov ebx, dword [esp + 0x1d4]
mov eax, 0x66666667
push ebp
mov ecx, dword [ebx + 0x138]
push esi
imul ecx
sar edx, 2
mov eax, edx
xor esi, esi
shr eax, 0x1f
add edx, eax
push edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], esi
fild dword [esp + 0x5c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
fcom qword [0x51be98]
fnstsw ax
test ah, 1
je 0x474b81
fld qword [0x51f990]
jmp 0x474b87
fld qword [0x51be90]
fxch st(1)
fmul qword [0x51cf38]
fadd st(1)
call sub.MSVCRT.dll__ftol
lea ebp, [ebx + 0x130]
mov dword [esp + 0x88], eax
fstp st(0)
mov eax, dword [ebp]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x54], eax
jne 0x474bbc
mov eax, 0x14d
mov dword [esp + 0x54], eax
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0x118]
cmp eax, esi
jne 0x474bd6
push ebx
call fcn.004746a0
add esp, 4
lea esi, [ebx + 0x1c8]
mov ecx, 0xc
lea edi, [esp + 0x118]
lea edx, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x6c]
lea eax, [esp + 0x118]
push ecx
push edx
push 0
push 0
push eax
call sub.CRLUTL110.dll__UTLGetMatrixValues_20
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__hypot]
fild dword [esp + 0x64]
add esp, 0x10
fmul st(1)
fabs
call sub.MSVCRT.dll__ftol
fld qword [0x51cce8]
fdiv st(1)
push 0
mov dword [esp + 0x58], eax
fstp dword [esp + 0x60]
fstp st(0)
call dword [sym.imp.USER32.dll_GetDC]
push ebp
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
test edi, edi
je 0x474c9c
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
mov dword [esp + 0x20], eax
je 0x474c95
lea edx, [esp + 0x178]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test eax, eax
je 0x474c89
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x20]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
mov edi, 1
push ebp
push 0
mov word [ebx + 0x29c], di
call sub.CDRFNT110.dll_CFMBeginFontAccessFromLogfont
mov edx, dword [ebx + 0xb0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x24], edx
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov esi, dword [esp + 0x1dc]
mov al, byte [ebx + 0xf4]
test al, 1
mov ebp, dword [esi + 0x2c]
je 0x474d01
mov ecx, dword [ebx + 0x194]
mov edx, dword [ebx + 0x198]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x474d0f
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esi + 0x34]
test eax, eax
je 0x474d3e
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x44]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], ecx
mov ecx, eax
and ecx, 0x10
test al, 2
mov dword [esp + 0x20], ecx
je 0x474d68
mov word [ebx + 0x920], di
mov edx, dword [ebx + 0x190]
lea eax, [ebx + 0x2a0]
push edx
push eax
call fcn.004758a0
add esp, 8
test ebp, ebp
je 0x475849
lea ecx, [ebp*4 + 4]
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
call sub.CRLUTL110.dll__MEMMANAllocLock_12
test eax, eax
jne 0x474d95
mov edi, 3
jmp 0x47584d
cmp ebp, dword [ebx + 0xb4]
jbe 0x474dbe
lea ecx, [ebp + 0x14]
push ebx
push ecx
call fcn.00474ad0
mov edi, eax
add esp, 8
test edi, edi
jne 0x47584d
mov edx, dword [ebx + 0xb0]
mov dword [esp + 0x24], edx
mov edi, dword [esi + 0x30]
lea eax, [ebp + ebp + 2]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x84]
add edi, esi
push ecx
push edx
mov dword [esp + 0x28], edi
call sub.CRLUTL110.dll__MEMMANAllocLock_12
test eax, eax
jne 0x474dec
mov edi, 3
jmp 0x47584d
call sub.CRLI18N110.dll__CorIsFarEastWindow_0
test eax, eax
jne 0x475045
mov al, byte [ebx + 0x147]
cmp al, 0xb1
je 0x474e0f
cmp al, 0xb2
je 0x474e0f
cmp al, 0xb3
jne 0x47502a
mov eax, dword [ebx + 0x298]
push eax
call fcn.0040e750
cmp eax, 0xc
je 0x47502a
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x474fdc
push 0
call sub.CRLUTL110.dll__CgiCreateCompatibleDC_4
lea ecx, [esp + 0xa0]
mov esi, eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x9c]
push ecx
push edx
push eax
mov dword [esp + 0x2c], esi
call sub.CDRFNT110.dll_CFMGetIndexAndStyle
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push 0
push 0
push 0xa
push ecx
push edx
push esi
call sub.CDRFNT110.dll_CFMBeginFontAccess
mov dword [esp + 0x90], eax
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xb4]
lea esi, [ebp*4]
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0xb8], 0x24
mov dword [esp + 0xd4], ebp
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0xd0], edi
push esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0xc8], edi
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
test eax, eax
je 0x474ef8
mov eax, dword [eax]
jmp 0x474efa
xor eax, eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb4]
push 0x32
xor edi, edi
push ecx
push edi
push ebp
push edx
push eax
call dword [sym.imp.GDI32.dll_GetCharacterPlacementA]
mov eax, dword [ebx + 0x1a4]
mov ebp, dword [esp + 0xd0]
xor esi, esi
mov dword [esp + 0x58], edi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x1b4]
cdq
shl ecx, 1
idiv ecx
test ebp, ebp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jbe 0x474f98
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
mov ax, word [edx + edi*2]
mov word [ecx + edi*2], ax
mov edx, dword [esp + 0x10]
cmp word [edx + edi*2], 3
je 0x474f74
mov eax, dword [esp + 0xc0]
fild dword [eax + edi*4]
fmul st(1)
call sub.MSVCRT.dll__ftol
add esi, eax
jmp 0x474f8b
mov ecx, dword [esp + 0xc0]
xor esi, esi
fild dword [ecx + edi*4]
fmul st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x68]
inc edi
cmp edi, ebp
mov dword [edx + edi*4 - 4], esi
jb 0x474f41
mov eax, dword [esp + 0x90]
push eax
fstp st(0)
call sub.CDRFNT110.dll_CFMEndFontAccess
mov ecx, dword [esp + 0x20]
push ecx
call sub.CRLUTL110.dll__CgiDeleteDC_4
mov edx, dword [esp + 0xcc]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push edx
call esi
mov eax, dword [esp + 0xc4]
push eax
call esi
mov esi, 1
add esp, 8
mov dword [esp + 0x20], esi
jmp 0x4750ab
xor eax, eax
test ebp, ebp
jbe 0x474ff5
movsx cx, byte [eax + edi]
mov edx, dword [esp + 0x10]
inc eax
cmp eax, ebp
mov word [edx + eax*2 - 2], cx
jb 0x474fe2
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push esi
call sub.CDRFNT110.dll_CFMGetCharWidths
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
push edx
push ebp
push eax
push esi
call sub.CDRFNT110.dll_CFMGetCharPositions
mov esi, 1
mov dword [esp + 0x20], esi
jmp 0x4750ab
xor eax, eax
test ebp, ebp
jbe 0x47508e
movsx cx, byte [edi + eax*2]
mov edx, dword [esp + 0x10]
inc eax
cmp eax, ebp
mov word [edx + eax*2 - 2], cx
jb 0x475030
jmp 0x47508e
xor esi, esi
xor ebx, ebx
test ebp, ebp
jbe 0x475082
mov al, byte [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x47506f
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [esi + edi + 1]
mov ch, byte [esi + edi]
inc esi
mov word [edx + ebx*2], cx
jmp 0x47507c
movzx ax, byte [esi + edi]
mov ecx, dword [esp + 0x10]
mov word [ecx + ebx*2], ax
inc esi
inc ebx
cmp esi, ebp
jb 0x47504d
mov edx, dword [esp + 0x10]
mov ebp, ebx
mov word [edx + ebx*2], 0
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x4750ab
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ebp
push ecx
push edx
call sub.CDRFNT110.dll_CFMGetCharPositions
test esi, esi
mov dword [esp + 0x14], 0x20
jne 0x4750cd
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call sub.CDRFNT110.dll_CFMGetCharWidths
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x1dc]
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0x48]
cmp eax, esi
je 0x4751d0
cmp dword [esp + 0x20], esi
jne 0x4751d0
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x24]
mov dword [eax], esi
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push 1
mov dx, word [ecx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
push ecx
push edx
call sub.CDRFNT110.dll_CFMGetCharExtents
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x44]
mov edi, 1
neg eax
cmp ebp, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jbe 0x475340
mov eax, dword [esp + 0x24]
lea esi, [eax + 8]
fild dword [ebx]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esi - 8]
lea edx, [esp + 0x40]
add ecx, eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], 0
mov eax, dword [esp + 0x14]
push 1
lea ecx, [eax + edi*2]
push ecx
push edx
call sub.CDRFNT110.dll_CFMGetCharExtents
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esi]
add edx, ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x30]
push eax
neg edx
push ecx
mov dword [esp + 0x54], edx
call sub.CRLUTL110.dll__UTLUnionRect_8
inc edi
add ebx, 4
add esi, 8
cmp edi, ebp
jb 0x475161
jmp 0x475338
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push ecx
push 1
mov dword [eax], 0
mov dword [eax + 4], 0
mov edx, dword [esp + 0x18]
mov ax, word [edx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call sub.CDRFNT110.dll_CFMGetCharExtents
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x44]
mov ebx, 1
neg eax
cmp ebp, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jbe 0x475340
mov eax, dword [esp + 0x24]
lea edi, [eax + 8]
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + ebx*2 - 2]
cmp ax, 0x20
mov dword [esp + 0x14], eax
je 0x475263
cmp ax, 0xd
je 0x475263
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + ebx*4 - 4]
add edx, esi
mov dword [edi], edx
jmp 0x4752d2
mov edx, dword [esp + 0x1c]
mov ax, word [ecx + ebx*2 - 2]
inc edx
cmp ax, 0x20
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
je 0x475293
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call sub.CDRFNT110.dll_CFMGetCharWidths
jmp 0x47529b
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x1e0]
mov esi, dword [edi - 8]
mov edx, dword [eax + 0x114]
mov ecx, dword [eax + 0xfc]
add esi, edx
mov edx, dword [esp + 0x50]
add esi, ecx
mov ecx, dword [esp + 0x58]
add esi, edx
mov edx, dword [eax + 0xf8]
add esi, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jae 0x4752d0
inc esi
mov dword [edi], esi
mov dword [edi + 4], 0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
mov ax, word [edx + ebx*2]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push 1
push edx
push eax
call sub.CDRFNT110.dll_CFMGetCharExtents
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
neg ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [edi]
add ecx, eax
lea edx, [esp + 0x30]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x40]
push ecx
push edx
call sub.CRLUTL110.dll__UTLUnionRect_8
inc ebx
add edi, 8
cmp ebx, ebp
jb 0x47523c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
neg eax
push eax
mov eax, dword [esp + 0x3c]
neg ecx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [esp + 0x1dc]
test byte [esi + 0x34], 4
je 0x4753af
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0xdc]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x1e0]
cmp dword [ebx + 0x108], 2
jne 0x4753e3
cmp dword [esi], 0x54
je 0x4753e3
mov ecx, dword [ebx + 0x190]
lea edx, [ebx + 0x2a0]
push ecx
push edx
call fcn.004758a0
add esp, 8
mov word [ebx + 0x920], 1
mov ecx, dword [ebx + 0xf4]
test cl, 6
je 0x475449
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
push 1
mov cx, word [eax + ebp*2 - 2]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
call sub.CDRFNT110.dll_CFMGetCharWidths
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ecx, dword [ebx + 0xf4]
mov esi, dword [edx + ebp*8 - 8]
add esi, eax
mov eax, ecx
and eax, 6
cmp al, 6
jne 0x475443
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
neg eax
add edx, eax
mov dword [esp + 0x28], edx
jmp 0x475450
sub dword [esp + 0x28], esi
jmp 0x475450
mov esi, dword [esp + 0x90]
test cl, 1
je 0x475461
mov ecx, dword [esp + 0x28]
add esi, ecx
mov dword [ebx + 0x194], esi
mov edx, dword [ebx + 0x18c]
lea eax, [ebx + 0x2a0]
push edx
push eax
call fcn.004758a0
add esp, 8
lea ecx, [esp + 0xe8]
push ecx
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
mov esi, dword [esp + 0x88]
lea edx, [esp + 0xe8]
push esi
push edx
call sub.CRLUTL110.dll__UTLRotateMatrix_8
mov eax, dword [ebx + 0x1b8]
test eax, eax
jle 0x4754af
mov ecx, dword [ebx + 0x1a8]
test ecx, ecx
jl 0x4754bb
test eax, eax
jge 0x4754da
mov eax, dword [ebx + 0x1a8]
test eax, eax
jle 0x4754da
push 0
push 0
push 0xbff00000
push 0
push 0x3ff00000
lea eax, [esp + 0xfc]
push 0
push eax
call sub.CRLUTL110.dll__UTLStretchMatrix_28
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0xf4]
push ecx
push edx
call sub.CRLUTL110.dll__UTLGetMatrixValues_20
test byte [ebx + 0xf4], 0x18
jne 0x4755b4
lea eax, [esp + 0xe8]
push eax
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
lea ecx, [esp + 0xe8]
push esi
push ecx
call sub.CRLUTL110.dll__UTLRotateMatrix_8
mov eax, dword [ebx + 0x1b8]
test eax, eax
jle 0x47553c
mov ecx, dword [ebx + 0x1a8]
test ecx, ecx
jl 0x475548
test eax, eax
jge 0x475567
mov eax, dword [ebx + 0x1a8]
test eax, eax
jle 0x475567
push 0
push 0
push 0xbff00000
push 0
push 0x3ff00000
lea edx, [esp + 0xfc]
push 0
push edx
call sub.CRLUTL110.dll__UTLStretchMatrix_28
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x9c]
push edx
lea ecx, [esp + 0xf4]
push eax
push ecx
call sub.CRLUTL110.dll__UTLGetMatrixValues_20
fild dword [esp + 0x8c]
fld st(0)
fmul qword [esp + 0x6c]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x2c]
fmul qword [esp + 0x78]
add edx, eax
mov dword [esp + 0x2c], edx
call sub.MSVCRT.dll__ftol
add dword [esp + 0x28], eax
mov ecx, 0xc
lea esi, [ebx + 0x1c8]
lea edi, [esp + 0x118]
lea edx, [esp + 0xe8]
rep movsd dword es:[edi], dword [esi]
push edx
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push esi
lea eax, [esp + 0xec]
push edi
push eax
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov eax, dword [esp + 0x88]
push esi
neg eax
push edi
lea ecx, [esp + 0xf0]
push eax
push ecx
call sub.CRLUTL110.dll__UTLRotateMatrixAround_16
lea edx, [esp + 0x118]
lea eax, [esp + 0xe8]
push edx
push eax
call sub.CRLUTL110.dll__UTLTransformMatrix_8
lea ecx, [esp + 0x148]
lea edx, [esp + 0x150]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00438de0
lea eax, [esp + 0xe8]
push 5
lea ecx, [esp + 0x154]
push eax
push ecx
call sub.CRLUTL110.dll__UTLTransformPoint_12
lea edx, [esp + 0x30]
lea eax, [esp + 0x150]
push edx
push 5
push eax
call sub.CRLUTL110.dll__UTLGetBBox_12
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x475695
lea ecx, [ebx + 0x270]
lea edx, [esp + 0x30]
push ecx
push edx
call sub.CRLUTL110.dll__UTLIntersectRect_8
mov edi, 1
cmp ebp, edi
jbe 0x4756d4
mov eax, dword [esp + 0x24]
lea esi, [eax + 8]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, ecx
sub ecx, edx
cmp eax, ecx
jge 0x4756b6
mov eax, ecx
cmp eax, dword [esp + 0x190]
jg 0x4756c9
inc edi
add esi, 8
cmp edi, ebp
jb 0x4756a5
jmp 0x4756d4
mov dword [esp + 0x84], 1
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe8]
push ebp
push ecx
push edx
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov ecx, 0xc
lea esi, [esp + 0xe8]
lea edi, [esp + 0x118]
push 0
lea eax, [esp + 0x11c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.CRLUTL110.dll__UTLSetMatrixDisplacement_12
lea esi, [ebx + 0x920]
mov word [esi], 1
mov eax, dword [ebx + 0x1b8]
test eax, eax
jle 0x47572e
mov ecx, dword [ebx + 0x1a8]
test ecx, ecx
jl 0x47573a
test eax, eax
jge 0x475759
mov eax, dword [ebx + 0x1a8]
test eax, eax
jle 0x475759
push 0
push 0
push 0xbff00000
push 0
push 0x3ff00000
lea ecx, [esp + 0x12c]
push 0
push ecx
call sub.CRLUTL110.dll__UTLStretchMatrix_28
lea edx, [esp + 0x6c]
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x124]
push edx
push eax
call sub.CRLUTL110.dll__UTLGetMatrixValues_20
fld qword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
fchs
fstp qword [esp + 0x60]
fld qword [esp + 0x78]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
fchs
fstp qword [esp + 0x80]
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push eax
push ecx
lea eax, [esp + 0x134]
push edx
push eax
call sub.CRLUTL110.dll__UTLSetMatrixValues_36
fld dword [esp + 0x5c]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x128]
fchs
fstp qword [esp]
fld dword [esp + 0x6c]
sub esp, 8
fstp qword [esp]
push ecx
call sub.CRLUTL110.dll__UTLStretchMatrix_28
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x128]
push ebp
lea eax, [esp + 0x44]
push edx
push eax
lea eax, [ebx + 0x29c]
push esi
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x1d4]
push ecx
mov ecx, dword [ebx + 0x298]
push edx
push eax
push ecx
call dword [ebx + 0x9c4]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x475865
lea edx, [esp + 0x80]
push edx
call sub.CRLUTL110.dll__MEMMANUnlockFree_4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x475873
push eax
call sub.CDRFNT110.dll_CFMEndFontAccess
mov eax, dword [esp + 0x74]
test eax, eax
je 0x475885
lea eax, [esp + 0x74]
push eax
call sub.CRLUTL110.dll__MEMMANUnlockFree_4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c8
ret