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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
shl eax, 5
add eax, edx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
push edi
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x34], eax
lea edi, [esi + ecx*8]
push ebx
mov dword [esp + 0x60], edi
mov edi, dword [ebp + 0x18]
add ecx, edi
push 0
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x10]
shl eax, 5
add eax, edx
mov dword [esp + 0x8c], ebx
mov ecx, dword [eax + 0x10]
lea edx, [esi + ecx*8]
add ecx, edi
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], edx
push ecx
mov dword [esp + 0x5c], eax
call fcn.004a5570
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x2c], eax
jge 0x4a39f4
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov al, byte [edi + edx]
and al, 0xc0
cmp al, 0x40
jne 0x4a332a
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebx + edi*8 - 4]
mov esi, dword [ebx + edi*8 + 4]
cmp edx, esi
mov dword [esp + 0x14], edx
jg 0x4a32c2
mov dword [esp + 0x14], esi
mov eax, dword [ebx + edi*8 - 8]
lea ecx, [ebx + edi*8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [ecx]
cmp eax, ecx
jg 0x4a32db
mov dword [esp + 0x18], ecx
cmp edx, esi
mov dword [esp + 0x10], edx
jl 0x4a32e7
mov dword [esp + 0x10], esi
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4a32f3
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + edi*8 - 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
mov edx, dword [ebx + edi*8 - 4]
mov dword [esp + 0x94], edx
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], edx
mov eax, 1
jmp 0x4a3468
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
lea ebx, [eax + ecx*8 - 0x18]
mov eax, dword [eax + ecx*8 - 4]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
mov edx, eax
jg 0x4a3345
mov edx, ecx
mov esi, dword [ebx + 0xc]
cmp esi, edx
jle 0x4a3350
mov edx, esi
jmp 0x4a3358
cmp eax, ecx
mov edx, eax
jg 0x4a3358
mov edx, ecx
mov edi, dword [ebx + 4]
cmp edi, edx
jle 0x4a3365
mov dword [esp + 0x14], edi
jmp 0x4a3383
cmp eax, ecx
mov edx, eax
jg 0x4a336d
mov edx, ecx
cmp esi, edx
jle 0x4a3377
mov dword [esp + 0x14], esi
jmp 0x4a3383
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x4a3383
mov dword [esp + 0x14], ecx
cmp eax, ecx
mov edx, eax
jl 0x4a338b
mov edx, ecx
cmp esi, edx
jge 0x4a3393
mov edx, esi
jmp 0x4a339b
cmp eax, ecx
mov edx, eax
jl 0x4a339b
mov edx, ecx
cmp edi, edx
jge 0x4a33a5
mov dword [esp + 0x10], edi
jmp 0x4a33c3
cmp eax, ecx
mov edx, eax
jl 0x4a33ad
mov edx, ecx
cmp esi, edx
jge 0x4a33b7
mov dword [esp + 0x10], esi
jmp 0x4a33c3
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4a33c3
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
cmp eax, ecx
mov edx, eax
jg 0x4a33d1
mov edx, ecx
mov esi, dword [ebx + 8]
cmp esi, edx
jle 0x4a33dc
mov edx, esi
jmp 0x4a33e4
cmp eax, ecx
mov edx, eax
jg 0x4a33e4
mov edx, ecx
mov edi, dword [ebx]
cmp edi, edx
jle 0x4a33f0
mov dword [esp + 0x18], edi
jmp 0x4a340e
cmp eax, ecx
mov edx, eax
jg 0x4a33f8
mov edx, ecx
cmp esi, edx
jle 0x4a3402
mov dword [esp + 0x18], esi
jmp 0x4a340e
cmp eax, ecx
mov dword [esp + 0x18], eax
jg 0x4a340e
mov dword [esp + 0x18], ecx
cmp eax, ecx
mov edx, eax
jl 0x4a3416
mov edx, ecx
cmp esi, edx
jge 0x4a341e
mov edx, esi
jmp 0x4a3426
cmp eax, ecx
mov edx, eax
jl 0x4a3426
mov edx, ecx
cmp edi, edx
jge 0x4a3430
mov dword [esp + 0x20], edi
jmp 0x4a344e
cmp eax, ecx
mov edx, eax
jl 0x4a3438
mov edx, ecx
cmp esi, edx
jge 0x4a3442
mov dword [esp + 0x20], esi
jmp 0x4a344e
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4a344e
mov dword [esp + 0x20], ecx
push ebx
push 0
call fcn.004a5620
add esp, 8
lea edx, [esp + 0x90]
push eax
push edx
push ebx
call sub.CRLUTL110.dll__UTLBezierToLines_12
cmp eax, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 1
jl 0x4a3998
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push esi
push 0
push eax
call fcn.004a5570
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x30], eax
jge 0x4a3983
jmp 0x4a34a3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov dl, byte [eax + ecx]
and dl, 0xc0
cmp dl, 0x40
jne 0x4a3643
mov ecx, dword [esp + 0x64]
lea edi, [ecx + eax*8 - 8]
mov eax, dword [ecx + eax*8 - 4]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
mov dword [esp + 0xc], eax
jg 0x4a34d1
mov dword [esp + 0xc], ecx
mov edx, dword [edi]
mov esi, dword [edi + 8]
cmp edx, esi
mov ebx, edx
jg 0x4a34de
mov ebx, esi
cmp eax, ecx
jl 0x4a34e4
mov eax, ecx
cmp edx, esi
jl 0x4a34ea
mov edx, esi
cmp dword [esp + 0x20], ebx
jg 0x4a395f
cmp dword [esp + 0x18], edx
jl 0x4a395f
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, edx
jg 0x4a395f
cmp dword [esp + 0x14], eax
jl 0x4a395f
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x88]
push eax
push edi
lea ebx, [esp + ecx*8 + 0x90]
push ebx
call fcn.004a5c00
lea edx, [esp + 0x80]
mov dword [esp + 0x30], eax
push edx
push eax
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x8c]
push eax
lea edx, [esp + 0xa0]
push ecx
push edx
push edi
push ebx
call fcn.004a6f40
add esp, 0x28
test eax, eax
je 0x4a395f
mov eax, dword [esp + 0x34]
push eax
call fcn.004a3a00
mov esi, eax
add esp, 4
test esi, esi
je 0x4a39eb
mov ecx, dword [esp + 0x28]
push edi
dec ecx
push ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
fild dword [esp + 0x24]
fadd qword [esp + 0x80]
fidiv dword [esp + 0x40]
fstp qword [esi]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov byte [esi + 0x24], 0
call fcn.004a55a0
add esp, 8
cmp eax, 1
jne 0x4a362e
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4a363a
mov dword [esi + 0x20], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
je 0x4a35ed
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4a35fb
cmp dword [esp + 0x60], eax
je 0x4a3608
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4a3608
mov eax, dword [esi + 0x20]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x20], ecx
cmp dword [esp + 0x24], 8
jne 0x4a3622
fld qword [esi]
fcomp qword [0x520758]
fnstsw ax
test ah, 1
je 0x4a395f
mov eax, dword [esp + 0x34]
inc dword [eax + 8]
jmp 0x4a395f
cmp eax, 0xffffffff
jne 0x4a35d3
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4a35d3
mov dword [esi + 0x20], 1
jmp 0x4a35da
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + eax*8 + 4]
lea ebx, [edx + eax*8 - 0x18]
mov dword [esp + 0x1c], ebx
mov eax, dword [ebx + 0x14]
cmp eax, ecx
mov edx, eax
jg 0x4a365e
mov edx, ecx
mov esi, dword [ebx + 0xc]
cmp esi, edx
jle 0x4a3669
mov edx, esi
jmp 0x4a3671
cmp eax, ecx
mov edx, eax
jg 0x4a3671
mov edx, ecx
mov edi, dword [ebx + 4]
cmp edi, edx
jle 0x4a367e
mov dword [esp + 0xc], edi
jmp 0x4a369c
cmp eax, ecx
mov edx, eax
jg 0x4a3686
mov edx, ecx
cmp esi, edx
jle 0x4a3690
mov dword [esp + 0xc], esi
jmp 0x4a369c
cmp eax, ecx
mov dword [esp + 0xc], eax
jg 0x4a369c
mov dword [esp + 0xc], ecx
cmp eax, ecx
mov edx, eax
jl 0x4a36a4
mov edx, ecx
cmp esi, edx
jge 0x4a36ac
mov edx, esi
jmp 0x4a36b4
cmp eax, ecx
mov edx, eax
jl 0x4a36b4
mov edx, ecx
cmp edi, edx
jge 0x4a36be
mov dword [esp + 0x24], edi
jmp 0x4a36dc
cmp eax, ecx
mov edx, eax
jl 0x4a36c6
mov edx, ecx
cmp esi, edx
jge 0x4a36d0
mov dword [esp + 0x24], esi
jmp 0x4a36dc
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4a36dc
mov dword [esp + 0x24], ecx
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
cmp edx, esi
mov edi, edx
jg 0x4a36ea
mov edi, esi
mov eax, dword [ebx + 8]
cmp eax, edi
jle 0x4a36f5
mov edi, eax
jmp 0x4a36fd
cmp edx, esi
mov edi, edx
jg 0x4a36fd
mov edi, esi
mov ecx, dword [ebx]
cmp ecx, edi
jle 0x4a3707
mov ebx, ecx
jmp 0x4a371f
cmp edx, esi
mov edi, edx
jg 0x4a370f
mov edi, esi
cmp eax, edi
jle 0x4a3717
mov ebx, eax
jmp 0x4a371f
cmp edx, esi
mov ebx, edx
jg 0x4a371f
mov ebx, esi
cmp edx, esi
mov edi, edx
jl 0x4a3727
mov edi, esi
cmp eax, edi
jge 0x4a372f
mov edi, eax
jmp 0x4a3737
cmp edx, esi
mov edi, edx
jl 0x4a3737
mov edi, esi
cmp ecx, edi
jge 0x4a373f
mov edx, ecx
jmp 0x4a3755
cmp edx, esi
mov edi, edx
jl 0x4a3747
mov edi, esi
cmp eax, edi
jge 0x4a374f
mov edx, eax
jmp 0x4a3755
cmp edx, esi
jl 0x4a3755
mov edx, esi
cmp dword [esp + 0x20], ebx
jg 0x4a395f
cmp dword [esp + 0x18], edx
jl 0x4a395f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jg 0x4a395f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jl 0x4a395f
mov esi, dword [esp + 0x1c]
push esi
push 0
call fcn.004a5620
add esp, 8
lea edx, [esp + 0x198]
push eax
push edx
push esi
call sub.CRLUTL110.dll__UTLBezierToLines_12
cmp eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 1
jl 0x4a395f
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x4c], ecx
mov edx, dword [ecx - 8]
mov esi, dword [ecx]
cmp edx, esi
mov dword [esp + 0xc], edx
jg 0x4a37d8
mov dword [esp + 0xc], esi
mov eax, dword [ecx - 0xc]
lea edi, [ecx - 0xc]
mov ecx, dword [ecx - 4]
mov ebx, eax
cmp eax, ecx
jg 0x4a37e9
mov ebx, ecx
cmp edx, esi
jl 0x4a37ef
mov edx, esi
cmp eax, ecx
jl 0x4a37f5
mov eax, ecx
cmp dword [esp + 0x20], ebx
jg 0x4a393f
cmp dword [esp + 0x18], eax
jl 0x4a393f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jg 0x4a393f
cmp dword [esp + 0x14], edx
jl 0x4a393f
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x88]
push ecx
push edi
lea ebx, [esp + edx*8 + 0x90]
push ebx
call fcn.004a5c00
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], eax
push ecx
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0xa0]
push eax
push ecx
push edi
push ebx
call fcn.004a6f40
add esp, 0x28
test eax, eax
je 0x4a393f
mov edx, dword [esp + 0x34]
push edx
call fcn.004a3a00
mov esi, eax
add esp, 4
test esi, esi
je 0x4a39eb
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
dec ecx
mov dword [esi + 0x18], eax
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x40]
fild dword [esp + 0xc]
dec edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x30]
fadd qword [esp + 0x78]
fidiv dword [esp + 0x38]
push edi
push ebx
fstp qword [esi]
fild dword [esp + 0x14]
fadd qword [esp + 0x70]
fidiv dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov byte [esi + 0x24], 0
fstp qword [esi + 8]
call fcn.004a55a0
add esp, 8
cmp eax, 1
jne 0x4a39cb
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4a39df
mov dword [esi + 0x20], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
je 0x4a3907
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4a3915
cmp dword [esp + 0x60], eax
je 0x4a3922
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4a3922
mov eax, dword [esi + 0x20]
xor edx, edx
test eax, eax
sete dl
mov dword [esi + 0x20], edx
cmp dword [esp + 0x24], 8
jne 0x4a3938
fld qword [esi]
fcomp qword [0x520758]
fnstsw ax
test ah, 1
je 0x4a393f
mov eax, dword [esp + 0x34]
inc dword [eax + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
inc eax
add ecx, 8
cmp eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
jle 0x4a37c7
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
inc eax
push esi
push eax
push ecx
call fcn.004a5570
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x30], eax
jl 0x4a349f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x4a347d
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x3c]
inc edx
push esi
push edx
push eax
call fcn.004a5570
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x2c], eax
jl 0x4a3295
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xffffffff
jne 0x4a38ed
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4a38ed
mov dword [esi + 0x20], 1
jmp 0x4a38f4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret