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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x394
push ebx
mov ebx, dword [esp + 0x3b4]
push ebp
push esi
mov eax, dword [ebx + 0x18]
push edi
mov cl, byte [eax + ecx]
and cl, 0xc0
cmp cl, 0x80
jne 0x4a63e7
mov ecx, dword [esp + 0x3a8]
mov edx, dword [ecx + eax*8 - 0x18]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + eax*8 - 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + eax*8 - 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + eax*8 - 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + eax*8 - 8]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + eax*8 - 4]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + eax*8]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + eax*8 + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], eax
push ecx
push 0
call fcn.004a5620
add esp, 8
lea edx, [esp + 0x29c]
push eax
lea eax, [esp + 0x38]
push edx
push eax
call sub.CRLUTL110.dll__UTLBezierToLines_12
mov ecx, dword [ebx + 0x44]
lea edx, [esp + ecx*8 + 0x294]
jmp 0x4a63fb
cmp cl, 0x40
jne 0x4a661d
mov ecx, dword [esp + 0x3a8]
lea edx, [ecx + eax*8 - 8]
mov eax, dword [ebx + 0x28]
mov edi, dword [esp + 0x3b8]
mov dword [esp + 0x10], edx
mov cl, byte [eax + edi]
and cl, 0xc0
cmp cl, 0x80
jne 0x4a653a
mov esi, dword [esp + 0x3b4]
mov ecx, dword [esi + eax*8 - 0x18]
mov dword [esp + 0x54], ecx
mov edx, dword [esi + eax*8 - 0x14]
mov dword [esp + 0x58], edx
mov ecx, dword [esi + eax*8 - 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esi + eax*8 - 0xc]
mov dword [esp + 0x60], edx
mov ecx, dword [esi + eax*8 - 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esi + eax*8 - 4]
mov dword [esp + 0x68], edx
mov ecx, dword [esi + eax*8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esi + eax*8 + 4]
lea eax, [esp + 0x54]
mov dword [esp + 0x70], edx
push eax
push 0
call fcn.004a5620
add esp, 8
lea ecx, [esp + 0x194]
lea edx, [esp + 0x54]
push eax
push ecx
push edx
call sub.CRLUTL110.dll__UTLBezierToLines_12
mov eax, dword [ebx + 0x48]
lea ebp, [esp + eax*8 + 0x194]
add eax, 0xfffffffe
test eax, eax
jl 0x4a649d
lea eax, [esp + eax*8 + 0x194]
jmp 0x4a65ec
mov eax, dword [ebx + 0x28]
sub eax, 3
test byte [eax + edi], 0xc0
jne 0x4a64bc
mov ecx, dword [esp + 0x3bc]
inc eax
cmp eax, ecx
jge 0x4a64bb
test byte [eax + edi], 0xc0
jne 0x4a64b0
dec eax
mov cl, byte [eax + edi]
and cl, 0xc0
cmp cl, 0x40
jne 0x4a64d0
lea eax, [esi + eax*8 - 8]
jmp 0x4a65ec
cmp cl, 0x80
jne 0x4a661d
mov ecx, dword [esi + eax*8 - 0x18]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + eax*8 - 0x14]
mov dword [esp + 0x18], edx
mov ecx, dword [esi + eax*8 - 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + eax*8 - 0xc]
mov dword [esp + 0x20], edx
mov ecx, dword [esi + eax*8 - 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esi + eax*8 - 4]
mov dword [esp + 0x28], edx
mov ecx, dword [esi + eax*8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esi + eax*8 + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x30], edx
push eax
push 0
call fcn.004a5620
add esp, 8
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
jmp 0x4a65e0
cmp cl, 0x40
jne 0x4a661d
mov ecx, dword [esp + 0x3b4]
mov dl, byte [eax + edi - 1]
lea ebp, [ecx + eax*8]
dec eax
test dl, 0xc0
jne 0x4a656a
mov edx, dword [esp + 0x3bc]
inc eax
cmp eax, edx
jge 0x4a6569
test byte [eax + edi], 0xc0
jne 0x4a655e
dec eax
mov dl, byte [eax + edi]
and dl, 0xc0
cmp dl, 0x40
jne 0x4a657b
lea eax, [ecx + eax*8 - 8]
jmp 0x4a65ec
cmp dl, 0x80
jne 0x4a661d
mov edx, dword [ecx + eax*8 - 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + eax*8 - 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + eax*8 - 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + eax*8 - 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + eax*8 - 8]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + eax*8 - 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + eax*8]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + eax*8 + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
push ecx
push 0
call fcn.004a5620
add esp, 8
lea edx, [esp + 0x8c]
push eax
lea eax, [esp + 0x18]
push edx
push eax
call sub.CRLUTL110.dll__UTLBezierToLines_12
lea eax, [esp + eax*8 + 0x84]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x84]
push ecx
push edx
push ebp
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004a6630
add esp, 0x1c
test eax, eax
je 0x4a661d
mov byte [ebx + 8], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x394
ret